qtvcp-hd 2.10 spindle-auto-raise error

More
12 May 2023 06:04 #271204 by zu4lu
Hi, i followed the docs to include "Auto Raise Z Axis on Spindle Pause", but get an Error, when starting:
linuxcnc:HAL: ERROR: type mismatch 'axis.z.eoffset' <- 'eoffset' 

Michael
Attachments:

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

More
12 May 2023 08:29 #271211 by rodw
Can you comment out that problem line so you can oopen  the GUI.
Then use halshow to find the pin qtdragon.eoffset-value

And check its type. It should be float.

Sounds like Chris has something wrong but it will be good to trouble shoot a bit before he gets on the job.
You might be able to use one of the conv_ components to correct it as a temporary measure.
The following user(s) said Thank You: zu4lu

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

More
12 May 2023 08:37 - 12 May 2023 08:44 #271213 by zu4lu
s32, sounds like float? (edited: now the right screenshot, sorry)
Attachments:
Last edit: 12 May 2023 08:44 by zu4lu.

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

More
12 May 2023 09:12 #271216 by rodw
Yes, the GUI pin has the wrong type.
You can use conv_s32_float to convert to the correct type if you want to get the machine working...
linuxcnc.org/docs/2.9/html/man/man9/conv_s32_float.9.html
The following user(s) said Thank You: zu4lu

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

More
12 May 2023 16:54 #271244 by cmorley
You could leave it disconnected, it's only for display on the screen.
I will push the fix soon though - thank you for report.
The following user(s) said Thank You: rodw

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

More
12 May 2023 17:25 #271247 by zu4lu
Thanks but it is around, it needs conv_float_s32 :-), then it starts, the spindle lifts but doesn't stop. I solved it by changing:
net eoffset_clear qtdragon.eoffset-clear => axis.z.eoffset-clear
#net eoffset_count qtdragon.eoffset-count => axis.z.eoffset-counts
net eoffset-spindle-count <= qtdragon.eoffset-spindle-count
net eoffset-spindle-count => axis.z.eoffset-counts
setp axis.z.eoffset-enable 1
setp axis.z.eoffset-scale 1.0
The following user(s) said Thank You: rodw

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

More
13 May 2023 02:03 #271270 by cmorley
I did quite a bit of work to this. I updated the docs a bit too.
The following user(s) said Thank You: tommylight, rodw, zu4lu

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

More
13 May 2023 05:00 #271274 by zu4lu
First, thank you for all your great work and help (goes to @rodw too).
Second, is this the right place here for the developer-version, or should i ask on github?

Michael

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

More
13 May 2023 11:06 #271285 by zu4lu
Tested with a new git-build. Still one small error in the docs.
It should be qtdragon.eoffset-spindle-count (not qtdragon.eoffset-count), then it is working perfect, else spindle stops but doesn't lift.

"net eoffset_count qtdragon.eoffset-spindle-count => axis.z.eoffset-counts"
The following user(s) said Thank You: rodw

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

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