Welcome! Log In Create A New Profile

Advanced

Calibration Problems with Repitier firmware and repitier host.

Posted by paulharrington 
Calibration Problems with Repitier firmware and repitier host.
July 20, 2013 04:45PM
I recently installed the repetier firmware onto my arduino and when i begin to control it through the Repetier host there are number of things not working or wrong. These are being controlled via the "manual control"
I am running the most recent firmware (Repetier_.83) and host. (V.90c)

x-axis works fine but in reverse
y-axis works fine but in reverse
z- axis only raises, it will not lower towards the bed..
All end stops do not work.
Extruder works but is in reverse.
Heatbed and Nozzle both work as do thermometers.

These problems occur before i have even started to calibrate anything

I am running ramps 1.2 (and i changed the motherboard to "3" as instructed) and an arduino mega 128 on a windows 8 machine.

Any help given would be much appreciated. To let you know I am a complete noobie at this and have little to know skills when it comes to programming or g-code etc..

Many thanks
Paul
Re: Calibration Problems with Repitier firmware and repitier host.
July 20, 2013 09:01PM
inverting the direction of each axis is done in the firmware configuration, or you can also use a negative steps/mm value.

axis only moving in one direction sounds like it thinks that the endstop is held down

setting the motherboard should put you on the right pins, but make sure that the pullups and inverting flag is set properly for each endstop in the main configuration.
Re: Calibration Problems with Repitier firmware and repitier host.
July 21, 2013 02:44AM
Please do net use negative steps per mm. Each motor has something like
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false

that you use to set the correct direction. Endstops work only if the motors go in the direction towards end stop. So it is ok to not work. You can test end stop state with
M119

Untriffered you need a L and triggered a H would be right. Try triggering by hand and see if they change. If they do not work as expected these are your friends:
/* By default all endstops are pulled up to HIGH. You need a pullup if you
use a mechanical endstop connected with GND. Set value to false for no pullup
on this endstop.
*/
#define ENDSTOP_PULLUP_X_MIN false
#define ENDSTOP_PULLUP_Y_MIN false
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_PULLUP_X_MAX false
#define ENDSTOP_PULLUP_Y_MAX false
#define ENDSTOP_PULLUP_Z_MAX false

// Set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING true
#define ENDSTOP_Y_MAX_INVERTING true
#define ENDSTOP_Z_MAX_INVERTING true


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Calibration Problems with Repitier firmware and repitier host.
July 21, 2013 07:39AM
Hi there,
Thank you both for your responses.. I was able to change the direction of the x axis via the configuration changing "#define INVERT_X_DIR true" to "#define INVERT_X_DIR false"

I also copied the settings word for word what you said above..



/* By default all endstops are pulled up to HIGH. You need a pullup if you
use a mechanical endstop connected with GND. Set value to false for no pullup
on this endstop.
*/
#define ENDSTOP_PULLUP_X_MIN false
#define ENDSTOP_PULLUP_Y_MIN false
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_PULLUP_X_MAX false
#define ENDSTOP_PULLUP_Y_MAX false
#define ENDSTOP_PULLUP_Z_MAX false

// Set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING true
#define ENDSTOP_Y_MAX_INVERTING true
#define ENDSTOP_Z_MAX_INVERTING true

This got the z- axis to move both up and down and made the z-axis endstop work. Another success..

I still haven't gotten the "x-axis/y-axis" endstops to work correctly.. I have tried manually switching them while they are going in both directions and nothing happened..
Re: Calibration Problems with Repitier firmware and repitier host.
July 21, 2013 08:13AM
Try:

1. Restart Repetier-Host
2. Click [Home All] or send G28
3. Click e.g. X [+10] and X [Home]

Does it now work?

If it doesn't work, you can upload your latest Configuration.h and pins.h.

By the way did you check the EEPROM Settings in Repetier-Host > Printer > EEPROM Settings?

Edited 5 time(s). Last edit at 07/21/2013 08:35AM by flurin.
Re: Calibration Problems with Repitier firmware and repitier host.
July 21, 2013 10:58AM
Please check the end stops with M119 not with moving. Depending on
#define ALWAYS_CHECK_ENDSTOPS true

the end stops are only tested during homing or always. Only z end stop is always tested.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Sorry, only registered users may post in this forum.

Click here to login