IEC operator⮫ “Overview”: Returns the natural logarithm of a number.
IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT.
OUT must be type REAL.
Example in ST:
q:=LN(45);
Example in FBD:

IEC operator⮫ “Overview”: Returns the natural logarithm of a number.
IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT.
OUT must be type REAL.
Example in ST:
q:=LN(45);
Example in FBD: