User Manual

The easy-NET network
12/06 AWB2724-1584GB
90
Configuration in the easy SOFT CoDeSys
Configure and program the EC4-200 with the easy Soft CoDeSys
programming software.
X For this activate the easy-NET setting in the CAN/easy-NET tab
of the configuration.
X Enter the ID number under “easy-NET-ID”. This ID number must
be identical to the ID number that you assign to the EC4-200 in
the EASY-SOFT configurator!
X If necessary, activate the functions Remote RUN and Send I/O.
Remote RUN
Only for controllers with ID 2 … 8: If this function is active
controllers with ID 2 … 8 follow the RUN/STOP status of the
master
Send I/O
Off: Values for local inputs/outputs byQ; byS; wI; wR are sent
cyclically (cycle time depends on the CAN/easy-NET baud rate
set)
On: Local inputs/outputs are sent cyclically and in the event of
a change.
Controlled configuration via EC4-200
An EC4-200 that is configured with ID 1 can be used to configure
easy800 controllers via the easy-NET:
Via the entries on the display of the EC4-200
On the PLC display enter in the System menu via
CONFIGURATOR l NET l NET PARAMETER the values for
the network such as baud rate and bus delay.
Activate/deactivate the SEND IO and REMOTE RUN functions
applicable to all stations.
Assign an ID to the stations 2…8 via the menu NET l
STATION (PLC).
The NET PARAMETERS and the STATION ID are transferred to the
individual stations by confirming the menu selection NET l
CONFIGURE.
The menus are described in detail in the section Menu structure
Via the parameterisation of the EC4-200 in the
easy Soft CoDeSys configurator
The configuration is carried out in 2 steps:
1. Parameter definition in the configurator
Add a tick to the section Activate in the easy-NET Settings area
on the CAN/easy-NET tab
Set the NET-ID = 1.
Activate/deactivate the functions Remote Run (ID = 2 … 8) and
Send I/O.
Assign an ID to the other controllers:
Click the Configure easy-NET button and select in the
subsequent view the IDs for the stations.
Enter the baud rate in the CAN/easy-NET Baudrate field.
2. Transferring the parameters and assignment of IDs using the
NET_CONFIG function.
By calling the function, the parameters that you have created in
the configurator are transferred to the individual controllers. The
function is contained in the library SysLibEasyNet.lib. The
operation of the function and the incorporation in the user
program are described in the manual "Description of the
SysLibEasyNet.lib …".
Programming via easy-NET (Routing)
Routing means to establish an online connection from a
programming device (PC) to any (routing-capable) PLC in an easy-
NET network without having to directly connect the programming
device to the target PLC. It can be connected to another PLC in the
network. The routing connection enables you to carry out all the
operations that are possible with a direct online connection
between the programming device and the controller:
Program download
Online modifications
Program test (Debugging)
Figure: 109: Configuration of the EC4-200 as easy-NET station
Figure: 110: Parameterisation