Hello Guest it is August 25, 2019, 10:38:07 AM

Author Topic: g28 coordinates?  (Read 1334 times)

0 Members and 1 Guest are viewing this topic.

g28 coordinates?
« on: May 17, 2015, 08:09:04 AM »
When the program code hits g28 the tool stops above the work piece that I am cutting. I have not been able to figure out how to make the tool go to another spot on the table. I've played with the settings, yet nothing happens. How do I do it? thanks in advance.
tony

Offline BR549

*
  •  6,886 6,886
    • View Profile
Re: g28 coordinates?
« Reply #1 on: May 17, 2015, 02:04:11 PM »
Can you post an example of the code you are using?

The G28 will go to the position defined in Homes/Limits config.

(;-) TP
Re: g28 coordinates?
« Reply #2 on: May 17, 2015, 03:09:30 PM »
N100 G20
N102 G0 G17 G40 G49 G80 G90
( SHEET #1 - RESULT 1 )
( DRILL )
( SHEET #1 - RESULT 1 )
N104 T1 M6
N106 G0 G90 G54 X2.0073 Y.2905 A0. S2139 M3
N108 G43 H1 Z.1
N110 G99 G83 Z-.765 R.1 Q.06 F26.11
N112 X1.3935 Y2.6975
N114 X4.0015
N116 G80
( DRILL )
N118 X2.0073 Y6.1905
N120 G99 G83 Z-.765 R.1 Q.06 F26.11
N122 X1.3935 Y8.5975
N124 X4.0015
N126 G80
( DRILL )
N128 X2.0073 Y12.0905
N130 G99 G83 Z-.765 R.1 Q.06 F26.11
N132 X1.3935 Y14.4975
N134 X4.0015
N136 G80
N138 M5
N140 G91 G28 Z0.
N142 A0.
N144 M01
( CUT CENTER HOLE )
N146 T2 M6
N148 G0 G90 G54 X2.6975 Y2.7208 A0. S4278 M3
N150 G43 H2 Z.25
N152 Z.2
N154 G1 Z-.0588 F16.16

Offline BR549

*
  •  6,886 6,886
    • View Profile
Re: g28 coordinates?
« Reply #3 on: May 17, 2015, 09:39:41 PM »
The problem lies with the M01 at line N144 . Delete that and it will run. ALSO why the G91 on line N140 just to switch back to G90 it is NOT used for anything that I can see.

(;-) TP