Positioning Start Program - Mitsubishi Electric QD77MS User Manual

Hide thumbs Also See for QD77MS:
Table of Contents

Advertisement

[Program examples]
X100
0
M150
7
M200
13
Y10
X10
X100
0
M150
9
Y10
X10
DX0C
17
X8
Use the direct access input as BUSY signal
to use this program example.
(5) If the ZP.PSTRT_ instruction is executed in the following cases, an error
"Dedicated instruction error" (error code: 804) will occur and positioning cannot
be started.
• Any value other than 1 to 600, 7000 to 7004, and 9001 to 9004 is set to
"Starting number" (device: (S)+2) of the control data.
(6) When the multiple axes simultaneous start is executed by ZP.PSTRT_ instruction,
the completion device (D) will turn ON when the positioning of the axes executed
by ZP.PSTRT_ instructions (when the instructions is ZP.PSTRT1, the axis will be
1.) is completed.
(7) When "[Cd.3] Positioning start No." is changed from ZP.PSTRT_ instruction is
executed until the positioning start is completed, the changed positioning is started.
When starting the positioning using ZP.PSTRT_ instruction, do not change "[Cd.3]
Positioning start No." until the start complete signal is turned ON.
• The following program executes the positioning start of positioning data No. 1 when
X100 turns ON in QD77MS4.
Use D30 to D32 as the control data devices of positioning data No. 1, and M32 and
M33 as the completion devices.

(1) Positioning start program

(2) Positioning start program (when dedicated instruction is not used)
PLS
MOVP
K1
SET
ZP.PSTRT1
"U0"
D30
RST
PLS
MOV
K1
SET
RST
15- 6
Chapter 15 Dedicated Instructions
M150
<Positioning start command pulse>
D32
<Positioning start No. 1 setting>
M200
<Positioning start command hold>
M32
<Positioning start execution>
M200
<Positioning start command storage OFF>
M150
<Positioning start command pulse>
U0\
G1500
<Positioning start No. 1 setting>
Y10
<Positioning start execution>
Y10
<Positioning start signal OFF>

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents