Hello Guest it is November 19, 2019, 12:25:57 AM

Author Topic: G28,M47 broke ?  (Read 4822 times)

0 Members and 1 Guest are viewing this topic.

G28,M47 broke ?
« on: May 06, 2014, 02:59:25 PM »
MDI G28 does nothing.
M47 rewinds but does not repeat.
 :)

Offline smurph

*
  • *
  •  1,149 1,149
  • "That there... that's an RV."
    • View Profile
Re: G28,M47 broke ?
« Reply #1 on: May 06, 2014, 03:32:41 PM »
Sim does not do G28 at this time.

M47 is replaced by M99.  Forget everything you knew of M47.  :)

Steve

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G28,M47 broke ?
« Reply #2 on: May 06, 2014, 04:59:42 PM »
G28 /30 does work here It goes to the way point then back to 0,0,0. I just do not know the parameters to set for G30 P2-4 so I cannot test that part.

There is just NO g28.1

Just a thought, (;-) TP
Re: G28,M47 broke ?
« Reply #3 on: May 06, 2014, 05:10:54 PM »
Well Sh*t ... there it is (M99) right there in the manual .... my fault, sorry.  :P
(I hate it when that happens)   ::)


Thanks,
Russ

Steve, can you narrow it down to what specific aspects of Mach4 you are most interested in getting exercised for testing ? (if any)
Actual running of code ?
As mentioned, screen issues can wait.
Special requests for convenience/preference could maybe wait ?

Just want to optimize all efforts in order to expedite reaching your goal as efficiently as possible.
You've probably got some pretty big fish to fry, saute' the minnows later.  :)

Thanks again,
Russ
 :)
Re: G28,M47 broke ?
« Reply #4 on: May 06, 2014, 05:12:42 PM »
G28 /30 does work here It goes to the way point then back to 0,0,0. I just do not know the parameters to set for G30 P2-4 so I cannot test that part.

There is just NO g28.1

Just a thought, (;-) TP

neither work here T, 28 or .1,
 are you on the new release ?
Russ

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G28,M47 broke ?
« Reply #5 on: May 06, 2014, 05:30:56 PM »
New release, Tested G28 and G30 both seem to work correctly I just cannot preset the G30 P2-4 parameters to create the GOTO Point.  I can shift the G28 position with refall then offset. It returns to true home

If you type in G28 X10 Y10 It will then Goto the way point of X10 Y10 Then return back to home at 0,0.

Same with G30 just no way to set teh G30 Pxx positions. still looking

(;-) TP

Re: G28,M47 broke ?
« Reply #6 on: May 06, 2014, 06:18:23 PM »
Hello Terry
The registers for the G30 are as follows:

 G_30_XPOS   5181
 G_30_YPOS   5182
 G_30_ZPOS   5183
 G_30_APOS   5184
 G_30_BPOS   5185
 G_30_CPOS   5186

 G_30_P2_XPOS   5301
 G_30_P2_YPOS   5302
 G_30_P2_ZPOS   5303
 G_30_P2_APOS   5304
 G_30_P2_BPOS   5305
 G_30_P2_CPOS   5306

 G_30_P3_XPOS   5311
 G_30_P3_YPOS   5312
 G_30_P3_ZPOS   5313
 G_30_P3_APOS   5314
 G_30_P3_BPOS   5315
 G_30_P3_CPOS   5316

 G_30_P4_XPOS   5321
 G_30_P4_YPOS   5322
 G_30_P4_ZPOS   5323
 G_30_P4_APOS   5324
 G_30_P4_BPOS   5325
 G_30_P4_CPOS   5326

That should help you
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G28,M47 broke ?
« Reply #7 on: May 06, 2014, 09:16:52 PM »
Thank You Brian that helps a lot. The more parameters I have on hand the Better conditional Gcode looks.

Is there a way to pull all the parameters out for a parameters list??

(;-) TP

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G28,M47 broke ?
« Reply #8 on: May 06, 2014, 10:28:47 PM »
Works here I tested both modes G90 /G91 with P1 P2 P3 P4. XYZA

Now a question (;-) would it be possible to USE the G30 with or without the waypoint move from a parameter call instead of the G90/G91 flip flopping. Mach3 was nice being able to turn OFF the Waypoint move.

Say #*********x = 1 is ON   #*********x = 0 is OFF

Sometimes that way point move is nice to have and sometimes it is a pain in the rear programming wise.

(;-) TP
Re: G28,M47 broke ?
« Reply #9 on: May 06, 2014, 11:11:57 PM »
Sorry, we are going to stick with the standard way point convention. I know it is odd but it is what we have all lived with for years.

Now if you would like to move to a position of the G30 you could look up the registers and do a g53.

G0 g90 G53 X[5181] Y[5182] Z[5183]

Not tested but it should work..  I use G53 because I hate G28 / G30
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com