dodalem probe basic
This commit is contained in:
15
configs/atc_sim/probe_basic_postgui.hal
Normal file
15
configs/atc_sim/probe_basic_postgui.hal
Normal file
@@ -0,0 +1,15 @@
|
||||
loadrt time
|
||||
loadrt not
|
||||
|
||||
addf time.0 servo-thread
|
||||
addf not.0 servo-thread
|
||||
|
||||
net prog-running not.0.in <= halui.program.is-idle
|
||||
net cycle-timer time.0.start <= not.0.out
|
||||
net cycle-seconds qtpyvcp.timerseconds.in <= time.0.seconds
|
||||
net cycle-minutes qtpyvcp.timerminutes.in <= time.0.minutes
|
||||
net cycle-hours qtpyvcp.timerhours.in <= time.0.hours
|
||||
# *** Time items required for Probe Basic to run ***
|
||||
|
||||
# *** Set line below for actual spindle readout from your hal file ***
|
||||
net spindle-vel => qtpyvcp.spindle-encoder-rpm.in
|
||||
Reference in New Issue
Block a user