Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: zeeschuim on February 28, 2016, 03:01:19 PM

Title: offset tool
Post by: zeeschuim on February 28, 2016, 03:01:19 PM
How can give an offset in X and Y direction on a tool like this one?

http://www.veldmanslijptechniek.nl/aggregaten/freesaggregaten/5449-freesaggregaat-1-er25-/-iso30.html (http://www.veldmanslijptechniek.nl/aggregaten/freesaggregaten/5449-freesaggregaat-1-er25-/-iso30.html)
Title: Re: offset tool
Post by: zeeschuim on February 28, 2016, 03:18:35 PM
G92 does the trick! ;D
Title: Re: offset tool
Post by: zeeschuim on February 28, 2016, 05:41:30 PM
And now, how to get this offset only for for tool 8 working? ???
Is M6end therefor a good place?
With a if else:
Code: [Select]
If GetOemDro824 = 8 Then
Code "G92 X100"
Else
Code "G92.1"
End If