Gate input

An external input, “Gate”, for 24 V DC signals with a minimum pulse duration of tON > 1 µs is available and can be used as follows:

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

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

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

Gate input 1:

Deactivation of the gate

Set the “Gate polarity” bit (index 0x80n0:04) to “0 – Disable gate” in order to be able to use the “Latch extern 2” input without locking the counter value after the latch event.

Gate input 2:

Simultaneous use of Gate and Latch extern 2

When using the index 0x80n0:04Gate polarity” (1 = “Enable pos. gate”) and simultaneous activation of the output process data “Enable latch extern 2 on positive edge” (0x70n0:0C), a positive edge on the “Gate” input first stores the current counter value in the input process data “Latch value 2” (0x60n0:22). 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 output process data “Enable latch extern 2 on negative edge” (0x70n0:0D) when a negative edge occurs at the “Gate” input.

Gate 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 (0x60n0:12), only the command that is set first is accepted by the terminal.

  • The counter value is stored in the process data “Latch value” (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.