Author Topic: Auto recovery  (Read 654 times)

0 Members and 1 Guest are viewing this topic.

Offline RobotRon

  • Newbie
  • *
  • Thank You
  • -Given: 18
  • -Receive: 0
  • Posts: 26
Auto recovery
« on: May 07, 2017, 03:30:50 PM »
Anyone written an auto recovery for these yet?

Offline bsrr

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 9
  • Posts: 62
Re: Auto recovery
« Reply #1 on: May 11, 2017, 07:04:33 AM »
Below is Homing routine example

MOVEX A=2,AC=0,SM=3,M1J,P,P*,R=20.0,H=1,MS
IF O31=1 THEN *Home_Pos ELSE *Check Current Angle
*Check Current Angle
GETANGLE V80!
IF V80!<>45 THEN *GO_up_in_Z ELSE *Home_Pos
*GO_up_in_Z
R5 = (0,0,50,0,0,0)
MOVEX A=8,AC=0,SM=3,M1J,P,P*+R5,R=20.0,H=1,MS
*Home_Pos
MOVEX A=2,AC=0,SM=1,M1J,P,(89.06,130.38,-54.35,0.42,14.08,201.49),R=20.0,H=1,MS   'HOME
END