Mitsubishi Electronics QD77MS4 Home Security System User Manual


  Open as PDF
of 1038
 
15- 6
Chapter 15 Dedicated Instructions
(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.
[Program examples]
• 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
X100
0
<Positioning start command pulse>
<Positioning start No. 1 setting>
<Positioning start command hold>
<Positioning start execution>
M150
7
M200
13
<Positioning start command storage OFF>
PLS M150
SET M200
MOVP K1 D32
RST M200
"U0" D30 M32ZP.PSTRT1
(2) Positioning start program (when dedicated instruction is not used)
X100
0
<Positioning start command pulse>
<Positioning start No. 1 setting>
<Positioning start execution>
<Positioning start signal OFF>
M150
9
17
Y10
PLS M150
SET Y10
MOV K1
U0\
G1500
RST Y10
X10
DX0C
X8
X10
Y10
Use the direct access input as BUSY signal
to use this program example.