Counter

Counter block with counting based on events and reset

    Counter

Library

StateMachine

Parameters

Counter_0

NameLabelDescriptionData TypeValid Values

inc

Step increase or decrease at when activated

Scalar

Ports

NameTypeDescriptionIO TypeNumber

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

Diagram

Counter