Scroll to navigation

UPDOWN(9) HAL Component UPDOWN(9)

NAME

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

SYNOPSIS

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

FUNCTIONS

Process inputs and update count if necessary

PINS

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

PARAMETERS

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

AUTHOR

Stephen Wille Padnos

LICENSE

GPL

2024-07-13 LinuxCNC Documentation