Gate/Latch combination input

In 2-channel mode 2xAB, there is one external gate/latch combination input available for each channel, designed for 24 V DC signals with a minimum pulse duration of tON > 1 µs. This can be used as follows:

Gate/Latch combination input 1:

Simultaneous use of gate and latch in 2-channel mode 2xAB

When using the index 0x80n0:04Gate polarity” (1 = “Enable pos. gate”) and simultaneously activating the bit in the output process data “Enable latch extern on positive edge” (0x70n0:02), a positive edge at the gate/latch combination input causes the current counter value to be initially stored in the input process data “Latch value” (0x60n0:12). After that, the counter value is locked.

The same applies to the use of index 0x80n0:04 “Gate polarity” (2 = “Enable neg. gate”) and the simultaneous activation of the bit in the output process data “Enable latch extern on negative edge” (0x70n0:04) upon a negative edge at the gate input/latch combination input.

Setting the counter value via the gate/latch combination input (Set counter on latch extern on positive/negative edge)

The counter value can be set to a preset value during runtime via the process data by the positive or negative edge at the gate/latch combination input.

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.

Saving the counter value via a positive/negative edge at the gate/latch combination input (Enable latch extern on positive/negative edge)

Lock counter value via a positive/negative edge at the gate/latch combination input (Enable pos./neg. gate)