Control Functions End Of Logic - GE VersaMax PLC User Manual

Table of Contents

Advertisement

%I0004
%I0006
%I0003
%I0001
Instruction Set Reference
For public disclosure
10.2.2.1 Example
CALL
(subroutine)
%I0010

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.
[ END ]
10.2.3.1 Example
In the example, an End of Logic function is programmed to terminate the end of the
current sweep.
[ STOP ]
END]
%T0001
%Q0010
GFK-1503E User Manual 141

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents