Solved Homeall problem with Independent Z motors and endstop switches
-
My first post; I'm doing things i can't, but trying to learn ....Total newbie
Duet2 Eth.
Firmware Version: 2.01(RTOS) (2018-07-26b2)
Web Interface Version: 1.21.2-dc42I have set up my CoreXY with independent Z motors and endstop switches using this guide:
https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches/
When I use "homeall" I get this message "!Error: G0/G1: insufficent axes homed"
But when i home x, y and z individually and then use homeall it is ok.
When I move x, y and z away from endstop, the same error occurs.
What am I missing?
BTW - It prints ok!; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Jan 29 2019 20:37:16 GMT+0100 (sentraleuropeisk normaltid); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode
; Network
M550 P"RatRig" ; Set machine name
M552 P192.168.1.14 S1 ; Enable network and set IP address
M553 P255.255.255.0 ; Set netmask
M554 P192.168.1.254 ; Set gateway
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwardsM350 X16 Y16 Z16 U16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 U400.00 E430.00 ; Set steps per mm
M566 X600.00 Y600.00 Z12.00 U12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 U180.00 E1500.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 U20.00 E10000.00 ; Set accelerations (mm/s^2)
M906 X950.00 Y950.00 Z950.00 U950.00 E950.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 U0 S1 ; Set axis minima
M208 X300 Y300 Z300 U300 S0 ; Set axis maxima;DUAL Z
M584 X0 Y1 Z2:3 U3 E4 P3; Endstops
M574 X1 Y1 Z2 U2 S1 ; Set active high endstops - Endret Z og U fra 1 til 2; Z-Probe
M558 P0 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
M557 X15:15 Y15:195 S20 ; Define mesh grid; Heaters
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 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; 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 power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
Homeall.g
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Jan 29 2019 20:37:16 GMT+0100 (sentraleuropeisk normaltid)G91 ; Relative positioning
G1 S2 Z2 F6000 ; Lift Z
G1 X-305 Y-305 F4200 S1 ; Course home X and Y
G1 X5 Y5 F6000 ; Move away from the endstops
G1 X-305 Y-305 F360 S1 ; Fine home X and Y
M98 Phomez.g
;G90 ; absolute positioning
;G92 Z0 ; set Z to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioningHomez Macro:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Jan 29 2019 20:37:17 GMT+0100 (sentraleuropeisk normaltid)G91 ; relative positioning
G1 S2 Z2 F6000 ; lift Z relative to current positionM584 Z2 U3 P4 ; split Z motor control to Z and U for it to work we have to show U (param P4) in the UI
G1 S1 Z-305 U-305 F1000 ; Move Z and U down until the switches triggers
M584 Z2:3 P3 ; back to combined axes and hidden U
G90 ; Back to absolute positioning
G92 Z0 ; Tell the firmware where we are
; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
;G1 Z10 F1000 ; lift Z relative to current position
G90 ; absolute positioning -
Look at this: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Homing_files
For CoreXY homing is abit different, so follow link above and fix your homeall.g
-
Thank You, will try this tomorrow!