Activation of latch C input (“C”) and saving (“latching”) of the counter value (index 0x7000:01)
The counter value is written into Latch value (index 0x6000:12) when the zero pulse is present at input C.
- “Enable latch C” (index 0x7000:01)
- The function is activated by setting the bit in Enable latch C (index 0x7000:01) to TRUE.
- The counter value in Latch value (index 0x6000:12) will be saved upon the first latch pulse (rising edge at input C). The subsequent pulses have no influence on the latch value.
- The value of the bit in Latch C valid (index 0x6000:01) is set to TRUE.
- After re-activation of Enable latch C (index 0x7000:01), the next counter value can be written into Latch value (index 0x6000:12) only if the values of the Latch C valid bit (index 0x6000:01) and the Latch extern valid bit (index 0x6000:02) are FALSE.
- If “Enable latch C” (index 0x7000:01) und “Enable latch extern on positive / negative edge” (index 0x7000:02 / 0x7000:04) are activated simultaneously
- the value of the counter is saved in Latch value (index 0x6000:12) when the first pulse with the corresponding edge is present at input C or at the external latch.
- If “Enable latch C” (index 0x7000:01) und “Set counter on latch C” (index 0x7000:08) are activated simultaneously