Counters can be used to keep a running total of an internal event. The Counter value can be reset, read, or written at any time.
The following nodes are available to configure the Counter increment:
- CounterSelector: The Counter control to be used
- CounterEventSource: The event source that will increment the Counter
- CounterEventActiviation: The activation mode used for CounterEventSource (e.x. RisingEdge)
- CounterTriggerSource: The source that will start the Counter
The following nodes are available to configure the Counter reset:
- CounterResetSource: The signal that will reset the Counter
- CounterResetActivation: The signal used to activate CounterResetSource
- CounterReset: The command will reset CounterValue and set the last value to CounterValueAtReset
The following nodes are available to read or control the Counter:
- CounterValue: The current value of the Counter
- CounterValueAtReset: The value of the Counter before it was reset
- CounterDuration: The value to count before setting CounterStatus = CounterCompleted
- CounterStatus: The status of the Counter
The following CounterStatus modes are available:
- CounterIdle: Counter control is not enabled
- CounterTriggerWait: Counter is waiting to be activated
- CounterActive: Counter is counting until the value specified in CounterDuration
- CounterCompleted: Counter has incremented to value set in CounterDuration
- CounterOverflow: CounterValue has reached its maximum possible value