EVENTCOUNT
8.1, PLBCMP GUI Only
The EVENTCOUNT instruction determines the number of events pending on the event queue. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
count
Required. A previously defined Numeric Variable that receives the number of events pending.
Flags Affected: ZERO, OVER
Note the following:
If no events are pending, the ZERO flag is set.
If the count of the number of entries is truncated when moving to {count}, the OVER flag is set.
See Also: Program Control Instructions
![]() |