EtherNet/IP gateway
Wieland Electric GmbH | BA000970 | 07/2019 [9855]
90
Word Range Read
The SP-COP2-ENI module supports “Read PLC-5 word range” according to the following table:
Table 51: Read request data structure of PLC-5 word range
Name
Data type
Description
Data range
Packet offset
UINT
Offset as number of elements
Total Transaction UINT
Number of elements in the transaction
0 to value depen-
dent on the as-
sembly size
Address
BYTE[m]
PLC-5 system address, m >= 2
“0” to “:”, “A” to
“Z”, “a” to “z”
Size
UINT
Number of elements to be returned
Table 52: Feedback to the SP-COP2-ENI module of Read PLC-5 word range
Name
Data type
Description
Data range
Payload
UINT[n]
2•n = number of data bytes (up to 244
bytes)
0 to 65535
80214923
Typed Write
The SP-COP2-ENI module supports “Write PLC-5 input” according to the following table:
Table 53: Write data structure of PLC-5 input
Name
Data type
Description
Data range
Packet offset
UINT
Offset as number of elements
Total Transaction UINT
Number of elements in the transaction
Address
BYTE[m]
PLC-5 system address, m >= 2
See next table
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
. The UINT data format corresponds to writing the format of the word range.
Table 54: Write address structure of PLC-5 input
Address Data type Number of
elements
Description
Data range
$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, confi-
gured via the
input data block 2 to 5
in
samosPLAN
6,
x = 0 to 19, n = 20 – x
0 to 65535
$N139:x UINT[n]
n
Output assembly of the logic output, confi-
gured via the
input data block 3 to 5
in
samosPLAN
6,
x = 0 to 14, n = 15 – x
0 to 65535
8.4.7.3
8.4.7.4