Reset counter value via gate/latch combination input

A recurring reset of the counter value (index 0x60n0:11 "Counter value") to "0" can be done in the following ways:

The settings are made in the configuration data, so it is not necessary to reactivate the device after a reset.

Reset counter value via gate/latch combination input (Enable extern reset)

The counter value can be set to zero via the external gate/latch combination input.

There is no status message via the process data.

Reset counter value via gate/latch combination input 1:

Activation of gate and latch functions via the same edge at the gate/latch input

When the gate function and a latch function is activated via the same edge at the gate/latch input, the latch function is always executed first, after which the counter value is disabled via the gate function.

Example:

Index 0x80n0:04 "Gate polarity" (1 = "Enable pos. gate") and

index 0x80n0:02 "Enable extern reset" = 1 with 0x80n0:10 "Extern reset polarity" = 1 (reset on positive edge at the gate/latch input)

With a positive edge at the gate/latch input the current counter value is first set to zero (reset). The counter value is then blocked.

The same applies to the use of index 0x80n0:04 "Gate polarity" (2 = "Enable neg. gate") and simultaneous activation of index 0x80n0:02 "Enable extern reset" with 0x80n0:10 "Extern reset polarity" = 0 (reset on negative edge at the gate/latch input).