EXPT
Exponentiation of a variable with another variable: OUT = IN1IN2.
IN1 and IN2 can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL.
Example in IL:
LD 7
EXPT 2
ST var1 (* Result is 49 *)
Example in ST:
var1 := EXPT(7,2);