Conditional Jump Instruction (Cj) - Mitsubishi Electric MELSEC-KOJIU Instruction Manual

Table of Contents

Advertisement

\
5 . EXPLANATION OF PROGRAM
Control program
Program A
Program B
Common
\
program
5.2.9 Conditional
jump instruction (CJ)
jump the program which is normally not required (program A) and to exe-
\
cute on necessary programs. Therefore, scan time can be economized, and
#
a t the same time, program can be separated.
Coding
01 01
Item
MC
CJ
Operation time Unchanged
Reduced
*I
It is necessary to specify the jump destina-
Program
Complicated
Simplified
tion. Therefore,
it
is required to control the
step No. Esjecially when instruction is in-
Step control
Not required
Required"1
.
serted or deleted in debugging of program,
I
0102
I
Kf50
I
I ? ]
Conditional jump
*
1 Unnecessary circuit is jumped temporarily.
Process circuit is separated depending on conditions in
order to perform high-speed arithmetic operation pro-
cessi ng.
'
Arithmetic operation principle
By conditional jump instruction, program seuqence skips to jump destination and the
programs from the jump destination on are executed.
Differences between Master Control (MC) and Conditional Jump (CJ)
46

Advertisement

Table of Contents
loading

Table of Contents