![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CNC Swiss Screw Machines Discuss CNC Swiss Screw Machines here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi, I am struggling with understanding exactly what is going on when doing a G50 shift. Here is an example of the code I am looking at the beginning of the program: $1 M118 M9 G99M52M97M6 G50Z-.015 G0Z-.05X.285 So am I to believe that when G50 Z-.015 is called, that is setting the Z Axis at 0 at -.015 over the part or away from the part? Then when I do a Z-.05 move, where is the tool? Where is the steel? Thanks a lot, still learning these swiss machines. |
|
#2
| ||||
| ||||
| If this is standard usage of G50 and you are running in absolute mode, the line: G50 Z-.015 implies that a new Z0 datum was set .015" in front of the current position. So, the next line G0 Z-.05 will cause the tool to move the incremental remaining distance, Z-.035 further towards the chuck. This will satisfy the new Z0 datum that was set with the G50.
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| ||||
| ||||
Think about where the Z Axis Spindle is in relationship to the Cartesian Coordinate Table.
__________________ Toby D. "Imagination and Memory are but one thing, but for divers considerations have divers names" Schwarzwald (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) www.refractotech.com |
|
#4
| |||
| |||
| The G50 in THAT case is defining where the STOCK is as you start the program. There is a "theoretical" ZERO in your machine, the location of the the tool holder in the gang tool plate, and the cutoff tool you have in the machine has an insert that has an edge closer to the guide bushing by .010". You also need to have some material to face off, usually .005", so that is where the -.015" comes from. Now after this is read you will retract the cutoff tool and call the face tool into position. When you command "G0Z0" the stock will move OUT that .015" there by giving you .005" to remove during the facing operation. You should also note that at the END of the program after the cutoff you will see a line of code that sends the Main spindle BACK to that position WITH THE COLLET OPEN, "M6", "G0Z-.015". This is how you are able to run bar stock. |
|
#5
| |||
| |||
| Thanks for all replies! Let me get this straight, G50Z-.015 will do a GRID SHIFT (coordinate system set) setting the GRID 0 at .015 in the Z- direction. The machine will think that the end of the part (machine 0) is .015 away from the tool. Z+ Z- <- -> Calling G0Z0 would then move the stock that .015 to make the shifted grid 0 be the same as the machine 0 thereby having the stock actually stick out .015 past the edge of the tool. Doing a facing operation at Z0 would face .015 off the end of the part and establish the end of the part at machine 0. The G0Z-.05 call moves the stock .050 away from the tool to allow for the tool to be retracted. If I were to do a G50Z.015 (positive direction) shift, and then subsequently doing a G0Z0 call, the stock would actually retract .015 away from the tool and establish machine 0 as .015 AWAY from the tool (in space). Correct? |
| Sponsored Links |
|
#7
| |||
| |||
| Hi All the answers regarding your G50 query are correct but in case you were unaware (you did say you were a newbie) the M118 command is cancelling the collision detection at the start of the program. Although you often have to do this on the machines, (particularly when working close to the subspindle nut) you should be aware that you could potentially have a collision as the machine is not checking for this throughout the program. I often thinks its best to cancel the alarm only when you need it. I find that depending on tool setup you can run programs on most Citizens (I assume your machine is probably a C16 or L20 machine?) without having to cancel the alarm at all. Anyway good luck! |
|
#8
| ||||
| ||||
In theory you can set the A or B Axis Gang Slides for End Mills, Drills etc. If you do not want to use the Offset or Geometry Machine Positions. You can do this when doubling and tripling operations using the same tool.
__________________ Toby D. "Imagination and Memory are but one thing, but for divers considerations have divers names" Schwarzwald (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) www.refractotech.com |
|
#9
| ||||
| ||||
| Oh, also remember that it is the Bar Stock your Moving in the Z Axis not a Turret, unless your using one of the newer configurations. They have the Turrets I wanted, but the Boss didn't want to spend the extra $$$.
__________________ Toby D. "Imagination and Memory are but one thing, but for divers considerations have divers names" Schwarzwald (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) www.refractotech.com |
|
#10
| |||
| |||
For instance T100 G50 W-.01 cutoff G50 W.01 M99 |
| Sponsored Links |
|
#11
| |||
| |||
| When you first turn on the machine the "work coordinate" for the "Z" axis would be some huge number like -8.4567 so when you start the cycle and tell the stock to go to "0" it would shoot out 8.4567. You MUST define your starting location which is different depending on the cutoff tool that is in front of the stock at starting. FYI, the "G50" does NOT move anything just changes the work coordinate system numbers. |
|
#12
| |||
| |||
|
![]() |
| 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 |
| work shift | teamus | Hardinge Lathes | 22 | 06-10-2009 05:32 AM |
| Newbie- Z-SHIFT RESET? | mmussack | G-Code Programing | 0 | 05-07-2008 05:08 PM |
| Shift knobs | hot knobs | Trade Shows and Events | 2 | 08-12-2007 07:34 AM |
| Anyone need help on 3rd shift?? | AMCjeepCJ | Milltronics | 0 | 12-22-2005 01:34 AM |
| Grid Shift | scuba | General Metal Working Machines | 1 | 10-13-2004 03:50 PM |