Function Blocks UM353-1B
April 2012
3-30
3.2.21 CIE_- Coil Inputs - Ethernet
CIE_ function blocks use Modbus command 01 “Read
Coil Status” to enable the controller to obtain Coil data
from other stations over the Ethernet network.
Up to 32 CIE_ blocks are available. Blocks are
assigned in sequence, controller wide, with each use.
Up to 16 Coils can be obtained from a Modbus device.
Each Coil is assigned to block outputs C0 – CF.
The IP ADRES parameter is used to configure the IP
address of the source Modbus device. The MB
ADRES parameter allows a Modbus address to be
configured. When connecting to other Siemens 353
controllers, the Modbus address is set to 1. In some
cases, other Modbus devices may use a different
address or when going through a Modbus/TCP gateway
a Modbus network may have multiple devices, each
having a unique address.
The START CL parameter identifies the location of the first Coil. Subsequent Coils, up to 16, can be obtained by
setting the NO OF CL parameter to a value greater than 1. The DATA TYP parameter enables reading of Coils
(Modbus Function Code 01) or Inputs (Modbus Function Code 02). Both are treated the same but the Coil type is
the most common usage. The UD RATE parameter configures the rate at which the block will request data. The
P2P setting will update the data at the rate set by the P2P RATE parameter in the ETHERNET block. The Ct
setting will update the data at the cycle time of the controller.
Output QS indicates the quality of the received data and will go high (1) when the data is bad. This is normally
associated with failure to receive data due to a communication failure or a misconfiguration of the source.
COIL INPUTS 16 CHAN - ETHERNET
COIL INPUTS
CIE_
16-CHAN ETHERNET
C0
Output
C0
CF
Output
CF
IP AD
d
RES
s (H) ....
nnn.nnn.nnn.nnn
(192.168.0.0)
QS
Output
QS
Ethernet Network
START
ing
C
oi
L
(H) ........ 1 - 65535 (1)
NO. OF C
oi
L
s
(H)
................ 1 - 16
(1)
MB AD
d
RES
s
(H)
.............. 1 - 255 (1)
PARES
S
ID
TAR
F
Y
L
C
LNO O
T
AD RE S
BM
DAT
A
T
P
DATA
TYP
e (H) ............
Coil/InPut
(Coil)
C
U
p
D
ate
RATE
(H) .............. P2P/Ct
(P2P)
ETARDU