Thread: Mach3 Auto Tool Zero help
Threaded View
-
11-06-2017 #6
hi you can use this
FeedCurrent = GetOemDRO(818) 'Get the current settings, OEM DROs (818)=Feedrate DRO
ZCurrent = GetOemDro(802) 'OEM DROs (802)=Z DRO
GageH = GetOEMDRO(1001) 'OEMDRO(1001)=Gage Block Height
ZNew = ZCurrent - 20 'probe down 20 mm
Code "G90F100" 'slow feed rate to 100 MM/MIN
Rem Code "G4 P1" 'Pause 1 second to give time to position probe plate
Code "G31 Z" &ZNew
While IsMoving()
Sleep(10)
Wend
Call SetDro (2,GageH) 'DRO(2)=Z DRO
FinalMove = GageH + 10
Code "G0 Z" &FinalMove
Code "F" &FeedCurrent 'restore starting feed rate
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
WANTED: Boxford or Denford Lathe Auto Tool Changer
By DagnW in forum Items WantedReplies: 1Last Post: 27-03-2017, 10:45 PM -
Help Please With Auto Tool Height Mach 3 Problem
By howser37 in forum Probing, Digitizing & ScaningReplies: 26Last Post: 12-06-2014, 07:55 PM -
Z AXIS, big tex blue screen and auto tool sensor Problems
By Tomnewry in forum Artsoft Mach (3 & 4)Replies: 11Last Post: 01-01-2014, 09:01 PM -
What Spindle / Auto Tool Changer?
By Chaz in forum Tool & Tooling TechnologyReplies: 11Last Post: 01-08-2013, 10:35 PM -
how to make auto tool changer on mach3
By m.vekariya in forum Artsoft Mach (3 & 4)Replies: 1Last Post: 13-03-2013, 08:48 PM
Bookmarks