Gate function (EL5151 only)
The counter can be latched with the aid of the gate function. The “Gate polarity” object (index 0x8000:04) provides three different options:
- 0: The gate function is inactive.
- 1: The counter value is latched by a HIGH level at the gate input. The counter value does not change as long as the HIGH level is applied. Signals on channels A and B have no effect on the counter value.
- 2: The counter value is locked by a LOW level at the gate input. The counter value does not change as long as the LOW level is applied. Signals on channels A and B have no effect on the counter value.
In the case of a simultaneous activation of the gate function (latch on HIGH level / latch on LOW level) and “Enable extern reset” (reset on positive edge / reset on negative edge), the counter value is first reset to zero. Latching subsequently takes place.