Übersicht Plus/Minus

With this function block a plus/minus counter is realized.  Important: See notes when using the counter modules.


Inputs

PL
Plus
With a rising edge at the input the counter value is incremented by 1.
MI
Minus
With a rising edge at the input the counter value is decremented by 1.
RS
Reset
With a rising edge at the input the counter value is reset.

Outputs

ZS
Counter value
Current counter value
MI
Minimum reached
Output becomes 1 when the counter value from parameter Minimum is reached.
MA
Maximum reached
Output becomes 1 when the counter value from parameter Maximum is reached.

Parameter

Minimum
Minimum counter value
Maximum
Maximum counter value
Init after reset
After reset the counter is initialized with this counter value.
Reset if lower minimum
Counter Automatically reset when the counter reading reaches the minimum.
Reset if larger Maximum
Counter Automatically reset when the counter reading reaches the maximum.


Important: See notes when using the counter modules.




See also general parameters of all function blocks.