5 Connecting the PLC to the gateway using CODESYS
5.2 Configuring the system with XSOFT-CODESYS-2
Gateway XN-312-GW-CAN 06/16 MN050003-EN
www.eaton.eu
59
Figure 35:
Prompt indicating that there are disabled PDOs
For the default mapping, the gateway provides 8 PDOs for digital data trans-
fers and 8 PDOs for analog data transfers. In other words, 8 x 8 bytes or 8 x
4 words can be mapped automatically. This applies both to the receive and
transmit directions!
•
A maximum of
64
bytes for digital input channels
•
A maximum of
64
bytes for digital output channels
•
A maximum of
32
words for analog input channels
•
A maximum of
32
words for analog output channels
•
Specialty modules not based on the CiA401 profile are not included in
this default mapping
→
"Specialty modules" section, page 16.
5.2.3.3 Enabling the default PDOs / manually enabling process data
Certain XN300 slice modules provide additional payload data that can be
manually mapped to unused PDOs. The appropriate subsections in
c CAN objects XN300 slice modules”, page
105 contain tables listing these PDOs for each XN300 slice module. For
example, the PDOs for the XN322-20DI-PD can be found in Table ,
page 112.
For a description on how to manually map the aforementioned payload data
to PDOs, please consult the manual for your configuration tool.
5.2.4 Adding CANopen communication libraries
By default, all the libraries required for CANopen communication will be auto-
matically added after the CAN master is added and the project is compiled
for the first time.
→
If the XN300 station has more input or output channels than the
default mapping can handle, or if it includes specialty modules,
the process data objects must be enabled manually.
→
For more detailed information, please consult the documenta-
tion for the PLC you are using.
Summary of Contents for XN-312-GW-CAN
Page 1: ...Manual CANopen Gateway XN 312 GW CAN 06 16 MN050003 EN ...
Page 4: ...II ...
Page 14: ...10 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton com ...
Page 374: ...9 What Happens If 370 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton eu ...
Page 388: ...384 Gateway XN 312 GW CAN 06 16 MN050003 EN www eaton eu ...