Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: lpz on November 07, 2007, 01:50:25 PM

Title: A Axis
Post by: lpz on November 07, 2007, 01:50:25 PM
How to convert "A" to degrees from Revolutions. EX. when my code = A1 ,my rotary head makes one complete revolution. I need the rotary head to move 1 degree when the code shows "A1", 360 degrees when "A" code =360.
Thanks for the help
LZ
Title: Re: A Axis
Post by: Graham Waterworth on November 08, 2007, 11:10:31 AM
It sound as if you need to divide your 'steps per' by 360 in the motor tuning window.

Graham.
Title: Re: A Axis
Post by: lpz on November 08, 2007, 09:55:23 PM
Thank you that worked. Now the next problem. The A axis is working properly as far as steps but it does not respone to the neg. value in the gcode that's running. It reads the line of code as if its always positive and doesn't go in reverse. I cant get a back and forth motion that's in the code created by protowizard.
Thanks again
LZ
Title: Re: A Axis
Post by: Chip on November 10, 2007, 12:43:11 AM
Hi, LZ

Under Config, General Config, Un-check the A 360 Rollover Box. and try this Gcode.

g90; ABS

g00 a10
g00 a-5
G00 a0

G91 ; INC

G00 a 10
G00 a-10

G90; ABS

M30
%

Hope this Helps, Chip