What is the difference between an EOP and a LOOP step?
The two steps are similar. A LOOP step can repeat a user defined section of the program. When the loop counter reaches zero the programmer advances to the next step in the program. Each loop can perform from 1 to 9999 loops. Loops can be nested, or two loop steps can be programmed back to back with 9999 loops to repeat the same section of code 9999 x 9999 or 99,980,001 loops. Every program “MUST” be terminated with an EOP step. An EOP step can repeat a user defined section of the program, including loops or nested loops, and will stop when the Cycle counter reaches zero. Similar to a Loop step the user defines the step number of the program to cycle back to and the number of program cycles to execute, up to 9999. When the EOP cycle counter reaches zero the program stops and latches the last CH1 & CH2 setpoint values and event ON/OFF status. CAUTION: Care must be taken when changing the step number for the EOP or entering a new program with less steps than the existing program in memory
Related Questions
- When I use the mini_os subroutines, I get stuck in an endless loop when the program takes in user input! How do I step through the program and not get stuck in the mini_os code?
- How do I implement the feature of a three step controller with PID Loop in a S7-200?
- What is the difference between an EOP and a LOOP step?