EasyManua.ls Logo

Mitsubishi MELSEC-Q/L - Estr, Estrp

Mitsubishi MELSEC-Q/L
850 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
472
ESTR, ESTRP
[Operation]
(2) The following program reads the character string data stored from D20 to D24 as an integer, converts it to a BIN value,
and stores it at D0 when X0 is ON.
[Ladder Mode] [List Mode]
[Operation]
:
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)
*1: Available only in multiple Universal model QCPU and LCPU
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 .
7.11.11 ESTR, ESTRP Conversion from floating-point data to character string
data
7.11.11
ESTR, ESTRP
Basic model QCPU: The serial number (first five digits) is
"04122" or later.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– ––
*1
––
–– –– –– –– –– ––
–– –– –– –– –– ––
D21
D22
D23
2D
H
( )31
H
(1)
36
H
(6)2E
H
(.)
b15 b8b7 b0
35
H
(5)34
H
(4)
D20
00
H
1654D0
6
2
D10
D11
Total number of digits
Number of digits in decimal fraction
00
H
Set
Step Instruction Device
D21
D22
D23
20
H
(space)37
H
(7)
39
H
(9)31
H
(1)
b15 b8 b7 b0
30
H
(0)30
H
(0)
D20
00
H
10
3
D10
D11
Total number of digits
Number of digits in decimal fraction
00
H
2E
H
(.)36
H
(6)
31
H
(1)31
H
(1)
D24
D25
79
1
006
11
D1
D0
Set
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver.
Command
Command
ESTRP
ESTRP
ESTR
ESTR
D
D
S2
S2
S
S1
S1
S2
D
S1
D2
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

Table of Contents

Related product manuals