EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 401

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-381
Table 4-40:<Sequencer input-signal number>
Table 4-41:<Numeric value>
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 num-
ber
Ex.)&B1100
Hexadeci-
mal number
Ex.)&HC
Integer
Ex.)M1%
Long-pre-
cision inte-
ger
number
Ex.)M1&
Single-pre-
cision 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_XDev
OO OOOOOOXX
M_XDevB
OO OOOOOOXX
M_XDevW
OO OOOOOOXX
M_XDevD
OO OOOOOOXX
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
Hexadeci-
mal number
Ex.)&HC
Integer
Ex.)M1%
Long-pre-
cision inte-
ger
number
Ex.)M1&
Single-pre-
cision real
number
Ex.)M1!
Double-pre-
cision real
number
Ex.)M1#
Position
Ex.)P1.X
Joint
Ex.)J1.J1
Charac-
ter string
Ex.)C1$
M_XDev O O O O X X X XXX
M_XDevB O O O O X X X XXX
M_XDevW O O O O X X X XXX
M_XDevD
O
Note2)
Note2) For the numerical value of the less than 16 bits of the binary number (-32768 to +32767), the specified constant will
handle as a negative numerical value, if the bit 15 (the 16th bit) turns on. Therefore, please be careful of turning on all
of upper 16 bits. (The sign bit is extended)
Example)
Designation of "-32768(&B1000000000000000)" will output the "&B11111111111111111000000000000000."
[Measures]
After substituting the constant for the long-precision integer number variable as follows, when substituting to this
robot status variable M_YDevD, &B00000000000000001000000000000000 (binary number) can be outputted.
1 M1&=32768
2 M_YDevD(&H20)=M1&
O
Note2)
O
Note2)
O
Note2)
OO
O
Note3)
Note3) The ranges of the numerical value which can be outputted are -2147483648 to 2147483647.
OOX
CAUTION

Table of Contents

Related product manuals