EasyManua.ls Logo

Wieland samos PRO COMPACT - Typed Write; Typed Read

Default Icon
200 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EtherNet/IP gateway
Wieland Electric GmbH | BA000970 | 11/2016 (Rev. F)
93
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
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
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
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,
configured via the
input data block 2 to
5
in samosPLAN5+,
x = 0 to 19, n = 20 – x
0 to 65535
$N139:x UINT[n] 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
0 to 65535
$N140:x UINT[n] 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
0 to 65535
$N141:x UINT[n] 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
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
Name
Data type
Description
Data range
Packet offset
UINT
Offset in number of elements
Total Transac-
tion
UINT Number of elements in the transac-
tion
0 to value dependent on
the assembly 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
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.
8.4.7.4
8.4.7.5

Table of Contents

Related product manuals