587,220 active members*
2,575 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2008
    Posts
    20

    Question HEEEEELLLLLLPPPPPPPP

    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. #2
    Join Date
    Mar 2003
    Posts
    4826
    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)

  3. #3
    Join Date
    Feb 2008
    Posts
    586
    Do you have coordinate rotation on the victim machine? rotate it 90°!

  4. #4
    Join Date
    Jul 2005
    Posts
    12177
    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.

  5. #5
    Join Date
    May 2009
    Posts
    104
    Google PC DNC editor. Suburban software has a free trial editor that will rotate, offset, swap axes and mirror.
    Good luck

  6. #6
    Join Date
    Jul 2004
    Posts
    374
    also check NCPlot

  7. #7
    Join Date
    Dec 2008
    Posts
    3122
    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.

  8. #8
    Join Date
    May 2006
    Posts
    196
    +2 coordinate rotation should be an option on the machine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •