simulation-dev
I expanded on a repo [https://github.com/jpaffrath/docker-openplc] which attempted to start openplc runtime and load in a .st and .cfg file to be compiled and live on container startup. I cleaned up bad function calls and scripting to the point where I can put a .st and .cfg file in the same directory as my Dockerfile and I am able to see my .st compile and see the live data feeds. 
 
My question is if I want to view the live device's input/output with read and write capabilities can I do this over ModbusTCP?
I want to carry out read/write actions from another container.
If ModbusTCP is the wrong path to pursue is anyone able to share a way to create a socket within the .st device file for me to be able to communicate externally?
 
If anyone wants to see my build I can share a zip 
Reply 0 0
thiagoralves
Usually using SCADA protocols (like Modbus/TCP) is the best way to communicate with a PLC. If you want something more integrated to the IOs (like a driver) you can try using PSM
Reply 1 0
simulation-dev
I will explore Modbus/TCP further thanks for your direction Thiago.
Do you know of any implementations that have developed this idea further?  
Reply 0 0
Reply