User manual
Transferring Data Using Communication Blocks
182
33002479 06 07/2008
Control Block
Usage for SY/
MAX Ethernet
CTE Indicator
Implementation
(DATABUF)
The values in the Ethernet configuration extension table are displayed in the
DATABUF output field when a write CTE operation is implemented. The registers are
used to transfer the following CTE data:
CTE indicator implementation (DATABUF):
Register Meaning
CONTROL[1] 12 = Write CTE (Config extension table)
CONTROL[2] Indicates the error status
CONTROL[3] Number of words transferred
CONTROL[4] Byte offset in the PLC address structure specifying where the CTE bytes
are written
CONTROL[5] Routing register
Most significant byte = NOE module slot
Least significant byte = Destination drop number
CONTROL[6] Terminator: FF hex
CONTROL[7]
...
CONTROL[9]
No significance
Parameter Register Contents
Frame type DATABUF[0] 1 = 802.3
2 = Ethernet
IP address DATABUF[1] First byte of the IP address
DATABUF[2] Second byte of the IP address
DATABUF[3] Third byte of the IP address
DATABUF[4] Fourth byte of the IP address
Lower netmask DATABUF[5] Most significant word
DATABUF[6] Least significant word
Gateway DATABUF[7] First byte of the gateway
DATABUF[8] Second byte of the gateway
DATABUF[9] Third byte of the gateway
DATABUF[10] Fourth byte of the gateway