10521
General Mach Discussion / Re: Mach 3 toolchange for dummies???
« on: October 04, 2011, 08:36:13 AM »
Well just looked at the macro and think this should work
Code "G53 A" & Apos 'For turret on A-axis change Z to A
Code "G04 P1" 'Could be shorter pause or none?
Code "G53 A" & Alock 'For turret on A-axis change Z to A
Code "G04 P1" 'Could be shorter pause or none?
While IsMoving()
Wend
SetOemDRO(803,Apos) 'This bit added to set DRO back to position wanted.
Sleep 1000 'Wait for 1 second for DRO to update, could put Code "G4P1" instead if wanted
Hood
Code "G53 A" & Apos 'For turret on A-axis change Z to A
Code "G04 P1" 'Could be shorter pause or none?
Code "G53 A" & Alock 'For turret on A-axis change Z to A
Code "G04 P1" 'Could be shorter pause or none?
While IsMoving()
Wend
SetOemDRO(803,Apos) 'This bit added to set DRO back to position wanted.
Sleep 1000 'Wait for 1 second for DRO to update, could put Code "G4P1" instead if wanted
Hood