Mitsubishi CR750-Q Series Instruction Manual page 100

Tracking system and vision tracking system using mitsubishi robot
Hide thumbs Also See for CR750-Q Series:
Table of Contents

Advertisement

19 Maintenance of robot program
TrClr (tracking data clear)
[Function]
Clears the tracking data buffer.
[Format]
TrClr  [<Buffer number>]
[Term]
<Buffer number> (cannot be omitted):
Specify the number of a general-purpose output to be output.
Setting range:1 to 4 (The first argument of parameter [TRBUF])
[Example]
1 TrClr 1
2 *LOOP
3 If M_In(8)=0 Then GoTo *LOOP
4 M1#=M_Enc(1)
5 TrWrt P1, M1#,MK
[Explanation]
 Clear information stored in specified tracking buffer (1 to 4).
 Execute this instruction when initializing a tracking program.
19-90 MELFA-BASIC V Instructions
' Clear tracking data buffer No. 1.
' Jump to *LOOP if input signal No. 8, to which a photoelectronic
sensor is connected, is OFF.
' Acquire data of encoder number 1 at the time when input signal
No. 8 is turned on and store it in M1#.
' Write workpiece position data P1, encoder value M1# at the time
an image is acquired and model number MK in the buffer.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents