Welcome! Log In Create A New Profile

Advanced

CoreXY Carriage stuttering during Z Axis Homing

Posted by thepj 
CoreXY Carriage stuttering during Z Axis Homing
October 27, 2017 10:31PM
I everyone! I am a long time lurker, but first time poster :-) I built a DBot and after a TON of reading, was able to get my X and Y axis to home properly, and in the right direction using my Duet Wifi. I am having a problem with the Z Axis homing as shown in my linked Video I took, and you can see at the end, it goes CLICK CLICK CLICK, and when I move the video, it isn't hitting the end stop, which it does when homing that axis. It stutters constantly and the Z Axis homing eventually fails. No problems with X and Y homing, just the Z. I will be using a BLtouch.... eventually when I mount it, but wanted to get everything started off. I am using a very slightly modified config.g and homeall.g that I found from another user on this forum. This issue is happening when the belts are super tight, and slightly loose as well.

After looking at the video, can anyone either tell me what is wrong, or direct me to figure it out on my own (and down the right path)? I would really appreciate it!

YouTube Link to the video I took of this issue

config.g
M111 S0 ; Debug off
M550 Mega-DBot ; Machine name (can be anything you like)
;M551 Ppassword ; Machine password (used for FTP connections)
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
M552 S1                ; Enable WiFi
;M552 P192.168.1.15 ; IP address (0 = use DHCP)
;M554 P192.168.1.1 ; Gateway
;M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin
;M575 P1 B57600 S1 ; Comms parameters for PanelDue

G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves

; ************* Machine Movement configuration  *****************
;M569 P0 S1 ; Drive 0 goes forwards (change to S0 to reverse it) //X or Y
M569 P0 S1
M569 P1 S1 ; Drive 1 goes forwards //X or Y
M569 P2 S1 ; Drive 2 goes forwards //Z Motor
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S0 ; Drive 4 goes forwards
; If you use an endstop switch for Z homing, change Z0 to Z1 in the following line, and see also M558 command later in this file
;M574 X1 Y1 Z1 S0 ; set endstop configuration
M574 X1 Y2 Z0 S0
;M574 X2 Y1 Z1 S0
M667 S1 ; set CoreXY mode
M667 S1 Y-1.0
M92 X100 Y100 Z400 ; Set axis steps/mm
M906 X500 Y500 Z800 E400 ; Set motor currents (mA)
M201 X2000 Y2000 Z100 E4000 ; Accelerations (mm/s^2)
M203 X30000 Y30000 Z300 E1500 ; Maximum speeds (mm/min)
M566 X600 Y600 Z24 E300 ; Maximum jerk speeds mm/minute
M208 X270 Y260 Z265 ; set axis maxima (adjust to suit your machine)
M208 X0 Y-10 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)

; ************* Z probe  *****************
M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
G31 Z1.20 P500   ; Set the probe height and threshold (put your own values here)


; ************* Thermistors and heaters  *****************
;*** If you have a Duet board with 4.7K thermistor series resistors, change R1000 to R4700 to the following M305 commands

;M305 P0 T100000 B3950 R4700 H0 L0    ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B4388 R4700 H0 L0    ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 T100000 B4388 R4700 H0 L0    ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction

M570 S120    ; Increase to allow extra heating time if needed
;M141 H3    ; Un-comment this to set chamber heater/thermistor channel
M143 S285     ; Un-comment this to set maximum extruder temperature, default is 262C
;************************************************

; ************* Tool definition  *****************
M92 E417:417    ; set extruder 0 and 1 steps/mm based on Titan's formula of 417 calibrated to:

; ============== Chimera Dual HotEnd w/Dual Extruders ============
; Nozzle 0
M563 P0 D0 H1         ; tool 0 uses extruder drive 0 and heater 1
G10 P0 S0 R0 X-18 Y0  ; set tool 0 temperatures and offsets
;M301 H1 P10 I0.10 D100 T0.50 S1.0    ; PID settings for extruder 0

;Nozzle 1
M563 P1 D1 H2         ; tool 1 uses extruder drive 1 and heater 2
M301 H2 P10 I0.10 D100 T0.50 S1.0    ; PID settings for extruder 1
G10 P1 S0 R0 X18 Y0   ; set tool 1 temperatures and offsets

; ============== Cyclops Dual Filament HotEnd w/Single Extruder ============
; uncomment here when using - comment out Chirmera
;M563 P0 D0 H1         ; define tool 0
;G10 P0 S0 R0 X0 Y0    ; set tool 0 temperatures and offsets
;M563 P1 D1 H1         ; define tool 1
;G10 P1 S0 R0 X0 Y0    ; set tool 1 temperatures and offsets


T0 ; select first hot end

homeall.g
; homeall file for use with dc42 Duet firmware on CoreXY printers
; This file assumes the endstop switches are at the low end of each axis.
; Reverse the X and Y movement for high-end switches.
; Adjust the bed upper and lower limits in config.g (M208 commands) to get the correct homing positions

G91                       ; relative mode
G1 S1 X-240 Y-240 F3000   ; course home X or Y
G1 S1 X-240               ; course home X
G1 S1 Y-240               ; course home Y
G1 X4 Y4 F600             ; move away from the endstops
G1 S1 X-10                ; fine home X
G1 S1 Y-10                ; fine home Y

; If you are using a microswitch for Z homing, insert similar code for the Z axis here,
; but use lower feed rates suitable for your Z axis.

G90                       ; back to absolute mode
G1 Z4 F200
G1 S1 Z10                ; fine home Z


; If you homed the Z axis using an endstop switch, you can insert a G92 command here to correct the height.

; The following code assumes you are using a Z probe to do Z homing. Remove it if you are using a microswitch.
; Adjust the XY coordinates in the following to place the Z probe over a suitable spot,
; preferably near the centre of the bed if your Z probe supports that

;G1 X100 Y100 F2000
;G30
; This file leaves the head at the zprobe trigger height so that you can slip a piece of paper under it and then do G0 Z0 to check the height.
; If you prefer to send the printer to X0Y0Z0, un-comment the following lines
;G1 X0 Y0 F5000
;G1 Z0

Edited 2 time(s). Last edit at 10/27/2017 10:35PM by thepj.
Re: CoreXY Carriage stuttering during Z Axis Homing
October 28, 2017 01:49AM
HI,

M574 X1 Y2 Z0 S0

You have configured Y endstop to be at highend.

G1 S1 Y-240

In homeall.g it looks like you home it to low end?

Where are your origin? It’s usually top front left corner but when you do your first homing move “G1 S1 X-240 Y-240 F3000” it looks like the origin on your printer is top left back?

It might be that you switched connectors for x and y steppers or have to switch direction of the steppers with M569 and then fix your homeall.g.

Edited 1 time(s). Last edit at 10/28/2017 01:55AM by lars.arvidson.
Re: CoreXY Carriage stuttering during Z Axis Homing
October 28, 2017 03:30AM
; ************* Z probe  *****************
M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
G31 Z1.20 P500   ; Set the probe height and threshold (put your own values here)

Do you have an analog Zprobe?
Sorry, only registered users may post in this forum.

Click here to login