ChaosTamed
I'm creating an educational tool which presents a user with a menu to select a project form a list: eg, an automatic car wash, traffic lights, tank level control etc. This results in a structured text file being dropped into a docker volume which is linked to the
/workdir/webserver/st_files/  directory (and a scada-lts config file being dropped into another volume). I then use docker compose to spin up three containers: a mysql data base, scada-lts and openplc. Accessing the openplc interface, the program is available in the list of programs, and I can upload it and start the PLC. My question is whether it's possible to automatically upload the program to the PLC, and even start the plc, when the container is spun up.

Thanks for any thoughts or suggestions.
Reply 0 0
thiagoralves
To finish uploading a program you have to call the compile_program.sh script inside the scripts folder
Reply 1 0
Reply