print off-center
-
Can you post a sample gcode file? That will confirm either the gcode file is wrong, or something is moving your origin.
Ian
-
@hmmatos said in print off-center:
it homes correctly at zero on the left front corner.
This is a new installation Duet Wifi + E3d V6 I'm learning how to set up all correcting and I think isn't doing that at the beginning...
I have tried other boards in the past, all 8 bits and Marlin, and I never had this problem.
I'll try your way to see the difference, but I think I'm doing something wrong...
Thanks @mrehorstdmd
Is "zero" the left from corner of the bed, or the left front corner of the machine, or both? Many machines can move the extruder beyond the limits of the bed. That's where the off-center print problem originates. The front left corner of the bed may be at machine coordinates like (10, 15), but the slicer considers the left front corner of the bed to be (0,0).
-
@hmmatos said in print off-center:
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X-34 Y8 Z-19.2 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0CYour tool offset at X-34 Y8 Z-19.2 may be leading to the printing off-centre. Usually you'd set the tool to X0 Y0 Z0, and offset the probe from this. You don't have any offset on the probe, from what I can see. I'm guessing that the Z offset will make your Z homing file a bit strange, too.
; Z-Probe
M558 P0 H2 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X0:0 Y0:0 S20 ; define mesh gridM557 should be more like M557 X20:280 Y20:280 S20
Ian
-
@droftarts yes, when I get home I share my gcode.
-
@mrehorstdmd "zero" is the left front corner of the bed
-
@hmmatos Have you set the bed dimensions in the slicer to be the same as you've set in your Duet configuration?
-
@droftarts
I don't have a Z-Probe yet, that config came from reprapfirmware configtool.I don't know where he gets that offset maybe from the configtool too, can I put X0 Y0 Z0 in the file?
Is it better to comment the Z-probe part? -
@deckingman yes, 300x300x400
-
@hmmatos said in print off-center:
@droftarts
I don't have a Z-Probe yet, that config came from reprapfirmware configtool.I don't know where he gets that offset maybe from the configtool too, can I put X0 Y0 Z0 in the file?
Is it better to comment the Z-probe part?Yes, you should set your tool 0 axis offsets to:
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsetsHowever, I suspect your homez.g file will have an offset, probably of Z19.2 in it. Post your homeall.g and homez.g files here to check. If you don't change this, it will probably drive the nozzle into the bed when you try to print!
Edit: or you could just change it to:
G10 P0 X0 Y0 Z-19.2 ; set tool 0 axis offsetsIan
-
homeall.g
; homeall.g ; called to home all axes ; ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sat Oct 12 2019 00:13:29 GMT+0100 (Hora de verão da Europa Ocidental) G91 ; relative positioning G1 Z2 F6000 S2 ; lift Z relative to current position G1 S1 X-315 Y-315 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) G1 X5 Y5 F6000 ; go back a few mm G1 S1 X-315 Y-315 F360 ; move slowly to X and Y axis endstops once more (second pass) G1 S1 Z-405 F1800 ; move Z down stopping at the endstop 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 Z2 F100 ; lift Z relative to current position ;G90 ; absolute positioning
homez.g
; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sat Oct 12 2019 00:13:29 GMT+0100 (Hora de verão da Europa Ocidental) G91 ; relative positioning G1 Z2 F6000 S2 ; lift Z relative to current position G1 S1 Z-405 F1800 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this) ; Uncomment the following lines to lift Z after probing ;G91 ; relative positioning ;G1 S2 Z2 F100 ; lift Z relative to current position ;G90 ; absolute positioning
-
well I put X0 Y0 Z0 in config.g and it solves the problem I still don't know where he gets that tool offset value
Thanks all for the help