ZQR
Hi, 

I have been collecting OpenPLC projects on Github and I found that in the build folders of the projects, there are two .st files: plc.st and generated_plc.st. It seems that the content of plc.st contains the content of generated_plc.st.
I tried to compile those two .st files with OpenPLC runtime. For version 3, only generated_plc.st can be compiled succesfully. For version 2, both can be compiled without errors. 
Is plc.st not supposed to be compiled with version 3 runtime? Then why can version 2 runtime compile plc.st?

Thank you!
Reply 0 0
thiagoralves
plc.st should not compile on v2 or v3. It contains some python specific code used for debugging only (that's the code ran on the built-in simulation in the editor). I don't remember v2 runtime specifics anymore, it should be ancient history now. There could be something in there that ignores the python content, but I'm not sure.
Reply 0 0
ZQR
I see. Thank you!
Reply 0 0
Reply