Mitsubishi Electric MELSEC-Q/L Programming Manual page 278

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

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.
[Ladder Mode]
[Operation]
D20
Conversion to real number
15923
BIN value
• 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]
[Operation]
D21
D20
Conversion to real number
16543521
BIN value
6 BASIC INSTRUCTIONS
276
6.3 Data Conversion Instructions
D3
D2
D1
D0
15923
64-bit floating-point real number
D3
D2
D1
16543521
64-bit floating-point real number
[List Mode]
Instruction
Step
[List Mode]
Instruction
Step
D0
Device
Device

Advertisement

Table of Contents
loading

Table of Contents