Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1241

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Block Programming Instructions
Flags
Precautions
Examples
1202
Execution condition
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.
Name
Label
Error Flag
ER
An error will occur and the Error Flag will turn ON if EXIT(806) or EXIT
NOT(806) is not in a block program.
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
Execution
condition
condition
OFF
ON
"A" executed. "A" executed.
"B" executed.
Block ended.
Operand bit
Operand bit
OFF
ON
(ON for EXIT
(OFF for EXIT
NOT)
NOT)
"A" executed. "A" executed.
"B" executed.
Block ended.
Operation
ON if EXIT(806) or EXIT NOT(806) is not in a block pro-
gram.
OFF in all other cases.
Section 3-32

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents