- Posts: 20
- Thank you received: 0
v2.8.0 - Pin 'motion.spindle-forward' does not exist
- deemoss
- Offline
- Junior Member
-
Less
More
8 years 3 weeks ago #118631
by deemoss
Replied by deemoss on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
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.
- racedirector
- Offline
- Elite Member
-
Less
More
- Posts: 231
- Thank you received: 42
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>
: Pin 'motion.spindle.0.forward' does not exist
if you took the "motion." part off this command it would probably work
<stdin>
: Pin 'motion.spindle.0.forward' does not existif 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.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
8 years 3 weeks ago #118640
by PCW
Replied by PCW on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
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
(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.
- deemoss
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
8 years 3 weeks ago #118664
by deemoss
Replied by deemoss on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
Thanks racedirector!
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
8 years 3 weeks ago #118666
by andypugh
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
Replied by andypugh on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
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.
- Hexcode
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
8 years 3 hours ago #119769
by Hexcode
Replied by Hexcode on topic v2.8.0 - Pin 'motion.spindle-forward' does not exist
Hey Andy,
I have currently the same problem...
I tried:
but it wouldn't work like this. Could you explain, how the motion module has to be loaded in custom.hal ?
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds