90
3 CONFIGURATION OF INSTRUCTIONS
3.2 Designating Data
The CPU module floating decimal point data can be monitored using the monitoring function of a
programming tool.
When floating-point data is used to express 0, all data in the following range are turned to 0.
• Single-precision floating-point data: b0 to b31
• Double-precision floating-point data: b0 to b63
The setting range of floating decimal point data is as follows.
*1
• Single-precision floating-point data: -2
128
< Device data -2
-126
, 0, 2
-126
Device data < 2
128
• Double-precision floating-point data: -2
1024
< Device data -2
-1022
, 0, 2
-1022
Device data < 2
1024
Do not specify -0 in floating-point data (only when the most significant bit of the floating-point real number is
1). (An operation error will occur if floating-point operation is performed with -0.) When -0 is specified, the
following CPU module internally converts the value to 0 to perform a floating-point operation. Therefore an
operation error does not occur.
• The High Performance model QCPU with the internal processing set to "double precision".
*2
(Double
precision is set by default for the floating-point operation processing.)
• Universal model QCPU (QnUDVCPU only)
When -0 is specified, the following CPU module performs a floating-point operation with -0, keeping its
processing speed. Therefore an operation error occurs.
• Basic model QCPU
*3
• High Performance model QCPU where internal operation is set to single precision
*2
• Process CPU
• Redundant CPU
• Universal model QCPU (QnUDVCPU is excluded)
•LCPU
*1 For operations when a real number is out of range and operations when an invalid value is input, refer to the QnUCPU User's Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program
Fundamentals).
*2 Switch between single precision and double precision of the internal operation of floating-point operation in the PLC system of the PLC
parameter dialog box. For the single precision and double precision of floating-point operation, refer to the QnUCPU User's Manual
(Function Explanation, Program Fundamentals) or Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program
Fundamentals).
*3 The Basic model QCPU can perform floating-point operation if its first five digits of serial No. are "04122 or later".