What config settings do I change to calibrate xyz?

Discussion of tinyG control platform
jininjin
Posts: 33
Joined: Thu Oct 30, 2014 12:40 am

What config settings do I change to calibrate xyz?

Post by jininjin » Sun Jan 24, 2016 8:28 pm

I have a Dial indicator and I think I have my tinyg settings set to good defaults but I would like to dial it in.
I'm a bit confused which x,y,z travel settings are for dialing in the machine with a dial indicator?
If anyone can point me to the right direction that would be great.
Shapeoko 2
X,Y,Z Nema 23's 140 in-oz, ACME Z Axis, Quiet Cut Spindle 400w
ChiliPeppr, TinyG V8

WillAdams
Posts: 8562
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: What config settings do I change to calibrate xyz?

Post by WillAdams » Sun Jan 24, 2016 8:55 pm

Should be the same as for Grbl, the number of steps per mm, or something along those lines.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets
Nomad 883 Pro #596 (bamboo)

jininjin
Posts: 33
Joined: Thu Oct 30, 2014 12:40 am

Re: What config settings do I change to calibrate xyz?

Post by jininjin » Sun Jan 24, 2016 10:36 pm

WillAdams wrote:Should be the same as for Grbl, the number of steps per mm, or something along those lines.

Ok so probably travel per revolution I would presume. Thanks I will start with that.

I am curious Is there a step by step tutorial for calibration? Can't seem to find a simple list.
Shapeoko 2
X,Y,Z Nema 23's 140 in-oz, ACME Z Axis, Quiet Cut Spindle 400w
ChiliPeppr, TinyG V8

WillAdams
Posts: 8562
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: What config settings do I change to calibrate xyz?

Post by WillAdams » Sun Jan 24, 2016 10:54 pm

There’s: http://www.shapeoko.com/wiki/index.php/ ... he_Machine

Basically one:

- calibrates steps/mm by drilling holes and measuring center-to-center: http://docs.carbide3d.com/article/42-ho ... lt-stretch
- determines runout/effective endmill diameter: http://docs.carbide3d.com/article/47-measuring-runout

If one wishes to go further, cut a diamond-circle-square test to see how the machine cuts under load.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets
Nomad 883 Pro #596 (bamboo)


jininjin
Posts: 33
Joined: Thu Oct 30, 2014 12:40 am

Re: What config settings do I change to calibrate xyz?

Post by jininjin » Mon Jan 25, 2016 12:30 am

Thanks I've been reading the wiki but I find I bounce around a bit and get a bit lost, I obviously need to reread everything and understand it before doing any tests.
I did just use a dial indicator so I have the Y and Z pretty accurate so my calculations are close but my X is behaving odd. I will need to look into that further. It doesn't seem to move properly just jerks.


Will Adams is Steps Per Revolution the same as Steps per mm? I'm using TinyG on my Shapeoko 2. Can I just adjust this to match what my dial indicator says?
Shapeoko 2
X,Y,Z Nema 23's 140 in-oz, ACME Z Axis, Quiet Cut Spindle 400w
ChiliPeppr, TinyG V8

cmcgrath5035
Posts: 61
Joined: Thu Oct 31, 2013 6:56 pm
Location: Florida, USA

Re: What config settings do I change to calibrate xyz?

Post by cmcgrath5035 » Mon Jan 25, 2016 12:43 pm

Steps per revolution is a physical property of the stepper motor.
Most typical steppers are 200 steps per revolution, some are 400.
The steps per revolution parameter for tinyG is entered as the Step angle, 360/200=1.8deg.
$_sa=1.8

To 'tune in' X,Y and Z travel, tweak the $_tr, travel per revolution parameter

tinyG calculates the movement per pulse sent to the motor driver from parameters $_tr, $_sa and $_mi
$_sa is a motor parameter
$_mi is a user setting that should be set, then leave alone.
$_tr starting value is determined from the belt tooth pitch and the pulley number of teeth, but is variable due to belt tension and other mechanical variations specific to your implementation.
$_tr for Z axis is determined by the thread pitch of the Z axis threaded rod.


X axis jumping around does not sound like a travel precision issue.
What Firmware is installed in your tinyG?
The latest is $fb=440.20
Does 'lose a bit mean break a bit?
Run your Gcode job above the material surface first as a test, called "cutting in air".
If smooth, then perhaps you are cutting too deep or too fast.
ShapeOko (V1) SN 1462
Dual 820mm Y, Double X, ACMEZ. V2 Motor Plates
TinyG V7 Controller; DUE and tinyGV9 test bed for tinyG2

jininjin
Posts: 33
Joined: Thu Oct 30, 2014 12:40 am

Re: What config settings do I change to calibrate xyz?

Post by jininjin » Tue Jan 26, 2016 3:55 am

Thanks this is clearer for me to understand. I will tune $_tr by relooking at the belt tooth pitch and number of teeth / thread pitch. Then follow up using a dial indicator to fine tune $_tr.

I'm using 440.20. The x motor will jult with the move command but after that it will just vibrate when clicking move again. Basically X will not move. It appears to be wired correctly but I will double check.
Shapeoko 2
X,Y,Z Nema 23's 140 in-oz, ACME Z Axis, Quiet Cut Spindle 400w
ChiliPeppr, TinyG V8

cmcgrath5035
Posts: 61
Joined: Thu Oct 31, 2013 6:56 pm
Location: Florida, USA

Re: What config settings do I change to calibrate xyz?

Post by cmcgrath5035 » Tue Jan 26, 2016 12:04 pm

If X motor problems continue, post a copy of your $$ parameters to a cloud drive and put a URL here.

What Gcode sender do you use?
ShapeOko (V1) SN 1462
Dual 820mm Y, Double X, ACMEZ. V2 Motor Plates
TinyG V7 Controller; DUE and tinyGV9 test bed for tinyG2

jininjin
Posts: 33
Joined: Thu Oct 30, 2014 12:40 am

Re: What config settings do I change to calibrate xyz?

Post by jininjin » Wed Jan 27, 2016 3:59 am

Here is the file: https://www.dropbox.com/s/t43y838b71quw ... 3.txt?dl=0
I haven't had a chance to work on it. I plan to recheck the wiring on the stepper.
Shapeoko 2
X,Y,Z Nema 23's 140 in-oz, ACME Z Axis, Quiet Cut Spindle 400w
ChiliPeppr, TinyG V8

Post Reply