Save counter value via latch extern input (Enable latch extern on pos./neg. edge)
Save counter value via a positive/negative edge at the Latch input (Enable latch extern on positive/negative edge)
The latch function enables the current counter value to be stored in separate process data, independent of the cycle time.
- The counter value at the Latch extern input can be saved via:
- Index 0x7000:02 "Enable latch extern on positive edge" = TRUE
At the first external latch pulse with positive edge the current counter value is stored in index 0x6000:12 "Latch value". - Index 0x7000:04 "Enable latch extern on negative edge" = TRUE
At the first external latch pulse with negative edge the current counter value is stored in index 0x6000:12 "Latch value". - Simultaneous activation of 0x7000:02 and 0x7000:04
On the first external latch pulse, regardless of the polarity of the edge, the current counter value is saved in index 0x6000:12 "Latch value". - Saving of the counter value in index 0x6000:12 "Latch value" is confirmed via the "Latch extern valid" bit (index 0x6000:02).
- The status of the Latch extern input can be monitored via index 0x6002:14 "Status of extern latch".