I am trying to add back to origin function to plate alignment macros, using gcode G00X00Y00, but no matter how to insert , the function still not yet get functionable. Pls help
If AngleAbs > AngleLimit Then
MachMsg ("Material is outside of alignment limits.","Warning Message...",MachMsgTypeOK)
Call SetUserLED(PlateAlignment,0)
Message"Plate Alignment Canceled"
Else
Angle = AngleAbs*m
Call SetOEMDRO(MachRotationOEMDRO,-Angle)
path = GetMainFolder() & "macros\neuron\PlateAlignmentBackup.m1s"
Open path For Output As #1
Print #1, GetOEMDRO(MachRotationOEMDRO)
Close #1
Message"Plate Alignment Done" <<Trying to add here>>
DoOEMBUTTON(160) 'Regen toolpath
End If