14 - 11
MELSEC-Q
14 DEDICATED INSTRUCTIONS
(6) If the PSTRT instruction is ex ecuted in either of the following cases, an error
"Dedicated instruction error" (error code: 804) will occ ur and positioning cannot be
started.
• Any value other than 1 to 600, 7000 to 7004, a nd 9001 to 9004 is set to
"Starting number" (device: (S)+2) of the co ntrol data.
• The instruction for a non-existent axis is specified.
(Example: The PSTRT2 instruction is specif ied when the QD75P1 is used.)
[Program examples]
• The following program executes the positioni ng start of positioning data No. 1 when
X100 turns ON.
Use D30 to D32 as the control data devices of posi tioning data No. 1, and M32 and
M33 as the completion devices.
Positioning start program
<Positioning start command pulse>
<Positioning start No. 1 setting>
<Positioning start command hold>
<Positioning start execution>
<Positioning start command storage OFF
>
[Program example for use when dedicated instruction is not used]
Positioning start program (when dedicated instruction is not used)
<Positioning start command pulse>
<Positioning start No. 1 setting>
<Positioning start execution>
<Positioning start signal OFF>
DX0C