Need help connecting vfdmod and Qtdragon_HD

More
3 years 10 months ago #259150 by dashy81
Thanks...I think you are looking at old files... pls look at the link I provided. containing zipped files. https:/easyupload.io/u91hoz

Please Log in to join the conversation.

More
3 years 10 months ago #259151 by dashy81
Thnakyou Rob But as Andy mentioned later guess thats not needed, But I'll still give it a try.

Please Log in to join the conversation.

More
3 years 10 months ago #259154 by tommylight
Pleas upload the files here on this forum, not on third party sites.
Thank you.

Please Log in to join the conversation.

More
3 years 10 months ago #259156 by dashy81
Thanks Andy.... I've a working AXIS configuration with vfdmod. It works as it is without any issues( github.com/xsnoopy/LinuxCNC-Yalang-yl620...s485-Modbus---VFDmod ). I tried comparing it to my qtdragon_hd config but due to lack of expertise on lcnc could not compare them as files are not same. This one  which is mentioned at the very first post of this thread.... Before moving to qtdragon_hd I've used it and found it to be working fine.

So I'll check same signal there and update. Also I'll post the working AXIS configuration files, for experts to compare as both are on same yl620a and on same machine. One working other not.

Please Log in to join the conversation.

More
3 years 10 months ago #259157 by cmorley
Thanks for the zipped files. I now see that all the right files are loaded.
I believe your vfd communication is not working properly.
I see in your HAL pile you are using the VFD to send speed feedback to linuxcnc and qtdragon is not seeing it either.

again start qtdragon open halmeter and look at pin vfdmod.spindle.rpm-out.
It should show RPM when you start the spindle - even manually.

In fact I would look at all the vfdmod pins with halmeter to see if their state/change of state is making sense.

Chris

Please Log in to join the conversation.

More
3 years 10 months ago #259161 by cmorley
Code:
#AXIS net spindle-forward vfdmod.control.run-forward spindle.0.forward net spindle-reverse vfdmod.control.run-reverse spindle.0.reverse net spindle-speed-in vfdmod.spindle.rpm-in spindle.0.speed-out-abs net spindle-speed-out vfdmod.spindle.rpm-out spindle.0.speed-in pyvcp.rpm-out

Code:
#QTDragon net spindle-cw spindle.0.forward => vfdmod.control.run-forward net spindle-ccw spindle.0.reverse => vfdmod.control.run-reverse net spindle-speed spindle.0.speed-out => vfdmod.spindle.rpm-in net spindle-speed-fb  <= vfdmod.spindle.rpm-out

I see axis uses spindle.0.speed-out-abs, qtdragon doesn't.

Also in axis, vfdmod.spindle.rpm-out goes directly to spindle.0.speed-in,
which is actually probably not right - spindle.0.speed-in is expected to be RPS not RPM.
In qtdragon I believe it's scaled right but named badly (scale_to_rpm)

Please Log in to join the conversation.

More
3 years 1 month ago #279561 by looping
Hello
I followed this thread to connect my huanyang 2.2kw using hy_vfd.
But error-count and .retval for error management are parameters, not pins.
Is there a way to connect then to Qtdragon_hd display ?

Please Log in to join the conversation.

More
3 years 1 month ago #279607 by cmorley
Do I understand right - the VFD driver has output parameter pins?

You could change to pins in the VFD driver (and recompile)
you could modify qtdragon to read the parameter pins programmatically rather then connect with pins (means modifying qtdragon a bit)

Please Log in to join the conversation.

More
3 years 1 month ago #279653 by looping
... Installing dev tools
Modifying hy_vfd
 

Please Log in to join the conversation.

More
3 years 1 month ago #279719 by looping
To be able to link hy_vfd directly to QtdragonHD
Also added spindle_speed_fb_rps to get ride of : "loadrt scale names=scale_to_rpm"

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum