14 DEDICATED INSTRUCTIONS

MELSEC-Q

 

 

END

 

END

 

 

 

 

END

 

END

Sequence program

processing

processing

 

 

 

processing

processing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

 

 

 

TEACH instruction

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

execution completion

 

 

 

 

TEACH instruction

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

Complete device

 

 

 

 

 

 

 

 

 

 

 

 

When

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

completed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

abnormally

Complete state display OFF

 

 

 

 

 

 

 

 

 

 

 

 

When

 

 

 

 

 

 

 

 

 

completed normally

device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 scan

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Errors]

(1)When a TEACH instruction is completed abnormally, the error complete signal ((D)+1) is turned ON, and the error code is stored in the complete status (S)+1. Check and take a measure against the error referring to Section 15.2 "List of error codes".

[Precautions]

(1)The following dedicated instructions cannot be executed simultaneously for the same axis.

(Can be executed simultaneously for different axes.)

Positioning start instructions (PSTRT1 to PSTRT4)

Absolute position restoration instructions (ABRST1 to ABRST4)

Teaching instructions (TEACH1 to TEACH4)

(2)The TEACH instruction can only be executed when the BUSY signal (XC, XD, XE, XF) is turned OFF.

When the BUSY signal is turned ON, the TEACH instruction will not be executed. (not processed.)

Before executing the PFWRT instruction, make sure that the BUSY signal for the axis to be processed is turned OFF.

(3)When the remote I/O station* (Q Corresponding MELSECNET/H network remote

I/O module) is used, the dedicated instruction (TEACH) is unusable.

: For details of the remote I/O station, refer to Q Corresponding MELSECNET/H Network System Reference Manual (Remote I/O Network).

(4)If the TEACH instruction is executed in any of the following cases, an error "Dedicated instruction error" (error code: 804) will occur and teaching cannot be performed.

Any value other than 0 and 1 is set to "Teaching selection" (device: (S)+2) of the control data.

Any value other than 1 to 600 is set to "Positioning No." (device: (S)+3) of the control data.

The instruction for a non-existent axis is specified.

(Example: The TEACH2 instruction is specified when the QD75P1 is used.)

14 - 14

Page 596
Image 596
Mitsubishi Electronics QD75P, QD75D user manual Sequence program, Teach instruction Execution completion