![Omron CVM1D Operation Manual Download Page 413](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532413.webp)
LOOP<009>
A
B
BEND<001>
(250)
BPRG
00
0000
00
C
IORF(184)
0000
0000
LEND<010> 000001
408
IEND<004>
IEND<004>
IEND<004>
LEND<010>
LEND<010>
•
Loops cannot be nested within loops.
Incorrect:
LOOP<009>
LOOP<009>
LEND<010>
LEND<010>
•
Do not reverse the order of LOOP and LEND.
Incorrect:
LEND<010>
:
:
LOOP<009>
When CIO 000000 is ON, the block program is executed. After A is executed,
B and the IORF(184) after it will be executed repeatedly until CIO 000001 is
ON, at which time C will be executed and the block program will end.
Address
Instruction
Operands
00000
LD
000000
00001
BPRG(250)
00
A
00015
LOOP<009>
B
00024
IORF(184)
0000
0000
00025
LEND<010>
000001
C
00033
BEND<001>
5-35-7 BLOCK PROGRAM PAUSE/RESTART : BPPS<011>/BPRS<012>
N: Block program number # (00 to 99)
Operand Data Area
Ladder Symbol
BPPS<011>
N
BPRS<012>
N
BPPS<011> is used inside one block program to suspend the execution of
another block program. BPRS<012> restarts the specified block program.
These instructions are effective whenever executed, i.e., they do not rely on
operand bit status or execution condition.
Precautions
Even if the execution of a block program is suspended, PVs of all operating
TIMW<013> timers and TMHW<015> high-speed timers with timer numbers
T0000 through T0255 in the block program are updated continuously.
Execution Flow Examples
Description
Block Programming Instructions
Section 5-35
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...