Welcome! Log In Create A New Profile

Advanced

Repetier Firmware: Invert Dual Y Direction

Posted by fraguada 
Repetier Firmware: Invert Dual Y Direction
June 21, 2014 09:15PM
Hello!
I have a dual Y setup and is working just fine. Just a bit of an annoyance is that the second Y stepper needs to be inverted, so I just switch two of the pins coming from the motor. Is there a way to invert a second y motor from the firmware? With .91 firmware I have this in the Configuration.h:

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

Which makes my X,Y1, and Z steppers go in the right direction plus:

#define FEATURE_TWO_YSTEPPER true
#define Y2_STEP_PIN   E1_STEP_PIN
#define Y2_DIR_PIN    E1_DIR_PIN
#define Y2_ENABLE_PIN E1_ENABLE_PIN

To get the Y2 going.

Any pointers to connect the Y2 without physically needing to rewire its pins (i.e. invert Y2 via the firmware) would be appreciated!

Thanks!
Re: Repetier Firmware: Invert Dual Y Direction
July 01, 2014 10:04AM
With their new configuration tool, inverting an axis is quite, quite easy. You can just upload your current configuration.h and just change the inversion of that axis. If how you've changed it somehow doesn't match well it isn't too hard to set up from scratch.


Realizer- One who realizes dreams by making them a reality either by possibility or by completion. Also creating or renewing hopes of dreams.
"keep in mind, even the best printer can not print with the best filament if the user is the problem." -Ohmarinus
Re: Repetier Firmware: Invert Dual Y Direction
July 01, 2014 12:21PM
Thank you for the reply.

The config tool is great, but does not let you define additional axis motors for dual motor configurations, and thus does not let you invert new, additional axis motors. This was introduced in Firmware version .83 I believe, so at the moment I modify the config to add the extra motor. But in the file, there is no 'if you are defining a dual X,Y,or Z motor setup, do you want to invert the new motor?'

That being said, I see such code in the configuration.h:

#define EXT1_INVERSE true
#define EXT1_ENABLE_PIN E1_ENABLE_PIN
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define EXT1_ENABLE_ON false

My extra Y motor is on EXT1, so I will try to mess with these.

Any suggestions are welcome!

Edited 1 time(s). Last edit at 07/01/2014 12:29PM by fraguada.
Re: Repetier Firmware: Invert Dual Y Direction
July 01, 2014 01:48PM
While the firmware does not support dual motors to invert, you can simply turn the motor cable 180 degrees which has the same effect.


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 Firmware: Invert Dual Y Direction
July 01, 2014 01:53PM
As my original post states, I want to avoid the physical cable shifting (which I am doing now), and invert it in the firmware.

Thanks!
Sorry, only registered users may post in this forum.

Click here to login