Mitsubishi Electric CR800 Series Instruction Manual page 138

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

Advertisement

15 Maintenance of robot program
TrkWait (Tracking wait function)
[Function]
Wait until workpiece correspond to appointed <Condition number> enters to the tracking area.
[Format]
TrkWait □ < Branch destination >
[Terminology]
<Branch destination [label]> :(can be omitted.)
Even if the time specified as the state variable "M_TrkTime" passes, when the specified work piece
does not go into tracking area, specify the label name to jump.
If < Branch destination > is omitted, the timeout does not occur, and workpiece information is written into
the tracking buffer by "TrWrt", waits until the workpiece enters to the tracking possible area.
[Reference program]
M_TrkTime(1) = 60
・・・・・
'/// Tracking buffer check ///
*LBFCHK
TrkChk 1, PSave, PWait, *LTRST
If M_TrkChk(1) <= 1 Then GoTo *LBFCHK
TrkWait *LBFCHK
[Explanation]
(1) Take workpiece information out of "TrkChk", wait until the workpiece enters to the range specified for state
variable "M_TrkStart" and "M_TrkEnd".
(2) When work piece passes away by discontinuation etc., the following work piece information is taken out from
a tracking buffer, and it waits until the work piece goes into the range specified as a state variable
"M_TrkStart" and "M_TrkEnd."
(3) If specified workpiece does not enter to the tracking area when the time specified for state variable
"M_TrkTime" is exceeded at waiting time, jump to <Branch destination>.
(4) When robot state variable "M_TrkBuf" is not executed, the buffer number is assumed to be "1".
(5) If <Branch destination> is omitted or state "M_TrkTime" is "0.00",
information is written in into the tracking buffer by "TrWrt", waits until the workpiece enters to the tracking
possible area.
(6) If you appoint the label which does not exist as <Branch destination>, error 3600_00000 (Jump destination
does not exist) occurs.
15-126 MELFA-BASIC V or MELFA-BASIC VI instruction
' The timeout period is 60 seconds.
'No workpiece->PSave/ Wait for the workpiece->PWait/
Tracking possible->Jump to "LTRST".
' 0:No workpiece / 1: Workpiece passed over->"LBFCHK".
' Wait for the workpiece / Jump to "LBFCHK" at the timeout.
the timeout does not
occur, and workpiece

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr800-rCr800-qCr800-d

Table of Contents