Steve Bailey
Lifetime Supporting Member + Moderator
Why would anyone in his right mind write PLC code like that? Other than to win the prize for 'most difficult to follow' or 'look how clever I am' code.If you use JMP to jump out of the For Next loop until the timer expires, then it will allow pausing as long as desired before completing the NEXT.