Mitsubishi Electronics 13JW55 ユーザーズマニュアル

ページ / 350
 
 
4 - 28
 
 
 
NOTE
 
•  The pointer numbers available for both CJ and SCJ instructions are P0 to P4095. 
• Use the FEND instruction as shown below when a program using the CJ and SCJ 
instructions must be concluded in each program block. (Refer to section 4.7.1 for 
FEND.) 
Start
Sequence 
program A
Is input 
condition on?
YES
NO
Sequence 
program B
Sequence 
program C
0
P
Sequence program A
Input condition
CJ
P
Sequence program B
Sequence program C
FEND
END
When CJ is 
executed
Step 0
CJP
P
END
When CJ is not 
executed
Step 0
FEND
 
 
•  The status of ladders skipped by the CJ instruction remains unchanged. 
1100
1103
P10
1330
X0
X2
X1
CJ
P10
Y72
PLS
M1
1100
1103
P10
1330
X0
X2
X1
CJ
P10
Y72
PLS
M1
(Before CJ execution)
(During CJ execution)
Because X0 is on, all instructions 
within this area are not executed.
Hence Y72 remains on even 
after X2 is turned off.
 
 
•   After the timer coil has turned on, jumping the timer of a coil that is on using the 
CJ, SCJ, or JMP instruction interrupts an accurate measurement. 
 
Applicable device 
Internal device 
(system or 
user) 
File 
register
MELSECNET/
10 (H) Direct 
Jn\ 
Index 
register
Constant 
Pointer 
Level 
 
Bit Word  R  Bit Word
Intelligent 
function 
module 
Un\G 
K H P  I  N
Digit 
Number of basic 
steps 
CJ
SCJ
P**
P**
 
       
 
 
 
 
 
 
2