First of all i have NC switches for the x axis and y axis and an induction probe for the z axis which is connected to the E0 stp pin threw a schottky diode. All of the switches are recognised by the board but when i am about to home all of the axis while the leds of x and y axis goes off and the E0 axis goes on the steppers doesn't stop. Any suggestions will be kindly accepted.
Also i have mapped z axis to y axis and y axis to z axis.
Config file:
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
; Network
M550 PMy printer ; Set machine name
M552 S1 ; Enable network
;*** Access point is configured manually via M587
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; Drives
M569 P0 S0 ; Drive 0 goes backwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes backwards
M584 X0 Y2 Z1 E3 ; Apply custom drive mapping
M350 X256 Y256 Z256 E16 I0 ; Configure microstepping without interpolation
M92 X1089 Y1089 Z15432 E100 ; Set steps per mm
M566 X900 Y900 Z12 E600 ; Set maximum instantaneous speed changes (mm/min)
M203 X8400 Y8400 Z8400 E3000 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1000 Y1600 Z2000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X290 Y270 Z180 S0 ; Set axis maxima
; Endstops
M574 E0 S0 ; Set active low endstops
M574 X1 Y1 S1 ; Set active high endstops
; Z-Probe
M558 P4 X0 Y0 Z1 H5 F120 T6000 I1 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
G31 P600 X0 Y0 Z2 ; Set Z probe trigger value, offset and trigger height
M557 X15:275 Y15:255 S20 ; Define mesh grid
; Heaters
M305 P0 T100000 B3970 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B3970 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M307 H0 A162.2 C1576.9 D21.4
M307 H1 A498.8 C146.2 D17.1
; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H0 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
; Custom settings are not configured