Welcome! Log In Create A New Profile

Advanced

Repetier+gen7 1.5+delta+ optoendstop problem

Posted by threemicrons 
Repetier+gen7 1.5+delta+ optoendstop problem
September 21, 2013 12:41PM
Hello,

I have a problem setting up my delta printer.

I'm using Repetier 0.82, Gen 7 1.5 with 20mhz 1280ppu, deltaprinter configuration and gen 1.3.1 endstops.

Firmware works, host software works, and the steppers are moving the axes nicely. When i load up the host program(0.90C), i can load a model, slice it and make it do it's stuff. However when i try to home it, it does nothing. I have tried the following:

- sending the G28 command manually - nothing
- making sure my endstops are working(they are)
- making changes to the firmware

My machine is set up so the top of the towers have MIN endstops(opto) and no endstops at the bottom.I have about 180mm of travel. I've attached a copy of my current settings here aswell so future people searching for this problem on google can find it easier smiling smiley

// ##########################################################################################
// ## Endstop configuration ##
// ##########################################################################################

/* 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 true
#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 true
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

// Set the values true where you have a hardware endstop. The Pin numbe ris taken from pins.h.

#define MIN_HARDWARE_ENDSTOP_X false
#define MIN_HARDWARE_ENDSTOP_Y false
#define MIN_HARDWARE_ENDSTOP_Z true
#define MAX_HARDWARE_ENDSTOP_X false
#define MAX_HARDWARE_ENDSTOP_Y false
#define MAX_HARDWARE_ENDSTOP_Z true

//If your axes are only moving in one direction, make sure the endstops are connected properly.
//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here



//// ADVANCED SETTINGS - to tweak parameters

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false

// Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false

//// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

// Delta robot radius endstop
#define max_software_endstop_r true

//If true, axis won't move to coordinates less than zero.
#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z false

//If true, axis won't move to coordinates greater than the defined lengths below.
#define max_software_endstop_x false
#define max_software_endstop_y false
#define max_software_endstop_z false


// You can disable endstop checking for print moves. This is needed, if you get sometimes
// false signals from your endstops. If your endstops don't give false signals, you
// can set it on for safety.
#define ALWAYS_CHECK_ENDSTOPS true

// 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 200
#define Y_MAX_LENGTH 200
#define Z_MAX_LENGTH 160

// Coordinates for the minimum axis. Can also be negative if you want to have the bed start at 0 and the printer can go to the left side
// of the bed. Maximum coordinate is given by adding the above X_MAX_LENGTH values.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
Re: Repetier+gen7 1.5+delta+ optoendstop problem
September 21, 2013 01:22PM
Ok, basically your endstops are completely wrong. For a delta you need to set the x,y and z max endstops for the 3 columns. X is the left, Y the back one and Z the right one, I think.

If gen1.5 only has 3 endstops they are configured as min end endstops and you have to change the pins.h to set them on the pin numbers to the max ones.

BTW: For delta printers you should use the development version. It has many improvements and fixes for delta printer making life easier.


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: Repetier+gen7 1.5+delta+ optoendstop problem
September 21, 2013 01:49PM
Repetier,

thanks for the information! I'll do a switch tomorrow and update with the results.

I'll hijack this thread for a second and also ask - do you have any idea why my other machine(regular reprap printer) using same controller and software is moving both x and y axis at the same time in some situations?

Thanks!
Re: Repetier+gen7 1.5+delta+ optoendstop problem
September 21, 2013 02:02PM
threemicrons Wrote:
-------------------------------------------------------

> I'll hijack this thread for a second and also ask
> - do you have any idea why my other
> machine(regular reprap printer) using same
> controller and software is moving both x and y
> axis at the same time in some situations?

I assume you are not talking about pure x and y moves.
The only valid reason is, if you set DRIVE_SYSTEM wrong, e.g. 1 or 2 will move both on pure x and y moves to reach it's goal (h-gantry system).

If this is not the case, you need to be more specific when this exactly happens and how much it moves. Never had that happen, so no obvious answer for this if it is not an electronic problem.


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