Welcome! Log In Create A New Profile

Advanced

CoreXY homing issues

Posted by Dunston-UK 
CoreXY homing issues
September 17, 2019 05:49AM
Hi

I have got my CoreXY to move in the right directions when looking from the front of the printer X+ moves the gantry to the right, and Y+ moves the gantry to the rear of the printer, BUT, when I home Y it does not do it correctly, (see code) HomeX appears to work fine (see code), and HomeAll looks like it work ok again see code.

What have I done wrong? Can someone please correct me in my mistakes. Thank you

Size of the bed 330 x 300 x 400



Homey.g

G91
G1 Z5 F6000 S2
G1 S1 Y335 F1800
G1 Y5 F6000
G1 S1 Y335 F360
G1 Z-5 F6000 S2
G90

Homex.g

G91
G1 Z1 F6000 S2
G1 S1 X-330 F1800
G1 X5 F6000
G1 S1 X-330 F360
G1 Z-1 F6000 S2
G90

Homez.g

G91
G1 Z-1 F6000 S2
G90
G1 X40 Y20 F6000
G30

; Uncomment the following lines to lift Z after probing
;G91
;G1 S2 Z1 F100
;G90


; homeall.g

G91
G1 Z5 S2 F400
G1 S1 X-330 Y330 F1200
G1 S1 X-290
G1 S1 Y330
G1 X5 Y-5 F1200
G1 S1 X-10
G1 S1 Y10
G90
G91
G1 Z5 F200 S2
G90
G1 X140 Y-140 F6000
G30
G1 X0 Y0 F5000
G1 Z0



Config,g

; Axis Limits
M208 X0 Y0 Z0 S1
M208 X330 Y330 Z400 S0
; Endstops
M574 X1 Y0 S0
M574 Z2 S1


; Z-Probe
M574 Z1 S2
M558 P9 X0 Y0 Z1 H5 F1200 T8000
G31 P500 X0 Y15 Z1.0
M557 X45:310 Y45:310 S50
M307 H3 A-1 C-1 D-1

Edited 1 time(s). Last edit at 09/17/2019 06:26AM by Dunston-UK.
Re: CoreXY homing issues
September 17, 2019 07:50AM
Quote
Dunston-UK
Hi

I have got my CoreXY to move in the right directions when looking from the front of the printer X+ moves the gantry to the right, and Y+ moves the gantry to the rear of the printer, BUT, when I home Y it does not do it correctly, (see code) HomeX appears to work fine (see code), and HomeAll looks like it work ok again see code.

What have I done wrong? Can someone please correct me in my mistakes. Thank you

Size of the bed 330 x 300 x 400



Homey.g

G91
G1 Z5 F6000 S2
G1 S1 Y335 F1800
G1 Y5 F6000
G1 S1 Y335 F360
G1 Z-5 F6000 S2
G90

You forgot the minus sign, should be -5.

EDIT: also your config.g has "M574 X1 Y0 S0" which is Y has no endstop [duet3d.dozuki.com] Should be Y2 if your homing to Max

Edited 1 time(s). Last edit at 09/17/2019 07:58AM by sdavi.
Re: CoreXY homing issues
September 17, 2019 08:26AM
Quote
sdavi

G91
G1 Z5 F6000 S2
G1 S1 Y335 F1800
G1 Y5 F6000
G1 S1 Y335 F360
G1 Z-5 F6000 S2
G90

You forgot the minus sign, should be -5.

EDIT: also your config.g has "M574 X1 Y0 S0" which is Y has no endstop [duet3d.dozuki.com] Should be Y2 if your homing to Max[/quote]

Hi sdavi

It homes to the rear left-hand corner, so the Y0 is now set to Y1, I have also changed the Y5 to Y-5 thank you for that, it is still however not working as it should, once it has homed the Y I can not move it forward by either the dashboard WebUI or direct control commands it remains at the back of the plate, I can move it before I home the Y to the front of the printer. So something is still not quite right.
VDX
Re: CoreXY homing issues
September 17, 2019 08:29AM
... check the working dimensions an axis moving directions - you can't move outside the "allowed" ranges ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: CoreXY homing issues
September 17, 2019 08:32AM
Quote
Dunston-UK

It homes to the rear left-hand corner, so the Y0 is now set to Y1

The rear is max Y, so it should be Y2 in M574.

Edited 1 time(s). Last edit at 09/17/2019 08:32AM by dc42.



Large delta printer [miscsolutions.wordpress.com], Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: CoreXY homing issues
September 17, 2019 08:33AM
Quote
VDX
... check the working dimensions an axis moving directions - you can't move outside the "allowed" ranges ...

By that do you mean the

; Axis Limits
M208 X0 Y0 Z0 S1
M208 X330 Y330 Z400 S0
Re: CoreXY homing issues
September 17, 2019 08:51AM
Quote
dc42
Quote
Dunston-UK

It homes to the rear left-hand corner, so the Y0 is now set to Y1

The rear is max Y, so it should be Y2 in M574.

Thank you dc42 and sdavi that has solved the homing of the Y.

Its now the Homeall that playing up, it moves the printhead all the way to the from of the printer off the print bed area, whereas when the Y was set to Y1 it stayed at the back because the area limits were clearly wrong, now that putting the HomeZ and Homeall out.
Re: CoreXY homing issues
September 17, 2019 09:25AM
Quote
Dunston-UK
Thank you dc42 and sdavi that has solved the homing of the Y.

Its now the Homeall that playing up, it moves the printhead all the way to the from of the printer off the print bed area, whereas when the Y was set to Y1 it stayed at the back because the area limits were clearly wrong, now that putting the HomeZ and Homeall out.

Assuming you want to home x and y, then move to the center of the bed and then do a z-probe try something like this:
; homeall.g

G91 ; relative positioning

G1 Z5 S2 F400 

;Home X and Y
G1 S1 X-330 Y330 F1200 ;quickly move to X and Y endstops
G1 X5 Y-5 F1200 ; back off endstops
G1 S1 X-330 Y330 F360 ; slowly move to X and Y endstops

G90 ; absolute positioning

; Move to bed center
G1 X165 Y165 F1200 ; comment out this line if you dont want to move to the center

G30 ; Probe bed
Re: CoreXY homing issues
September 17, 2019 10:07AM
Quote
sdavi
Quote
Dunston-UK
Thank you dc42 and sdavi that has solved the homing of the Y.

Its now the Homeall that playing up, it moves the printhead all the way to the from of the printer off the print bed area, whereas when the Y was set to Y1 it stayed at the back because the area limits were clearly wrong, now that putting the HomeZ and Homeall out.

Assuming you want to home x and y, then move to the center of the bed and then do a z-probe try something like this:
; homeall.g

G91 ; relative positioning

G1 Z5 S2 F400 

;Home X and Y
G1 S1 X-330 Y330 F1200 ;quickly move to X and Y endstops
G1 X5 Y-5 F1200 ; back off endstops
G1 S1 X-330 Y330 F360 ; slowly move to X and Y endstops

G90 ; absolute positioning

; Move to bed center
G1 X165 Y165 F1200 ; comment out this line if you dont want to move to the center

G30 ; Probe bed

Thank you for that sdavi, it worked apart from G1 S1 X-330 Y330 F1200 I had to put them on separate lines otherwise it kept saying G28 insufficient homes axis when I homed all. Hopefully, now my settings are all correct and not back to front and wrong way round. Again thank you for your help.
Re: CoreXY homing issues
September 17, 2019 04:40PM
That's right, for a CoreXY you can do an initial combined X and Y homing move, but this will stop when the first of X and Y is homed. So you must follow it by individual X and Y homing moves. See [duet3d.dozuki.com].



Large delta printer [miscsolutions.wordpress.com], Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Sorry, only registered users may post in this forum.

Click here to login