Jumps - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Basic Ladder Diagrams
00000
00001
00002
00003
00004
00005
00006
4-3-9

Jumps

198
00000
00001
00002
If IR 00000 is ON in the revised version of diagram B, above, the status of IR
00001 and that of IR 00002 would determine the execution conditions for
instructions 1 and 2, respectively. Because IR 00000 is ON, this would pro-
duce the same results as ANDing the status of each of these bits. If IR 00000
is OFF, the INTERLOCK instruction would produce an OFF execution condi-
tion for instructions 1 and 2 and then execution would continue with the
instruction line following the INTERLOCK CLEAR instruction.
As shown in the following diagram, more than one INTERLOCK instruction
can be used within one instruction block; each is effective through the next
INTERLOCK CLEAR instruction.
If IR 00000 in the above diagram is OFF (i.e., if the execution condition for the
first INTERLOCK instruction is OFF), instructions 1 through 4 would be exe-
cuted with OFF execution conditions and execution would move to the instruc-
tion following the INTERLOCK CLEAR instruction. If IR 00000 is ON, the
status of IR 00001 would be loaded as the execution condition for instruction 1
and then the status of IR 00002 would be loaded to form the execution condi-
tion for the second INTERLOCK instruction. If IR 00002 is OFF, instructions 2
through 4 will be executed with OFF execution conditions. If IR 00002 is ON,
IR 00003, IR 00005, and IR 00006 will determine the first execution condition
in new instruction lines.
A specific section of a program can be skipped according to a designated exe-
cution condition. Although this is similar to what happens when the execution
condition for an INTERLOCK instruction is OFF, with jumps, the operands for
all instructions maintain status. Jumps can therefore be used to control
devices that require a sustained output, e.g., pneumatics and hydraulics,
whereas interlocks can be used to control devices that do not required a sus-
tained output, e.g., electronic instruments.
IL(02)
Address Instruction
00000
LD
00001
IL(02)
Instruction 1
00002
LD
Instruction 2
00003
Instruction 1
00004
LD
ILC(03)
00005
Instruction 2
00006
ILC(03)
IL(02)
Address Instruction
00000
Instruction 1
00001
00002
00003
IL(02)
00004
00005
Instruction 2
00006
00007
Instruction 3
00008
00009
Instruction 4
00010
00011
ILC(03)
00012
00013
Section 4-3
Operands
00000
---
00001
00002
---
Operands
LD
00000
IL(02)
LD
00001
Instruction 1
LD
00002
IL(02)
LD
00003
AND NOT
00004
Instruction 2
LD
00005
Instruction 3
LD
00006
Instruction 4
ILC(03)
---
---
---

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF