11 - 39 11 - 39
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
CVDMBF
Function
ConVert Double Microsoft Binary Format
• 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
• • • •
Specify the character string that was converted from
a double precision real number by the MKD$
function.
Examples
A#=CVDMBF (MKD$(B#))
• • • •
Converts the double precision real number stored in
B# into an IEEE format double precision internal
expression and assigns it to A#.
Description
• The CVDMBF function converts a character string, which was converted from a double
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.
REMARK
• The values obtained from the CVDMBF function have no meaning on AD51H-
BASIC.
• See the CVSMBF, MKDMBF$, and MKSMBF$ functions.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...