Up-Down-Counter

Up-Down-Counter

 

This function block counts 0 and 1 edges (one edge per loop) at the inputs.

If the Reset input in on HIGH, the counter is set back to 0. If the counter over- or underflows, the carry of the counter is set for one cycle time.

Signals

NameI/OType(s)Function
vzIBITUp counting input
rzIBITDown counting input
cIBITReset
izOWORDCounter
ueOBITCarry signal

Comments

This function block is used to count slow binary events (the pulse interval must be longer than the program cycle).