Typed Write; Typed Read - Wieland samos PRO COMPACT Manual

Hide thumbs Also See for samos PRO COMPACT:
Table of Contents

Advertisement

8.4.7.4

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
Name
Packet offset
Total Transaction UINT
Address
Type ID
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]
of the word range.
Table 50: Write address structure of PLC-5 input
Address Data type Number of
$N37:x
$N138:x UINT[n]
$N139:x UINT[n]
$N140:x UINT[n]
$N141:x UINT[n]
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
8.4.7.5

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
Name
Packet offset
Total Transac-
tion
Address
Size
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.
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
Data type
Description
UINT
Offset as number of elements
Number of elements in the transaction
BYTE[m]
PLC-5 system address, m >= 2
BYTE[n]
Data type and size, n >= 1
Description
elements
UINT[n]
n
Output assembly of the device profile
Discrete universal I/O device, x = 0 to 24,
n = 25 - x
n
Output assembly of the logic output,
configured via the input data block 2 to
5 in samosPLAN5+,
x = 0 to 19, n = 20 – x
n
Output assembly of the logic output,
configured via the input data block 3 to
5 in samosPLAN5+,
x = 0 to 14, n = 15 – x
n
Output assembly of the logic output,
configured via the input data block 4 to
5 in samosPLAN5+,
x = 0 to 9, n = 10 – x
n
Output assembly of the logic output,
configured via the input data block 4 to
5 in samosPLAN5+,
x = 0 to 4, n = 5 – x
Data type
Description
UINT
Offset in number of elements
UINT
Number of elements in the transac-
tion
BYTE[m]
PLC-5 system address, m >= 2
UINT
Number of elements to be returned
EtherNet/IP gateway
. The UINT data format corresponds to writing the format
Data range
See next table
Data range
0 to 65535
0 to 65535
0 to 65535
0 to 65535
0 to 65535
Data range
0 to value dependent on
the assembly size
"0" to ":", "A" to "Z",
"a" to "z"
93

Advertisement

Table of Contents
loading

Table of Contents