Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
7-217
ESTR(P)
1
2
3
4
6
6
7
8
7
.11 Char
acter
 string processing inst
ructions
7
.11.11 Conver
sion fro
m
 floating decimal p
o
int to
 char
acter string data (
ESTR(
P
))
7.11.11  
Conversion from floating decimal point to character string 
data (ESTR(P))
ESTR(P)
*1:Available only in multiple Universal model QCPU
Function
(1) Converts the 32-bit floating decimal point data designated by 
 to a character string 
according to the display designation specified by 
, and stores the result into the area 
starting from the device number designated by 
.
(2) The post-conversion data differs depending on the display designation designated by 
.
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: 32-bit floating decimal point data to be converted or head number of the devices where the data is stored
 (real number)
: Head number of the devices where display designation for the numerical value to be converted is stored (BIN 16 bits)
: Head number of the devices where the converted character string will be stored (character string)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
E
Other
Bit
Word
Bit
Word
––
––
*1
––
––
––
––
––
––
––
––
––
––
––
––
––
Process
High
performance
Redundant Universal
Ver.
Basic
Command
Command
ESTRP
ESTRP
ESTR
ESTR
D
D
S2
S2
S1
S1
S2
D
S1
S2
D
S1
S2
D
S2
1: Exponent format
Total number of digits
+1
0: Decimal point format
Number of digits in decimal fraction
+2
Setting is possible in the range from 2 to 24.
S2
S2
S2
The converted data differs depending 
on the format selected at      .
S2
When using decimal point format