beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 284

background image

6 Application Instructions API 00-49

DVP-PLC Application Manual

6-72

M1000

FLT

D10

D100

BIN

K2X0

D200

FLT

D200

D202

DEDIV

K615

K10

DEDIV

D100

D202

DEMUL

D400

D300

DEBCD

D20

D30

DINT

D20

D40

D300

D400

D20

1

2

3

4

5

6

7

8

1

D10 (BIN integer) is converted to D101 and D102 (binary floating point value).

2

X7 ~ X0 (BCD value) are converted to D200 (BIN value).

3

D200 (BIN integer) is converted to D203 and D202 (binary floating point value).

4The result of K615 ÷ K10 is stored in D301 and D300 (binary floating point value).

5

The result of binary decimal division (D101, D100) ÷ (D203, D202) is stored in D401 and D400 (binary floating

point value).

6

The result of binary decimal multiplication (D401, D400) × (D301, D300) is stored in D21 and D20 (binary

floating point value).

7

D21 and D20 (binary floating point value) are converted to D31 and D30 (decimal floating point value).

8

D21 and D20 (binary floating point value) are converted to D41 and D40 (BIN integer).