Lock counter value

The gate function enables locking of the counter "Counter value". The counter is locked at the first pulse at the gate input. Subsequent pulses have no influence on the counter value. This allows a timeframe to be defined in which counting signals are acquired. The gate function can be triggered by:

Locking counter value via input "Gate"

The input "Gate" is located at connections X03 and X07, see chapter 1 Encoder with latch and gate: "ENC_L_G" (SlotGroup 1). It is only available if the ModuleGroup "ENC_L_G" has been selected.

The CoE parameter 0x8000:04 “Gate polarity” can be used to set the level at the gate input at which the counter value is locked at runtime:

The status bit "Status of input gate" shows the current level at the gate input.