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