POW

Gives the real result of the operation: (base
exponent
) 'base' being the first argument and 'exponent' the second one. The exponent is a real value.
lrsf_po1
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
(* ST Equivalence: *)
result := POW (xval, power);
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal