Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 1023

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Block Programming Instructions
Description
Flags
Precautions
Examples
990
Operation without an Operand
EXIT(806) can be executed without an operand. If it is, then an execution con-
dition must be created for it starting with LD. If the execution condition is OFF,
the rest of the block program will be executed normally. If the execution condi-
tion is ON, the rest of the instructions in the block program through
BEND(801) will not be executed.
Execution
condition
OFF
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.
Operand bit
OFF
(ON for EXIT
NOT)
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 0.00 is OFF, the block program is executed. If CIO 0.01 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 0.01 turns OFF
again.
Execution
condition
ON
"A" executed. "A" executed.
"B" executed.
Block ended.
Operand bit
ON
(OFF for EXIT
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-30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents