Quantcast
Channel: Repetier-Firmware - Repetier-Forum
Viewing all articles
Browse latest Browse all 1057

Dual X endstops and homing

$
0
0
I need some help understanding configuration settings for dual X setup.

In my initial configuration I tried to replicate my Velleman Vertex K8400 printer that has Tool 0 at the right and Tool 1 at the left.  
My settings were
X_HOME_DIR=1
MIN_HARDWARE_ENDSTOP_X false
MAX_HARDWARE_ENDSTOP_X true
MIN_HARDWARE_ENDSTOP_X2 true
MAX_HARDWARE_ENDSTOP_X2 false

Right motor was connected to the default X driver and left (X2) motor was connected to 3rd (unused) extruder's driver.

All endstops were tested with M119 and worked correctly.
Both print heads moved correctly, however, during homing, X2 motor would not stop when MIN_HARDWARE_ENDSTOP_X2 was triggered.

Then I decided to swap the motors, made left motor X and right motor X2.
I changes settings to 
X_HOME_DIR=-1
MIN_HARDWARE_ENDSTOP_X true
MAX_HARDWARE_ENDSTOP_X false
MIN_HARDWARE_ENDSTOP_X2 false
MAX_HARDWARE_ENDSTOP_X2 true
The behavior was the same - MAX_HARDWARE_ENDSTOP_X2 would trigger but not stop X2 motor during homing.

Since nether MIN, nor MAX X2 endstops worked, I decided to switch to the default endstops
X_HOME_DIR=-1
MIN_HARDWARE_ENDSTOP_X true
MAX_HARDWARE_ENDSTOP_X true
MIN_HARDWARE_ENDSTOP_X2 false
MAX_HARDWARE_ENDSTOP_X2 false

Surprisingly, this configuration worked just fine, but I left wondering, are these settings correct and if they are, under which conditions MIN and MAX ENSTOP_X2 should be used.

I am attaching my configuration.h file in case somebody wants to have a look at it. 

If you are running Repetier firmware on dual X printer, I'd really appreciate if you share your configuration.h file with me.

Thanks.
P.S. My mainboard is Ultratronics PRO v1.0


Viewing all articles
Browse latest Browse all 1057

Trending Articles