Mitsubishi Electric CR750 Series Instruction Manual page 110

Circular arc tracking function
Hide thumbs Also See for CR750 Series:
Table of Contents

Advertisement

10 Maintenance of robot program
P_TrkTarget
[Function]
Refer to the information ("P_TrkWork", "M_TrkEnc") read from the tracking buffer when "TrkChk", "TrkWait"
command is executed, and the current workpiece position calculated by the state variable "P_EncDlt".
[Format]
[Referencing]
<Position variable> = P_TrkTarget
[Terminology]
<Position variable>
Return the information (P_TrkWork, M_TrkEnc) read from the tracking buffer when "TrkChk", "TrkWait"
command is executed, and the current workpiece position calculated from the state variable "P_EncDlt".
[Reference program]
M_TrkBuf(1) = 1
・・・・・
TrkChk 1, P1, PWAIT, *LTRST ' Check the workpiece of the specified tracking buffer.
・・・・・
PWrkNow = P_TrkTarget
[Explanation]
(1) You can confirm the current workpiece position by referencing the information read from the tracking
buffer when "TrkChk", "TrkWait" command is executed.
(2) If you execute the writing to "M_TrkTarget", L3210 (This variable is write protected) error occurs.
10-100 MELFA-BASIC V Instructions
' Tracking buffer corresponding to the condition number 1 uses number 1.
' Substitute the current workpiece position.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 series

Table of Contents