Mitsubishi Electric CR750 Series Instruction Manual page 106

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

Advertisement

10 Maintenance of robot program
P_TrkWork
[Function]
Refer to the workpiece position read from the tracking buffer when "TrkChk", "TrkWait" command is executed.
[Format]
[Referencing]
<Position type variable> = P_TrkWork(<Condition number>)
[Terminology]
< Condition Number [Integer]>
Specify the condition number corresponding to the tracking.
Setting range: 1 to 8
<Position variable [Position]>
Return the workpiece position read from the tracking buffer corresponding to the specified condition
number.
[Reference program]
M_TrkBuf(1) = 1
・・・・・
TrkChk 1, PSave, PWait, *LTRST 'Check the workpiece of the specified tracking buffer.
・・・・・
PWrk = P_TrkWork(1)
[Explanation]
(1) You can confirm the workpiece position read from the tracking buffer when "TrkChk", "TrkWait" command is
executed.
(2) If there is no data in the tracking buffer, the data will be cleared.
(3) You can omit the step to specify <Condition number>.When it is omitted, condition number will be treated as
"1."
(4) Number which you can enter to specify <Condition number> is an integer in the range of "1" to "8." Entering
anything else causes L3110 (Argument value range over) error to occur.
(5) If you execute the writing to "P_TrkWork", L3210 (This variable is write protected) error occurs.
10-96 MELFA-BASIC V Instructions
' Tracking buffer corresponding to the condition number 1 uses number 1.
'Substitute the workpiece position read from the tracking buffer 1.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 series

Table of Contents