Jmp/Jme - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

JMP/JME

Instruction
JUMP
JUMP END
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
Operands
Operand
N
Jump number
N: Jump Number
The jump number must be 0000 to 03FF (&0 to &1,023 decimal).
Note For CJ1M-CPU11 and CJ1M-CPU21 CPU Units, the jump number must be between the range 0000 to 00FF
hex or &0 to &255 decimal.
Operand Specifications
Word addresses
Area
CIO
WR
HR
AR
JMP
N
OK
OK
OK
OK
JME
N
---
---
---
*1 For CJ1M-CPU11 and CJ1M-CPU21 CPU Units, the range is #0000 to #00FF (binary) or &0 to &1023 (decimal).
Flags
JMP
Name
Error Flag
*1 For CJ1M-CPU11 and CJ1M-CPU21 CPU Units, the range is 0 to 255 (0000 to 00FF hex).
JME
There are no flags affected by this instruction.
194
Mnemonic
Variations
JMP
---
JME
---
JMP
JMP(004)
N: Jump number
N
Block program areas
Step program areas
OK
Not allowed
Description
T
C
DM
EM
OK
OK
OK
OK
---
---
---
---
---
Label
ER
• ON if N is not within the specified range of 0000 to 03FF. (See note.)
• ON if there is a JMP(004) in the program without a JME(005) with the same jump number.
• ON if there is a JMP(004) in the task without a JME(005) with the same jump number in the task.
• 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.
Indicates the end position of a jump by JMP or
005
CJP instruction.
Subroutines
OK
Data type
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
*1
OK
---
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
JME
JME(005)
N
N: Jump number
SFC action or
Interrupt tasks
transition programs
OK
Not allowed
Size
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents