DOKK / manpages / debian 12 / linuxcnc-uspace / multiswitch.9.en
MULTISWITCH(9) HAL Component MULTISWITCH(9)

multiswitch - This component toggles between a specified number of output bits.

loadrt multiswitch personality=P [cfg=N]

cfg should be a comma-separated list of sizes, for example cfg=2,4,6 would create 3 instances of 2, 4 and 6 bits respectively. Ignore the "personality" parameter, that is auto-generated.

Receives signal to toggle up
Receives signal to toggle down
Output bits

Number of positions
Current state (may be set in the HAL)

ArcEye schooner30@tiscali.co.uk / Andy Pugh andy@bodgesoc.org

GPL

2023-02-10 LinuxCNC Documentation