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