Requirements
Hardware
· ctrlX CORE with EtherCAT Master
· Festo Remote-I/O-System CPX-AP-A / CPX-AP-I / CPX-E
Software
· EtherCAT ESI Files for Festo devices CPX-AP-A / CPX-AP-I / CPX-E
· ctrlX I/O Engineering
· ctrlX OS V2.6.4 (or higher)
Get and install ESI Files
Download ESI Files for your device from the Festo website.
Go to Website, search for your device and search in the Download Section in Software for the EtherCAT XML File:
After downloading install ESI Files in ctrlX I/O Engineering software.
Open menu Tools -> Device Repository.
Click Install... and select the ESI File to install it.
Configuration of System
The System can be configured in two ways:
· Offline Configuration by manually setting the devices and modules in the correct physical order.
· Online Configuration by scanning the System and automatically detecting devices and modules in the correct order.
Offline Configuration
Add device to EtherCAT-Master by right-click in the device tree on ethercatmaster -> Add Device:
Select the device from the device catalog -> Add Device.
Now add all modules of the device. The order must be identical to the physical order.
Right-click on the device -> Add-Device. Select the module and click on Add Device.
Add all modules of the device.
If there are other devices add the devices and modules the same way.
After completing download of the configuration to the PLC, hardware configuration is completed.
Online Configuration
It is also possible to automatically scan the topology of the system. The device and modules are detected and set in the hardware configuration.
Right-click on ethercatmaster -> scan for devices. Now all devices should be found.
Insert all found modules and devices into the hardware configuration.
All devices and modules should now be in your hardware configuration.
Download to PLC to activate and complete the configuration.
Hint: If not all modules appear after the first scan, a new scan and an additional download of the hardware configuration could help to find all modules.
Setting up parameters of modules
Some of the modules have special parameters that can be set using the engineering tool and are automatically downloaded to the device during the startup phase.
To set the parameters, double-click on the device CPX_AP_A_EC_M12.
In the right window, select Startup Parameters and click on the button + Add.
Starting from object index 2000, the module parameters are listed.
Object 2000 represents the parameters for module 1, 2010 for module 2, and so on.
Each object contains specific parameters that can be set.
By changing the parameter and acknowledging the change by clicking OK, the parameters will appear in the startup parameter list.
The parameters are now downloaded during every system startup.
These parameters are module specific. Descriptions can be found on the Festo website.
Search for your Remote-I/O-System. In the User Documentation section, you can find the documentation for the different modules.