![Omron CVM1D Скачать руководство пользователя страница 88](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532088.webp)
83
As shown below, multiple INTERLOCK instructions can be used in one instruc-
tion block; each is effective through the next INTERLOCK CLEAR instruction.
Address
Instruction
00000
LD
000000
00001
IL(002)
---
00002
LD
000001
00003
Instruction 1
00004
LD
000002
00005
IL(002)
---
00006
LD
000003
00007
AND NOT
000004
00008
Instruction 2
00009
LD
000005
00010
Instruction 3
00011
LD
000006
00012
Instruction 4
00013
ILC(003)
---
Operands
Instruction 4
Instruction 1
Instruction 2
Instruction 3
(002)
IL
(003)
ILC
0000
00
(002)
IL
0000
01
0000
02
0000
03
0000
04
0000
05
0000
06
If CIO 000000 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
executed with OFF execution conditions and execution would move to the
instruction following the INTERLOCK CLEAR instruction. If CIO 000000 is ON,
the status of CIO 000001 would be loaded as the execution condition for instruc-
tion 1 and then the status of CIO 000002 would be loaded to form the execution
condition for the second INTERLOCK instruction. If CIO 000002 is OFF, instruc-
tions 2 through 4 will be executed with OFF execution conditions. If CIO 000002
is ON, CIO 000003, CIO 000005, and CIO 000006 will determine the first execu-
tion condition in new instruction lines.
4-6
Jumps
A specific section of a program can be skipped according to a designated execu-
tion 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 inter-
locks can be used to control devices that do not required a sustained output,
e.g., electronic instruments.
Jumps are created using the JUMP (JMP(004)) and JUMP END (JME(005))
instructions. If the execution condition for a JUMP instruction is ON, the program
is executed normally as if the jump did not exist. If the execution condition for the
JUMP instruction is OFF, program execution moves immediately to a JUMP
END instruction without changing the status of anything between the JUMP and
JUMP END instruction.
All JUMP and JUMP END instructions are assigned jump numbers ranging be-
tween 0000 and 0999. A jump can be defined once using any of the jump num-
bers 0000 through 0999. When a JUMP instruction assigned one of these num-
bers is executed, execution moves immediately to the JUMP END instruction
that has the same number as if all of the instruction between them did not exist.
The JUMP END instruction may be either before or after the JUMP instruction.
Diagram B from the TR bit and interlock example could be redrawn as shown
below using a jump. Although 0001 has been used as the jump number, any
number between 0001 and 0999 could be used. JUMP and JUMP END require
Jumps
Section 4-6
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...