Functions, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 517

Advertising
background image

L-force | PLC Designer

Operands in PLC Designer



DMS 3.2 EN 02/2011 TD29

515

10.4

Functions

In ST a function call can also appear as an operand.

Example:

Result := Fct(7) + 3;

TIME()-Function

This function returns the time (based on milliseconds) which has been passed since
the system was started.

The data type is TIME.

Example in IL:

TIME

ST systime (* Result e.g.: T#35m11s342ms *)

Example in ST:

systime:=TIME();

Example in FUP:

Advertising