Trying to reconnect HY_VFD after LinuxCNC version change
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
- Thank you received: 28
22 Mar 2020 01:04 #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 filewith an error at startupI 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
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
Pin 'spindle.0.is-on' does not exist
Have you got any idea to solve this ?
Please Log in or Create an account to join the conversation.
24 Mar 2020 11:39 #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 or Create an account to join the conversation.
26 Mar 2020 22:42 #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 or Create an account to join the conversation.
Time to create page: 0.063 seconds