Internet PLC Forum
General => Technical support => Message started by: Lorne Van Dusen on June 27, 2018, 03:45:07 PM
Title: Suspending a program
Post by: Lorne Van Dusen on June 27, 2018, 03:45:07 PM
|I am working on a program that is monitoring various inputs and outputs|
Inside each of the functions I check to see if there is an error and if so I call a function
that shows the message on the LCD screen which function failed.
What is the best way to prevent the program from exiting that function until the PLC is restarted?
I originally used a long DELAY to hold it but eventually it does exit.
Title: Re:Suspending a program
Post by: support on June 28, 2018, 12:54:16 PM
|You can add a PAUSE statement at the place you want the PLC to simply stop running until it is re-started.|
Internet PLC Forum | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.