Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
383a685
commit fb49d7c
Showing
2 changed files
with
51 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +0,0 @@ | ||
# Include your customized HAL commands here | ||
# This file will not be overwritten when you run stepconf again | ||
loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB0 -p none -r 9600 -t 1 -S 21000 | ||
net spindle-vel-cmd-rpm-abs => vfd.speed-command | ||
net spindle-cw spindle.0.forward => vfd.spindle-forward | ||
net spindle-ccw spindle.0.reverse => vfd.spindle-reverse | ||
net spindle-on spindle.0.on => vfd.spindle-on | ||
|
||
#net spindle1-vel-cmd-rps <= spindle.1.speed-out-rps | ||
#net spindle1-vel-cmd-rps-abs <= spindle.1.speed-out-rps-abs | ||
net spindle-vel-cmd-rpm <= spindle.0.speed-out | ||
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs | ||
net spindle-on <= spindle.0.on | ||
net spindle-cw <= spindle.0.forward | ||
net spindle-ccw <= spindle.0.reverse | ||
net spindle-brake <= spindle.0.brake | ||
net spindle-revs => spindle.0.revs | ||
net spindle-at-speed => spindle.0.at-speed | ||
#net spindle1-vel-fb-rps => spindle.1.speed-in | ||
#net spindle1-index-enable <=> spindle.1.index-enable | ||
|
||
|
||
|
||
# external button to trigger touch off | ||
# net run-touch-btn <= parport.1.pin-10-in => halui.mdi-command-04 | ||
|
||
#limits debounce to stop false triggers | ||
# loadrt debounce cfg=1 #change to the number you want | ||
# setp debounce.0.delay 100 #this sets the delay 100 iterations of the servo-thread | ||
# addf debounce.0 servo-thread | ||
# net deb-probe-in debounce.0.0.in <= parport.1.pin-11-in | ||
# net probe-in debounce.0.0.out | ||
# net probe-in => motion.probe-input | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters