Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 540

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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).
(s2)+1
(s1)+1
The instruction raises
• Values in the devices specified (stored) by (s1) and (s2) should be 0 or 2
• 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
turns on.
128
 |operation result|
2
• When an input value is set from the engineering tool, a rounding error may be occur.
Operation error
Error code
Description
(SD0/SD8067)
3402H
The value specified by (s1) or (s2) is outside the following range.
0, 2
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.)
128
2
8 APPLICATION INSTRUCTION
538
8.9 Real Number Instruction
Power data
(s2)
(s1)
Data to be raised
(s1)+1
(s1)
Single-precision real number
-126
|specified value (stored value)|<2
 |operation result|
(d)+1
(d)
(s2)+1
(s2)
to
th power.
Single-precision real number
128
-126
|specified value (stored value)| <2
128
, and the carry flag SM716
128
.

Hide quick links:

Advertisement

loading