1081
General Mach Discussion / Re: Z moves down after Ref All home and hits base
« on: January 14, 2020, 04:56:26 AM »
then Config -> Homing/Limits -> Home Neg. seams to be wrong
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.
DoButton( 24 )
While IsMoving
Wend
code"(Z Axis is Referenced)"
code"G4 P.1"
DoButton( 22 )
While IsMoving
Wend
code"(X Axis is Referenced)"
code"G4 P.1"
RefCombination ( 10 )
While IsMoving
Wend
code"(Y Axis is Referenced)"
code"G4 P.1"
While IsMoving
Wend
If(GetOEMLED(23)=false) Then 'This will turn on the softlimits on
DoOEMButton(119)
End If
While IsMoving
Wend
code"(All Axis are Referenced)"
While IsMoving
Wend
code"G4 P.1"
While IsMoving
Wend
Code"(Moving to Home Position)"
Code"G28"
While IsMoving
Wend
DoButton(7)
While IsMoving
Wend
Code"G4 P.1"
While IsMoving
Wend
Code"(X and Y axis are Homed and Zeroed)"
but then I have found this topics, and here is also Yaxis lathe.
http://www.machsupport.com/forum/index.php?topic=21851.0
So Can and If yes, how to use this M6 macro to work with my machine.
toolpos1 = GetOemdro(1001)
toolpos2 = GetOemdro(1002)
...
...
If (toolnew = 1)then
Call Code("G0 G53 X105 Y4.5"&(toolpos1))
While ismoving()
Sleep 100
Wend
End If
Call Code("G0 G53 X105 Y4.5"&(toolpos1))