makerbase-mks / MKS-Robin-Nano-V3.X

Robin nano V3 is an upgraded version of Robin Nano V2.0. The upgrade changes are quite large, including upgrading the MCU to the M4 core, and adding support for USB disk.
GNU General Public License v3.0
136 stars 65 forks source link

Reversal of X axis after autolevel #131

Open albielew opened 1 year ago

albielew commented 1 year ago

My X Axis is reversing AFTER autolevelling I know how stupid this sounds but the X Y and X axis work perfectly before autolevelling Manually move them and they move in the right direction Autohome Any of All axis and they move in the right direction and autohome When I autolevel it goes through the autolevelling and at the end it then tries to send the X axis to the right when it's already there If I try and move the axis through the interface the axis is reversed + goes left and - goes right I'm using an MKS Robin Nano V3 board with Mks-Robin-Nano-Marlin2.0-Firmware-master These are the relevent settings

define Z_MIN_PROBE_PIN PC4 // Pin 32 is the RAMPS default

define BLTOUCH

define NOZZLE_TO_PROBE_OFFSET { -35.43,-4.78, -2 }

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' }

define X_ENABLE_ON 0

define Y_ENABLE_ON 0

define Z_ENABLE_ON 0

define E_ENABLE_ON 0 // For all extruders

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.

define INVERT_X_DIR false

define INVERT_Y_DIR true

define INVERT_Z_DIR true

// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR -1

define Y_HOME_DIR -1

define Z_HOME_DIR -1

//#define I_HOME_DIR -1 //#define J_HOME_DIR -1 //#define K_HOME_DIR -1

// @section machine

// The size of the printable area

define X_BED_SIZE 300

define Y_BED_SIZE 300

// Travel limits (mm) after homing, corresponding to endstop positions.

define X_MIN_POS 0

define Y_MIN_POS 0

define Z_MIN_POS 0

define X_MAX_POS X_BED_SIZE

define Y_MAX_POS Y_BED_SIZE

define Z_MAX_POS 300

define AUTO_BED_LEVELING_BILINEAR

define RESTORE_LEVELING_AFTER_G28

define Z_PROBE_END_SCRIPT "G28"