The basics of counting, measurement and position detection
2.2 Basics of counting, measuring and position input (TM Count, TM PosInput, Compact CPU)
Setting at comparison value for one pulse duration
The respective digital output is set to 1 for a specified period of time when the following
conditions are fulfilled:
● Matching of the position value and comparison value or crossing of the comparison value
● Current direction of the position value change = assigned direction for the comparison
event
The figure below shows an example of the comparison event when counting up:
The figure below shows an example of the comparison event when counting down:
To repeat the comparison event, the position value must change and then correspond to or
cross the respective comparison value again.
50
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG