The basics of counting, measurement and position detection
2.4 Basics of counting (digital input modules)
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
83
Behavior at the counting limits
Violation of a counting limit
The high counting limit is violated when the current counter value is equal to the high
counting limit and another upward count pulse is received. The counter low limit is violated
when the current counter value is equal to the counter low limit and another downward count
pulse is received.
With digital input modules for ET 200SP, the corresponding event bit is set in the feedback
interface when the limit is violated. You can reset an event bit with the respective control bit:
Low counting limit EVENT_UFLW RES_EVENT_UFLW
Note
A description of the control and feedback interface is available in the device manual for the
digital input module.
You can configure whether or not you want to continue counting to another counter limit after
a counting limit violation.
Note
The high counting limit and the start value define the value range of the counter:
Value range of the counter = (high limit
– start value) + 1
The figure below shows an example for terminating counting after overflow and setting the
counter to the opposite counting limit: