LOG

The IEC operator returns the base 10 logarithm of a number.

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

Permitted data types for the output variable: REAL or LREAL

Examples:

Result: fVar is 2.49762.

ST:

fVar := LOG(314.5);

FBD:

LOG 1: