User Manual

12/06 AWB2724-1584GB
EASY221-CO, EASY204-DP,
EASY222-DN
95
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…R16,
S1…S8) for the cyclical transfer of data.
Setting the station address
The station address of the network module is set in a special
parameter dialog in the PLC configuration. The address is
transferred to the module when the program is downloaded and
when the boot project is loaded.
The address set in the PLC configuration can be overwritten in the
Startup.ini file. The associated entry in the Startup.ini file is:s
EXTENSION_SLAVE_ADDRESS = <Address>
figure 120 is an example of where to enter the address for the
EASY204-DP.
Acyclic data exchange
Acyclical data exchange enables access to the defined objects of
the EC4-200. These objects are a subset of the objects supported
by easy800/MFD.
The objects listed in the table are supported by the EC4-200 and
can be addressed by a master on the CAN, PROFIBUS-DP or
DeviceNet.
Table 23: Objects of the EC4-200
Accessing other easy800/MFD objects causes an error message.
Figure: 120: Address entry
h
Note on EASY204-DP:
You can only change the bus address if communication
with the master is not active.
Once a module is assigned a valid address, it saves it
internally and loads it with every restart. If you set a new
address in the PLC configuration and carry out a program
download, this address will only be loaded if there was no
communication with the master during the download, i.e.
by unplugging the DP bus cable!
If you load the program from the PC to the PLC, this will
check whether the address currently used by the PLC
matches the configured address. A warning message is
generated if these are not the same.
Object name Access type (R/W)
Mode
1)
R/W
Identification (only with EASY204-DP) R
Inputs I1 … I16 R
Analog inputs I7, I8, I11, I12
2)
R
Inputs R1 … R16
1)
R
Outputs Q1 … Q8
R
Analog output QA1 R
Outputs S1 … S8
1)
R
Local diagnostics ID1-ID16
3)
R
Inputs of network stations IW1…IW8
3)
R
Inputs of network stations RW1…RW8
3)
R
Outputs of network stations QW1…QW8
3)
R
Outputs of network stations SW1…SW8
3)
R
Receive data of network stations
RNW1…RNW8
3)
R
Send data of network stations
SNW1…SNW8
3)
R
Bit markers M1…M96
4)
R/W
Byte markers MB1…MB96
4)
R/W
Marker words MW1 … MW96
4)
R/W
Marker double words MD1 … MD96
4)
R/W
8 bytes data (MD67 - MD68)
4)
R/W
16 bytes data (MD69…MD72)
4)
R/W
32 bytes data (MD73…MD80)
4)
R/W
64 bytes data (MD81…MD96)
4)
R/W
1) With PROFIBUS-DP only for class 2 master
2) IA1…IA4 in the operating manuals a page 93
3) Network station means the stations on the easyNET network!
4) The easy800/MFD markers are mapped to the EC4P-200 as shown
in table 24.
h
Only with EASY204-DP: The data and markers in word
and double word format are transferred in Motorola
format. Byte swapping does not occur!