![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Metalwork Discussion Discuss everything relating to metal work. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
| Here is my problem. I have a program that is over 8000 lines long and I need to move it to another machine but in the process I need to rotate 90° about the Z-axis therefore making whta used to be x axis moves y axis moves and vice-versa. I dont want to repost the program because of all the changes that have been made at the machine. Is there a program that can read my cnc program and swap the x and y axis numbers for me to make the process quicker?? Michael J. |
|
#2
| ||||
| ||||
| I've not done that sort of thing in a long while, but most editors should be able to do this. I think the trick is first to change all the X's to some other unused letter like maybe U or W (think carefully!) Then change your Y's to X's, then change your U's (or W) to Y's. You'd probably have to change arc center coordinates with a similar method. Then you should run the program through a simulator to see if it still looks right, maybe something like NCplot.
__________________ 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) |
|
#4
| |||
| |||
| Do you have any G02 or G03 moves using I and J? You may have to switch these as well. There is a company called editcnc that has an editor that can probably do this. http://www.editcnc.com/ I am not asociated with the company but I have dealt with it.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#7
| ||||
| ||||
| beege started it. What machine and control do you have ??? Okuma can use a G code to rotate an existing program. This would suit the problem you describe IE G10 P90. any X+ values would create a Y+ movment, any Y+ coding ends up as X- moves Many machines also have this ability. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |