Function Description

Use the SYST_TIME function to return the time elapsed since the completion of the most recent task cycle.

EN and ENO can be configured as additional parameters.

Representation in FBD

Representation

Parameter Description

The SYST_TIME function consists of the following parameters:

Output parameters:

  • STB10MS

  • STB100MS

  • STB1S

  • STB1MN

  • S1MSCOUNT

This function has no input parameter.

Output Parameters

Parameter

Data Type

Meaning

STB10MS

BOOL

TimeBase10ms. This bit toggles every 5 ms.

STB100MS

BOOL

TimeBase100ms. This bit toggles every 50 ms.

STB1S

BOOL

TimeBase1s. This bit toggles every 500 ms.

STB1MN

BOOL

TimeBase1mn. This bit toggles every 30 s.

S1MSCOUNT

DINT

msFreeCount. Free running counter with 1 ms increment.