GetEventsNumber: Returns the Number of External Events Detected

Function Description

This function returns the number of events that have occurred since the last cold start, including those detected on inputs and HSC threshold compare events.

Graphical Representation

G-SE-0008740.1.gif-high.gif

 

 

IL and ST Representation

To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.

I/O Variable Description

The following table describes the output variable:

Output

Type

Comment

GetEventsNumber

DWORD

The value representing the number of events that have occurred since the last cold start. Reset to 0 with a call of the function ResetEventsNumber.