Download Print this page

Mitsubishi Melsec-Q QD75P1 User Manual page 589

Programmable logic controller q-series
Hide thumbs Also See for Melsec-Q QD75P1:

Advertisement

14 DEDICATED INSTRUCTIONS
[Program examples]
No. 23 Absolute position restoration program
(1) Absolute position restoration command acceptance
(2) Setting of transmit data to servo-amplifier and confirmation of absolute position restoration completion
ABRST1 instruction completed when M42 is ON and M43 is OFF.
Absolute position data restoration completed when status = 0.
(3) ABS data setting and ABRST1 instruction execution
(6) If the ABRST instruction is executed in either of the following cases, an error
"Dedicated instruction error" (error code: 804) will occur and absolute position
restoration cannot be carried out.
• Any value other than 0 is set to "Status" (device: (S)+4) of the control data.
• The instruction for a non-existent axis is specified.
(Example: The ABRST2 instruction is specified when the QD75P1 is used.)
Program to restore the absolute position of axis 1.
The X47 to X49 and Y50 to Y52 are used for communication with the servo
amplifier.
X47: ABS data bit 0
X48: ABS data bit 1
X49: Transmission data READY flag
Y50: Servo ON signal
Y51: ABS transfer mode
Y52: ABS request flag
14 - 7
MELSEC-Q
<Status reset>
<Error code transmission to D49>
<ABS data bit 0 ON/OF>
<ABS data bit 1 ON/OF>
<Transmission data preparation
complete flag ON/OFF>
<ABRST1 instruction execution>

Advertisement

loading

This manual is also suitable for:

Melsec-q qd75p2Melsec-q qd75p4Melsec-q qd75d1Melsec-q qd75d4Melsec-q qd75d2Qd75p1 ... Show all