An up/down counter that repeats the range from 0 to the set maximum count value.
When the value is counted up from the maximum counting value, it becomes 0. When the value is counted down from 0, it becomes the set maximum value.
It can be used for the angle position management of rotary tables, etc.