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
G21
(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