EXPΒΆ

The IEC Operators and additional, norm-extending \ functions Returns the exponential function.

IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT must be type REAL.

Example in IL:

LD  2
EXP
ST  q (* Result is 7.389056099 *)

Example in ST:

q:=EXP(2);

Example in FBD:

../_images/a12eb9dd594274150a317d310b859724