Program Examples - Mitsubishi Electric QD77MS User Manual

Hide thumbs Also See for QD77MS:
Table of Contents

Advertisement

[QD77MS4 program example]
Pre-reading start program (when positioning start signal Y10 is used)
Y10
X10
X4B
0
M100
9
X4C
20
Y10
X10
DX0C
23
X8
Use the direct access input as BUSY
signal to use this program example.
31
Pre-reading start program (when dedicated instruction ZP.PSTRT1 is used)
X4B
0
X4C
20
M100
M101
23
M100
37

[3] Program examples

PLS
TOP
H0
K1500
K1
SET
SET
RST
RST
SET
MOVP
K1
ZP.PSTRT1
"U0"
D100
RST
MOV
K1
MOV
D100
MOV
K0
END
13 - 94
Chapter 13 Control Sub Functions
<Pre-reading start command pulse>
M100
<Sets 1 to positioning start No.>
K1
<Turns ON execution prohibition flag>
Y14
<Turns ON positioning start signal>
Y10
<Turns OFF execution prohibition flag>
Y14
<Turns OFF positioning start signal>
Y10
END
<Turns ON execution prohibition flag>
Y14
<Sets 1 to positioning start No.>
D102
<Executes positioning start>
M100
<Turns OFF execution prohibition flag>
Y14
<Normal termination of positioning>
D300
<Sets error code>
D200
<Abnormal termination of positioning>
D300

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents