11 - 147 11 - 147
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
MKDMBF$
Function
MaKe Double Microsoft Binary Format $
• Converts data of IEEE format double-precision internal expression to a character string
that can be converted to a numeric value using the CVD function.
MKDMBF$ ( <numeric expression> )
Syntax
numeric expression
• • • •
Specify a numeric value of double-precision internal
expression of IEEE format.
Examples
A#=CVD(MKDMBF$(B#))
• • • •
Converts an IEEE format double-precision internal
expression data B# into an internal expression of an
AD51H-BASIC double-precision real number and
stores it in A#.
Description
• The MKDMBF$ function converts data of IEEE format double-precision internal expression
to a character string that can be converted to a numeric value using the CVD function in
AD51H-BASIC.
• The IEEE format double-precision internal expression and the AD51H-BASIC internal
expression for real numbers are different. The MKDMBF$ function converts between the
two.
• Always specify a numeric value of IEEE format double precision internal expression for the
<numeric expression>. Conversion will not be performed correctly with other numeric
values.
• The MKDMBF$ function only performs data conversion for double-precision real numbers.
• The MKDMBF$ function is used, for example, to convert system data that performs internal
expression of IEEE format double-precision numeric values.
REMARK
See the CVDMBF, CVSMBF, and MKSMBF$ functions.