10.2.2.1 Example
10.2.3 Control Functions End of Logic
The End of Logic function provides a temporary end of logic. The program executes from
the first rung to the last rung or the End of Logic function, whichever is encountered first.
The End of Logic function unconditionally terminates program execution. There can be
nothing after the end function in the rung. No logic beyond the End of Logic function is
executed, and control is transferred to the beginning of the program for the next sweep.
The End of Logic function is useful for debugging purposes because it prevents any logic
which follows from being executed.
The programming software provides an [ END OF PROGRAM LOGIC ] marker to
indicate the end of program execution. This marker is used if no End of Logic function is
programmed in the logic.
10.2.3.1 Example
In the example, an End of Logic function is programmed to terminate the end of the
current sweep.
Instruction Set Reference GFK-1503E User Manual 141
For public disclosure