100
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
■Converting 16-bit/32-bit signed binary data to double-precision real number
■Converting 16-bit/32-bit unsigned binary data to double-precision real number
■Converting single-precision real number to double-precision real number
■Converting string data to single-precision real number
■Converting BCD format data to single-precision real number
■Inverting the sign of single-precision real number
■Inverting the sign of double-precision real number
■Transferring single-precision real number
Instruction symbol Processing details Reference
INT2DBL Converts the 16-bit signed binary data in the device specified by (s) to a double-precision real
number, and stores the real number in the device specified by (d).
Page 751 INT2DBL(P)
INT2DBLP
DINT2DBL Converts the 32-bit signed binary data in the device specified by (s) to a double-precision real
number, and stores the real number in the device specified by (d).
Page 755
DINT2DBL(P)
DINT2DBLP
Instruction symbol Processing details Reference
UINT2DBL Converts the 16-bit unsigned binary data in the device specified by (s) to a double-precision real
number, and stores the real number in the device specified by (d).
Page 753
UINT2DBL(P)
UINT2DBLP
UDINT2DBL Converts the 32-bit unsigned binary data in the device specified by (s) to a double-precision real
number, and stores the real number in the device specified by (d).
Page 757
UDINT2DBL(P)
UDINT2DBLP
Instruction symbol Processing details Reference
FLT2DBL Converts the single-precision real number in the device specified by (s) to a double-precision real
number, and stores the double-precision real number in the device specified by (d).
Page 759 FLT2DBL(P)
FLT2DBLP
Instruction symbol Processing details Reference
EVAL Converts the character string in the device specified by (s) to a single-precision real number, and
stores the converted data in the device specified by (d).
Page 761 EVAL(P)
EVALP
Instruction symbol Processing details Reference
EREXP Converts the BCD data in the device specified by (s1) to a single-precision real number with the
number of decimal positions specified by (s2), and stores the converted data in the device
specified by (d).
Page 765 EREXP(P)
EREXPP
Instruction symbol Processing details Reference
ENEG Inverts the sign of single-precision real number data.
(1) Real number
Page 767 ENEG(P)
ENEGP
Instruction symbol Processing details Reference
EDNEG Inverts the sign of double-precision real number data.
(1) Real number
Page 768 EDNEG(P)
EDNEGP
Instruction symbol Processing details Reference
EMOV Transfers single-precision real number data to the specified device.
(1) Real number
Page 769 EMOV(P)
EMOVP
(d)+3, (d)+2, (d)+1, (d) (d)+3, (d)+2, (d)+1, (d)
(1)