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.
02-21-2023 04:08 PM
Hello,
I have plc code which i want access into ctrlx data layer .
I am able to access global variable into data layer but i want complete plc program into data layer as well as i want to change plc code via ctrlx core web environment.
How can i get plc code access into ctrlx data layer .
I attached PLC code for refrence which i want to access in data layer
Solved! Go to Solution.
02-22-2023 08:22 AM
As PLC code is always compiled code used in a runtime it cannot be changed on the run that easily. The only way is a special mechanism called "online change" (as you probably know) that compiles and replaces parts of the program.
You could add a string e.g. in JSON format and interpret it in a function written in your PLC to get the functionality you like to achieve.