EtherNet/IP gateway
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
Typed Write
The SP-COP2-ENI module supports “Write PLC-5 input” according to the following table:
Table 49: Write data structure of PLC-5 input
Offset as number of elements
Number of elements in the transaction
PLC-5 system address, m >= 2
Type ID BYTE[n] Data type and size, n >= 1
The answer of the SP-COP2-ENI module does not contain any data, only a state, see table
PCCC reply header [ch. 8.4.7.1, p. 92]
. The UINT data format corresponds to writing the format
of the word range.
Table 50: Write address structure of PLC-5 input
$N37:x UINT[n] n Output assembly of the device profile
Discrete universal I/O device, x = 0 to 24,
n = 25 - x
0 to 65535
$N138:x UINT[n] n Output assembly of the logic output,
configured via the
in samosPLAN5+,
0 to 65535
$N139:x UINT[n] n Output assembly of the logic output,
configured via the
in samosPLAN5+,
0 to 65535
$N140:x UINT[n] n Output assembly of the logic output,
configured via the
in samosPLAN5+,
0 to 65535
$N141:x UINT[n] n Output assembly of the logic output,
configured via the
in samosPLAN5+,
0 to 65535
The data range of the number of elements is relative to the assembly sizes. See the table
Overview of assembly databytes of the SP-COP2-ENI module [ch. 8.5.1, p. 101]
1127362955
Typed Read
The SP-COP2-ENI module supports “Read PLC-5 input” according to the following table:
Table 51: Read request data structure of PLC-5 word range
Offset in number of elements
Total Transac-
UINT Number of elements in the transac-
0 to value dependent on
Address BYTE[m] PLC-5 system address, m >= 2 “0” to “:”, “A” to “Z”,
“a” to “z”
Number of elements to be returned
The answer of the SP-COP2-ENI module is listed in the following table. The first byte of the ty-
pe ID is 0x9a = 0b1001 1010, meaning that the data type is given in the following byte and the
data size in the byte after that. The fourth byte of the type ID is 0x42 = 0b0100 0010, standing
for an integer data type of size 2.