Hello Guest it is March 28, 2024, 08:16:03 AM

Author Topic: 4th Axis Steps per Inch?  (Read 10461 times)

0 Members and 1 Guest are viewing this topic.

4th Axis Steps per Inch?
« on: June 12, 2010, 11:44:57 PM »
Hi Guys,

Im running a dual spindle router with two 4th axis rotaries. Everything seems to be working fine except one major detail.
Determination of steps per inch for the rotaries....

There does not seem to be a constant steps per inch, to maintain accuracy, for every cylinder I turn. 
I ran a test where I turned several  stepped cylinders.  There were 6 steps in the stepped cyliinder. each bigger than the other by .125 or .25.
If I was able to determine steps per inch to make one cylinder accurate, the others would be off.
and this carried through all cylinder tests.

Is there a setting somewhere in Mach3 that is controlling how mach interprets or translates, to make a single constant good for all geometries?

Thanks in advance.


Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: 4th Axis Steps per Inch?
« Reply #1 on: June 13, 2010, 04:25:49 AM »
Hi Warhorse - Maybe I'm misunderstanding your question - but if not - what you want is physically impossible.

Cheers

Ian

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: 4th Axis Steps per Inch?
« Reply #2 on: June 13, 2010, 05:06:36 AM »
The best solution, maybe, is to work in degrees - they are constant (steps/degree) no matter what diameter/circumference cylinders you are working with.

Tweakie.
PEACE

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: 4th Axis Steps per Inch?
« Reply #3 on: June 13, 2010, 08:14:39 AM »
Rotary axis are steps/ degree, not steps per inch.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: 4th Axis Steps per Inch?
« Reply #4 on: June 14, 2010, 09:32:52 AM »
Thanks for the input guys.  Im new to 4th axis, and fairly new to the mach3 controller, so Im on a steep learning curve.

When we first started using the 4th axis it was set in degrees, and we had trouble with the chuck spinning around around instead of simply stepping some small distance.

we changed it to distance, and of course are looking for a constant that doesnt exist.

could some one be kind enough to briefly explain  how we must set this up to work in steps per degree?  What settings must be changed and how do I find the constant of steps per degree that I need?

Thanks much in advance,

WH

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: 4th Axis Steps per Inch?
« Reply #5 on: June 14, 2010, 10:53:02 AM »
say for example you're using 200 steps per rev stepper motors and 8 microstep drivers. It would take 1600 steps to turn your motor 1 rev or 360 degrees. So 1600/360=4.4444444444444444444444444444444 steps per degree. So that's what you'd enter into "steps per" in motor tuning for your rotary axis.
Then if you command say G1 A360 your motor will turn exactly one rev or 360 degrees by Mach sending out 1600 pulses. Of course you may spot that the steps per is not an integer, therefore if you commanded say G1 A1 to move 1 degree, Mach could only send out either 4 pulses or 5 (actually 4) so it would be as near as it could get to 1 degree but not spot on.

Cheers

Ian
« Last Edit: June 14, 2010, 10:58:46 AM by stirling »
Re: 4th Axis Steps per Inch?
« Reply #6 on: June 14, 2010, 11:55:05 PM »
Ian,  thanks for the input.
These rotaries are geared so I am assuming that must also be calculated?

Im trying to contact the engineering department of the device manufacturer to determine the constants of the motors and controllers.

Thanks,

wh

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: 4th Axis Steps per Inch?
« Reply #7 on: June 15, 2010, 12:31:20 PM »
Hi wh,

Just a thought, and with a bit of lateral thinking on this topic for operating a rotary axis in linear mode.
If you were to calculate the steps per one revolution of a rotary axis and divide the answer by pi and then enter the result into the ‘steps per’ for the A axis - it would then have the correct linear movement on the surface of a 1 inch diameter cylinder (fitted into the A axis).
Using Screen4 (or Screen Designer) add the A Axis Scale DRO (OEM62) and LED (OEM44) which for some reason have been removed.
Now for any diameter of work fitted in the A axis, perform the calculation 1/diameter and enter the result into the A Axis DRO.
Then the linear movement on the surface of the work will be correct for that diameter.  :-\

I have not actually tried this but I will do.

Tweakie.
PEACE
Re: 4th Axis Steps per Inch?
« Reply #8 on: June 15, 2010, 06:51:00 PM »
HI tweakie,

thanks for that thought.  I know that would work, if we were carving cylinders or carvings.
Unfortunately we are carving irregular nurbs surfaces.  So within a few inches of length of a part there may be an oval, and then it may
loft down to an irregular shaped square then loft to an egg shape in section.

this is where our real problems show up. I think for the parts we are doing, that degrees are neccesary.
I had a local consultant tell me distance was what we needed to do, but that was obviously wrong.

all of your help and advice is greatly appreciated.

WH :)

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: 4th Axis Steps per Inch?
« Reply #9 on: June 15, 2010, 11:12:29 PM »
You can do some wierd stuff by changing between linear ( ie; using steps per inch ) and rotary. I posted some info on an attachment for my Atlas Lathe conversion. Never finished exploring the use, saving that for when i retire i guess.  ;)

Some day when i get energetic may even finish the rotary write up i started.  ::)
RICH