Mitsubishi Electric M800VW Series Programming Manual page 365

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.10 Character String Processing Instructions
 The following program converts the character string stored in the area starting from D10 to a 32-bit floating-point real num-
ber, and stores the result at D100 and D101 when X20 turns ON.
[Ladder mode]
X20
0
4
b15
D10
20H
2EH (.)
D11
D12
33H (3)
D13
35H (5)
D14
2DH (-)
32H (2)
D15
D16
Ignored
IB-1501667-B
EVALP D10 D100
END
[Operation]
b8b7
(space)
20H
(space)
31H (1)
32H (2)
34H (4)
45H (E)
30H (0)
00H
.
1
2 3 4 5
E
-
0
2
Ignored
[List mode]
Steps
Inst.
Device
0
LD
X20
1
EVALP
D10
D100
4
END
b0
D101
D100
1.2345E-2
344

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents