EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #600 background imageLoading...
Page #600 background image
7-226
EVAL(P)
Program Example
(1) The following program converts the character string stored in the area starting from R0 to a
32-bit floating decimal point type real number, and stores the result at D0 and D1 when X20
is turned ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program converts the character string stored in the area starting from D10 to a
32-bit floating decimal point type real number, and stores the result at D100 and D101 when
X20 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
Instruction Device
Step
R1
2DH (-)20H (space)
30
H (0)31H (1)
b15 b8b7 b0
R2 2E
H (.)32H (2)
33
H (3)34H (4)R3
35
H (5)32H (2)
31
H (1)
R4
R5
00H
Ignored These are cut
D1
5
2
D0
R0
-1
.
234
1
.
2 3 4
5
2 10-
Instruction Device
Step
D11
20
H
(space)20
H
(space)
31
H
(1)2E
H
(.)
b15 b8
b7
b0
D12 32
H
(2)33
H
(3)
34
H
(4)35
H
(5)
D13
45
H
(E)2D
H
(-)
30
H
(0)
D14
D15 32
H
(2)
D16 00
Ignored
1
.
2
3
4
5
E
0-
2
Ignored
D101 D100
D10
1
.
234
5 E
-2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals