Read/Write XCS drive parameters in PLC Engineering

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.

2 replies