Welcome! Log In Create A New Profile

Advanced

Adjust Firmware, mm per step - solved

Posted by goaran 
Adjust Firmware, mm per step - solved
November 03, 2010 06:14PM
Hello,

i built a new reprap, which has different dimensions and the axis are driven by ballscrews. Therfore i have to change the absolute size of the working area and the steps per mm.
where can i find these values in the firmware?

thanks in advance

Edited 2 time(s). Last edit at 11/06/2010 05:51PM by goaran.


my projects: [www.robotik.dyyyh.de] ...
Re: Adjust Firmware for different steps / mm
November 03, 2010 06:43PM
If your Reprap is control by an electronic gen v6 iI think you should change this into "configuration.h"


#ifdef GRUB_PULLEYS
// define the XYZ parameters of Mendel - grub-screw pulleys

#define X_STEPS_PER_MM 40.184 // Edited 20100715 @ EJE 10.047
#define X_STEPS_PER_INCH (X_STEPS_PER_MM*INCHES_TO_MM) // *RO
#define INVERT_X_DIR 1

#define Y_STEPS_PER_MM 40.184 // Edited 20100715 @ EJE 10.047
#define Y_STEPS_PER_INCH (Y_STEPS_PER_MM*INCHES_TO_MM) // *RO
#define INVERT_Y_DIR 1

#define Z_STEPS_PER_MM 3333.592 // 833.398
#define Z_STEPS_PER_INCH (Z_STEPS_PER_MM*INCHES_TO_MM) // *RO
#define INVERT_Z_DIR 0
#endif
#endif

Change the value to have the correct movement, for exemple, if you run with those parameters your Reprap on the X axi for 1mm and the carriage move 2mm you should write 20.
Re: Adjust Firmware for different steps / mm
November 06, 2010 04:43PM
Thanks,

i forgot there was this config file. Already edit it at the begining m(

now everithing is fine... smiling smiley

Edited 2 time(s). Last edit at 11/06/2010 05:52PM by goaran.


my projects: [www.robotik.dyyyh.de] ...
Re: Adjust Firmware, mm per step - solved
January 12, 2011 04:37AM
Hello,
I have a trapezoidal screw pitch of 5 mm for the Z axis
How is it calculated to replace the file

Thank you
VDX
Re: Adjust Firmware, mm per step - solved
January 12, 2011 06:24AM
... simply draw a line (or square for X+Y)) with defined length ... measure ... and adjust the steps *_STEPS_PER_MM accordingly.


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Adjust Firmware, mm per step - solved
January 12, 2011 02:28PM
Merci beaucoup smiling smiley

Edited 1 time(s). Last edit at 01/12/2011 02:30PM by jha03500.
Re: Adjust Firmware, mm per step - solved
January 13, 2011 09:22PM
VDX Wrote:
-------------------------------------------------------
> ... simply draw a line (or square for X+Y)) with
> defined length ... measure ... and adjust the
> steps *_STEPS_PER_MM accordingly.


This is frought with danger if you have a bit of backlash in your system. The accuracy of the result will depend on the size of the line or square...
Re: Adjust Firmware, mm per step - solved
January 14, 2011 07:18AM
Quote

I have a trapezoidal screw pitch of 5 mm for the Z axis

200 steps (one full round of your stepper) advance you 5 mm, so you have 40 steps/mm or STEPS_PER_MM_Z = 40. Double that value for halfstepping, multiply it by 16 for 1/16 microstepping. You get the idea :-)


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Adjust Firmware, mm per step - solved
January 14, 2011 07:38AM
STEPS_PER_MM = StepsR * Stepping / Advance

StepsR: Steps needed for one revolution (200).
Stepping: 1 = full, 2 = half, 4 = quarter, 8 = eighth, 16 = sixteenth
Advance: Amount Z-axis moves (mm).

for example; 200 * 2 / 5 = 80 (half stepping)


Bob Morrison
Wörth am Rhein, Germany
"Luke, use the source!"
BLOG - PHOTOS - Thingiverse
VDX
Re: Adjust Firmware, mm per step - solved
January 17, 2011 08:22AM
... with my Berger-Lahr/Precitec-drivers and the corresponding 3-hase motors it's a bit more complicated eye rolling smiley

The drivers can preconfigure the 3ph-motors in fullstep-mode to 200 / 400 / 500 / 1000 steps per rev. and with 10x microstepping this changes to 2000 / 4000 / 5000 / 10000 steps per rev.

And with the IMS-drivers for common 2ph-motors i have 8 preconfigs from 1/2 to 1/256 microstepping.

This can be very different for a specific setup, so moving a specified length against a target is the simplest way to define a (maybe even unknown) stepper configuration ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Sorry, only registered users may post in this forum.

Click here to login