Need help connecting vfdmod and Qtdragon_HD

More
3 years 10 months ago #259054 by dashy81
Attaching my current ini and hal files. I'm just one step away.... I'd appreciate if someone can have a look at the files. possibly its a simple mistake but for me I'm just starting in linuxcnc so unable to find it.

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

More
3 years 10 months ago #259062 by cmorley
I think you should confirm that your VFD is sending an 'at-speed' signal.
start linuxcnc and in the settings page of qtdragon you can load halmeter.
set halmeter to read the pin: vfdmod.spindle.at-speed

Then run the program and see if the pin state changes when it should.

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

More
3 years 10 months ago #259079 by dashy81
I think you are right.... the signal you mentioned is false always.... but I can see the green led lit when spindle starts and gets stuck. Attaching image of halmeter reading and UI status. It always gets stuck at the line shown in the image.

I'm also attaching the full configuration here :
Code:
https:/easyupload.io/u91hoz

Please have a look guess we are inching closer towards a solution :-)

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

More
3 years 10 months ago #259097 by cmorley
It is not clear to me that the file vfd_2022-12-09.hal is even loaded.
nor custom_2022-12-09.hal
These fie need to be added to the INI as:
POSTGUI_HALFILE = vfd_2022-12-09.hal
or else the text in those files need to be added to qtvcp_postgui.hal or custom_postgui.hal
The following user(s) said Thank You: dashy81

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

More
3 years 10 months ago #259101 by RobC
Your vfd.hal has this line
Code:
net spindle-at-speed vfdmod.spindle.at-speed => spindle.0.at-speed
and then spindle-at-speed is not found anywhere else in any of your files. I have that same line but I also have
Code:
net spindle-at-speed    => spindle.0.at-speed
in my machine.hal file, qt_dragon_clean.hal in your case. There are some spindle nets in your hal, but none to do with speed. I would experiment with adding
Code:
net spindle-at-speed    => spindle.0.at-speed
or more likely will be
Code:
net spindle-at-speed    => halui.spindle.0.at-speed
. I use axis and a parport so our files are wildly different, but that's the only at-speed difference I could find.
The following user(s) said Thank You: dashy81

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

More
3 years 10 months ago #259123 by andypugh
If the VFD mod outputs an at-speed signal then
Code:
net spindle-at-speed vfdmod.spindle.at-speed => spindle.0.at-speed

Should be all that is needed.

But it is certainly worth checking that it does set to true when the spindle is at speed using a halmeter (in the machine menu with the Axis interface)
The following user(s) said Thank You: dashy81

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

Moderators: cmorley
Time to create page: 0.294 seconds
Powered by Kunena Forum