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:
- Gate input: one positive/negative edge at the gate input
- PLC variable: the counter can be locked from the PLC application (see chapter "Setting and locking the counter value via PLC variable".
Lock counter value via a positive/negative edge at the gate input (Enable pos./neg. gate)
- The level at the Gate input at which the counter value is locked during runtime can be specified via index 0x8000:04 "Gate polarity".
- 0: Disable gate
The Gate/Latch input is disabled. - 1: Enable pos. gate
The counter value is locked with HIGH level at the Gate/Latch input. - 2: Enable neg. gate
The counter value is locked with LOW level at the Gate/Latch input. - The current level at the Gate input is displayed via process data 0x6000:0C "Status of input gate".