The basics of counting, measurement and position detection
2.2 Basics of counting, measuring and position input (TM Count, TM PosInput, Compact CPU)
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
37
The figure below shows an example of the EN_SYNC_UP, EN_SYNC_DN and
EVENT_SYNC bits with periodic synchronization by an edge at a digital input for count
pulses in an upwards direction:
As long as synchronization for counting in an upwards direction is enabled, the counter is
synchronized at each rising edge at the configured digital input.
You can configure a hardware interrupt for the synchronization. The hardware interrupts will
be lost if the interrupt rate is higher than the system acknowledgement rate. You can signal a
lost hardware interrupt with a diagnostic interrupt.