qtvcp-hd 2.10 spindle-auto-raise error

More
3 years 5 months ago #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

Please Log in to join the conversation.

More
3 years 5 months ago #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.

Please Log in to join the conversation.

More
3 years 5 months ago #271213 by zu4lu
s32, sounds like float? (edited: now the right screenshot, sorry)

Please Log in to join the conversation.

More
3 years 5 months ago #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

Please Log in to join the conversation.

More
3 years 5 months ago #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.

Please Log in to join the conversation.

More
3 years 5 months ago #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

Please Log in to join the conversation.

More
3 years 5 months ago #271270 by cmorley
I did quite a bit of work to this. I updated the docs a bit too.

Please Log in to join the conversation.

More
3 years 5 months ago #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 to join the conversation.

More
3 years 5 months ago #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"

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum