Hello Guest it is April 19, 2024, 07:33:10 AM

Author Topic: I am having plate alignment back to origin problem  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

I am having plate alignment back to origin problem
« on: May 18, 2017, 03:51:56 AM »
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