5 Connecting the PLC to the gateway using CODESYS5.1 Connecting the programming computer, the PLC, and the CAN XN300 stationGateway XN-312-GW-CAN 06/16 MN050003-EN www.eaton.eu 535 Connecting the PLC to the gateway using CODESYSYou can either use XSOFT-CODESYS-2 or XSOFT-CODESYS-3 as the config-uration software for the gateway.The gateway can be connected to any CAN master by using the appropriateEDS file.The following sections provide examples showing how to connect a gate-way, including the corresponding I/O slice modules, to a CAN master.5.1 Connecting the programming computer,the PLC, and the CAN XN300 stationBefore commissioning a Eaton PLC (e.g., XC202, XC201, EC4P, XV-152,XV300, XC-152) with the configuration software, the PLC will need to be con-nected to a programming computer. To do this, the Eaton PLC first needs tobe connected to the XN-312-GW-CAN gateway using a CAN bus cable.