538
8 APPLICATION INSTRUCTION
8.9 Real Number Instruction
Processing details
• These instructions raise float (single precision) data stored in a device specified by (s1) by the single-precision real number
specified by (s2), and store the operation result in a device specified by (d).
• Values in the devices specified (stored) by (s1) and (s2) should be 0 or 2
-126
|specified value (stored value)| <2
128
.
• When the operation result is -0 or underflow occurs, the operation result is regarded as 0.
• When the operation result is within the following range, the operation result is regarded as 2
128
, and the carry flag SM716
turns on.
• When an input value is set from the engineering tool, a rounding error may be occur.
Operation error
2
128
|operation result|
Error code
(SD0/SD8067)
Description
3402H
The value specified by (s1) or (s2) is outside the following range.
0, 2
-126
|specified value (stored value)|<2
128
The specified device value is -0, denormalized number, NaN (not a number), or
.
3403H
The operation result is within the following range. (An overflow has occurred.)
2
128
|operation result|
(s2)+1
(s2)
(s1)+1
(s1)
(s1)+1
(s1)
(d)+1
(d)
(s2)+1
(s2)
Single-precision real number Single-precision real number
Data to be raised
Power data
to
th power.
The instruction raises
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......