Thread: Steps per unit daft question
I know that this is a daft question but.... :)
When I am asked by mach3 how far I would like to move when using the 'set steps per unit' am I entering in mm or cm? I have just tried 50 and it moved close to 50cm! not quite what I expected!
Stocking more goodies than just Smoothsteppers
bear with me 10 minutes and I'll tell you :)
All 4 x motors are 4.2A Nema 23 1.8deg Model Number 23HS2442B
X & Y Drive is Rack and Pinion Mod 1.0 with 20 tooth Pinion from here......... https://www.cnc4you.co.uk/Rack-and-Pinion (Datasheets available too)
Z Drive is using a 10x3 Trapezoidal Thread from here........... http://www.zappautomation.co.uk/mech...al-screws.html
My Stepper Drivers are ACT Motors DM542. I initially had my microstep settings to On-On-On-On which I believe is software controlled, speeds were rather tame, i tried an alternative setting of 2000 microsteps (On-Off-Off-On) and the machine is a lot faster and scared the life out of me when I first jogged it :)
I tried the Set Steps Per Unit for both of the above settings with different results. My frame is about 1mx1m I had the X axis set about 250mm from Zero. Using On-On-On-On Mach3 asked me how far I want to move so I entered 50 thinking 50mm but it moved over 500mm. Using On-Off-Off-On from a similar position but slightly further away from Zero than my previous attempt the X axis charged off and stopped at my limit switch - twitchy bum moment :)
I'll be honest I'm a little bit overloaded with information about the switch settings I should be using and not sure if I'm setting them correct - any advice on this would be appreciated too!
I hope this information is what you're looking for! Thanks for your time
Also.. if it makes any difference... I don't plan to use the machine for any one specific purpose, I want to work with a range of materials, some work will be on a small scale and other will be using the whole working area which is approx 750x800 (I think)!
Also I am using a Y axis motor on each side of my gantry.
Oh... and also if it makes any difference - I'm using 2x48v PSU's, 2 x steppers per PSU
I think I asked a similar question before (So I think its not a daft one!) and this was the general advice I was given:
The "Steps per" setting in mach3 motor tuning is how many steps are needed to move one unit of measurement (as set in Mach3) so if using mm units, its how many steps to move 1mm.
This is determined by a calculation taking the drive Microstepping amount and dividing by PITCH of the ballscrew or how far ONE revolution moves that particular axis.
So as an example (with ballscrews), assuming 10mm pitch ballscrews and 1600 micro steps the STEPS PER 1mm would be 1600/10=160
This will mean 160 steps moves 1mm so you would set the "Steps per" in Mach3 to 160.
As for which microstepping amount you should set your drive to... I dunno! it should be set to what works best for your machine/needs :)
I tried many different settings on my drives, some worked OK others seems to create resonance in the machine and made it shake! I settled on the value that that made the machine run smoothest while allowing the speeds I needed.
Last edited by cncJim; 11-03-2016 at 11:47 AM.
Cheers for that Jim... Just reading through formulas and working out pitches at the minute :) mind bending!
Quite a good explanation here... http://rlab.org.uk/wiki/Project:Large_CNC_Router ....but it still twists my mind - although it'll soon seem like common sense and I'll wonder what I was ever confused about!
http://rlab.org.uk) and I use the wiki page to document projects and stuff and hopefully "inspire" me to maybe finish some of them!! Google really does get everywhere....
The Following User Says Thank You to cncJim For This Useful Post:
A fine piece of work! It's really helped me get my head around what is going on.
Once I had read through that and also had confidence in the units I was entering in the axis calibration, it enabled me make some progress today :)
The machine is all zeroed, calibrated, motors smooth.. I went with 10x steps for the X & Y - and 4x steps for the Z as the motor would stop rotating at higher speed using 10x - my thinking behind this is that I get more torque the lower the steps....... Correct me if I'm wrong there though please!!!
I've just strapped a marker pen on to the Z and managed to draw an alien face so I'm rather chuffed right now.
On a lighter note... I also want to point out (this post being made shortly before the referendum) that we should be thanking the EU for getting us to use metric instead of imperial. I can't imagine how hard it is for our yankee chums working all this out in Inches
Last edited by dcrowder; 11-03-2016 at 08:29 PM.
By dsc in forum General ElectronicsReplies: 35Last Post: 15-10-2014, 08:29 PM
RFQ: Daft Punk BuildBy FIREWIRE in forum Projects, Jobs & RequestsReplies: 0Last Post: 19-04-2013, 01:34 AM
By D.C. in forum Gantry/Router Machines & BuildingReplies: 27Last Post: 15-10-2012, 10:37 PM
By D.C. in forum Gantry/Router Machines & BuildingReplies: 11Last Post: 11-10-2012, 08:57 AM
By Lee Roberts in forum Machine DiscussionReplies: 0Last Post: 27-02-2008, 01:14 PM