Hello Guest it is April 24, 2024, 06:47:20 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Fabio

Pages: 1
1
General Mach Discussion / Re: Auto tool zero
« on: April 20, 2007, 01:47:57 PM »
Hood,
thanks a lot
Fabio

2
General Mach Discussion / Re: Auto tool zero
« on: April 20, 2007, 01:18:42 PM »
Hey Hood, what is the old designer program?where I can find it?
thanks,
Fabio

3
General Mach Discussion / Re: Auto tool zero
« on: April 20, 2007, 11:36:02 AM »
Hy Brian,
probaly I have an old version, because I don't have found Edit Button script, but only VB Script Editor.
Can I use this in the same way? thanks Fabio

4
General Mach Discussion / Auto tool zero
« on: April 20, 2007, 07:16:51 AM »
Hey, I'm new.

I want to use Auto tool zero with a microswitch and I have found this macro, but I don't have experience.
Can anyone explain me how to link the button and the macro? Which kind of extension needs?

Ciao and thank a lot

Fabio
'
Z zeroing macro by Scott Worden - Timber Lake Creations (and a little "Probe Var" tip from Brian ;-).
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness = GetUserDRO(1151) 'You could put your z-plate thickness here instead
ProbeFeed = GetUserDRO(1152) 'You could put a probing feedrate here instead.
Code "G90 F" &ProbeFeed
If GetOemLed (825)=0 Then
Code "G4 P5" 'Time to get to the z-plate
Code "G31Z-5 F" &ProbeFeed
While IsMoving()
Wend
Code "G4 P0.25"
ZProbePos = GetVar(2002)
Code "G0 Z" &ZProbePos
While IsMoving ()
Wend
Call SetDro (2, PlateThickness)
Code "G4 P0.5" 'Pause for Dro to update.
Code "G0 Z2.0" 'Change the Z retract height here
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If

Pages: 1