Jmp/cjp/jme, Applicable program areas operands, Flags – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 89: 2 instructions, N: jump number, Operand specifications, Jmp/cjp jme
2-53
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequ
ence C
ontr
ol I
n
stru
ctio
ns
2
JMP/C
JP/JME
JMP/CJP/JME
Applicable Program Areas
Operands
N: Jump Number
The jump number must be 0000 to 007F (&0 to &127 decimal).
Operand Specifications
Flags
JMP/CJP
JME
There are no flags affected by this instruction.
Instruction
Mnemonic
Variations
Function
code
Function
JUMP
JMP
---
004
When the execution condition for JMP(004) is
OFF, program execution jumps directly to the first
JME(005) in the program with the same jump
number.
CONDITIONAL JUMP
CJP
---
510
When the execution condition for CJP(510) is ON,
program execution jumps directly to the first
JME(005) in the program with the same jump
number.
JUMP END
JME
---
005
Indicates the end position of a jump by JMP or
CJP instruction.
Symbol
JMP
JME
CJP
Area
Step program areas
Subroutines
Interrupt tasks
Usage
Not allowed
OK
OK
Operand
Description
Data type
Size
N
Jump number
UINT
1
Area
Word addresses
Indirect DM addresses
Constants
CF
Pulse bits
TR bits
CIO
WR
HR
AR
T
C
DM
@DM
*DM
JMP/CJP
N
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
---
---
JME
N
---
---
---
---
---
---
---
---
---
Name
Label
Operation
Error Flag
P_ER
• ON if N is not within the specified range of 0000 to 007F.
• ON if there is a JMP(004) in the program without a JME(005) with the same jump number.
• OFF in all other cases.
JMP(004)
N
N:Jump number
N: Jump number
JME(005)
N
CJP(510)
N
N: Jump number