Omron CS1G/H-CPUxxH Instructions Manual page 1028

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Block Programming Instructions
Examples
3-32-10 Loop Control: LOOP(809)/LEND(810)/LEND(810) NOT
Purpose
Ladder Symbol
Variations
Applicable Program Areas
operating at the same time. An error will occur in the program check if the
same timer number is used in more than one timer instruction.
An error will occur and the Error Flag will turn ON if an indirect IR designation
is used for N in BCD mode and the address is not for a timer present value or
if SV is not BCD.
In the following example, "B" will be executed 20 seconds after "A" whenever
CIO 000000 is ON.
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)
LEND(810) NOT
Variations
Always Executed in Block Program
Block program areas
OK
Note LOOP(809), LEND(810), and LEND(810) NOT must be used in block pro-
gramming regions even within subroutines and interrupt tasks.
Instruction
LD
BPRG
A
TMHW
B
BEND
B
B
Step program areas
Subroutines
OK
OK
Section 3-32
1
Operand
000001
1
.
.
0002
#0020
.
.
---
B: Bit operand
Interrupt tasks
OK
1007

Advertisement

Table of Contents
loading

Table of Contents