Counter
Counter block with counting based on events and reset
![]()
Library
StateMachine
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
inc | Step increase or decrease at when activated | Scalar |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
reset | activation | Event to reset the counter | input | 1 |
act | activation | Activation of the counter | input | 2 |
Port 3 | explicit | Value of counter | output | 1 |
Port 4 | explicit | Value of counter is reset to this value by reset activation. | input | 1 |
