LN is an IEC operator that calculates the natural logarithm of a numeric input. It accepts any numeric basic data type as input and returns a REAL or LREAL result. For example, LN(45) yields approximately 3.80666.
| Language | iec 61131 3 |
|---|---|
| Code | LN |
| Dialect | CODESYS |