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

ページ / 350
 
 
4 - 34
 
 
 
Operation Practice  
Verify the operation of the ladder, which was created with GX Works2 and written to 
the CPU of the demonstration machine, by monitoring the ladder on the screen. 
 
X2
X3
X4
0
3
5
6
9
10
P10
Y70
FEND
Y71
RET
END
P10
CALL
 
 
(1)  When X2 is off 
(a)  The operation is executed from 0 to 
FEND. 
(b)  Turning on or off X3 turns on or off 
Y70. 
(c)  Turning on or off X4 does not change 
Y71. 
 
(2)  When X2 is on 
(a)  After the subroutine of P10 is 
executed, the operation from step 3 
to FEND is executed. 
(b)  Turning on or off X3 turns on or off 
Y70. 
(c)  Turning on or off X4 turns on or off 
Y71. 
 
Related Exercise
–––– Exercise 4 
LD          X2 
CALL    P10
LD          X3
OUT     Y70
FEND
P10
LD         X4
OUT    Y71
RET
 0
1
3
4
5
6
7
8
9
Operation when X2 is on
Operation when X2 is off