Mitsubishi Electric CR750-Q Instruction Manual page 387

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

M_Tool
[Function]
In addition to using the tool data (MEXTL1 to 16) of the specified number as the current tool data, it is also
set in the MEXTL parameter.
The current tool number can also be read.
[Format]
Example)<Numeric Variable>=M_Tool [(<Mechanism Number>)]'Referencing the Current Tool Number
Example)M_Tool [(<Mechanism Number>)] = [(<Equation>)]
[Terminology]
<Numeric Variable>
<Mechanism Number>
<Equation>
[Reference Program]
Setting Tool Data
1 Tool (0,0,100,0,0,0)
2 Mov P1
3 M_Tool=2
4 Mov P2
Referencing the Tool Number
1 If M_In(900)=1 Then
2 M_Tool=1
3 Else
4 M_Tool=2
5 EndIf
6 Mov P1
[Explanation]
(1) The values set in the MEXTL1, MEXTL2, MEXTL3 .... MEXTL16 tool parameters are reflected in the tool
data. It is also written into the MEXTL parameter.
(2) Tool numbers 1 to 16 correspond to MEXTL1 to 16.
(3) While referencing, the currently set tool number is read.
(4) If the reading value is 0, it indicates that tool data other than MEXTL1 to 16 is set as the current tool data.
(5) The same setting can be performed on the Tool Setup screen of the teaching pendant. For more infor-
mation, see
Page 26, "3.2.9 Switching Tool
[Reference]
Tool(Tool), MEXTL,
Specifies the numerical variable to assign.
Enter the mechanism number to 3 from 1.
If the argument is omitted, 1 is set as the default value.
Enter the tool number to 16 from 1.
' Specify tool data (0,0,100,0,0,0), and write it into MEXTL.
' Change the tool data to the value of tool number 2 (MEXTL2).
' Change the tool data by a hand input signal.
' Set tool 1 in tool data.
' Set tool 2 in tool data.
MEXTL1
to
MEXTL16
'Set a tool number.
Data".
Detailed explanation of Robot Status Variable 4-367
4MELFA-BASIC V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents