EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 361

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...
4MELFA-BASIC V
Detailed explanation of Robot Status Variable 4-341
[Supplement]
Table 4-22:<Numeric Variable>
Table 4-23:<Equation>
[Reference status variable]
M_Out32
[Related instructions]
Def IO (Define IO)
O: The available, X: unavailable
Bit width
Numeric variables types Other variables
Integer
Ex.)M1%
Long-
precision
integer
number
Ex.)M1&
Single-
precision
real
number
Ex.)M1!
Double-
precision
real
number
Ex.)M1#
Posi-
tion
Note1)
Ex.)P1.X
Note1) The unit is the radian if the value of variable is the angle. (The elements of A, B and C of position variable, and
all elements of joint variable) The display of the monitor etc. is converted into the degree.
Example) If the input signal 8 is ON in P1.A=M_In (8), P1.A is displayed as "57.296." Therefore, ON/OFF sta-
tus does not look clear. Because the unit of the element X, Y, and Z of the position variable is "mm", there is no
such condition.
Joint
Note1)
Ex.)J1.J1
Charac-
ter string
Ex.)C1$
M_In OOOOOOX
M_Inb/M_In8 O O O O O O X
M_Inw/M_In16 O O O O O O X
O: The available, X: unavailable
Bit width
constant types Numeric variables types Other variables
Numeric
value
Note1)
Ex.)12
Note1) The real value is rounded off.
Binary
number
Ex.)&B1100
Hexadecim
al number
Ex.)&HC
Integer
Ex.)M1%
Long-
precision
integer
number
Ex.)M1&
Single-
precision
real
number
Note1)
Ex.)M1!
Double-
precision
real numbe
Note1)
Ex.)M1#
Positio
Note1)
Note2)
Ex.)P1.X
Note2) If the value of the variable is the angle, the unit will be processed by the radian. (The elements of A, B and C of position variable, and all elements of joint
variable) Therefore, designation of the signal number is very difficult. The display of the monitor etc. is converted into the degree, and the same value as
the setting value displayed.
Example) It is processed by value "0", even if it sets "8" as the value of P1.A (The input in the key by T/B etc.) to specify the input signal No.8. The result
is "0" when 8 degree is converted to radian (0.14) and rounded off.Because the unit of the element X, Y, and Z of the position variable is "mm", there is
no such condition.
Joint
Note1)
Note2)
Ex.)J1.J1
Charac-
ter string
Ex.)C1$
M_In O O O O O O O O O X
M_Inb/M_In8 O O O O O O O O O X
M_Inw/M_In16 O O O O O O O O O X

Table of Contents

Related product manuals