Welcome! Log In Create A New Profile

Advanced

A little help getting set up (D-Bot/Duet)

Posted by Mr Spangles 
A little help getting set up (D-Bot/Duet)
August 17, 2016 06:46AM
I'm not sure if this should be in the CoreXY or Duet section tbh, but here we are...
This is getting embarassing.

Ok, so I've built myself a 300x300 D-Bot running 24v / Duet 0.8.5 / 0.9° / Titan / V6 / Hall stops / IR probe (DC42).
I've got most things working as they should in terms of temps, e-stops, extrusion length and motor travel distance etc.

As I've seen some conflicting info, this first timer needs a little help to clarify a few things if you'd be so kind.

- Where should 0,0 home be? I currently have it at the back left against the X stop (Y stop is at the back right).
- I'm using web control. Which direction should +X, +Y and +Z move the carriage and bed as you're looking at the printer from the front?
Currently, +X moves the carriage left, +Y moves the carriage back and +Z moves the bed down.
The coordinates for the centre of the bed are X-145, Y-145 (290x290 working area). Should these be positive numbers instead?

I can currently home X and Y with no problems.
Homing Z is proving to be a pain. If I follow these instructions, I can't move X/Y anywhere after homing them using either gcode commands or the movement buttons to get them to the center of the bed, so I'm kind of stuck on this one.
If I then press home Z just to see what happens, X/Y start trying to force their way into the back rail.

Left motor is plugged into Y, right into X.

Here's my sys config:

Machine configuration
M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it)
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
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 Y1 Z0 S1 ; set endstop configuration (X and Y and endstops only, at low end, active high)
M574 X1 S0
M667 S1 ; set CoreXY mode
M92 X200 Y200 Z800 ; Set axis steps/mm
M92 E417:417 ; Set extruder steps/mm
M906 X800 Y800 Z800 E900 ; Set motor currents (mA)
M201 X800 Y800 Z150 E800 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z500 E300 ; Maximum speeds (mm/min)
M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
M208 X290 Y290 Z237 ; set axis maxima (adjust to suit your machine)
M208 X0 Y0 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves

; Z probe
M558 P1 X0 Y0 Z1 ; Analog Z probe, also used for homing the Z axis
G31 Z3.21 P537 ; Set the probe height and threshold (put your own values here)
; The following M557 commands are not needed if you are using a bed.g file to perform bed compensation
;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the Z probe
M557 P0 X-10 Y-10 ; Four...
M557 P1 X-280 Y-10 ; ...probe points...
M557 P2 X-280 Y-280 ; ...for bed...
M557 P3 X-10 Y-280 ; ...levelling
;M557 P4 X-145 Y-145 ; 5th probe point for levelling

; Thermistors and heaters
;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
; You can also use S and B parameters to define the parameters of the thermistors you are using
M143 S300 ; Max hotend temp
M305 P0 R4700 T100000 B3950 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 R4700 T100000 B4388 H-1.4 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
M570 S120 ; Increase to allow extra heating time if needed

; Tool definition
M563 P0 D0 H1 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;*** If you have a dual-nozzle build, un-comment the following 3 lines
;M563 P1 D1 H2 ; Define tool 1
;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures

;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation here
T0 ; select first hot end


Ok, no spoiler tags on here...

I've tried to provide as much relevant info as I can. Please let me know if you need anything more.

Cheers smiling smiley

Edited 1 time(s). Last edit at 08/17/2016 06:50AM by Mr Spangles.
Re: A little help getting set up (D-Bot/Duet)
August 17, 2016 08:26AM
The usual choice is for +X to be to the right and +Y to be away from you. I think you will need to swap the X and Y motor corrections to achieve this, then if necessary reverse one or both motor directions either by reversing the connector or by adjusting the M569 commands in config.g. Always power down before changing wiring.

The (0,0) position will then be front left. However, you don't need to have your homing switches in that position, just make sure that your homing files are set up correctly according to whether each homing switch is at the low or high end. If your X homing switch it at the left then it is low end, and if your Y homing switch is at the back then it is high end.

The centre of the bed should be about (145, 145). If your Y homing switch is at the back, you will need to tell the firmware in the M574 command that it is a high-end switch.

Bed moving down when you do +Z is correct.

Your failure to move XY when all axes are homed is probably because your current configuration would require you to move to negative coordinates, which is not allowed by default.



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

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: A little help getting set up (D-Bot/Duet)
August 17, 2016 08:34AM
Ah... I think I ended up flipping all the movement after our email conversation yesterday.
I had X doing the right thing at first, but you pointed out that Y and Z were wrong. I guess I just assumed I had X wrong as well and changed that too.

David, you truly have the patience of Jesus himself.
Thanks again, and probably not for the last time.
Re: A little help getting set up (D-Bot/Duet)
August 24, 2016 01:49PM
Mr spangles

I'm in the process of getting all the bitts together to do the same coerxy 300x300x300 in a 500x500x500 frame with a final build space of 400x400x400 ill replay with it and squeeze the extra build space when ive got the 300x300x300 running
anyway did you blog your build are video diary your presses (fingers crossed) are can you point me at some helpful posts you find that helped out
Re: A little help getting set up (D-Bot/Duet)
August 24, 2016 06:54PM
No, I didn't blog the build process I'm afraid.

Is there any particular thing you might need help with?
Re: A little help getting set up (D-Bot/Duet)
August 24, 2016 07:07PM
not at the moment no thanks still nailing down the design and working out what motherboard im going to use i think the duet are (milkshake) board
Sorry, only registered users may post in this forum.

Click here to login