![]() | |
| 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
| |||
| |||
Ok, here is another thing I need to figure out. We have moved our fanuc controller from one side of the machine to the other. On this machine, the bed is the X axis, the Gantry is the Y. So now I want to put 0,0 on the lower left corner of the OTHER side, however, when I did this in tests this weekend, I had to enter all negative axis movements, instead of positive. Because I don't want to re-do all of our single parts, but I DO want to move the 0,0 point, how do I rotate the 0,0 180 degrees, and still keep all the movements positive? I have heard there is a way to adjust the G53 in the controller to a different spot, but does this affect the movements? And does this mean that I will need to essentially make the machine run OPPOSITE of how it's movements are currently. I.e. make the machine inverse it's Positive and negative moves opposite of what the stickers say? Never tried this before, so any help is appreciated. thanks. -Zak |
|
#2
| |||
| |||
| So, you moved the control to the opposite corner of where it used to be and turned it around? Couldn't just turn the machine around? Just picturing what you're doing here. If my first guess is right, then yes, your machine will travel in all negative moves now since the coordinate system is still based upon the original corner (or original machine zero) and the signed directions. You could shift this and change the axis direction by parameters but you may have to change a lot of things if you've got tool changers, pallet changers, etc. Sounds like it would be simpler for you to use a G68 (coordinate rotate) command and the control will flip the code around 180°. So, based on your "new" part origin, you could type in the program a "G68X0Y0R180." A G69 at the end will cancel this. Oh, and this is provided you have the G68 control option....
__________________ It's just a part..... cutter still goes round and round.... |
|
#3
| |||
| |||
is G68 a modal or non-modal? Sounds like non-modal, and the point of me doing this is so that all over our hundreds of programs that are already in CNC code will work with the new co-ordinate setting. It does have a tool changer, but I can't see why that would change anything, as it's an on-board carosel, not the type with the tools on the sides of the machine. Anywho, thank you for the idea, I'll have to dig further in and see if there is a semi-easy permanent solution. -Zak |
|
#4
| ||||
| ||||
| You have to add it during the operation and cancel before certain things like tool changes, pallet changes, tool length probes, etc, etc. But it will fix the hundred programs. You're looking to change the grid and axis signed directions so you don't have to edit the programs whic might be a bit complicated.
Your machine grid should be easy enough to shift. It's the signed direction that will likely cause grief. A G68 would be a simple fix without having to alter the machine settings. As far as the "100s of programs" are concerned, just edit them as they come up or one at a time and not try and attack all of them at once.
__________________ It's just a part..... cutter still goes round and round.... |
|
#5
| |||
| |||
| Why would the existing programs need to be changed? The work offset that you define when doing the setup takes care of that. Unless you are converting your machine from a right handed coordinate system to a left handed one, which (to be blunt) would be a dumb thing to do. |
| Sponsored Links |
|
#7
| |||
| |||
Curious though... why did you need to flip the control around? And what machine/control model is it?
__________________ It's just a part..... cutter still goes round and round.... |
|
#10
| |||
| |||
| That's the way I see it Stefan....... but he wants to run the same old programs that are already in his system without re-programming which is why I suggested G68 as an option short of changing a bunch of stuff in the machine/control..... Vortex... are you there????
__________________ It's just a part..... cutter still goes round and round.... |
| Sponsored Links |
|
#12
| |||
| |||
| Could be he does not know about using work offsets and really did make the programs with the machine zero as the program zero. If that is the case all that is needed is to add a line at the start of the program with a G54 in it and set the G54 work offsets to the full travel of the machine. Or Fanuc controls have a set of offsets called (EXT) stands for external, on older controls it may be called (COM) for common. This set of offsets gets added to any of the standard G54,G55,...G59..G54.1Px offsets. Or a quick little program in what ever language he likes to use, could do the translation or even rotation if wanted, off line. |
![]() |
| 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 |
| Busellato Point to Point | Malacara | Spanish CNCzone | 1 | 01-27-2008 06:57 AM |
| Make 2 parts symmetrically opposite | kprice1658 | Mastercam | 3 | 12-17-2007 10:21 PM |
| Busellato Optima Point To point | Malacara | General CNC (Mill and Lathe) Control Software (NC) | 0 | 12-11-2007 06:22 PM |
| converting point to point programs | kevinwd1 | General CAM Discussion | 2 | 06-11-2007 11:45 AM |
| Point to point programs | Frankbals | Mazak, Mitsubishi, Mazatrol | 2 | 05-22-2007 03:12 PM |