Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: PowerAaron on June 18, 2017, 01:11:21 PM

Title: Mach4 Rotary Feedrate
Post by: PowerAaron on June 18, 2017, 01:11:21 PM
Hey Everyone,

Currently running a system that uses the following for cutting tubing:

X-Axis (Tubing Sliding forward and back)
Y-Axis (Rotation of tube based on circumference)

My Y-axis is setup to where I need to enter counts per unit based on a circumference of a tube. To my understanding this is just about how everyone is doing it. This treats the tube as if it were just cutting flat sheet.

However, I am determined to find a solution to make it work with the Y-Axis reading a 0-360 degree to rotate the tube.

Unlike Mach3, I cannot find any way for the user to input a rotational radius for Mach to adjust the feedrate for the angular Y-axis commands.

Desired control would be as follows:
X-axis (tubing sliding forward and back)
Y-axis (angular 0-360 commands)
Diameter input (input to tell mach at what rotational diameter the tube is to compensate the feedrate for the angular commands)

Does anyone know how to make this happen in Mach 4?

Thanks!
Title: Re: Mach4 Rotary Feedrate
Post by: soruud on June 19, 2017, 03:56:02 PM
What happend if you define it as A-axis? Will that help?
Title: Re: Mach4 Rotary Feedrate
Post by: smurph on July 15, 2017, 03:36:40 PM
Yes, A axis is rotation around X.  And it is in degrees.  So un-map the motor from the Y axis and map that motor to the A axis.  Then use A instead of Y in the G code.

Steve