EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
5.1 Type Conversion Functions
5.1.19 Single-precision real type
string type conversion
5-57
5
APPLICATION
FUNCTIONS
REAL_TO_STR(_E)
REAL_TO_STR(_E)
5.1.19 Single-precision real type string type conversion
REAL_TO_STR(_E)
Function
Operation processing
(1) Converts single-precision real type data input to into string type (exponent form) data,
and outputs the operation result from .
REAL_TO_STR(_E)
_E: With EN/ENO
indicates any of the following
functions.
REAL_TO_STR REAL_TO_STR_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Single-precision real
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :String(12)
Universal
UD
High
Performance
EN ENO
ds
REAL_TO_STR_E
(EN, s, d);ENO:=
Structured ladder
ST
REAL_TO_STR_E
s
d
Sign
(integral part)
Sign
(exponent part)
Single-precision
real type
00
H
String 1st word
2nd word
3rd word
4th word
5th word
6th word
7th word
High-order byte Low-order byte
ASCII code of integral
part
ASCII code of
one decimal place
ASCII code of
three decimal place
ASCII code of
five decimal place
Sign data
(exponential part)
ASCII code of
exponent part's units
place
Sign data
(integral part)
ASCII code of (.)
decimal place (2E
H)
ASCII code of
two decimal place
ASCII code of
four decimal place
45
H(E)
ASCII code of
exponent part's
tens place
Automatically stored at the end of the character string.
Automatically
added.
E
.

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals