EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 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 #385 background imageLoading...
Page #385 background image
7 APPLICATION INSTRUCTION
7.6 Character string operation instruction
383
7
Converting single-precision real number to character string
ESTR(P)/DESTR(P)
These instructions convert the single-precision real number data stored in the device specified by (s1) into a character string
according to the display specification stored in the device specified by (s2) and later, and store the string in the device
specified by (d) and later.
The ESTR(P) instructions can also be used as DESTR(P).
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Processing details
These instructions convert the single-precision real number data stored in the device specified by (s1) into a character
string according to the display specification stored in the device specified by (s2) and later, and store the string in the device
specified by (d) and later. A real number can be directly specified as (s1).
The data after conversion varies depending on the display specification stored in (s2).
Ladder diagram Structured text
ENO:=ESTR(EN,s1,s2,d);
ENO:=ESTRP(EN,s1,s2,d);
Operand Description Range Data type Data type (label)
(s1) Single-precision real number data to be converted or the start
number of the device where data is stored
0, 2
-126
<|(s1)|<2
128
Single-precision real
number
Single-precision real
number
(s2) Head device number storing the display specification of a
numeric value to be converted
The device specified in (s2) and following 2 devices are used.
16-bit signed binary ANY16
(d) Head device number for storing the converted data Character string Character string
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
(s2) 
(d) 
*1

(s1) (s2) (d)
(s2)+1
(s2)+2
(s2)
Total number of digits
0: Decimal part format
1: Exponent format
Number of digits of decimal part
2 to 24 can be set.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals