Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 09:30:28 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  G-Code, CAD, and CAM
| |-+  G-Code, CAD, and CAM discussions
| | |-+  reset home with G code
Pages: « 1 2   Go Down
Print
Author Topic: reset home with G code  (Read 1088 times)
0 Members and 1 Guest are viewing this topic.
Graham Waterworth
Administrator
*
Online Online

Posts: 1,174


West Yorkshire, England



View Profile WWW
« Reply #10 on: July 07, 2008, 01:59:38 PM »

Hi,

G28 x0 y0 z0 sends the machine to a known home position, e.g. the machine has already been homed before.

G28.1 x0 y0 z0 will send the machine to find the home position whether its been there before or not.

Graham.
Logged

G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England
gotswrv
Active Member

Offline Offline

Posts: 10


View Profile
« Reply #11 on: July 07, 2008, 04:01:43 PM »

Thats awesome!!!
Logged
gotswrv
Active Member

Offline Offline

Posts: 10


View Profile
« Reply #12 on: July 07, 2008, 08:36:09 PM »

Okay guys,
Setup for a program at X8.00 Y7.00 Z-1.35 zero all as you would for a work offset. Then crank on your drives to intentionally loose position drastically. Executing the above G28.1 X0Y0Z0 send the machine to zero it's axis but does not reset the offset but corrects it!!! How cool is that!!! Touches off all homes and finishes with X-8.00 Y-7.00 Z1.35, brilliant, it's going into the post processor.

Only issue is the order executed is not Z axis first, but I can easily work with that, maybe as simply as execute a G28.1 Z0 followed by g28.1 x0y0. I'll have more time to play tomorrow. Hey, maybe a G28.1 Z0 Y0 X0... Graham, thanks so much!

Chip and ger21, thank you both as well!!! I will start playing with macros soon as well.

Thanks again to all,
Sam
Logged
ger21
Global Moderator
*
Online Online

Posts: 427



View Profile
« Reply #13 on: July 07, 2008, 08:51:38 PM »

Only issue is the order executed is not Z axis first, but I can easily work with that, maybe as simply as execute a G28.1 Z0 followed by g28.1 x0y0.

I think that's the way to go.
Logged

Gerry
Graham Waterworth
Administrator
*
Online Online

Posts: 1,174


West Yorkshire, England



View Profile WWW
« Reply #14 on: July 08, 2008, 03:03:41 AM »

Thats awesome!!!

Another little known gem out in the open  Grin

Graham.
Logged

G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!