Jump And Jump End - Jmp(04) And Jme(05) - Omron SYSMAC C200HS Operation Manual

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

JUMP and JUMP END – JMP(04) and JME(05)
Example
00000
00001
00002
00003
00004
00100
00005
5-11 JUMP and JUMP END – JMP(04) and JME(05)
Limitations
Description
The following diagram shows IL(02) being used twice with one ILC(03).
IL(02)
TIM 511
TIM 511
#0015
IL(02)
CP
CNT
001
R
IR 010
00502
ILC(03)
When the execution condition for the first IL(02) is OFF, TIM 511 will be reset to
1.5 s, CNT 001 will not be changed, and 00502 will be turned OFF. When the
execution condition for the first IL(02) is ON and the execution condition for the
second IL(02) is OFF, TIM 511 will be executed according to the status of 00001,
CNT 001 will not be changed, and 00502 will be turned OFF. When the execution
conditions for both the IL(02) are ON, the program will execute as written.
Ladder Symbols
JMP(04) N
JME(05) N
Jump numbers 01 through 99 may be used only once in JMP(04) and once in
JME(05), i.e., each can be used to define one jump only. Jump number 00 can be
used as many times as desired.
JMP(04) is always used in conjunction with JME(05) to create jumps, i.e., to skip
from one point in a ladder diagram to another point. JMP(04) defines the point
from which the jump will be made; JME(05) defines the destination of the jump.
When the execution condition for JMP(04) in ON, no jump is made and the pro-
gram is executed consecutively as written. When the execution condition for
JMP(04) is OFF, a jump is made to the JME(05) with the same jump number and
the instruction following JME(05) is executed next.
If the jump number for JMP(04) is between 01 and 99, jumps, when made, will go
immediately to JME(05) with the same jump number without executing any in-
structions in between. The status of timers, counters, bits used in OUT, bits used
in OUT NOT, and all other status bits controlled by the instructions between
JMP(04) and JMP(05) will not be changed. Each of these jump numbers can be
used to define only one jump. Because all of instructions between JMP(04) and
JME(05) are skipped, jump numbers 01 through 99 can be used to reduce cycle
time.
Address
Instruction
00000
LD
00001
IL(02)
00002
LD
001.5 s
00003
TIM
00004
LD
00005
IL(02)
00006
LD
00007
AND NOT
00008
CNT
00009
LD
00010
OUT
00011
ILC(03)
Definer Values
N: Jump number
N: Jump number
Section 5-11
Operands
00000
00001
511
#
0015
00002
00003
00004
001
010
00005
00502
# (00 to 99)
# (00 to 99)
137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents