LOGPermalink

IEC operator: Returns the logarithm of a number in base 10.

⮫ “Overview”

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:

log