Yaskawa MP920 User's Manual Design User Manual
Page 106

3 Basic System Operation
3.6.2 Data Types
3-32
3. Double-length Integers
Double-length integers are used for numeric operations and logic operations.
• Motion Program Example
4. Real Numbers
Real numbers are used for floating-point numeric operations.
• Motion Program Example
5. Addresses
Addresses are used only for pointer designations.
ML00100 + ML00102
ML00104
ML00106
× ML00108 ÷ 18000
ML00110
ML00112 BIN
ML00114
EXAMPLE
ML00104=ML00100+ML00102;
ML00110=ML00106
*ML00108/18000;
ML00114=BIN (ML00112);
DF00102 SIN
DF00104
(30.0)
(0.5)
DF00200 TAN
DF00202
(45.0)
(1.0)
1.23456
DF00100
(1.23456)
EXAMPLE
DF00100=1.23456;
DF00104=SIN (DF00102);
DF00202=TAN (DF00200);
MF00200 to MF00204 are used as the parameter table in the following example.
LAG MA00200
MW00022
MW00200
LAG output value
MF00200 to MF00228 are used as the parameter table in the following example.
PID MA00200
MF00022
MF00200
PID output value
Parameter table leading address
Error input value
Parameter table leading address
Input value