![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Haas Mills Discuss Haas machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
N56 G80 N58 M09 N60 M5 N62 G91 G28 Z0. N64 M01 ( OP 1 PART POCKET ) N66 M8 N68 T3 M6 ( 3/8 FLAT ENDMILL STANDARD ) N70 G0 G90 G55 X2.1812 Y-.9275 S4000 M3 Will the N62 line put the machine in incremental mode and keep it there till another code changes it? |
|
#2
| |||
| |||
| Be careful of G91 its a powerful tool. I use that same ending line always. |
|
#3
| ||||
| ||||
| |
|
#6
| |||
| |||
| Thats how I've been programmig at most places I've worked. My current employer is concerned with the G91,even though the G90 is the next line etc. Hes concerned that the g91 will keep the machine in INC mode with the possibility of crashinng. They program all parts using sub programs and G52 for work shifts its a high volume production shop . Although we program our fixtures using absolute mode hes concerned that the G91 will cause aproblem. The G49 G00 Z 0 is used in the "safe" macro M9998. They also have in this program the following M9998: G17 G20 G40 G80 G90 M09 M05 M99 This way they just put this at the beginning and end of the program with no worries. I come along (been here 2 months) and wanna change there perspective a bit but not make too many waves. Anyways...just wondering if anyone does it any other way other than the G91 G28 Etc.... |
|
#8
| ||||
| ||||
| When I learned to program, many many moons ago, I was taught to start and stop each program with a safe line. That way nothing is left modal etc. The start line is always: G00 G90 G80 G40 G54 This puts you in absolute mode, cancels any modals, and designates the work offset. Unless you machine a lot in other planes, I see no reason to always put a G17 in the line. The end line is always: G00 G91 G28 Z0. Y0. M05 This returns the spindle to the tool change position, and moves the table to the front (Zero position for Y for part changing) and turns off the spindle. The line just before the last one is always a simple clearance line; G00 Z.1 M09 Always works well, for 18 years at least. You example line, G17 G20 G40 G80 G90 M09 M05, will not work though, as you cannot have more than one M code in a line, but I'm sure you know that. Cheers---Mike
|
|
#9
| ||||
| ||||
| Setting 56 will reset the modal G codes at the M30. You can also use G53 to home an axis G0 G53 Z0. The G53 is non-modal, so there is no worries at all like there is with a G91. It is only active in the line it is in. The G53 offset is the machine 0 point. |
|
#10
| |||
| |||
| This is fine if you have 0.0 as your Z work offset because then the Z axis goes to machine zero. HOWEVER, many people choose to set the Z work zero at a reference point such as the table or the top of a vise. Now if you just cancel the work offset and the Z goes to the work coordinate zero you may get big crunching noises. As Pondo suggests use G53.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- G91 INCREMENTAL POSITIONING | Patches181 | EdgeCam | 1 | 02-03-2010 12:34 PM |
| Incremental tapping in MDI on a TL-2 | Geof | Haas Lathes | 3 | 10-08-2008 03:00 PM |
| DIY Incremental encoder | bunalmis | Hobby Discussion | 1 | 03-29-2008 06:24 PM |
| Switch to Incremental | moldmker | BobCad-Cam | 3 | 10-06-2007 09:43 AM |
| Absolute or Incremental | mikede | Haas Mills | 1 | 02-03-2007 05:02 PM |