Exponentiation Operation On Floating-Point Data (Double Precision) - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Exponentiation operation on floating-point data (double
precision)
POWD(P)
High
Basic
Process
performance
• QnU(D)(H)CPU, QnUDE(H)CPU: the serial number (first five digits) is "10102" or later
• Q00UJCPU, Q00UCPU, Q01UCPU, QnUDVCPU: Supported
POWD
POWDP
(S1): Exponentiation recipient data or head number of the devices where the exponentiation recipient data are stored (real number)
(S2): Exponentiation data or head number of the devices where the data are stored (real number)
(D): Head number of the devices where the operation result will be stored (real number)
Setting
Internal device
data
Bit
(S1)
(S2)
(D)
*1 Available only for real number
Processing details
• This instruction raises the 64-bit floating-point data type real number specified by (S1) to the number nth specified by (S2)
power, and then stores the operation result into the device specified by (D).
(S2)+3
(S1)+3
(S1)+2
(S1)+3
(S1)+2
(S1)+3
64-bit floating-point data type real number
• The following shows the values to be specified by and stored into (S1) or (S2).
-1022
 | Set values (Storage values) | < 2
0, 2
• If the value resulted from the operation is -0 or an underflow occurs, the result will be processed as 0.
• When an input value is set using a programming tool, a rounding error may occur. For precautions, refer to Page 89
Precautions.
7 APPLICATION INSTRUCTIONS
628
7.12 Special Function Instructions
Ver.
Redundant
Universal
LCPU
Command
Command
R, ZR
Word
(S2)+2
(S2)+1
(S2)
(S1)+1
(S1)
Exponentiation recipient data
(S1)+1
(S1)
(S1)+3
(S1)+2
(S1)+1
(S1)
raised to the power of
1024
POWD
POWDP
J\
Bit
Word
Exponentiation data
(D)+3
(D)+2
(S1)+2
(S1)+1
(S1)
(S2)+3
64-bit floating-point data type real number
S1
S2
D
S1
S2
D
U\G
Zn
Constant
E
(D)+1
(D)
(S1)+3
(S1)+2
(S2)
(S2)+2
(S2)+1
Others
*1
*1
(S1)+1
(S1)
is carried out.

Advertisement

Table of Contents
loading

Table of Contents