FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
07-10-2023 02:01 PM
Hello,
I am new to the CtrlX Automation platform, I need to read/write parameters of a XCS drive in a PLC program developed in CtrlX PLC Engineering. Such program will be downloaded and executed on the drive itself, so when I create the program I select the template ctrlX Drive Technology Function.
What is the most simple and efficient way to read/write parameters of the drive from this program?
I found the function blocks IL_DriveReadParameter and IL_DriveWriteParameter in the library CXAD_DriveParameter. They require a variable of type DEVICE_REF as input, but I do not understand how to associate such variable to the drive, is there a link to do? Do I need to use CtrlX IO Engineering?
Thanks.
Best regards.
Solved! Go to Solution.
07-10-2023 05:44 PM
There is a how-to on how to read/write parameter using SoE.
07-19-2023 09:11 AM
CXAD_... libraries are only useable for drive technology functions. They do not work in a ctrlX CORE. You have to use generall libraries CXA_... or control only libraries CXAC_... See how to "Ethercat SoE: Read and write ctrlX DRIVE and/or Indradrive S and P parameters".