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 or Create an account 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.
The following user(s) said Thank You: zu4lu

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

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

Please Log in or Create an account 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
The following user(s) said Thank You: zu4lu

Please Log in or Create an account 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.
The following user(s) said Thank You: rodw

Please Log in or Create an account 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
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.072 seconds
Powered by Kunena Forum