EXPT
Where 'base' is the first argument and 'exponent' is the second argument, yields the REAL result of this operation: (base
exponent
).
Arguments | |||
---|---|---|---|
IN | IN | REAL | Any signed real value |
EXP | EXP | DINT | Integer exponent |
EXPT | Q | REAL | (IN EXP ) |
Example
(* FBD Program using "EXPT" Function *)

(* ST Equivalence: *)
tb_size := ANY_TO_DINT (EXPT (2.0, range) );
Provide Feedback