I have created three virtual axes and I am trying to access their parameters from the PLC Engineering software. To do this, I have tried using the CXA_DATALAYER and CXA_PLCOPEN libraries, but the MB_ReadParameter function does not appear. How can I do this?
Accessing drive parameters from PLC Engineering software
Best reply by Jochen_Mueller
short additonal information:
We are currently working at a Datalayer struct which displays some drive data automatically. This you can use for your PLC sequence. At the screenshot you see the availalbe drive data, e.g. the homing status you want to check. This will be availalbe for version 2.6.
All other drive information you have to use FB of the CXA_DATALAYER, as you mentioned. And you have to make a selector if you have connected "real" drives or not.
By the way if you use our recommended motion interface you will have the data directly inside the PLC, and can use it very comfortable. ( see second screenshot)
note: the screenshot shows a virtual axis. you see here the reference status = FALSE. It is still a bug and will be corrected soon. So virtual axis should always homed...
5 replies