15- 10
Chapter 15 Dedicated Instructions
[Program example]
Program to execute the teaching of the positioning data No. 3 of the axis 1 when
X39 is turned ON in QD77MS4.
(1) Teaching program
Positioned manually to target position.
637
622
<Teaching command pulse>
<Teaching command hold>
<Teaching data setting>
<Positioning data No. setting>
633
PLS M19
X0C
M34 M35
RST M20
"U0" D33 M34ZP.TEACH1
MOVP K3 D36
MOVP H0 D35
SET M20
M20
X39
M19
<Teaching execution>
<Teaching command storage OFF>
(2) Teaching program (when dedicated instruction is not used)
Positioned manually to target position.
=K0
U0\
G1549
15
M20
X39
0
<Teaching command pulse>
<Teaching command hold>
<Teaching positioning address>
<Sets teaching positioning data No. to 1>
11
PLS
X0C
RST M20
MOVP K1
MOVP K0
SET
M19
M20
M19
<Turns OFF teaching command storage>
U0\
G1548
U0\
G1549