- Posts: 148
- Thank you received: 0
Trying to reconnect HY_VFD after LinuxCNC version change
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
6 years 7 months ago #161043
by macsddau@linuxcnc
Hi.
I have moved LinuxCNC from 2.7 on Debian to 2.8 on Mint.
I have some troubles with the custom.hal file
with an error at startup
I have change the 3 pin names attached to spindle.0 according to 2.8 version names but the last one don't work.
Have you got any idea to solve this ?
I have moved LinuxCNC from 2.7 on Debian to 2.8 on Mint.
I have some troubles with the custom.hal file
Code:
loadusr -Wn vfd hy_vfd -n vfd -t 1 -d /dev/ttyUSB0 -p none -r 9600
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.is-on => vfd.spindle-on
Code:
Pin 'spindle.0.is-on' does not exist
Have you got any idea to solve this ?
Please Log in to join the conversation.
6 years 7 months ago #161343
by bbsr_5a
Replied by bbsr_5a on topic Trying to reconnect HY_VFD after LinuxCNC version change
hi use
motion.spindle-on
net on motion.spindle-on => vfd.spindle-on
NETON is not a good netname
please do not use command names as netnames
net spindle-on
net spindle-run
...
motion.spindle-on
net on motion.spindle-on => vfd.spindle-on
NETON is not a good netname
please do not use command names as netnames
net spindle-on
net spindle-run
...
Please Log in to join the conversation.
6 years 7 months ago #161624
by andypugh
Replied by andypugh on topic Trying to reconnect HY_VFD after LinuxCNC version change
The auto-conversion script should have done this for you.
But the pin name is
spindle.0.on (not is-on)
The conversion script uses this list:
github.com/LinuxCNC/linuxcnc/blob/master...ipts/update_ini#L492
Where did you get the wrong spindle pin name from? It appears we need to correct the docs.
But the pin name is
spindle.0.on (not is-on)
The conversion script uses this list:
github.com/LinuxCNC/linuxcnc/blob/master...ipts/update_ini#L492
Where did you get the wrong spindle pin name from? It appears we need to correct the docs.
Please Log in to join the conversation.
Time to create page: 0.071 seconds
