197
5-21-8
CONDITIONAL BLOCK EXIT – EXIT<06> and EXIT<06> NOT
EXIT<06>
EXIT<06>
B
EXIT<06> NOT
B
Instruction Formats
B
: Bit
IR, SR, AR, HR, TC, LR
Operand Data Areas
EXIT<06> and EXIT<06> NOT conditionally end execution of the block pro-
gram in which they occur, based on either the execution condition or the op-
erand bit.
If the EXIT condition is YES when EXIT<06> or EXIT<05> NOT is reached,
execution moves directly to BEND<01> without executing any more instruc-
tions in the block. If the EXIT condition is NO, the block program is executed
normally.
A YES EXIT condition is produced by an ON execution condition for
EXIT<06> without an operand, by an ON bit for EXIT<06> with an operand
bit, or by an OFF bit for EXIT<06> NOT with an operand bit.
LD, possibly in combination with AND or OR, must be used to create an ex-
ecution condition for EXIT<06> when used without an operand bit.
Example
In the following example, B will be executed only when 00001 is OFF.
BPRG(96) 00
EXIT<06>
A
B
BEND<01>
00000
00001
Address
Instruction
Operands
00000
LD
00000
00001
BPRG(96)
00
A
00200
EXIT<06>
00001
B
00300
BEND<01>
5-21-9
Block Loop Control–LOOP<09>, LEND<10>, and LEND<10> NOT
LOOP<09>
LEND<10>
LEND<10>
B
LEND<10> NOT
B
Instruction Formats
B
: Bit
IR, SR, AR, HR, TC, LR
Operand Data Areas
LOOP<09> and LEND<10> are used to create a loop that is repeatedly ex-
ecuted until the LOOP END condition becomes YES. LOOP<09> designates
the beginning of the loop program, and a LEND<10> or LEND<10> NOT in-
struction specifies the end of the loop. When LEND<10> or LEND<10> NOT
Description
Description
Block Programming Instructions
Section 5-21
Содержание SYSMAC C1000H
Страница 1: ...Cat No W140 E1 04 Programmable Controllers SYSMAC C1000H C2000H...
Страница 2: ...C1000H C2000H Programmable Controllers Operation Manual Revised May 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 395: ...Cat No W140 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 396: ...Cat No W140 E1 04 SYSMAC C1000H C2000H Programmable Controllers OPERATION MANUAL...