Operator ‘LN’ΒΆ

This IEC operator yields the natural logarithm of a number.

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

Permitted data types for output variables: REAL and LREAL

Examples

Result: 3.80666

ST:

q := LN(45);

FBD: