Words, Double-length integers, Real numbers – Yaskawa MP930 User Manual
Page 90

3.6 Registers
3 -31
Words
Words are used for numeric operations and logic operations.
MW00100 ∨ H00FF
MW00101
MW00102 + 12345
MW00103
MW00104 INV
MW00105
D
Motion Program Example
MW00101=MW00100|00FFH;
MW00103=MW00102+12345;
MW00105=MW00104;
Double-length Integers
Double-length integers are used for numeric operations and logic operations.
ML00100 + ML00102
ML00104
ML00106 × ML00108 ÷ 18000
MW00110
ML00112 BIN
ML00114
D
Motion Program Example
ML00104=ML00100+ML00102;
ML00110=ML00106∗ML00108/18000;
ML00114=BIN (ML00112);
Real Numbers
Real numbers are used for floating-point numeric operations.
DF00102 SIN
DF00104
(30.0)
(0.5)
DF00200 TAN
DF00202
(45.0)
(1.0)
1.23456
DF00100
(1.23456)
D
Motion Program Example
DF00100=1.23456;
DF00104=SIN (DF00102);
DF00202=TAN (DF00200);
3
A
EXAMPLE
"
A
EXAMPLE
"
A
EXAMPLE
"