14
8 Cyclical I/O data
EtherNet/IP™ provides the exchange of cyclical process data from an originator (e.g. PLC) to the target (CPC12EN) O
T and vice
versa T
O. The number of exchanged I/O data bytes can be varied.
The Forward_Open request to the connection manager initiates the I/O communication and determines the requested packet
interval (RPI), the priority, the data size and the connection path. Valid RPI range for the CPC12EN is between 1 ms and 1000 ms.
One exclusive owner, one listen only and one input only connection is supported simultaneously.
The O
T connection includes a Run/Idle Header which account for the first 4 bytes.
The O
T assembly (100) data size is adjustable between 0 and 32 bytes.
The T
O assembly (101) data size is adjustable between 0 and 164 bytes.
The connection path must be set to 0x20 04 24 00 2C 64 2C 65 because no configuration assembly is used.
The EDS file made available for the projecting tool allows the related configuration.
8.1 I/O data input: CPC12 controller
Originator
Target bytes 0…1
The 2 input bytes contain the following global error and diagnostic messages.
8.2 I/O data input: total current
Originator
Target bytes 2…3
The total current supplies a standardized 16-bit value with the calculated total current of all circuit protectors (2 byte input data).
The measuring value is indicated as follows:
Byte
Type
Range
Description
status controller
0 HighByte
1 LowByte
UInt16 0xFFFF
bit 0 = no configuration data available
bit 1 = invalid configuration data
bit 2 = connected device type differs from configuration
bit 3 = reserve
bit 4 = command buffer overflow
bit 5 = no communication to
ELBus
®
1
bit 6 = reserve
bit 7 = reserve
bit 8 = reserve
bit 9 = CPC temporary error
bit 10 = CPC hardware error
bit 11 =
ELBus
®
1
communication speed: 0=9600 Baud, 1=19200 Baud
bit 12 = reserve
bit 13 = reserve
bit 14 = reserve
bit 15 = writing access via web server deactivated = 1, allowed = 0
Byte
Type
Range
Description
Total current
0 HighByte
1 LowByte
UInt16 0 ... 65535
A standardised 16-bit-value with a resolution of 10 mA is made
available.
Example for calculation of the measuring value:
value (1320)/ 100 =^ 13.20 Amps
fig. 11: Cyclical diagnostic data CPC12
fig. 12: Total current