Hello,
Is there a “first scan” system variable available in Codesys 3.5?
Also, looking for a WAGO system variable for monitoring the run and stop switch on the PLC.
Thanks,
Hello,
Is there a “first scan” system variable available in Codesys 3.5?
Also, looking for a WAGO system variable for monitoring the run and stop switch on the PLC.
Thanks,
Hi Jacob,
Yes, you can setup systemevents in the taskconfiguration:
You cannot read the plc-switch directly in the codesys programm. Because it will be stopped.
But you choose a systemevent, for example PrepareStop or StopDone, where you can set you plc-variable.
Best Regards
Michael