EXPT

Where 'base' is the first argument and 'exponent' is the second argument, yields the REAL result of this operation: (base
exponent
).
lrsf_ex1_cam5
Arguments
IN
IN
REAL
Any signed real value
EXP
EXP
DINT
Integer exponent
EXPT
Q
REAL
(IN
EXP
)
Example
(* FBD Program using "EXPT" Function *)
lrsf_ex2_cam5
(* ST Equivalence: *)
tb_size := ANY_TO_DINT (EXPT (2.0, range) );
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal