v2.8.0 - Pin 'motion.spindle-forward' does not exist

More
11 Oct 2018 10:05 #118666 by andypugh

deemoss wrote: Still no joy

dimos@lcnc ~ $ halrun
halcmd: loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB0 -p none -r 9600


If you want motion pins (which include all the axis.... joint.... and spindle.... pins) then you need to load the motion module

linuxcnc.org/docs/devel/html/man/man9/motion.9.html
The following user(s) said Thank You: deemoss
More
01 Nov 2018 15:51 #119769 by Hexcode
Hey Andy,

I have currently the same problem...
I tried:
loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB1 -p none -r 4800

net spindle-cmd-rpm-abs => vfd.speed-command
net spindle-cw motion.spindle.0.forward => vfd.spindle-forward
net spindle-ccw motion.spindle.0.reverse => vfd.spindle-reverse
net on motion.spindle.0.on => vfd.spindle-on
but it wouldn't work like this. Could you explain, how the motion module has to be loaded in custom.hal ?
More
01 Nov 2018 15:54 #119770 by Hexcode
Nevermind...
# Benutzerdefinierte HAL-Anweisungen können nachfolgend angegeben werden
# Diese Datei wird überschrieben, wenn stepconf erneut ausgeführt wird.
loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB1 -p none -r 4800

net spindle-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 on spindle.0.on => vfd.spindle-on
is working now :)
Time to create page: 0.062 seconds
Powered by Kunena Forum