The Robo3d r1 plus uses microswitch endstops on the x axis gantry that trigger when the nozzle touches the bed. My goal is to keep this autolevel procedure. I saw someone was able to do it https://forum.duet3d.com/topic/4737/zprobe-robo3d-r1.
But it wasnt very clear how they did it.
The 2 microswitch endstops are wire to one connector that is currently plugged into E0 endstop port p4 i1 in the config.g and g29 at the end of bed.g file as recommended in this forum https://forum.duet3d.com/topic/4737/zprobe-robo3d-r1
I have gone through the mesh bed leveling instructions.
When I run a test print it homes all then moves to the front left of the machine (x axis seems to crash) then begins mesh grid leveling sequesnce.
Then it homes the x and y and heats the extruder. It seems to be printing too close to the bed.
here are my config.g , homez.g, homeall.g and bed.g files.
Im not sure how many things I am doing wrong here but I am sure Im doing something wrong.
; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
M350 E16 I1 ; Configure microstepping with interpolation
M92 X160 Y160 Z1600 E723.38 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X30000 Y30000 Z300 E1500 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 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 X230 Y254 Z200 S0 ; Set axis maxima
; Endstops
M574 Z1 S0 ; Set active low endstops
M574 X2 Y2 S1 ; Set active high endstops
; Z-Probe
M574 Z1 S2 ;
M558 P0 I1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y0 Z-1 ; Set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:239 S50 ; Define mesh grid
; Heaters
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S110 ; Set temperature limit for heater 0 to 110C
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S300 ; Set temperature limit for heater 1 to 300C
; Fans
M106 P0 S0.6 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
; 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
; Automatic saving after power loss is not enabled
; Custom settings are not configured
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 18:50:03 GMT+0800 (中国标准时间)
G91 ; relative positioning
G1 Z5 F4000 S2 ; lift Z relative to current position
G90 ; absolute positioning
G1 X25 Y25 F4000 ; go to first probe point
G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F1000 ; lift Z relative to current position
;G90 ; absolute positioning
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X235 Y259 F4000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 X-5 Y-5 F5000 ; go back a few mm
G1 S1 X235 Y259 F3000 ; move slowly to X and Y axis endstops once more (second pass)
G1 S1 Z-205 F1800 ; move Z down stopping at the endstop
G90 ; absolute positioning
G1 X15 Y15 F2000 ; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Sun Oct 28 2018 16:32:40 GMT-0700 (Pacific Daylight Time)
M561 ; clear any bed transform
G28 ;
; Probe the bed at 4 points
G30 P0 X15 Y15 H0 Z-99999
G30 P1 X15 Y239 H0 Z-99999
G30 P2 X215 Y239 H0 Z-99999
G30 P3 X215 Y15 H0 Z-99999 S2
G29 ;