FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Wednesday
I am investigating a feature involving a ctrlx core updating the parameters of a drive, given the drive has been replaced. I know this is to be done by the Drive connect app, but I'm struggling to find how exactly. I've searched through the forums and wasn't successful in finding someone using the drive connect app like this.
My first thought was to pull the data of the serial numbers of the connected drives, and if that didn't match the last time the core had been booted up to write the parameters stored within the drive connect apps data locations to the drives by their ethercat position. I was able to load firmware and drive parameters to the drive connect app, but have been unable to querry what drives are actually connected.
Is there an example or guide somewhere on how to do this? The drive connect apps manual explains how to do it all manually but not how to do it automatically, as it happening without much human intervention is best.
yesterday
First of all, which versions of the ctrlX OS system apps and the DriveConnect app is used?
If you use the description for manual access you can do the same things e.g. automated via REST or also via a data layer client sending the same comands to the same nodes.
yesterday
I am using 2.6 for the core and 2.4.2(legacy) for the DriveConnect app. Here is a screenshot of an attempt to pull the information as described by the DriveConnect manual.
I am able to pull information correctly from the data layer, after I already know the serial number of the drive, but I can't figure out how to pull the serial number in order to complete the filepath for the REST API to do it's job. I attempted to follow it with Node Red, and my subscription always says invalid address.
After some tinkering, just clicking the magnifying glass next to the path and setting it to /devices/drives seemed to make it work. Not sure why putting that in manually doesn't work, but the magnifying glass does. I'm going to keep working on this and potentially post my finished demo for someone else to follow. If I struggled someone else will too.
4 hours ago
Which version of PLC Engineering is used, as the screenshot seems to be from the automatic subscription import and not all data types are working with all versions.
Some information to that:
The IP address as well as username and password are normally part of the configuration of the subscription and not part of the inserted path. Please compare the path inserted via magnifying glass and manual.