Cvdmbf ( Converts Into The Ieee Format Double Precision Internal Expression ) - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
CVDMBF
Function
• Converts a double precision real number of AD51H-BASIC, which was converted by the
MKD$ function, into the IEEE format double precision internal expression.
CVDMBF ( <character string expression> )
Syntax
character string expression
A#=CVDMBF (MKD$(B#))
Examples
• The CVDMBF function converts a character string, which was converted from a double
Description
precision real number on AD51H-BASIC by the MKD$ function, into the IEEE format
double precision internal expression.
• The internal representation of the AD51H-BASIC real number and that of the IEEE format
floating point real number are different. The CVDMBF function is used for conversion
between these two.
• Always specify a character string, which was converted from a double precision real
number by the MKD$ function, into <character string expression>.
Character string expressions that were converted by the MKI$, MKS$ or other function
cannot be converted correctly.
• Use double precision type ( #) for the variable to assign to, since the CVDMBF function
returns a double precision value.
• The values converted by the CVDMBF function are used for the data communication with a
system that uses the internal expression of the IEEE format double precision values.
11 - 39
ConVert Double Microsoft Binary Format
• • • •
• • • •
REMARK
• The values obtained from the CVDMBF function have no meaning on AD51H-
BASIC.
• See the CVSMBF, MKDMBF$, and MKSMBF$ functions.
Specify the character string that was converted from
a double precision real number by the MKD$
function.
Converts the double precision real number stored in
B# into an IEEE format double precision internal
expression and assigns it to A#.
MELSEC-Q
11 - 39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents