Mitsubishi Electric CR800 Series Instruction Manual page 175

For industrial robot
Hide thumbs Also See for CR800 Series:
Table of Contents

Advertisement

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.
' Tracking buffer corresponding to the condition number 1 uses number 1.
' Substitute the current workpiece position.
MELFA-BASIC V or MELFA-BASIC VI instruction 15-163
15 Maintenance of robot program

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr800-rCr800-qCr800-d

Table of Contents