M10
M8
ǒFLT D10 D120Ǔ
S D
ǒDFLT D20 D130Ǔ
When M8 = ON, the 16-bit BIN integer in D10 is converted to a binary
floating-point number. The result is stored in (D121, D120).
When M10 = ON, the 32-bit BIN integer in (D21, D20) is converted to a
binary floating-point number. The result is stored in (D131, D130).
0
ǒFLT D100 D110Ǔ
Use instructions to complete the following floating-point number operations.
D100/K125.5*(X17~X0)=D200
ǒDEDIV K1255 K10 D120Ǔ
ǒBIN K4X0 D130Ǔ
ǒFLT D130 D140Ǔ
ǒDEDIV D110 D120 D150Ǔ
ǒDEMUL D150 D140 D200Ǔ
ǒDEBCD D200 D160Ǔ
ǒDINT D200 D170Ǔ
The BIN integer in D100 is converted to a binary floating-point
number. The result is stored in (D111, D110).
The value in K1255 is divided by that in K10. The result
(a binary floating-point number) is stored in (D121, D120).
The BCD value in X17 to X0 is converted to a 16-bit BIN
integer. The result is stored in D130.
The BIN integer in D130 is converted to a binary floating-point
number. The result is stored in (D141, D140).
The binary floating-point number in (D111, D110) is divided by
that in (D121, D120). The result (a binary floating-point
number) is stored in (D151, D150).
The binary floating-point number (D151, D150) is multiplied by
that in (D141, D140). The result (a binary floating-point
number) is stored in (D201, D200).
The binary floating-point number in (D201, D200) is converted
to a decimal equivalent. The result is stored in (D161, D160).
This function is used for decimal floating-point number
monitoring.
The binary floating-point number in (D201, D200) is converted
to a 32-bit BIN integer. The result is stored in (D171, D170).
The EBCD instruction converts binary oating-point numbers to decimal equivalents.