EasyManua.ls Logo

Delta DVP-SA2

Delta DVP-SA2
1006 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...
3. Instruction Set
3-413
Program Example 2:
1. Use FLT instruction (API 49) to convert BIN integer into binary floating point value before
performing floating point operation. The value to be converted must be BIN integer and use
DEBIN instruction to convert the decimal floating point value into a binary one.
2. When X0 = ON, move K314 to D0 and K-2 to D1 to generate decimal floating point value (3.14 =
314 × 10
-2
).
K314
MOVP
X0
D0
D0
DEBIN D2
K-2MOVP D1
K314 D0 [D1]
K-2 D1 [D0]
314 x10
(D1 D0) (D3 D2)
, ,
314 x10
-2
Binary
Floating Point

Table of Contents

Other manuals for Delta DVP-SA2

Related product manuals