11 Configuring an EtherCAT system with XSOFT-CODESYS
11.2 Configuring the system with XSOFT-CODESYS-3
72
XN-312-GW-EC gateway
07/20 MN050010-EN Eaton.com
Figure 41:
Adding an EtherCAT device
▶
Select the EtherCAT device you want (XN-312-GW-EC, for example).
▶
Click on the <Add device> button.
The selected EtherCAT device will be added to the configuration structure in
the "Devices" pane.
▶
If the EtherCAT devices you want are not found in the list, update the
XSOFT-CODESYS-3 version you are using or load the appropriate XML
file;
le with XSOFT-CODESYS-3”, page
48.
You can find updates and XML files by visiting the Download Center on
our website
11.2.4 Configuring the XN312 gateway
Check the settings for the EtherCAT device's parameters.
▶
Double-click on the selected EtherCAT device in the "Devices" configura-
tion tree ("XN_312_GW_EC (XN-312-GW-EC)," for example).
▶
Open the "XN-312-GW-EC/General" tab and check the settings there.
–
Select the expert settings by enabling the "Enable expert settings"
option.
–
In the "Distributed clocks" section, enable the "Custom DE set-
tings" option in the "Select DC" drop-down menu by enabling the
checkbox underneath.
–
In the "Sync0" section, enable the "Enable Sync 0" option. Select
"x1" in the "Sync Unit Cycle" drop-down menu.