3D Touch Probe Macro/settings

Post anything you want to discuss with others about the software.

3D Touch Probe Macro/settings

Postby Amateur » Sun Sep 24, 2023 7:56 pm

Dear Uccnc users

I have been using UCCNC for some time now and am in the process of a machine upgrade. I am building a new z-axis and this time there will be a fixed place for a 3D touch probe next to the spindle. Using a pneumatic cylinder, the touch probe will come down and I can measure workpieces without changing the cutter. I saw this idea on youtube by another UCCNC user. The problem I run into is that there is an offset between the tip of touch probe and the axis of rotation of the spindle.
Example: https://youtube.com/shorts/cIEOaUCYYTM?si=wlgbQko_W_PLYL-g

Now I want to create my own macro that does the following:
1. Locate the machine with the cutter at the place where I want to measure
2. Start probing via UCCNC probing screen or invoked via Gcode
3. Machine moves with predetermined offset so that touch probe lands on the X and Y coordinates of the predetermined location
4. Touch probe comes down
5. Probing
6. Touch probe rises again
7. All offsets are neatly noted and implemented.
8. Machine moves cutter back to original position

Step 1, 3-8 I can figure out on my own with a lot of trial and error, but I was wondering if it is at all possible for this to happen automatically with every touch probe use, or do I have to write a macro for each probe movement instead of the standard probing screen.
I hope someone can help me and that I am not asking things that are impossible. Thanks in advance

Bas
Amateur
 
Posts: 1
Joined: Sun Sep 24, 2023 7:27 pm

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 29 guests