Need help connecting vfdmod and Qtdragon_HD

More
08 Dec 2022 23:49 #258937 by dashy81
Hey Folks... Thankyou so much for this thread. I'm trying to setup yl620a... By following the thread I could reach to a point where I edited my axis configuration with the steps listed by @oficinerobotica. UI comes up I can see spindle controls.

However, I could not get it to run any gcode as it gets stuck after rapids and spindle start. I suspect it could be due to older overrides in the AXIS configuration which I took as base ?

Would anyone be kind enough to share the config folder to me to check whats needed and whats not.

Another issue I have is that pncconf does not show me qtdragon_hd option to configure. However I have it installed in /usr/share/xxx.
what shall I do so that I can get this option in pncconf .

Pls suggest. I've been following multiple tries.

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

More
09 Dec 2022 15:37 #259007 by andypugh

However, I could not get it to run any gcode as it gets stuck after rapids and spindle start. I suspect it could be due to older overrides in the AXIS configuration which I took as base ?

This sounds like a problem with spindle-at-speed. 

Have a look in your HAL file to see what is connected to spindle.0.at-speed (and also what is connected to that, and so on)
 

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

More
09 Dec 2022 20:33 #259041 by dashy81
Thanks... I've done a clean qtdragon pncconf install and then changed to qtdragon_hd.
In the last step in my configuration I do not have a postgui_call_list.hal file. Instead I have custom_postgui.hal, qtvcp_postgui.hal files.


Step6:

#6 Add

source vfd.hal

to the postgui_call_list.hal file.

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

More
09 Dec 2022 21:00 - 09 Dec 2022 21:01 #259043 by dashy81
Ok... so I added it to custom_postgui.hal. But on cyclestart after rapids machine gets stuck with spindle on.
Attached screenshot. It shows line where it gets stuck.
Attachments:
Last edit: 09 Dec 2022 21:01 by dashy81.

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

More
10 Dec 2022 00:24 #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
10 Dec 2022 02:54 #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
10 Dec 2022 11:11 #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 :
https:/easyupload.io/u91hoz

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

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

More
10 Dec 2022 14:52 #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
10 Dec 2022 16:08 #259101 by RobC
Your vfd.hal has this line
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
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
net spindle-at-speed    => spindle.0.at-speed
or more likely will be
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
10 Dec 2022 19:03 #259123 by andypugh
If the VFD mod outputs an at-speed signal then
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.100 seconds
Powered by Kunena Forum