LinuxCNC Documentation

SYNOPSIS

loadrt xhc_hb04_util [count=N|names=name1[,name2…​]]

DESCRIPTION

Provides logic for a start/pause button and an interface to halui.program.is_paused, is_idle, is_running to generate outputs for halui.program.pause, resume, run.

Includes 4 simple lowpass filters with coef and scale pins. The coef value should be 0 ≤ coef ≤1, smaller coef values slow response. See the lowpass manpage for calculating the filter time constant ($ man lowpass).

FUNCTIONS

xhc-hb04-util.N

PINS

xhc-hb04-util.N.start-or-pause bool in
xhc-hb04-util.N.is-paused bool in
xhc-hb04-util.N.is-idle bool in
xhc-hb04-util.N.is-running bool in
xhc-hb04-util.N.pause bool out
xhc-hb04-util.N.resume bool out
xhc-hb04-util.N.run bool out
xhc-hb04-util.N.in0 si32 in
xhc-hb04-util.N.in1 si32 in
xhc-hb04-util.N.in2 si32 in
xhc-hb04-util.N.in3 si32 in
xhc-hb04-util.N.out0 si32 out
xhc-hb04-util.N.out1 si32 out
xhc-hb04-util.N.out2 si32 out
xhc-hb04-util.N.out3 si32 out
xhc-hb04-util.N.scale0 real in (default: 1.0)
xhc-hb04-util.N.scale1 real in (default: 1.0)
xhc-hb04-util.N.scale2 real in (default: 1.0)
xhc-hb04-util.N.scale3 real in (default: 1.0)
xhc-hb04-util.N.coef0 real in (default: 1.0)
xhc-hb04-util.N.coef1 real in (default: 1.0)
xhc-hb04-util.N.coef2 real in (default: 1.0)
xhc-hb04-util.N.coef3 real in (default: 1.0)
xhc-hb04-util.N.divide-by-k-in real in
xhc-hb04-util.N.divide-by-k-out real out
xhc-hb04-util.N.k real in (default: 1.0)

AUTHOR

Dewey Garrett

LICENSE

GPL