DOKK / manpages / debian 12 / linuxcnc-uspace / updown.9.en
UPDOWN(9) HAL Component UPDOWN(9)

updown - Counts up or down, with optional limits and wraparound behavior

loadrt updown [count=N|names=name1[,name2...]]

Process inputs and update count if necessary

Increment count when this pin goes from 0 to 1
Decrement count when this pin goes from 0 to 1
Reset count when this pin goes from 0 to 1
The current count

If TRUE, then clamp the output to the min and max parameters.
If TRUE, then wrap around when the count goes above or below the min and max parameters. Note that wrap implies (and overrides) clamp.
If clamp or wrap is set, count will never exceed this number
If clamp or wrap is set, count will never be less than this number

Stephen Wille Padnos

GPL

2023-02-10 LinuxCNC Documentation