Hello Guest it is March 29, 2024, 03:42:51 AM

Author Topic: 4th axis turns for 359° instead of -1°  (Read 9326 times)

0 Members and 1 Guest are viewing this topic.

Re: 4th axis turns for 359° instead of -1°
« Reply #10 on: March 21, 2014, 03:58:27 AM »
I updated from mach3 r1 to r3, now I have the options... I tested quickly the "Ang short rot on G0" and it does the trick but then say it should go from 359 to 0 with G0 now it goes to 360 but then it should from 0 to 361 in G1 but as it is already at 360 it go 361 but moving only for 1 degree, and it's not what I need as this turn have to be machined.
Re: 4th axis turns for 359° instead of -1°
« Reply #11 on: March 21, 2014, 03:06:04 PM »
I'm not exactly sure what you are meaning.
If you want to go G1 from 360 to 1 (361) by doing a full wrap, you can program G1 A-1 F# and it should go all the way around in the neg direction. (with Rollover checked)
Not certain as I don't use it. But it looks good here in simulation.

Russ
Re: 4th axis turns for 359° instead of -1°
« Reply #12 on: March 21, 2014, 05:36:37 PM »
I'm not clear I know, sorry, but I'm not sure rollover works, last time I tried it did half turn, but I will retry...
I retry to explain with some code ("ang short rot on G0 checked"):
G0 Z10 A0          //will start at 0°
G0 A300             //goes to -60°
G1 Z5
G1 A0                //wanted to mill from 300 to 0 (-300° to mill) but just mill from -60° to 0° (+60°)

Is there a code to mill relatively, I mean instead of saying "go to 15°" or "go to 300°" , to say "go 50° more" or "go 10° less" ? THis way I should just modify the post processor to do what I want.
Re: 4th axis turns for 359° instead of -1°
« Reply #13 on: March 21, 2014, 10:22:58 PM »
G0 Z10 A0          //will start at 0°
G0 A300             //goes to -60°
G1 Z5
G1 A0  A-360              //wanted to mill from 300 to 0 (-300° to mill) but just mill from -60° to 0° (+60°)

Change the A0 to A-360 and it should do what you want.

You can also program it G91 Incrementally but any combined axis moves will be incremental also.
G91 is modal, so you will have to switch back to G90 Absolute as appropriate ... or program all Incrementally.

Russ
Re: 4th axis turns for 359° instead of -1°
« Reply #14 on: March 22, 2014, 02:17:34 AM »
Quote
Change the A0 to A-360 and it should do what you want.
yes it's an idea, this way I still need to modify the postprocessor but it avoid using G91, thank you.
A question because I'm not an expert in gcode: will the same problem happen with curve ?
Re: 4th axis turns for 359° instead of -1°
« Reply #15 on: March 22, 2014, 10:48:45 AM »
......... because I'm not an expert in gcode: will the same problem happen with curve ?

I am far from expert ... quite far.  :)
If you mean G90.1 and G91.1 (Absolute/Inc. I J modes) and arcs, yes. The format is entirely different.
There are good explanations in the GCodes button on the Mach screen.

Cheers,
Russ
 :)
Re: 4th axis turns for 359° instead of -1°
« Reply #16 on: March 24, 2014, 10:02:58 AM »
I finally modified the post processor, and don't have to use the two rotational options, thank you for your help.
Re: 4th axis turns for 359° instead of -1°
« Reply #17 on: March 24, 2014, 10:10:59 AM »
I hope it works out well for you.  :)

Regards,
Russ

 :)
Re: 4th axis turns for 359° instead of -1°
« Reply #18 on: April 18, 2014, 06:34:31 AM »
hi greg2fs
do u have post for solidcam that works?
cen u sher it ?
thenks
 asi
Re: 4th axis turns for 359° instead of -1°
« Reply #19 on: April 19, 2014, 05:14:06 AM »
I'm not at home for two days but sure I'll share it if it can help...  I haven't tested it too much but the file opened in mach3 and the job seemed to do well.