Modbus TCP gateway
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
SP-COP2-ENI as slave – Data addressing
The following table lists the addresses for reading out the data sets.
Unit ID 1
Table 25: Data addressing for the SP-COP2-ENI as recipient
Request data for all activated input data sets
1)
Request data from input data block 1-5
2000 Write all activated output data sets Write 5-25
2)
Write data from output data set 1
2200 Write data from output data set 2 Write 5
Write data from output data set 3
2400 Write data from output data set 4 Write 5
Write data from output data set 5
1)
Corresponds to all activated input data sets.
2)
Must correspond to all activated output data sets. Example: If only output data sets 1 and 2
have been activated, 10 words (20 bytes) must be written. If all output data sets have been
activated, 25 words (50 bytes) must be written.
Modbus commands and error messages
The SP-COP2-ENI module supports the following Modbus commands and error messages:
Table 26: Modbus commands
1)
Read/write multiple registers
1)
starting with module version A-03
Table 27: Modbus error messages
The requested function is not supported
2 Data address not permitted
Undefined data address received
3 Data value not permitted Request with prohibited data values, e.g.
insufficient data requested for a data set
10 The gateway path is not available Invalid configuration, e.g. polling or setting
the digital outputs via PLC when operating
the SP-COP2-ENI in master mode