Converting Single-Precision Real Number To String Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Converting single-precision real number to string data

ESTR(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions convert single-precision real number data to a string according to the display specification.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
ESTR
ESTRP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Single-precision real number data to be converted, or the
start device containing the data
(s2)
Start device containing the display specification of the real
number to be converted
(d)
Start device for storing the converted character string
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
7 APPLICATION INSTRUCTIONS
674
7.8 String Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=ESTR(EN,s1,s2,d);
ENO:=ESTRP(EN,s1,s2,d);
Range
-126
128
0, 2
<|(s1)|<2
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
Single-precision real
ANYREAL_32
number
16-bit signed binary
ANY16_ARRAY
(Number of elements: 3)
String
ANYSTRING_SINGLE
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents