Trying to reconnect HY_VFD after LinuxCNC version change

More
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 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
with an error at startup
Pin 'spindle.0.is-on' does not exist
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 ?

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

More
24 Mar 2020 11:39 #161343 by bbsr_5a
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
...

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

More
26 Mar 2020 22:42 #161624 by andypugh
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.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum