14 - 14
MELSEC-Q
14 DEDICATED INSTRUCTIONS
END
processing END
processing END
processing END
processing
OFF
OFF
OFF
ON
ON
ON
When
completed
abnormally
When
completed normally
1 scan
TEACH instruction
execution completion
Sequence program
TEACH instruction
Complete device
Complete state display
device
[Errors]
(1) When a TEACH instruction is completed abnorm ally, the error complete signal
((D)+1) is turned ON, and the error code is st ored 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 simul t ane ou sly fo r the
same axis.
(Can be executed simultaneously for different ax es.)
• Positioning start instructions (PSTRT1 to P STRT4)
• Absolute position restoration instruct ions (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 C orresponding MELSECNET/H
Network System Reference Manual (Remote I/O Network ).
(4) If the TEACH instruction is executed in an y 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 "Pos itioning No." (device: (S)+3) of the
control data.
• The instruction for a non-existent axis is specified.
(Example: The TEACH2 instruction is specif ied when the QD75P1 is used.)