QtDragonHD tool sensor help for a maker space

More
2 years 10 months ago #289453 by cmorley
I need it broken down all the way down to machine integrator.

-tool probe the spindle face on the tool setter: gives a g53 number that will be setter height that is the reference to the spindle face.

-probe the tool setter with the spindle probe: gives me the spindle probe length. Will use this later to probe the work height.

-tool probe each tool on the tool setter. then (spindle probe length - probed length) = tool table tool length

- probe the work piece: (probed workpiece height - spindle probe length) = user origin offset

I must be getting close...

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

More
2 years 10 months ago - 2 years 10 months ago #289462 by warwickben
Believe that's right. Should all be based off the spindle…

Math should be (spindle) - (tool length) = comp value
Value are g53 location
spindle length -10
tool length -12
(-10) - (-12) = 2 which would have the spindle 2 inches higher for that tool.
Think of the spindle probe just as if it is any other tool. If the probe sticks out 2"  inches .... you probe g54z you would - 2 inches from the g53 value as if the spindle is touching.  So if you crash the probe later, your tool off sets are still right because they are based on the spindle vs the probe.   Also allows you to use that tool pocket for another tool after setting WCS.    Why path pilot for example tool change button on screen is labeled m6 g43         

Depending on how the tool table is show. I.e. the offset value is positive. The operator can just add to raise or minus to lower to fine tune. If you list the g53 position as length, the wear column, you use a positive to raise and negative to lower. So  that formal you just add +(wear value) to the end.
Last edit: 2 years 10 months ago by warwickben.

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

More
2 years 10 months ago #289467 by JohnnyCNC
I have been trying to get my M6 Remap with auto tool measurement working since moving to 2.9.2 and QTDragon_HD.   I had this working in 2.8.4 with QTDragon.  There were a couple of things I didn't like the way I did it. but it worked really well.   I attached a document that I wrote at the time describing the process.  I hope to do this all in Python this time and not use G59.3 for the tool setter. I have a mix of fixed and variable length tools and I only want to measure the variable length ones.

I agree that it should be based off of the spindle.  If you know where it is in space when the spindle nose trips the tool setter and know where in space the tool trips the tool setter, it just math after that.

 

Your browser does not support embedded PDFs. Please download the file here: Download PDF.



I will be glad to help with any testing on this work.  
John
 

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

More
2 years 10 months ago - 2 years 9 months ago #289502 by warwickben
Cmorley
FYI, I was able to get time and start from scratch with 2.9.2
Versa probe no longer has errors etc.

I can now test out any code , and can share any files you want.
Last edit: 2 years 9 months ago by warwickben.

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

More
2 years 9 months ago #289590 by warwickben
also i think i messed up when i typed the math out. think it should be tool length - spindle length. i was half awake when i typed that out.

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

More
2 years 9 months ago #289638 by cmorley
Ok if you are interested in testing...

Need to add these files in to the appropriate folders. I assume you have an installed version.
I would keep copies of the old files to go back. Need to use sudo to modify these folders.
(rename the supplied files)
/usr/lib/python3/dist-packages/qtvcp/widgets/probe_routines.py

/usr/share/qtvcp/widgets_ui

If all goes well the button will work for 'probe height of the current tool'
You need to have 'probe height' set from the spindle face.
'tool probe toolsetter height' button will do this (it just probes straight down).
after that:

You need to choose a tool first of course.
need to manually set the Z height over the toolsetter
If you set the diameter of the tool and it's bigger then the tool setter diameter it will first move the radius in X.
it will double probe in Z and then pop up clear a bit.
The tooltable should show the new Z offset and the status will show the probed heights.

Please test carefully.
Hopefully the math is right and we can fine tune the routine.

Chris

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

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