Hello Guest it is October 16, 2019, 01:28:06 AM

Author Topic: home sequence  (Read 10000 times)

0 Members and 1 Guest are viewing this topic.

Re: home sequence
« Reply #30 on: March 13, 2012, 12:57:00 PM »
Very good post TP ! Thanks also !

Hey Fred, I hope you got this sorted. Can you clarify your first post ?
Something just doesn't look right. ::) ???
Do you want "X" to go first ? If so, G28 X(Part coord that is = X Machine Zero) Z(current part coord pos) should do it.
Russ :)

Hello All

Mack turn on a lathe

When I do g28 for the machine to "go to home"
the first movement is on the z axis and this causes a crash into the rear tool holder
How can i code for a home (g28) to home the z axis first
it need to go z home before x home

regards

fred evans

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: home sequence
« Reply #31 on: March 13, 2012, 01:44:57 PM »
IF you use a G28 X0 Y0 call then you get a straight traverse move (combined) to home. the X will NOT move first both move at the same time.

To get what you need (IF the G28 and G30 positions are the same) I would use

G30 X0

That will Home X first THEN home Z. That way you have Safe clearnance for all axis to travel.

Other wise you would need to do

G28 X0  (home X)
G28 Z0  (home Z)

Just a thought, (;-) TP
Re: home sequence
« Reply #32 on: March 13, 2012, 02:14:53 PM »

G30 X0

That will Home X first THEN home Z. That way you have Safe clearnance for all axis to travel.


Hi TP,
 Using G30 X0 here first sends X to part 0, then X&Z simultaneously to home. Is that what you meant ?
Like your previous .... "G30 Z0 ------------------Makes a single Z move to Zero THEN all AXIS make a straight traverse move to Machine zero"


Also,
 G28 X0  (home X)
 G28 Z0  (home Z)   ...... does just as I posted earlier, the G30 is better though, much better.

Thanks,
Russ

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: home sequence
« Reply #33 on: March 13, 2012, 02:52:06 PM »
HIYA RUSS you have it correct. (;-)

Now don't forget to note how  it reacts IF you are in G91 mode when you call it ???



(;-) TP
Re: home sequence
« Reply #34 on: March 13, 2012, 02:58:17 PM »
ARGGGGHH.  :P
  I've learned enough for one day. ;)
Might have a play with it later ... out of curiousity ..
Thanks for the lesson TP.
 :)

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: home sequence
« Reply #35 on: March 13, 2012, 04:12:12 PM »
ARRGH  You just test a section then write it all down. Then do a little more the next day and before 2-3 years pass you will have tested it all.

Then Mach4 comes out and you get to start over again (;-)

(;-) TP
Re: home sequence
« Reply #36 on: March 13, 2012, 04:50:05 PM »
Double aarrrghhh,

Then Mach4 comes out and you get to start over again (;-)

I'll just wait. I hear 4 will be out real soon. ;D
Russ
Re: home sequence
« Reply #37 on: March 14, 2012, 02:08:04 AM »
Yes this has been rather amusing---  I never dreamt that my original question would
rattle the hornets nest--
I have been watching everyones observations with interest-- and  decided that
i would wait until it cooled down a bit and then carefully go through the whole topic-
absorbing it all word for word

Thank you all for your input and i hope the above explains my silence.

Your question-- Yes i am hoping to be able to get X home before Z moves
( just get the tool away from danger)

Best regards

fred
think of the trees-- use both sides of the computer paper
Re: home sequence
« Reply #38 on: March 14, 2012, 01:29:19 PM »
---  I never dreamt that my original question would
rattle the hornets nest--
 
:D
Hi Fred, not really a hornets nest, more like you just invigorated the worker bees.  ;D
Thanks,
Russ
 :)

Offline BR549

*
  •  6,902 6,902
    • View Profile
Re: home sequence
« Reply #39 on: March 14, 2012, 05:40:13 PM »
HIYA Fred, Not a problem . We just get very enthusiastic when we get to test a function and we normally try to test it every way known to mankind. That way everything we find out about it is right here for anyone that is willing to do a simple search.

Heck someone MIGHT even update the manual you never know.

DO you have another funtion you want beat up on??? You done went and got us ALL wound up now with nothing left to do (:-).

(;-) TP
« Last Edit: March 14, 2012, 05:41:46 PM by BR549 »