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

More
8 years 3 weeks ago #118631 by deemoss
OK it worked when I run lcnc, with the changes applied to custom.hal. Why it didn't work in terminal with halcmd?

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago - 8 years 3 weeks ago #118633 by racedirector
Replied by racedirector on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
I would say because you were still using "motion." "spindle.0.xxx" doesn't use "motion." first.

<stdin>:3: Pin 'motion.spindle.0.forward' does not exist

if you took the "motion." part off this command it would probably work :)
Last edit: 8 years 3 weeks ago by racedirector.
The following user(s) said Thank You: deemoss

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago #118640 by PCW
You also did not load motion (emcmot)
(you only loaded the VFD module so only VFD pins are available)

AFAIK spindle is still part of motion regardless of any name changes
The following user(s) said Thank You: racedirector, deemoss

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago #118664 by deemoss
Thanks racedirector!

Please Log in or Create an account to join the conversation.

More
8 years 3 weeks ago #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

Please Log in or Create an account to join the conversation.

More
8 years 3 hours ago #119769 by Hexcode
Hey Andy,

I have currently the same problem...
I tried:
Code:
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 ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.235 seconds
Powered by Kunena Forum