Overview
In this tutorial, it will be shown how to connect an IndraDrive Cs device to a ctrlX CORE X3. The ctrlX CORE X3 will be the Profinet controller (PN-Controller), and the IndraDrive will be the Profinet device. The IndraDrive device will be connected to the Ethernet port (XF51) of the ctrlX CORE, and the CoDSys fieldbus library will be used to configure the connection.
Prerequisites
Configuration
Note: Before starting with the configuration it is required to install the CoDeSys Fieldbus libraries. Please follow the steps shown here: Manual - CODESYS Fieldbus communication packages for ctrlX CORE. In the case the user has access to the collaboration room, download the packages from this link.
1. From the ctrlX CORE side it first requires to configure the Network configuration in the “Settings” side:
- Go to “Settings”Â
- "Connectivity"
- Select the "eth1" connectionÂ
- Go to the "IPv4" menu
- Choose an IP address (It is recommended to choose a different one to eth0) Something of the type 192.168.0.XÂ
- Save configuration
2. IndraDrive configuration file import
NOTE: It is required to have the .xml file of the IndraDrive device.
- Open the PLC program. In the Menu, select “Tools” -> "Device Repository" -> "Install" -> Select the .xml file with the PN-Device information.
- Once successfully imported, the imported device should be visible:
3. Add ethernet device:
- Right click over "Device" -> Select “Add device”Â
- Select “Ethernet”
- Press “Add Device”
4. Add PN-Controller device. As in this case, the ctrlX CORE will be the PN-Controller, it is required to select this type of device in the configuration.
- Right click over "Ethernet" -> "Add device"
- Select "PN-Controller over Profinet IO Master"