EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 1037

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1004
Block Programming Instructions Section 3-30
Examples In the following example, “B” will be executed 20 seconds after “A” whenever
CIO 0.01 is ON.
3-30-10 Loop Control: LOOP(809)/LEND(810)/LEND(810) NOT
Purpose Create a loop that is repeatedly executed until an execution condition turns
ON or OFF or until an execution condition turns ON.
Ladder Symbol
Variations
Applicable Program Areas
Note LOOP(809), LEND(810), and LEND(810) NOT must be used in block pro-
gramming regions even within subroutines and interrupt tasks.
Operand Specifications
Address Instruction Operand
000221 LD 0.01
000222 BPRG 1
.
.
A.
.
000250 TMHW 2
#0020
.
.
B.
.
000281 BEND ---
1
0.01
LOOP(809)
LEND(810)
LEND(810)
LEND(810) NOT B
B
B: Bit operand
Variations Always Executed in Block Program
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area B
CIO Area CIO 0.00 to CIO 6143.15
Work Area W0.00 to W511.15
Holding Bit Area H0.00 to H511.15
Auxiliary Bit Area A0.00 to A447.15
A448.00 to A959.15
Timer Area T0000 to T4095
Counter Area C0000 to C4095

Table of Contents

Related product manuals