Hello Guest it is April 19, 2024, 08:20:41 PM

Author Topic: Ang Short Rot on G01???  (Read 7690 times)

0 Members and 1 Guest are viewing this topic.

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Ang Short Rot on G01???
« Reply #10 on: November 11, 2011, 06:18:24 AM »
You may want to consider requesting one on one support to help develop your machine.
Here is a link where you can make the request.

http://www.machsupport.com/forum/index.php/board,18.0.html

RICH

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Ang Short Rot on G01???
« Reply #11 on: November 11, 2011, 08:01:56 AM »
Quote
Inside of the brackets, when A spindle is turning, how can I turn it from 719.768 to 361.242 by using closer direction?

Go from 719.768 to 721.242
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline alenz

*
  •  137 137
    • View Profile
Re: Ang Short Rot on G01???
« Reply #12 on: November 11, 2011, 11:37:46 PM »
Haley, I believe your problem is with whatever software you are using to produce your G-code. I ran into this same issue some years back and not having the top shelf ($$$$) software, wrote my own little app to convert flat pattern X,Y,Z G-code to X,A,Z for cylinders.  I found the zero crossing is a problem that must be dealt with. One way is to limit 'A' values to the range of zero to 360 deg.  I chose to  test each ‘A’ and if the next move would result in a value less than zero or over 360 deg , then insert a new block  with a ‘G92 Axx’, (where the new ‘A’ is the current ‘A’ plus or minus 360 as required to stay in range.). In your example 719.768 would have already been changed to 359.768 in a previous block and the move to 361.242 would be the short move that you want.
I’ll attach a copy of my app, don’t know if it will help, but might give you some ideas.
In my opinion, you must fix your G-code; you do NOT want Mach deciding when to take the short route and when you really DO want to move more than 180. Been there, done that :).
Al

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Ang Short Rot on G01???
« Reply #13 on: November 12, 2011, 10:15:00 AM »
OK just to clear it up there is NO such thing as shortest rot on G1 and I would guess there never will be. It would make the machine unusable as to the A axis.

Shortest rotation on G0 does the job you just have to program for it.

(;-) TP