Inconsistent values from Versaprobe

More
1 year 10 months ago #317238 by MaHa
In the ini, under Versaprobe there is Diameter. Maybe you can add below HEIGHT = nnn and use it as #<_ini[VERSA_TOOLSETTER]HEIGHT>
It could look like this:
Code:
#<tool_length> = ABS[ABS[#<_ini[VERSA_TOOLSETTER]Z_REF>] - #<zworkoffset> + #<_ini[VERSA_TOOLSETTER]HEIGHT>]
The following user(s) said Thank You: gardenweazel

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

More
1 year 10 months ago #317254 by gardenweazel
I tried what you recommended, this time after the back-off touch, nothing happened and the spindle just sat there with no movement. Although no error.

For some crazy reason I also lost control of my WHB04B-4 MPG. Incredibly annoying!

As an FYI in versaprobe routine there is a BLOCKHEIGHT and PROBEHEIGHT which is what I suspect that you're eluding to here.

I'd like t o hear from ANYONE who's is successfully using VersaProbe successfully using the master.

Realistically, I simply want an error free manual tool change with minimal error margins.

Thanks @MaHa!

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

More
1 year 10 months ago - 1 year 10 months ago #317266 by seebaer1976

Can you try to replace this 2 lines from

Code:
#<zworkoffset> = [#5063 + #[5203 + #5220 * 20] + #5213 * #5210] #<tool_length> = [#<zworkoffset> - #<_ini[VERSA_TOOLSETTER]Z_REF>]
to

Code:
#<zworkoffset> = [#5063 + #[5203 + [#5220 * 20]]] #<tool_length> = ABS[ABS[#<_ini[VERSA_TOOLSETTER]Z_REF>] - #<zworkoffset>]
 
point calculation before line calculation

here the square bracket was wrong, maybe that also leads to calculation errors
#<zworkoffset> = [#5063 + [#5203 + [#5220 * 20]]]
Last edit: 1 year 10 months ago by seebaer1976.
The following user(s) said Thank You: gardenweazel

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

More
1 year 10 months ago #317269 by Aciera

here the square bracket was wrong, maybe that also leads to calculation errors
#<zworkoffset> = [#5063 + [#5203 + [#5220 * 20]]]

You need to be careful with parameter index vs parameter value:
this will add the index offset of the currently active work offset system to the _value_ of parameter 5203 (which is what you do not want here):
Code:
[#5203 + [#5220 * 20]]

while this will add the index offset to 5203 to get the parameter index of the z-offset for the currently active work offset system and thus will give the value of the currently active work offset system (which is what is needed here):
Code:
#[5203 + [#5220 * 20]]
The following user(s) said Thank You: gardenweazel

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

More
1 year 10 months ago #317280 by MaHa
Did you ever get past reprobe? There is no backoff move, then is G43 called and at least G53 Z0, which makes no sense to call G43, while toolseter trigered. First i would cleanup this file with all commented lines and debug,  or do indentation, to make the executed code visible.
When the machine stalled, did it write toollength before?
For testing i always start from terminal. If necessary just close the terminal, and start new.
 
The following user(s) said Thank You: gardenweazel

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

More
1 year 10 months ago #317304 by gardenweazel
"When the machine stalled, did it write toollength before?"

No it did not.

I will check again shortly. Although, I'd realistically like to see someone's qt_auto_probe_tool.ngc file that
has the versaprobe routines successfully running.

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

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