vamsig1223
I'm running OpenPLC on my PC and executing it throws an error "main thread is not in main loop".  The program complies correctly, but throws this error while executing.

Attached the ST file for reference, please clarify.
open-plc-error.jpg 
Quote 0 0
thiagoralves
It seems that you’re not using the official code. Did you clone from https://github.com/thiagoralves/OpenPLC_v3.git ?
Quote 0 0