Thursday, April 19, 2012

Breaking a loop in Rapid ABB

To break an infinite loop in Rapid ABB try the following code:

WHILE (TRUE)
      Counter = Counter + 1;
      IF (Counter = 5) THEN
           Return;
     ENDIF
ENDWHILE

No comments:

Post a Comment