Program Branch Instructions; Program Branch Instructions; Pointer Branch - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

6.5

Program Branch Instructions

Pointer branch

CJ, SCJ, JMP
High
Basic
Process
Redundant Universal
performance
CJ
SCJ
JMP
P**: Pointer number of jump destination (Device name)
Setting
Internal device
data
Bit
Word
P
Processing details
■CJ
• Executes the program specified by the pointer number within the same program file, when the execution command is ON.
• When the execution command is OFF, the program at the next step is executed.
Execution command OFF
CJ
■SCJ
• Executes the program specified by the pointer number within the same program file starting with the scan immediately after
OFFON of the execution command.
• When the execution command is OFF or turned ONOFF, the program at the next step is executed.
Execution command OFF
SCJ
1 scan
■JMP
• Unconditionally executes program of designated pointer number within the same program file.
LCPU
Command
Command
Label
Command
P**
R, ZR
J\
Bit
ON
Executed at each scan
ON
Executed at each scan
CJ
SCJ
JMP
U\G
Zn
Word

6.5 Program Branch Instructions

P**
P**
P**
Constant
Others
P
6 BASIC INSTRUCTIONS
321
6

Advertisement

Table of Contents
loading

Table of Contents