Touch Plate/Tool Setter Test

  • Project_Hopeless
  • Project_Hopeless's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
09 Sep 2020 01:47 #181351 by Project_Hopeless
Touch Plate/Tool Setter Test was created by Project_Hopeless
I'm taking a chance on an inexpensive tool setter similar to this but much cheaper.

Tool Setter

I thought I came across a post on this site where someone modified their touch plate routine to perform multiple reads and store the results to a file.

I just started to setup for an auto Z touch-off button in Axis. While I'm at it I'd like to add the check/test function.

Can anyone provide link(s)?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Oct 2020 17:33 #184855 by tommylight
Replied by tommylight on topic Touch Plate/Tool Setter Test
Bumping this in case someone who can help missed it.
The following user(s) said Thank You: Project_Hopeless

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

  • Project_Hopeless
  • Project_Hopeless's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
06 Oct 2020 00:36 #185022 by Project_Hopeless
Replied by Project_Hopeless on topic Touch Plate/Tool Setter Test
I have the auto touch-off subroutine working now.

I did find in the Probe section Probe Logging. Doesn't look too difficult, I'm going to give that a whirl!

This test is not urgent, just more of a curiosity how consistent my inexpensive tool setter is. :)

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

  • Project_Hopeless
  • Project_Hopeless's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
24 Oct 2020 00:13 #187052 by Project_Hopeless
Replied by Project_Hopeless on topic Touch Plate/Tool Setter Test
Success!

Tool Setter Video

Ignore the video shake, that something weird with the iPhone video.

For my purposes this tool setter is not bad for $18. The over travel protection did come in handy :)

On center I'm getting +-2 10thou. For a 1/4" bit if I'm off 1/2 the diameter I'm still +- 1.3 thou.

Results Graph

My code is not elegant but it works.
o<tool_setter_test> sub
; rev. 2
;
; predefined values
#1=6.35         (tool diameter in mm 1/4")
#9=150          (locate speed mm/min.)
#10=50          (Probe speed mm/min.)
#11=500         (retract speed mm/min.)
#12=800         (rapid speed mm/min.)
#20=5           (number off center points >> polar array size >> or set to 4 for rectangle tool setter)
#21=3           (repeat array measures)
#22=[360/#20]   (array angle)
#23=4           (cumulative angle)
#24=4           (tool diameter divisions 1/4, 1/2, 3/4 etc.)
#100=[#20*#21]  (loop limit center test)
#101=0          (loop counter)
#102=[#20*#21]  (total measures off center test)
#103=[#1/#24]   (loop counter off center array)
;
; Set the Reference Zero to compare all additional measurements 
G21 (use metric G21)
G10 L20 P0 Z0 ( Set current Z position to 0 so Z probe motion is down )
G38.2 Z-25 f#9 (move fast towards tool setter and locate)
G91 (Incremental distance mode)
G1 Z3 f#11 (Rapid Z up 3mm)
G38.2 Z-25 f#10 (move slow towards tool setter and set reference zero w/error detect)
;G38.3 Z-25 f#10 (move towards tool setter and set reference zero w/o error detect in sim mode)
G10 L20 P6 X0 Y0 Z0 ( Set X,Y,Z=0 at point where probe triggers with offset of 0 reference)
;
G90 (absolute distance mode)
G59 G0 (coordinate system #6 P6 G59)
G91 (Incremental distance mode)
G1 Z3 f#11 (Rapid Z up 3mm)
;
(LOGOPEN,tool_setter_test_results.txt)
;
; Tool On Center Probe Loop
O1 while [#101 lt #100]
    ; 
    ;G38.3 Z-5 f#10 (probe w/o error detect in sim mode)
    G38.2 Z-25 f#10 (probe w/error detect)
    ;
    ;( store position data)
    (LOG,G1 #101 X#5061 Y#5062 Z#5063 G54 X#5321 Y#5322 Z#5343)
    ;
    G91 (Incremental distance mode)
    G1 Z3 f#11 (Rapid Z up 3mm)
    ;
    #101=[#101+1]
    ;
O1 endwhile
;
O3 while [#103 LE #1]
    #101=0 (loop counter reset)
    ;
    O2 while [#101 lt #102]
        G90 (absolute distance mode)
        G1 X[#103*SIN[#23]] Y[#103*COS[#23]] f#11     
        G38.2 Z-5 f#10 (probe w/error detect)
        ;G38.3 Z-5 f#10 (probe w/o error detect in sim mode)
        (LOG,G1 #101 X#5061 Y#5062 Z#5063)
        G1 Z3 f#11 (Rapid Z up 3mm)
        ;
        #101=[#101+1]   (counter inc)
        #23=[#23+#22]   (angle inc)
    O2 endwhile
    ;
    #103=[#103+#1/#24]  (counter/dia inc)
    #23=0               (cumulative angle)
O3 endwhile
;
(LOGCLOSE)
;
G90 (absolute distance mode)
G1 X0 Y0 f#11     
;
G54
o<tool_setter_test> endsub

Cheers!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum