Counter function
The counter function counts edge changes at a digital input of the inverter. By setting parameters, you can define which edges are counted in which direction. The counter increases or decreases the value by 1 with each edge change. The counter value is stored in volatile memory. The counter is reset to 0 after the inverter is switched off and on again.