Access PLC code into ctrlX core data layer

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

ย 

Best reply by CodeShepherd

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.

View original
Untitled1.xml
358.61KB
1 reply