actually I try to create some variables in a Python / Blockly script. How do I get these variables to the datalayer? And how can I work with variables from the Datalayer in the Python / Blockly script?
Solved! Go to Solution.
In general it is not possible to add variables (be a provider) to the ctrlX Data Layer from a script created by the graphical part of the ctrlX CORE IDE App. To do so you need the python wheel that is part of the SDK for ctrlX AUTOMATION.
To interact with any variable you can use the Datalayer abstraction:
To interact with variables of your hardware IOs you can use the Pin abstraction:
To interact with PLC variables you can use the IPC abstraction:
Post was moved to own topic.