IC-Module for EtherNet/IP
33 / 137
All 16-bit wide register contents to be written must be prepared by
the Master in such a way that the lower-value byte is transmitted as
the first byte and the higher-value byte is transmitted as the second
byte ("Little-Endian" or "Intel format").The register contents must be
sent in ascending address order, i.e. the start address first.
Transmission block with fixed length
Command
code
(1 byte)
Address area
(2 bytes)
Data length
(2 bytes)
Description
0x08
0x0000-0xFFFF
1-16/128
WRITE_BULK
0x00
0xXXXX
0xXXXX
NO_OPERATION*
NOTICE
The maximum data length for writing in the SSC input data area is 128
registers (256 bytes).
If this value is exceeded, errors in the data communication will result.
In the case of a transmission block of variable length, the module
sends bytes with the value 0 to the master.
The status response has almost the same structure and meaning as
write access with 1 byte. In the event of an error, a 16-bit wide
register address is at position 4 and 5 for this transmission type, at
which the first error occurred. The status is transmitted in the first
transmission block that follows the data block with variable length.
Transmission block with fixed length
Status code
(1 byte)
Error code
(2 bytes)
Address area**
(2 bytes)
Description
0x00
0xXXXX
0xXXXX
NO_PREVIOUS_OPERATION
0x01
0x0000
0xXXXX
WRITE_SUCCESS
0x02
ERROR_CODE
1
0x0000-0xFFFF
WRITE_FAILURE
1 See Table "ErrorCode"
** Address where an error occurs
Components