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.
10-23-2024 12:52 PM
Hi,
Does anyone know how to map variables in ctrlX PLC for couples?
I can read the inputs and control the outputs in ctrlX I/Os and also from ctrlX CORE data layer and they (X110208 and X210208 ) are mapped in ctrlX PLC. The only one that is not mapped is the coupler and I don't know how to do it manually.f
Solved! Go to Solution.
10-23-2024 01:33 PM
You mean to control these IO's in the PLC?
You can either directly adress them via an AT statement in a GVL ( UL_Overvoltage AT %Ix8.4 : BIT;) or make assign an variable to this by double clicking the variable and find/select an already existing variable.
If you also want to control this variable from the datalayer, you have to add the symbol configurion.
10-23-2024 02:03 PM
Could you add a screenshot of your IO project and of the EtherCat realtime data in the data layer, so we could better understand what is your topic about.
10-24-2024 01:44 PM - edited 10-24-2024 01:47 PM
In ctrlX I/O I can read the inputs and see the states of outputs:
And in ctrlX CORE, Datalayer I can control outpurs:
But nothing happens in ctrlX PLC when I connect to ctrlX CORE. I believed the problame might be the coupler becouse is not mapped, but now I see that the ethernet connection is not fully configured. What to do in this situation?
10-25-2024 12:50 PM - edited 10-25-2024 12:55 PM
Hi,
I find the problem. It was the path of ethercatmaster. Instead of 'fieldbuses/ethercat/master/instances/ethercatmaster/realtime_data', it was 'fieldbuses/ethercat/master/instances/_ethercatmaster/realtime_data'. So it was looking for something diffrent, not the path of data layer.
Thank you all for your interest!