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.