Hello Guest it is March 04, 2021, 04:41:57 AM

Author Topic: 4-th Axis running bad  (Read 6596 times)

0 Members and 1 Guest are viewing this topic.

Offline Greolt

  •  956 956
    • View Profile
Re: 4-th Axis running bad
« Reply #10 on: August 28, 2010, 05:57:05 PM »
I don't expect it will have any effect when jogging,

Rather try entering G1 A360 Fxx via the MDI.

You should then see the compensation adjust according to a combination of the value in the "Rotation Radius" DRO and the Z axis DRO

Always within the constraints of the motor tuning settings.

You referred to "Rotation Diameter", do you run an older Mach version?  This was fixed last year.

Note if you have a value of zero in the "Rotation Radius" DRO it will turn this feature off. 

This is a bug.  Brian is aware of it but we are still waiting for it to be fixed.

Re: 4-th Axis running bad
« Reply #11 on: August 28, 2010, 06:41:22 PM »
Thanks Greg it worked now, i was just doing it wrong. Just another thing:

I made a code with rhinocam for testing the 4 axis, I just made a 30mm radius cylinder and a finishing operation, so its just basic, just a constant Z height, but rhinocam outputs lots of decimals, like 29.9994 and then 29.9998 so it goes like steps, becuase it has to move the Z and then rotate the A a bit,  also its strange, cause the A axis goes to lets say 43.636 and then for the next that is 47.273, it just doesnt go the 4 degrees up(the short way), it takes the long way and spins more that it should, i dont know if it was that i made a bad code, dont you know where i can find a 4 axis test code ?

heres a piece of the code:

G00 G49 G40.1 G17 G80 G50 G90
(4th Axis Roughing)
M6 T2
M03 S1
G01 X-4.4120  Z36.0000 A0.000 F19998.
Z29.9895 A0.000
Z29.9996 A-1.818
Z29.9974 A-5.455
Z29.9986 A-7.273
Z29.9997 A-10.909
Z29.9959 A-14.545
Z29.9998 A-16.364
Z29.9994 A-20.000
Z29.9993 A-25.455
Z29.9982 A-27.273
Z29.9999 A-30.909
Z29.9977 A-32.727
Z29.9998 A-36.364
Z29.9978 A-38.182
Z29.9995 A-41.818
Z29.9980 A-43.636
Z29.9999 A-47.273
Z29.9982 A-49.091

Re: 4-th Axis running bad
« Reply #12 on: August 28, 2010, 06:45:22 PM »
I just have noticed that the problem of the extra spins may be the negative degrees, i just remove the - in a couple of lines and it went fine, i just dont know why that - are there
Re: 4-th Axis running bad
« Reply #13 on: August 30, 2010, 03:02:50 PM »
And as for the 4 decimals that rhinocam outputs, i just went to postprocessors edit and changed there the number of decimals to 1, that fix it