EasyManua.ls Logo

Wieland samos PRO - Protected Typed Logical Read with 2 Address Fields

Default Icon
192 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 | 07/2019 [9855]
92
Table 57: Read address structure of PLC-5 input
Address Data type
Number
of ele-
ments
Description Data range
$N57:x UINT[n] n
Input assembly of the device profile
Discrete I/O device ,
x = 0 to 33, n = 34 - x
Element 1 to 33:
0 to 65535
Element 34 Bit 0 to 7
(LSB): 0x00, 0x40, 0x80,
0xc0
Element 34 Bit 8 to 15
(MSB): 0
$N167:x UINT[n] n Input assembly of:
Logic input bits
(n = 1-x to 25-x, x = 0 to 24)
0 to 65535
System state and system mode
(n = 26-x, x = 0 to 25)
Bit 0 to 7 (LSB):
System mode (1, 2, 3, 4,
5, 7, 21)
Bit 8 to 15 (MSB): Sys-
tem state (0x00, 0x40,
0x80, 0xc0)
State bytes of the controller module
(n = 27-x to 56-x, x = 26 to 55)
0 to 65535
Example: “$N57:10” and “Total Transaction = 24” address elements 11 to 34 correspond to bytes 20
to 66 of assembly instance 57.
Note: Byte 67, which is not specified in assembly instance 57, is also transferred.
Note: The position of the word data with system state and system mode are dependent on the requ-
ested amount of data “x”.
80250763
Protected Typed Logical Read with 2 Address Fields
The SP-COP2-ENI module supports “Read SLC-protected logic input” according to the following tab-
le:
Table 58: Request data structure for Read SLC-protected logic input with two address fields
Name Data type Description Data range
Byte size USINT
Number of data bytes to
be read
Assembly instance 37: 0 to 50
Assembly instance 57: 0 to 67
Assembly instance 167: 0 to 112
File number USINT Assembly instance ID 37, 57, 167
File type USINT Data type 0x89 = Integer data
Element number USINT
Offset = ID of the first ele-
ment of the answer
Assembly instance 37: 0 to 24 – Size/2
Assembly instance 57: 0 to 33 – Size/2
Assembly instance 167: 0 to 55 – Size/2
Table 59: Feedback to the SP-COP2-ENI module for Read SLC-protected logic input with two address fields
Name Data type Description Data range
Payload UINT[n]
2⋅n = Number of data
bytes
0 to 65535
80266379

Table of Contents