Mitsubishi Electric CR750-Q Instruction Manual page 363

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

Advertisement

[Supplement]
Table 4-24:<Numeric Variable>
Integer
Bit width
Ex.)M1%
M_In32
X
Note1) The unit is the radian if the value of variable is the angle. The 32-bit input signal is stored without converting as a
numerical value of the radian unit. (The elements of A, B and C of position variable, and all elements of joint vari-
able) The display of the monitor etc. is converted into the degree.
Example) If the input data is 5 (decimal number) in P1.A=M_In32(16), P1.A is displayed as "286.479" (deg).
Table 4-25:<Equation>
Numeric
value
Bit width
Note1)
Ex.)12
M_In32
O
Note1) The real value is rounded off.
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.
[Reference status variable]
M_In/M_Inb/M_In8/M_Inw/M_In16
[Related instructions]
Def IO (Define IO)
Numeric variables types
Long-preci-
Single-pre-
Double-pre-
sion inte-
cision real
ger number
number
Ex.)M1&
Ex.)M1!
O
O
constant types
Hexadeci-
Binary
number
mal number
Ex.)&HC
Ex.)M1%
Ex.)&B1100
O
O
O: The available, X: unavailable
Other variables
Position
Joint
Note1)
cision real
Note1)
number
Ex.)M1#
Ex.)J1.J1
Ex.)P1.X
O
O
O
Numeric variables types
Long-pre-
Integer
Single-pre-
cision inte-
cision real
ger
number
number
Note1)
Ex.)M1!
Ex.)M1&
O
O
O
Detailed explanation of Robot Status Variable 4-343
4MELFA-BASIC V
Charac-
ter string
Ex.)C1$
X
O: The available, X: unavailable
Other variables
Position
Double-pre-
Joint
Note1)
cision real
Note1)
Note2)
number
Note2)
Note1)
Ex.)M1#
Ex.)J1.J1
Ex.)P1.X
O
O
O
Charac-
ter string
Ex.)C1$
X

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents