beautypg.com

Yaskawa MP940 User Manual

Page 84

background image

3.6 Registers

3-37

3

Double Integers

Double integers are used for numeric operations and logic operations.

• Motion Program Example

ML00104=ML00100+ML00102;
ML00110=ML00106*ML00108/18000;
ML00114=BIN(ML00112);

Real Numbers

Real numbers are used for floating-point numeric operations.

• Motion Program Example

DF00100=1.23456;
DF00104=SIN(DF00102);
DF00202=TAN(DF00200);

Addresses

Addresses are used only for pointer designations.

ML00100

ML00102

ML00104

ML00106

×

ML00108 ÷ 18000

ML00110

ML00112

BIN

ML00114

DF00102 SIN

DF00104

(30.0)

(0.5)

DF00200 TAN

DF00202

(45.0)

(1.0)

1.23456

DF00100

(1.23456)

LAG MA00200

⇒MW00022

MW00200

PID MA00200

⇒MF00022

MF00200

MF00200 to MF00228 are used as the parameter table in the following example

Error input value

Parameter table

leading address

PID output value

MF00200 to MF00204 are used as the parameter table in the following example.

Input value

Parameter table

leading address

LAG output value