Mitsubishi Electric M800VW Series Programming Manual page 243

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.3 Data Conversion Instructions
 Program example
 The following program converts the BIN 16-bit data at D20 to a 64-bit floating-point real number, and stores the result at D0
to D3.
[Ladder mode]
SM400
0
4
D20
15923
BIN value
 The following program converts the BIN 32-bit data at D20 and D21 to a 64-bit floating-point real number, and stores the
result at D0 to D3.
[Ladder mode]
SM400
0
4
D21
16543521
BIN value
IB-1501667-B
FLTDP D20 D0
END
[Operation]
Real number
D3
conversion
64-bit floating-point real 
number
DFLTDP D20 D0
END
[Operation]
Real number
D20
D3
conversion
64-bit floating-point real 
number
222
[List mode]
Steps
Inst.
Device
0
LD
SM400
1
FLTDP
D20
D0
4
END
D2
D1
D0
15923
[List mode]
Steps
Inst.
Device
0
LD
SM400
1
DFLTDP
D20
D0
4
END
D2
D1
D0
16543521

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents