News: You can search the forum for answers to your question in a previous discussion. Please click on the "Search" button above and enter the keyword to search. To get to the full discussion of a listed message, please click on the TITLE of the message listed in the search listing.

I am working on a program that is monitoring various inputs and outputsInside 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.