Protected Typed Logical Read With 2 Address Fields - Wieland samos PRO Manual

Compact-gateways
Table of Contents

Advertisement

Table 57: Read address structure of PLC-5 input
Address Data type Number
$N57:x
$N167:x
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
8.4.7.6

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
Byte size
File number
File type
Element number USINT
Table 59: Feedback to the SP-COP2-ENI module for Read SLC-protected logic input with two address fields
Name
Payload
80266379
Wieland Electric GmbH | BA000970 | 07/2019 [9855]
Description
of ele-
ments
UINT[n]
n
Input assembly of the device profile
Discrete I/O device ,
x = 0 to 33, n = 34 - x
UINT[n]
n
Input assembly of:
Logic input bits
(n = 1-x to 25-x, x = 0 to 24)
System state and system mode
(n = 26-x, x = 0 to 25)
State bytes of the controller module
(n = 27-x to 56-x, x = 26 to 55)
Data type Description
USINT
Number of data bytes to
be read
USINT
Assembly instance ID
USINT
Data type
Offset = ID of the first ele-
ment of the answer
Data type
Description
UINT[n]
2⋅n = Number of data
bytes
EtherNet/IP gateway
Data range
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
0 to 65535
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)
0 to 65535
Data range
Assembly instance 37: 0 to 50
Assembly instance 57: 0 to 67
Assembly instance 167: 0 to 112
37, 57, 167
0x89 = Integer data
Assembly instance 37: 0 to 24 – Size/2
Assembly instance 57: 0 to 33 – Size/2
Assembly instance 167: 0 to 55 – Size/2
Data range
0 to 65535
92

Advertisement

Table of Contents
loading

Table of Contents