Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 102

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents