Jumps - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Jumps

4-6

Jumps

0000
00
0000
01
0000
02
Diagram B: Corrected with a Jump
92
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
no other operand and JUMP END never has conditions on the instruction line
leading to it.
(004)
JMP
Instruction 1
Instruction 2
(005)
JME
This version of diagram B would have a shorter execution time when 00000 was
OFF than any of the other versions.
There must be a JUMP END with the same jump number for each JUMP instruc-
tion in the program. If SFC programming is being used, the JUMP END instruc-
tion must be contained within the same action or transition program.
Address Instruction Operands
#0001
00000
00001
00002
00003
00004
00005
00006
#0001
Section 4-6
LD
000000
JMP(004)
#0001
LD
000001
Instruction 1
LD
000002
Instruction 2
JME(005)
#0001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents