Function description
This function block allows the entry of the TCP/ IP address for function
blocks READ_REG
, CREAD_REG
, WRITE_REG
and CWRITE_REG
. The
address is transferred as a data structure.
EN
and ENO
can be configured as additional parameters.
TCP_IP_ADDR
function block. A complete description
of the TCP/IP routing is provided in the Quantum using EcoStruxure™ Control
Expert, TCP/IP Configuration, User Manual.Representation in FBD
Representation:

Representation in LD
Representation:

Representation in IL
Representation:
CAL TCP_IP_ADDR_Instance (MAP_IDX:=MapIndex,
SLOT_ID:=NOEModuleSlot, IP_B4:=Byte4OfIPAddress,
IP_B3:=Byte3OfIPAddress, IP_B2:=Byte2OfIPAddress,
IP_B1:=Byte1OfIPAddress,
ADDRFLD=>DataStructureTCP_IPAddress)
Representation in ST
Representation:
TCP_IP_ADDR_Instance (MAP_IDX:=MapIndex,
SLOT_ID:=NOEModuleSlot, IP_B4:=Byte4OfIPAddress,
IP_B3:=Byte3OfIPAddress, IP_B2:=Byte2OfIPAddress,
IP_B1:=Byte1OfIPAddress,
ADDRFLD=>DataStructureTCP_IPAddress) ;
Parameter description
Description of input parameters:
Parameters |
Data type |
Description |
---|---|---|
|
|
Map index MBP on Ethernet Transporter (MET) mapping index |
|
|
Slot ID Slot of the NOE module |
|
|
Byte 4 (MSB) of the 32-bit destination IP address |
|
|
Byte 3 of the 32-bit destination IP address |
|
|
Byte 2 of the 32-bit destination IP address |
|
|
Byte 1 (LSB) of the 32-bit destination IP address |
Description of output parameters:
Parameters |
Data type |
Description |
---|---|---|
|
Data structure used to transfer the TCP/IP address |