GetEventsNumber: Returns the Number of External Events Detected
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.
To see the general representation in IL or ST language, refer to the chapter Function and Function Block Representation.
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. |