EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 278

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
276
6 BASIC INSTRUCTIONS
6.3 Data Conversion Instructions
Program example
The following program converts the BIN 16-bit data at D20 to a 64-bit floating decimal point type real number and stores the
result at D0 to D3.
The following program converts the BIN 32-bit data at D20 and D21 to a 64-bit floating decimal point type real number, and
stores the result at D0 to D3.
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
15923
D20
D1
15923
D0D3 D2Conversion to real number
64-bit floating-point real numberBIN value
Step
Instruction
Device
D1
16543521
D0D3 D2
D21
16543521
D20 Conversion to real number
64-bit floating-point real numberBIN value

Table of Contents

Related product manuals