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

SysTimeGetUs

Function Description

Returns a monotonic rising microsecond counter. This value can be used for timeout and high resolution time measurements.

The counter is reset at each boot-up of the controller.

NOTE: The real time clock does not influence this counter.

Graphical Representation

G-SE-0003918.1.gif-high.gif

 

 

I/O Variables Description

Output

Type

Description

SysTimeGetUs

UDINT

Runtime system error code (refer to CmpErrors.library):

0 = no error detected

Input/Output

Type

Description

pUsTime

SYSTIME

Value of the microsecond counter, which is reset on boot-up.

NOTE: SYSTIME is an alias type based on the data type ULINT.