1. ## Sample 4th axis Program please....

can someone post a sample 4th axis Program feeding x and rotating the A axis

I went into the wizards and it is only for Straight cuts on gears

Never played with 4th axis programming and want to try to figure it out

Thanks

2. Hello Bullseye,

To program a fourth axis (rotary) is very simple. Say you want to move 10 inches in X and 720 degrees in A, you would simply program"

G1 X10 A720 F30

That's it. In this example, the G1 programs a linear move (interpolated) at 30 inches a minute along the interpolated path. The X moves 10" at the same time the rotary is moving 720 degrees (2 full revolutions) and they both end at the same time.

If you programmed a G0 instead of a G1, they would move in rapid (non-interpolated) and they would not end at the same time.

You could program a coordinated three axis move (let's say, X10" Z-3" and A3600 degrees) as follows: G1 X10 Z-3 A3600 F20. In this case it will feed to the right in X as it is feeding down in Z and rotating in A.

To go the opposite way in A, simply say -3600 instead of 3600.

Regards,
Bob66

3. Originally Posted by BOB66
Hello Bullseye,

To program a fourth axis (rotary) is very simple. Say you want to move 10 inches in X and 720 degrees in A, you would simply program"

G1 X10 A720 F30

That's it. In this example, the G1 programs a linear move (interpolated) at 30 inches a minute along the interpolated path. The X moves 10" at the same time the rotary is moving 720 degrees (2 full revolutions) and they both end at the same time.

If you programmed a G0 instead of a G1, they would move in rapid (non-interpolated) and they would not end at the same time.Sorry to disagree, but a G0 is an interpolated move as long as it is done on a controller capable of interpolated moves. The only difference between a G1 and a G0 is the programmed speed.

You could program a coordinated three axis move (let's say, X10" Z-3" and A3600 degrees) as follows: G1 X10 Z-3 A3600 F20. In this case it will feed to the right in X as it is feeding down in Z and rotating in A.

To go the opposite way in A, simply say -3600 instead of 3600.

Regards,
Bob66
The balance of your info is correct.

Mike

4. OK..Thats simple enough.......Thanks Guys

• ## example for you

Originally Posted by BOB66
Hello Bullseye,

To program a fourth axis (rotary) is very simple. Say you want to move 10 inches in X and 720 degrees in A, you would simply program"

G1 X10 A720 F30

That's it. In this example, the G1 programs a linear move (interpolated) at 30 inches a minute along the interpolated path. The X moves 10" at the same time the rotary is moving 720 degrees (2 full revolutions) and they both end at the same time.

If you programmed a G0 instead of a G1, they would move in rapid (non-interpolated) and they would not end at the same time.

You could program a coordinated three axis move (let's say, X10" Z-3" and A3600 degrees) as follows: G1 X10 Z-3 A3600 F20. In this case it will feed to the right in X as it is feeding down in Z and rotating in A.

To go the opposite way in A, simply say -3600 instead of 3600.

Regards,
Bob66
The A degrees in program must from -360 to 360 degrees,if it over alam will happen.good look!

• Originally Posted by NguyenViet
The A degrees in program must from -360 to 360 degrees,if it over alam will happen.good look!
Mach3 allows rotations greater than 360°, so:

G1 A700 is allowable

http://www.cncwrapper.com

Twenty bucks and saves me a lot of time.

Fatboy