Mitsubishi Electric CR750 Series Instruction Manual page 80

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

Advertisement

10 Maintenance of robot program
TrClr (tracking data clear)
[Function]
Clear the tracking data buffer.
[Format]
TrClr  [<Buffer number>]
[Terminology]
<Buffer number [integer]> (can be omitted):
Specify the number of a general-purpose output to be output.
Setting range:1 to The first argument of parameter "TRBUF"
[Reference program]
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]
(1) Clear information stored in specified tracking buffer.
(2) Execute this instruction when initializing a tracking program.
10-70 MELFA-BASIC V Instructions
' Clear the tracking data buffer No. 1.
' Jump to *LOOP if input signal No. 8, to which a photoelectronic
sensor is connected, is OFF.
' Acquire the 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 into the buffer.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr751 series

Table of Contents