Hybrid View
-
25-10-2017 #1
AUTO TOOL ZERO SCRIPT:-
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 - 300 'probe down 20 mm
Code "G90F500" '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 dr.lin 2009.10.16
-
27-10-2017 #2
This thread can be closed now.
All resolved thanks to Mr Neale.
Thank you again for all your guidance.
Tim
-
27-10-2017 #3
This thread can be closed now.
All resolved thanks to Mr Neale.
Thank you again for all your guidance.
Tim
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Manual Tool Change
By Kev2960 in forum General DiscussionReplies: 11Last Post: 24-10-2017, 10:11 AM -
WANTED: Coventry easy change tool holders
By Benja in forum Items WantedReplies: 0Last Post: 01-07-2017, 02:04 AM -
Ignoring tool change
By dudz in forum Machine DiscussionReplies: 6Last Post: 15-02-2014, 06:34 PM -
Mach3 Tool Change Position
By Mad Professor in forum Artsoft Mach (3 & 4)Replies: 7Last Post: 15-07-2013, 06:54 PM -
WANTED: Tool holders for T2 (I think) quick change toolpost
By Jonathan in forum Items WantedReplies: 22Last Post: 07-05-2011, 10:30 AM
Bookmarks