L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 1076
Advertising
L-force | PLC Designer
Programming Reference
1074
DMS 4.1 EN 03/2011 TD29
LN
IEC Operator: Returns the natural logarithm of a number.
The input variable can be of any numeric basic data type, the output variable must be
type REAL or LREAL.
Example in IL: ( Result in q is 3.80666 )
Example in ST:
q:=LN(45);
Example in FBD:
LOG
IEC Operator: Returns the logarithm of a number in base 10.
The input variable can be of any numeric basic data type, the output variable must be
type REAL or LREAL.
Example in IL: ( Result in q is 2.49762 *)
Example in ST:
q:=LOG(314.5);
Example in FBD:
Advertising