15- 2
Chapter 15 Dedicated Instructions
15.1 List of dedicated instructions
The dedicated instructions explained in this Chapter are listed in Table 15.1.
Table 15.1 List of dedicated instructions
Application
Dedicated
instruction
Outline of functions Reference
ZP.PSTRT1
ZP.PSTRT2
ZP.PSTRT3
Positioning start
ZP.PSTRT4
This function starts the positioning control of the designated
axis of the QD77MS.
Section 15.3
ZP.TEACH1
ZP.TEACH2
ZP.TEACH3
Teaching
ZP.TEACH4
This function carries out teaching the designated axis of the
QD77MS.
Section 15.4
Writing to flash ROM ZP.PFWRT
This function writes the buffer memory parameters,
positioning data and block start data to the flash ROM.
Section 15.5
Parameter initialization ZP.PINIT
This function initializes the buffer memory and flash ROM
setting data to the factory-set data (initial values of
QD77MS).
Section 15.6
POINT
The dedicated instructions of QD77MS16 can be used for only axis 1 to 4. They
cannot be used for axis 5 to 16. If the ZP.PSTRT5 to ZP.PSTRT16 or ZP.TEACH5
to ZP.TEACH16 is executed, "Program code error" (error code: 4002) for PLC CPU
and "PLC CPU error" (error code: 803) for QD77MS16 will occur and positioning
cannot be started.
Refer to "QCPU User's Manual (Hardware Design, Maintenance and Inspection) for
error of PLC CPU".
15.2 Interlock during dedicated instruction is executed
The positioning start instruction (ZP.PSTRT ) and teaching instruction (ZP.TEACH )
cannot be executed simultaneously in each axis. If they are executed at the same time,
the second and later instructions are ignored by an internal interlock (no error will
occur).
The timing of the positioning start instruction (ZP.PSTRT
) is as shown below.
ZP.PSTRT instruction ON
Interlock provided by PLC CPU
BUSY signal
Positioning completed signal
OFF
OFF
OFF
OFF
ON
ON
ON
ON