1201
Block Programming Instructions Section 3-32
Operation with an Operand
If the operand bit, B, is OFF for EXIT(806) the rest of the block program will be
executed normally. If the operand bit is ON for EXIT(806), the rest of the
instructions in the block program through BEND(801) will not be executed. For
EXIT NOT(806), the rest of the block program will be executed for if the oper-
and bit is ON and skipped if the operand bit is OFF.
Flags
Precautions An error will occur and the Error Flag will turn ON if EXIT(806) or EXIT
NOT(806) is not in a block program.
Examples When CIO 000000 is OFF, the block program is executed. If CIO 000001 is
ON, A is executed and then B is skipped and program control jumps to
BEND(801). Section B of the program will continue to be skipped until
CIO 000001 turns OFF again.
Although EXIT (NOT)(806) is similar to IF-IEND programming, execution time
is normally shorter for EXIT (NOT)(806) because the instructions from EXIT
(NOT)(806) to the end of the block program are not executed at all.
Execution
condition
OFF
Execution
condition
ON
"A" executed. "A" executed.
"B" executed.
Block ended.
Execution condition
Operand bit
OFF
(ON for EXIT
NOT)
Operand bit
ON
(OFF for EXIT
NOT)
"A" executed. "A" executed.
"B" executed.
Block ended.
Name Label Operation
Error Flag ER ON if EXIT(806) or EXIT NOT(806) is not in a block pro-
gram.
OFF in all other cases.