Import LinuxCNC source tree
This commit is contained in:
30
configs/sim/touchy/gladevcp/gladevcp-touchy.hal
Normal file
30
configs/sim/touchy/gladevcp/gladevcp-touchy.hal
Normal file
@@ -0,0 +1,30 @@
|
||||
# touchy doesn't use halui, so just set these boxes to permanently active
|
||||
|
||||
setp gladevcp.status 1
|
||||
setp gladevcp.settings 1
|
||||
setp gladevcp.commands 1
|
||||
|
||||
# show the current spindle speed in the top hoizontal bar
|
||||
net spindle-speed spindle.0.speed-out => gladevcp.spindle-rpm-hbar
|
||||
|
||||
# the first and second labels show prepared and current tool
|
||||
# unlinkp iocontrol.0.tool-prep-number
|
||||
# unlinkp hal_manualtoolchange.number
|
||||
|
||||
# net tool-prepared iocontrol.0.tool-prep-number => gladevcp.prepared-tool hal_manualtoolchange.number
|
||||
# net tool-number iocontrol.0.tool-number => gladevcp.current-tool
|
||||
|
||||
net cb1 gladevcp.check => gladevcp.led1
|
||||
net b1 gladevcp.button => gladevcp.led2
|
||||
net tb1 gladevcp.toggle => gladevcp.led3
|
||||
net rb1 gladevcp.radio1 => gladevcp.led4
|
||||
net rb2 gladevcp.radio2 => gladevcp.led5
|
||||
net rb3 gladevcp.radio3 => gladevcp.led6
|
||||
net hscale1 gladevcp.scale => gladevcp.scale-value
|
||||
net combobox1 gladevcp.combo-s => gladevcp.combo-value
|
||||
net spin1 gladevcp.spin-f => gladevcp.spin-value
|
||||
|
||||
# the MDI Toggle action is called with the values of some of the HAL pins
|
||||
# as parameters like so:
|
||||
|
||||
# O<oword> call [${spin-f}] [${check}] [${toggle}] [${scale}] [${spin-f}] [${combo-s}]
|
||||
Reference in New Issue
Block a user