![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I need to do some patterned stuff, and I've forgotten how a g52 works. Well, not forgotten how it works, but how it behaves. If I'm at machine coords X0Y0Z0 and I then run the line G52 X10, Y10, Z10 to shift the coord system - does the tool move to the new zero position on reading the G52 line? |
|
#3
| |||
| |||
| G52 simply puts the X, Y, Z coordinates in a G52 register. These coordinates are always added into the controller calculations for any active Work Coordinate system. For example if your G54 has coordinates X-10. Y-10. Z0. and you have the command G52 X5. Y5. Z0. any motion command after the G52 uses the combination to figure out where to go to. G00 X0. Y0. will move to a location that is X5. from X-10. and Y5. from Y-10. that is the current G52 work zero. To go back to just using the G54 location you use G52 X0. Y0. EDIT: I checked and in the Haas manual it say "G52 is a non-modal, no motion code" but whether this is just Haas or whether this is the standard for G52 I do not know.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#4
| ||||
| ||||
| I don't program on a regular basis, but I seem to remember from my Fanuc course days, that G52 is termed a Local or Child Coordinate system within a work coordinate system, and as geof said the G52 basically shifts the existing work coordinate e.g. G54, by the amount in the G52 command. Any subsequent move are from this new local system. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#6
| |||
| |||
| For yasnac g52 resets to machine coordinate system, I don't know if your'e talking about g92 or some fucntion I've never used before, and I've programmed and ran haas machines for quite a few years. I just don't ever remember using g52. for g92 you shift with g91 and set g92 x0 y0 and move in g90. Just a thought and my confusion. Joe I believe if you added a value with G52 it would probably work for a work shift. I have never tried it, sounds interesting though. |
|
#7
| |||
| |||
| G52 can used in a similar way to G92, but it's MUCH easier to use - you can use it regardless of the current position of the tool -it's like a temporary work offset, valid only for the program you're running. Personally I think G92 commands are obsolete (and dangerous) and use work offsets G54-g59 and tool length offsets instead. |
|
#8
| |||
| |||
| Thanks inflateable like I said I've never used g52 except to reset to machine zero I will try it today and see what happens. I personally don't like g92 also it creates to much confusion so I'm looking forward to trying G52. Again thanks. Thats why I like this forum I learn every time on on it. Joe |
|
#9
| |||
| |||
| 070503-0626 EST USA inflateable: On a HAAS machine in HAAS mode the G52 values remain unchanged unless you change them. This includes program start and machine power down and up. But on the HAAS lathe there is no HAAS mode. The HAAS mode is extremely useful and we always operate in this mode. However, there are many people that are afraid of using this mode. I do not use G92, but on a HAAS machine I believe G92 is almost identical to G52 HAAS mode. There may be fewer ways to set it, and its content is displayed in a less obvious location. This needs further study. On HAAS in Fanuc mode there are many conditions that reset G52 to 0. . |
![]() |
| 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 |
| New Kid on the block | GEORGETOUBALIS | CNCzone Club House | 1 | 09-14-2006 03:46 PM |
| Help with block | Max-DK | TurboCAD/CAM | 0 | 03-24-2006 10:10 AM |
| RS232 program block by block | smoregrava | General CNC (Mill and Lathe) Control Software (NC) | 3 | 12-22-2005 12:52 AM |
| Mach 2 mental block - need help! | buscht | Mach Software (ArtSoft software) | 6 | 10-12-2004 07:53 AM |
| The new guy on the block | ThoR | General Metal Working Machines | 6 | 01-23-2004 04:29 PM |