counter
A simple node to create a counter with messages.
By default the counter will be incremented for every inbound message and append the current count to msg.count.
Configuration
Initial Count: The initial count can be set in the configuration. By default it will be zero at start.
Default Step: Default amount that will be incremented or decremented on every incoming message.
Lower Limit: Optional limitation of the lower count limit. Will add countLowerLimitReached to msg if reached.
Upper Limit: Optional limitation of the upper count limit. Will add countUpperLimitReached to msg if reached.
Mode: Determine if count value should be incremented or decremented on every incoming message.
Outputs: Selects the output format of the counter. For more info read below.