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:

../_images/77b833d8d0eb3782c0a8640e013dc459