Cartesian origin/print start point
-
I've been trying to upgrade my old BitsFromBytes 3D Touch printer to a Duet Wifi board for some time now. I've got things mostly dialed in to where they should be, at least it prints now, sort of. When I home the axes, it zeros the head in at the back left corner of the print bed, where the endstops are. But when I tell it to print anything, the head zooms off to the opposite front right corner of the bed and starts the print there.
The real problem is that it only prints the left half of the object, it's as if the right half was clipped off by the limit of the X axis. I used to be able to specify where on the bed the object printed in Kisslicer, but now no matter what it goes to the front right corner every time. -
1. Please post your config.g file and your homing files.
2. How large is the bed?
3. Have you checked that after homing, if you use the jog buttons in the web interface to move the head e.g. 100mm in the +X direction, the amount of movement is correct i.e. 100mm ?
-
Here is my config and homeall for my CubeX Duo should be similar.
I also have the same for my Trio with a Z probe if you need that.; Joe config file for dc42 DuetWiFi firmware
;General Preferences
M111 S0 ; Debug off
G21 ; Work in millimeters
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set output to look like Marlin
M208 X0 Y0 Z0 S1;set axis minimum (adjust to make X=0 the edge of the bed)
M208 X270 Y270 Z200 ; Set axis maxima
M575 P1 B57600 S1;Endstops
M574 X1 S0 ;set endstop configuration (Y endstop only, at low end, active high)
M574 Y2 S0 ;set endstop configuration (Y endstop only, at low end, active high)
M574 Z1 S1;*** If you have a modulated IR probe with on-board microcontroller, change P2 to P1 in the following
;M558 P1 X25 Y250 Z1 H3 F200 T5000 ; smart IR Z probe, used for homing Z axis only, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
;G31 P534 X25 Y250 Z1.80 ; set threshold and offsets
;M558 P1 F300 ; Use a simple modulated Z probe (change to P1 for an intelligent Z probe)
;G31 Z2.87 P534 ; Set the probe height and threshold (put your own values here);Drives
M584 X0 Y2 Z1 ;Axis Remaping
M569 P0 S0 ; (X axis) Drive 0 goes reverse (change to S1 to reverse it)
M569 P1 S1 ; (Y axis) Drive 1 goes forwards
M569 P2 S1 ; (Z axis) Drive 2 goes forwards
M569 P3 S1 ; (Extruder 1) Drive 3 goes forwards
M569 P4 S0 ; (Extruder 2) Drive 4 goes forwardsM92 X87.58 Y87.58 Z1066 E80.02:398.0 ; Set axis steps/mm
M566 X800 Y800 Z200 E500 ; Minimum speeds mm/minute
M203 X6000 Y3200 Z800 E1000 ; Maximum speeds (mm/min)
M201 X250 Y250 Z250 E250 ; Accelerations (mm/s^2)
M906 X1300 Y1600 Z1300 E1600 ; Set motor currents (mA)
;M572 D0 S0 ;Pressure Advance
;M572 D1 S0 ;Pressure Advance
M84 S30 ;Set idle timeout;Heaters
M302 P1 ;Allow cold extuder
M143 H1 S301 ; Set maximum heater temperature to 300C
M143 H2 S301 ; Set maximum heater temperature to 300C
M307 H1 A270.2 C118.0 D2.7 S1.00
M307 H2 A365.3 C138.2 D4.6 S1.00M305 P0 T100000 B4388 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4388 C0 R4700 H75 L0 ; Set thermistor + ADC parameters for heater 1
M305 P2 T100000 B4388 C0 R4700 H0 L0 ; Set thermistor + ADC parameters for heater 2;Tools
M563 P0 D0 H1 ; Define tool 1
G10 P0 S0 R0 X-42 Y1.20 ; Set tool 1 operating and standby temperatures
M563 P1 D1 H2 ; Define tool 2
G10 P1 S0 R0 X0 Y0 ; Set tool 2 operating and standby temperatures; Network
M550 PDuet WiFi Duo ; Set machine name
M552 S1 ; Enable network and acquire dynamic address via DHCP; Fans
M106 P1 T45 H1 ; Hot end fan 1 will turn on when temp reaches 45 degrees
M106 P2 T45 H2 ; Hot end fan 2 will turn on when temp reaches 45 degrees
M106 P3 S255;T0 ; select first hotend
Homeall
; X axis homing file for dc42 Duet firmware
G91
G1 Z2 F500
G1 X-270 Y270 F2000 S1
G90
G1 X10 Y235 F2000
G91 ; relative mode
G1 Z-200 S1 F500 ; move Z up until the switch triggers
G1 Z2
G90 ; back to absolute mode -
And the answers to my other questions?
2. How large is the bed?
3. Have you checked that after homing, if you use the jog buttons in the web interface to move the head e.g. 100mm in the +X direction, the amount of movement is correct i.e. 100mm ?
Also, please post the first 50 or so lines of the GCode file so we can see where the print is supposed to be centred.
-
David, I posted the config file not the original poster
-
Duke, compare my config to yours
-
Hi guys, thanks so much for the responses, I swear this must be the best monitored forum on the internet!
The bed is 275 x 275mm
Yes, all 3 axes move the right amountHere is my config.g:
; Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Thu Apr 13 2017 15:48:10 GMT-0400 (Eastern Daylight Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X275 Y275 Z210 S0 ; Set axis maxima; Endstops
M574 X2 Y2 S0 ; Define active low and unused microswitches
M574 Z1 S2 ; Set endstops controlled by probe
M558 P1 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
G31 P500 X0 Y0 Z3.0 ; Set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; Define mesh grid; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes backwards
M584 X0 Y2 Z1 E3 ; Apply custom drive mapping
M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
M92 X87.489 Y87.489 Z1000 E3000 ; Set steps per mm z1750
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z800 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M305 P0 T230000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1; 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; Network
M550 P3D Touch ; Set machine name
M552 S1 ; Enable network and acquire dynamic address via DHCP; Fans
M106 P0 S0.3 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 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
; Miscellaneous
T0 ; Select first tool