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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents