Mitsubishi Electric Q01UCPU User Manual page 533

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

(4)
Replacing the High Performance model QCPU with the Universal model QCPU
(a) Replacing all single-precision floating-point operation instructions with double-
precision floating-point operation instructions
Single-precision floating-point data occupy two points of word device per data.
On the other hand, four points are required per double-precision floating-point data.
Therefore, all device numbers for storing floating-point data need to be reassigned.
Replacing the floating-point operation [A
Ex.
precision.)
• Device assignment
Before replacement
Application
Device
Data A
D0 to D1
Data B
D2 to D3
Data C
D4 to D5
Result
D6 to D7
• Program before replacement
• Program after replacement
B + C] (Changing all floating-point data into double
×
Data type
Application
Data A
Data B
Floating-point data
(single precision)
Data C
Result
APPENDICES
After replacement
Device
Data type
D0 to D3
D4 to D7
Floating-point data
(double precision)
D8 to D11
D12 to D15
Operation is performed using
double-precision floating-point
data.
A
531

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents