Jmp/Cjp/Jme - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

JMP/CJP/JME

Instruction
JUMP
CONDITIONAL JUMP
JUMP END
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
N
Jump number
N: Jump Number
The jump number must be 0000 to 007F (&0 to &127 decimal).
Operand Specifications
Area
CIO
WR
HR
JMP/CJP N
OK
OK
OK
JME
N
---
---
---
Flags
JMP/CJP
Name
Error Flag
JME
There are no flags affected by this instruction.
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
JMP
---
CJP
---
JME
---
JMP
JMP(004)
N:Jump number
N
CJP
CJP(510)
N: Jump number
N
Step program areas
Not allowed
Description
Word addresses
AR
T
C
DM
OK
OK
OK
OK
---
---
---
---
Label
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.
Function
code
When the execution condition for JMP(004) is
OFF, program execution jumps directly to the first
004
JME(005) in the program with the same jump
number.
When the execution condition for CJP(510) is ON,
program execution jumps directly to the first
510
JME(005) in the program with the same jump
number.
Indicates the end position of a jump by JMP or
005
CJP instruction.
Subroutines
OK
Data type
UINT
Indirect DM addresses
Constants
@DM
*DM
OK
OK
OK
---
---
Operation
2 Instructions
Function
JME
JME(005)
N
N: Jump number
Interrupt tasks
OK
Size
1
CF
Pulse bits
TR bits
---
---
---
2-53
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents