LN

The IEC operator returns the natural logarithm of a number.

Permitted data types for the input variables: any numeric basic data type

Permitted data types for the output variables: REAL and LREAL

Examples:

Result: fVar is 3.80666.

ST:

fVar := LN(45);

FBD:

LN 1: