FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
07-21-2023 08:12 PM
We have a lot of machines that are commisioned with very similiar sets of motor and I/O configurations depending on what options are selected by the customers. I assume somewhere in the /snap/Ethercat/current directory or /var/snap/Ethercat/current directory there is a config file such as an .xml that is defining the setup. I cant seem to find this though. I would ideally like to be able to create a quick config tool so our service techs can alter the configuration in the field without having to use ctrlx IO. I plan to do this with a custom app but am also open to suggestions.
Solved! Go to Solution.
07-24-2023 04:26 PM
Hello
an alternative can be, for example different configurations are existing, to use a script via REST to load/replace the current active configuration with an archived project in managed app data. May other data is different, too. By-the-way the ctrlX IO Engineering has a REST interface as well.
May somebody else have any other solution.
07-25-2023 04:36 PM
Location is ActiveConfiguration/comm.ethercat.master/config/<name of master instance>/ethercat.xml
If the number of variants is not that high I would recommend the method mentioned by @cc2go: Add all files for all possible configurations and then use a app or external tool to load the one you like to use to the EtherCat master. It can be used own app, PLC, Node-RED, WebDAV or REST based PC tool.
The other solution for a big number of variants is to manipulated the existing xml or create a total new one. The main problem here is to create a working xml without error and you need all the information about all devices that should be commissioned (device description files) to do so.
07-27-2023 09:37 PM
@cc2go and @CodeShepherd I apperciate it. This should work. There are not to many configurations so that should work.
07-28-2023 04:23 PM
Here is an example app for the CORE using WebDAV to update the EtherCAT configuration xml.