EcoStruxure Machine Expert version 1.1 does not support the M258, LMC058 and LMC078 controllers.

Functions

 

Functions

Overview

In ST, a function call can be used as an operand.

Example

Result := Fct(7) + 3;

For a general description of functions and their declarations, refer to the Function description in the Program Organization Unit (POU) section of this Programming Guide.

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 for example: T#35m11s342ms *)

Example in ST

systime:=TIME();