User manual

Transferring Data Using Communication Blocks
33002479 06 07/2008 153
Control Block for
TCP/IP Ethernet
Register Contents
CONTROL[1] Indicates an operation that is valid for TCP/IP
CONTROL[2] Indicates the error status
CONTROL[3] Indicates the length, i.e., the number of data units transferred (max. 100)
CONTROL[4] Indicates MSTR operation-dependent information
CONTROL[5] Routing register: used to specify a destination node during network transfer
Most significant byte: source node address, i.e., the NOE slot for the NOE
module
When using an integrated Ethernet on the CPU, this byte must be set to
254 (FE hex) regardless of the CPU slot.
Least significant byte: destination node address, i.e, a value that
represents a direct or bridge address. If there is no bridge the value in the
least significant byte is set to 0. If there is a bridge, this value contains the
MBP for the Ethernet mapping index (MET).
If the NOM is inserted in slot 7 on the module rack and the Ethernet
mapping index (MET) is 6, the routing register looks as follows (value
0x0706):
Most significant byte Slots 1 ... 16
Least significant byte MBP on Ethernet Transporter (MET) mapping
index
CONTROL[6] Byte 4, MSB of the 32-bit destination IP address
CONTROL[7] Byte 3 of the 32-bit destination IP address
CONTROL[8] Byte 2 of the 32-bit destination IP address
CONTROL[9] Byte 1, LSB of the 32-bit destination IP address
0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0
most significant
byte
least significant
byte