![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079200.webp)
194
first cycle. During following cycles, none of the block program will be ex-
ecuted until the operand bit or execution condition changes, at which point
the remainder of the block program will be executed. Once the entire block
program has been executed, the process is repeated.
WAIT<05> NOT cannot be used without an operand bit.
When 00000 is ON, the block program is executed as normal. If 00001 is
OFF, however, A is executed and then B is skipped and program control
jumps to BEND<01>. During the following cycles, until 00001 turns ON, no
instructions within block 00 will be executed (except WAIT <05>).
BPRG(96) 00
WAIT<05> 00001
A
B
BEND<01>
C
00000
Address
Instruction
Operands
00000
LD
00000
00001
BPRG(96)
00
A
00100
WAIT<05>
00001
B
00200
BEND<01>
C
The execution flow for this example would be as shown below:
00000
ON
A
00000
ON
00001
ON
B
00001
OFF
C
C
Initial execution
The following example would work similarly, except that execution of
WAIT<05> would be based on an AND between the status of 00001 and HR
0200.
BPRG(96) 01
LD
AND
WAIT<05>
A
B
BEND<01>
C
00000
00001
HR 0200
Address
Instruction
Operands
00000
LD
00000
00001
BPRG(96)
01
A
00200
LD
00001
00201
AND
HR
0200
00202
WAIT<05>
B
00300
BEND<01>
C
Precautions
Execution Flow Examples
Block Programming Instructions
Section 5-21