Toolsetter config question

More
13 Jan 2017 18:23 - 13 Jan 2017 18:23 #85709 by timmert
Hi

I'm working/editing a script to get my toolsetter to work. But I'm having some problems and questions.

What I've done:
Set G30 above my probe
Load a tool (my Haimer 3D taster)
First part of the script:
G49 (clear tool length comp)
G30 (go above my toolsetter)
G91 (switch to relative)
G38.2 z-240 f400 (first probe fast)
G0 Z10 (back)
G38.2 z-15 f50 (first probe slow)

Tool hits switch and stops. Good!
And now the confusion starts...
How to use the code to save the reference tool height?
Some examples: #<_ToolRefZ> = #5063 and #1000=#5063

What's the ToolRefZ standing for? Need to fill in a value?
In the second example there is a value of '1000'.
What does 5063 mean?

After trying both commands there isn't anything changing in the tool table.
But the command doesn't give any error.

When I continue with the code that is needed for other tools (not reference tool). It gives me this error: "k word with no g2 g3 g33 g33.1 g76 g87"
g30 (above switch)
g49 (measure without the last tool's offset)
g38.2 z0 f15 (measure)
g91 g0 z.2 (off the switch)
g43.1 z[#5063-#1000] (set new tool offset)
(print,new length is #5063)
Last edit: 13 Jan 2017 18:23 by timmert.

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

More
13 Jan 2017 21:45 - 15 Jan 2017 19:00 #85713 by timmert
Replied by timmert on topic Toolsetter config question
oooooh I think what's going 'wrong'.

The above code is for people who don't use different holders with tools already setup.
It won't put any information in the tool table, it just calculates the difference in height between the tools.
With a workpiece already set up.

I need something that will go to the toolsetter, hit it and put the value in the tool table

Can anyone confirm if I'm right?

edit
issue solved
Last edit: 15 Jan 2017 19:00 by timmert.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum