1. Importing the device description IODD (“Import Device description” button)
Importing the device description simplifies the integration of the IO-Link devices. The individual process data are broken down, enabling simple parameterization of the sensor. The IODD only needs to be imported during the initial commissioning of a new IO-Link device. The import is port-independent.
Proceed as follows to import the IODD:
- Press the "Import Devicedescription" button on the "IO-Link" tab
- Select and open the .xml file for the desired sensor
- The imported files are stored in the following folder:
- for TwinCAT 2.x: \TwinCAT\IO\IOLink
- for TwinCAT 3.x: \TwinCAT\3.X\Config\IO\IOLink
![]() | No manual copying of the XML files Do not copy the files directly into the folder; read them in via "Import Devicedescription" instead! Important checks will otherwise be bypassed! |
- Online configuration: once the IO-Link device has been connected, it is automatically detected and created with the corresponding parameters by pressing the "Scan devices" button.
If several devices are stored in the IODD file, the first entry is always selected here. Grouping in the IODD is usually carried out by the vendor if the process data are the same and there are only mechanical differences (e.g. other material). - Offline configuration: the IO-Link device catalog is called with the "Catalog" button; the device descriptions that have already been imported are listed here, arranged in a tree structure according to the vendor. The selection of the IO-Link device must be confirmed with "OK".
- Restart the EtherCAT system or reload the configuration in Config mode (F4).
- The IO link devices are displayed, and the process data are created. If an error is found when integrating the IO-Link device, e.g. wrong VendorID or no device connected, then this is indicated via the status of the port (object state Ch.n 0xF100:0n).