276
6 BASIC INSTRUCTIONS
6.3 Data Conversion Instructions
• 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]
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