Hello Guest it is November 14, 2019, 10:32:16 PM

Author Topic: homing sequence (G28)  (Read 255 times)

0 Members and 1 Guest are viewing this topic.

homing sequence (G28)
« on: February 08, 2019, 04:47:17 AM »
Hello All
I am using mach3 on my lathe
when I  call G28  to home - the machine homes the in a straight line to the
home position
I need it to home the x axis first ( taking the tool away from the stocK) and thereafter
to home the z axis
What is the code to do this?
regards fred
 
think of the trees-- use both sides of the computer paper

Offline RICH

*
  • *
  •  7,370 7,370
    • View Profile
Re: homing sequence (G28)
« Reply #1 on: February 08, 2019, 05:29:57 AM »
Fred,
G28 X ..... Z..... axis will move via an the intermediate point. When you don't specify an intermediate point by just coding
G28 the current point is considered the  intermediate point. See 10.7.8 in Using MACH3TURN manual for definition of the
g codes ( which can be confusing ).

I strongly suggest you actually spend some time playing with the command using singular axis and combination of both axes when using G28. The actual axes movement can get confusing quickly so be care full.

RICH


 
Re: homing sequence (G28)
« Reply #2 on: February 10, 2019, 01:07:30 PM »
thanks Rich,
Yes was confused -I actually wrote a small piece of code to see what would happen
with the various combinations but the closest I could get was that X moved to Xzero (crash!!)
before moving out -But I will try again

regards fred
think of the trees-- use both sides of the computer paper

Offline RICH

*
  • *
  •  7,370 7,370
    • View Profile
Re: homing sequence (G28)
« Reply #3 on: February 10, 2019, 05:57:58 PM »
Start with simple G28 moves and note what you thought it would do and what actually happens.
Note also the modes your in and if there are work offsets etc.

Now go play some........ lets us know what your score is as to what you thought would happen compared to what actualy happened.  ;)

RICH