Thread: Plasma floating head...
Threaded View
-
03-02-2014 #17
What would this code do if place into the M3 command in mach...
DoOEMButton (1010) 'reset z DRO
Code "G4 P1" 'wait
Code "G31 Z-100 F250" 'probe surface
While isMoving()
Wend
ZprobePos = GetVar(2002) 'get contact point
Code "G0 Z" &ZprobePos 'return to point to remove overshoot
While IsMoving()
Wend
DoOEMButton (1010) 'reset z DRO
Code "G4 P1" 'wait
Code "G0 Z20" 'remove floating head travel
DoOEMButton (1010) 'reset the z DRO
Code "G4 P1" 'wait
.....continue on with normal M3 stuff
Would that not probe the surface and leave my Z DRO at zero ready for the M3 command to complete?
This is all theory but I do write VB programs in my day job and it seems very similar
Thread Information
Users Browsing this Thread
There are currently 11 users browsing this thread. (0 members and 11 guests)
Similar Threads
-
NEW MEMBER: In over my head
By Tele45 in forum New Member IntroductionsReplies: 8Last Post: 03-01-2014, 02:30 PM -
advice on floating bearing - outer ting rotating
By dsc in forum Lead Screws, Nuts & SupportsReplies: 8Last Post: 18-11-2013, 02:23 PM -
ballnut housing and floating end ballscrew assembly
By dsc in forum Lead Screws, Nuts & SupportsReplies: 12Last Post: 12-07-2013, 08:22 AM -
non-locating / floating bearing - shaft location
By dsc in forum Linear & Rotary MotionReplies: 5Last Post: 28-06-2013, 10:07 PM -
Driving floating end (ballscrew)
By blackburn mark in forum Lead Screws, Nuts & SupportsReplies: 16Last Post: 11-09-2010, 11:55 AM
Bookmarks