Welcome! Log In Create A New Profile

Advanced

Repetier Firmware: h-gantry + steps-per-mm

Posted by andin 
Repetier Firmware: h-gantry + steps-per-mm
September 16, 2013 08:48AM
Hi,

I am testing a classical h-bot gantry with the Repetier-Firmware.

So far, the movement direction and the endstops are working fine. However, the movement distance along the X and Y axis is not correct:

eg. command G1 X200 makes the extruder move only around +170mm in the X-direction. G1 Y200 moves the extruder only around +170mm in the Y-direction.

Settings (double checked in EEPROM):
XAXIS_STEPS_PER_MM 160
YAXIS_STEPS_PER_MM 160

I use GT2 (2mm pitch) pulleys with 20 teeth. This yields 80steps/mm for a stepper with 1.8deg/step in 1/16 microstepping mode. According to comments in the Repetier-Firmware: "For xy gantry use 2*belt moved!", which I understand as using 80*2=160 for the number of steps per mm in the settings.

How do I get the correct distance travelled along the X and Y axis?

I would be thankful to any comments and help!
Re: Repetier Firmware: h-gantry + steps-per-mm
September 16, 2013 04:53PM
Re: Repetier Firmware: h-gantry + steps-per-mm
September 16, 2013 06:05PM
Thanks, I did that. The result is the same: 80steps/mm.

I wonder if I have some misunderstanding of the settings in Configuration.h for steps per mm for an H-gantry. Maybe I am missing something else, here...

I hope someone has an idea here.
Re: Repetier Firmware: h-gantry + steps-per-mm
September 16, 2013 07:11PM
Check the MAX_LENGTH. Here are the default settings:

// maximum positions in mm - only fixed numbers!
// For delta robot Z_MAX_LENGTH is maximum travel of the towers and should be set to the distance between the hotend
// and the platform when the printer is at its home position.
// If EEPROM is enabled these values will be overidden with the values in the EEPROM
#define X_MAX_LENGTH 165
#define Y_MAX_LENGTH 175
#define Z_MAX_LENGTH 80

And remember to change the EEPROM_MODE to a different value.

Otherwise try G1 X100 or G1 Y100.



3D Printing :: bit-by-bit - Thingiverse
Re: Repetier Firmware: h-gantry + steps-per-mm
September 17, 2013 06:51AM
Thanks, MAX_LENGTH values are correct. The device is homed with at x_max and y_min. The same problem persists even for G1 X10 or G1 Y10.

EEPROM_MODE is set to 1. I can change EEPROM constants in Repetier-Host and this works.

Where else could the problem be?
Re: Repetier Firmware: h-gantry + steps-per-mm
September 17, 2013 07:16AM
If you don't mind, you can upload your Configuration.h (Attach a file > Choose File > Attach).
I'll compare (OS X > FileMerge) your configuration with mine.



3D Printing :: bit-by-bit - Thingiverse
Re: Repetier Firmware: h-gantry + steps-per-mm
September 17, 2013 02:20PM
I have found the problem. It was a bad solder joint on the stepper pin. I guess I should have checked the electrics before bothering with questions about firmware. Thanks for offering your help!
Re: Repetier Firmware: h-gantry + steps-per-mm
September 19, 2013 09:42AM
Okay, although I don't catch why this has affected both X and Y axes.



3D Printing :: bit-by-bit - Thingiverse
Re: Repetier Firmware: h-gantry + steps-per-mm
September 20, 2013 12:52PM
I appologize for my last post - it was intended as an answer to another question in another forum.

The problem with the X/Y movement was indeed related to EEPROM settings, and to MAX_LENGTH in particular. I have checked EEPROM settings again, and these were messed up for some reason (0 or 255 values for some of parameters). After uploading the firmware again, the problem was solved. Thanks again for help!
Sorry, only registered users may post in this forum.

Click here to login