User Manual

EC4-200 network modules
12/06 AWB2724-1584GB
94
Configuration
The configuration is carried out in the PLC configuration of the
easy Soft CoDeSys programming software. The network module is
entered as an expansion device in the configuration tree. This
contains predefined input and output channels (R1…R8, S1…S4)
for the cyclical transfer of data.
Setting the station address
The EASY205-ASI is assigned a station address with an external
programming device.
EASY221-CO, EASY204-DP, EASY222-DN
The procedure for data exchange between the EASY network
modules and a master is described in detail in separate manuals,
a table 21.
Cyclic data exchange
The EASY204-DP, EASY221-CO, EASY222-DN network modules
have the same cyclical data exchange procedure.
The master exchanges 3 bytes of data in each direction with the
network modules connected to the EC4-200.
From the point of view of the master, this data is written to the
EC4-200.
From the point of view of the master, this data is read from the
EC4-200.
Figure: 118: Configuring EASY205-ASI
Figure: 119: Cyclical data exchange between master EASY204-DP,
EASY221-CO, EASY222-DN
Byte
Meaning
1)
0 Status (e.g. RUN/HALT)
1 R9 … R16 (Inputs)
2 R1 … R8 (Inputs)
1) The meaning of the bits, e.g. a bit of byte 0 indicates
RUN/HALT or STOP status, described in separate manuals,
a
table 21.
Byte Meaning
1)
0 Status (e.g. RUN/HALT)
1 S1 … S8 (Outputs)
2 Not used
1) The meaning of the bits, e.g. a bit of byte 0 indicates
RUN/HALT status, described in separate manuals, a
table 21.
Master
PROFIBUS-DP/
CANopen/DeviceNet
Outputs
Outputs
Status
Status
Inputs
Inputs
Slave
EASY204-DP
EASY221-CO
EASY222-DN
Inputs R1 … R8
Inputs R9 … R16
Outputs S1 …
EC4-200