EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 378

Mitsubishi Electric CR760-D
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-358 Detailed explanation of Robot Status Variable
4MELFA-BASIC V
M_RCInfo
[Function]
This variable returns a variety of information of the robot controller.
[Format]
[Terminology]
<Numeric Variable> Specifies the numerical variable to assign.
<Information ID number> Specifies the information ID number of the information to read.
Refer to the table below for details.
<Element number> Specifies the element number corresponding to the information to read.
Refer to the table below for details.
[Reference Program]
1 Dim METMP(8) ' Variable to which the temperature of the each axis
encoder is assigned.
2 Dim METMPX(8) ' Variable to which the maximum temperature of the each
axis encoder is assigned.
3 For MT=1 To 8
4 METMP(MT)=M_RCInfo(1,MT) ' Read the temperature of the each axis encoder.
5 METMPX(MT)=M_RCInfo(2,MT) ' Read the maximum temperature of the each axis encoder.
6 Next
7 MRCTMP=M_RCInfo(3,1) ' Read the temperature of inside the controller.
[Explanation]
(1) If the value exceeding the setting value is specified as information ID number and element number, the
error L3110 will occur when executed.
Example)<Numeric Variable>=M_RCInfo (<Information ID number>, <Element number>)
Information ID number Element number
Setting value Details of information
Setting value
(Setting range)
Meaning
1 Temperature of each axis
encoder (°C)
1 to 8 Indicates the axial number of the robot.
* As for the axis not existing or the additional axis (7 and 8
axes), zero value will be returned.
2 Maximum temperature of each
axis encoder (°C)
1 to 8
3 Temperature of inside the con-
troller (°C)
1-

Table of Contents

Related product manuals