EasyManua.ls Logo

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:

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
SeriesMELSEC Q Series
TypeModular PLC
Programming SoftwareGX Works2, GX Works3
CategoryProgrammable Logic Controller (PLC)
I/O ModulesDigital I/O, Analog I/O, High-Speed Counter, Positioning
CommunicationEthernet, CC-Link
Programming LanguagesLadder Logic, Structured Text, Function Block Diagram, Sequential Function Chart, Instruction List
MemoryFlash Memory
I/O PointsUp to 4096 points (expandable with additional modules)
Power SupplyAC or DC power supply options available, depending on the base unit and modules.
MountingDIN rail mounting
Operating Temperature0°C to 55°C
Storage Temperature-25°C to 75°C
Humidity5% to 95% (non-condensing)
Vibration Resistance10 to 57 Hz, 0.075mm amplitude
WeightVaries depending on the module, from a few grams to several kilograms.
Shock Resistance147 m/s² (3 times each in X, Y, Z directions)

Related product manuals