LinuxCNC Documentation

SYNOPSIS

loadrt radiobutton [count=N|names=name1[,name2…​]] [personality=P1[,P2…​]]

DESCRIPTION

This component creates personality inputs to select one of several outputs. When sel-N is momentarily set high then the corresponding bit output out-N will be set high and other outputs will be set low. Simultaneously the value on the pin input-N will be copied to the value pin. The selected pin will indicate which set of outputs is currently active. Note that channel-0 should be used to provide the default values.

FUNCTIONS

radiobutton.N

PINS

radiobutton.N.sel-MM bool in (MM=00..personality)

Inputs to select a channel

radiobutton.N.out-MM bool out (MM=00..personality)

output selected

radiobutton.N.selected sint out (default: 0)

indicates which output is currently active

radiobutton.N.input-MM real in (MM=00..personality)

Possible output values

radiobutton.N.value real out

currently-selected output value

AUTHOR

Andy Pugh

LICENSE

GPL 2+