Open adarshparavoor opened 5 years ago
HI The direction you set back to zero is this X_HOME_DIR 1 #Homing direction(-1:MIN,1:MAX) Y_HOME_DIR -1 #Homing direction(-1:MIN,1:MAX) Z_HOME_DIR 1 #Homing direction(-1:MIN,1:MAX) That is, x and z will reverse max, y back to min direction
But you enable the hardware limit but enable xyz to be the minimum limit.
MIN_HARDWARE_ENDSTOP_X 1 MIN_HARDWARE_ENDSTOP_Y 1 MIN_HARDWARE_ENDSTOP_Z 1 MAX_HARDWARE_ENDSTOP_X 0 MAX_HARDWARE_ENDSTOP_Y 0 MAX_HARDWARE_ENDSTOP_Z 0
Therefore, it is said that the limit does not work. For example, if you set x to max, but you are exposed to the xmin limit switch, or a max switch that is not enabled, it is not normal.
If you want to press your direction of zero return, the limit you enable should be like this
MIN_HARDWARE_ENDSTOP_X 0 MIN_HARDWARE_ENDSTOP_Y 1 MIN_HARDWARE_ENDSTOP_Z 0 MAX_HARDWARE_ENDSTOP_X 1 MAX_HARDWARE_ENDSTOP_Y 0 MAX_HARDWARE_ENDSTOP_Z 1
If wiring, you should also connect to the corresponding interface of min or max on the motherboard.
There is also a certain direction to set the normal, as well as the switch normally open and normally closed is also set according to their own circumstances.
Mine is custom made core xy printer. End stop using here is optical sensor. The code that i used for the purpose is given below. X axis End stop is not working when the homing direction is as on the code given below. If i reverse this direction end stop will work. Please help me to solve this issue.
-------------------------------------------------------------
############ Based Settings( Required) #######################
machine type
0:xyz
1:corexy(x_motor = x+y, y_motor = x-y),
2:corexy(x_motor = x+y, y_motor = y-x),
3:delta
--------------------------------------------------------------
################# Machine settings ############################
1 means endstop always-on,0 is always-off----reversing the sensor logic.
1 for Min/Max endstop enable in hardware,while 0 disable
1 for Min/Max endstop enable in software,while 0 disable
---------------------------------------------------------------
################ Delta Settings ##############################
-------------------------------------------------------------
################## Advanced Settings#############################
-------------------------------------------------------------
################# Bed Leveling #############################
Leveling mode settings
########## Manual Leveling #############
manual leveling
the 5 point location of manual leveling
########### Auto Leveling ##############
---------------------------------------------------------------
################# Wireless #####################################
----------------------------------------------------------------
############### Special Setup(default) ######################
For inverting stepper enable pins
Type of heat manager for this extruder.
- 0 = Simply switch on/off if temperature is reached.
- 1 = PID Temperature control.
- 3 = Dead-time control.
the PID setting of extruder
-------------------------------------------------------------
####### Display Effect(refer to MKS TFT datasheet) ###########
user-defined function1 and 2
each command must be separated by semicolon ";"
edit command for 1~7 "More" button
each command must be separated by semicolon ";"
each icon command must be less than 200 bytes
the number of "more" button to dispaly on printing interface
button1~button6 function
----------------------------------------------------------------
############## Display Customization #######################