Gate/Latch input

The terminal provides an external Gate/Latch input for 24 VDC signals with a minimum pulse duration of tON > 1 µs. This can be used as follows:

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

Save counter value via a positive/negative edge at the Gate/Latch input (Enable latch extern 2 on positive/negative edge)

The Gate/Latch input may be used as a second latch input (Latch extern 2). To do this, the gate should be disabled.

Gate/Latch input 1:

Deactivation of the gate

Set the "Gate polarity" bit (index 0x8000:04) to "0 - Disable gate" in order to be able to use the Latch extern 2 input without disabling the counter value after the latch event.

Gate/Latch input 2:

Simultaneous use of Gate und Latch extern 2

When using index 0x8000:04 "Gate polarity"(1 = "Enable pos. gate") and simultaneously activating index 0x7000:0C "Enable latch extern 2 on positive edge", the current counter value is initially stored in index 0x6000:22 "Latch value 2" when a positive edge is detected at the Gate/Latch input. The counter value is then blocked.

The same applies to the use of index 0x80n00:04 "Gate polarity" (2 = "Enable neg. gate") and simultaneous activation of index 0x7000:0D "Enable latch extern 2 on negative edge" at a negative edge at the Gate/Latch input.

Gate/Latch input 3:

Multiple activation of the latch function

If several commands are activated simultaneously to save the counter value in the "Latch value" process data (index 0x60n0:12), only the command that is set first is accepted by the terminal.

  • The counter value is stored in the "Latch value" (index 0x60n0:12) at the next occurring event and confirmed with the corresponding bit.
  • All other activated events are ignored.
  • The counter value storage cannot be reactivated until all activated commands for latching the value have been deactivated. This also applies if they were activated after confirmation by the occurring event.