POW

When the first argument is 'base' and the second argument is 'exponent', yields the REAL result of this: (base
exponent
). 'Exponent' is a REAL value.
lrsf_po1_cam5
Arguments
IN
IN
REAL
Real number to be raised
EXP
EXP
REAL
Power (exponent)
POW
Q
REAL
(IN
EXP
)
1.0 if IN is not 0.0 and EXP is 0.0
0.0 if IN is 0.0 and EXP is negative
0.0 if both IN and EXP are 0.0
0.0 if IN is negative and EXP does not correspond to an integer
Example
(* FBD Program using "POW" Function *)
lrsf_po2_cam5
(* ST Equivalence: *)
result := POW (xval, power);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal