Have to restart for first layer to be correct
-
Here are the homing files attached
3_1530672271674_homez.g 2_1530672271674_homey.g 1_1530672271674_homex.g 0_1530672271672_homeall.g -
And the start and end G code
Start:
G28
G29 S1
G0 X0 Y10 F9000
G0 Z0.3
G92 E0
G1 X60.0 E17.0 F1000.0 ; intro line phase 1
G1 X100.0 E20.5 F1000.0 ; intro line phase 2
G92 E0End:
G28 X Y
M106 S0 ; turn off cooling fan
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors -
So are you using an endstop or a z -probe for the Z axis?
Your config.g is setup to use a probe, but your homeall is setup to use an endstop and resets the Z height at the end. That would be why the height is never correct twice.
-
ZProbe, what do I need to change in my home all?
-
@kuntry3d have you measured the z probe trigger height yet? That will be critical to getting a proper starting layer height as you need to know how far from the Bed the nozzle is when the probe triggers. It shows as 2.12 in your G31 command in your config but how did you measure it?
This guide will help. https://duet3d.dozuki.com/Wiki/#Section_Calibrate_the_Z_probe_trigger_height
For your homeall and homez you'll need to remove the g1 z movement and use the g30 probe instead. Like this.
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-305 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 S1 X-305 ; home X axis
G1 S1 Y-305 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
G1 S1 Y-305 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G30 ; probe the bed
G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homing -
@phaedrux said in Have to restart for first layer to be correct:
G30 ; probe the bed
G1 Z5 F100 S2 ; uncomment this line to lift the nozzle after homingThe way I got my trigger height was
- Home
- M208 S1 Z-3
- G92 Z0
- move down until I got my paper feel that I like
- set the trigger height to a positive value of the negative from above
It is perfect. I have a couple of more config questions as this is my first Duet. Should I continue here or move to a new thread?
-
I'd definitely follow the link above for getting the trigger height. Would be interesting to see how much it differs.
You can continue here if you like or start another thread with your specific issue. Starting a new thread would probably be most helpful for people searching the forum for similar issues in the future.
-
@phaedrux said in Have to restart for first layer to be correct:
G90 ; absolute positioning
G30 ; probe the bedWell it's probably something that someone has asked several times but I haven't been able to find. First off the solution you gave doesn't work for me and I think it is the way I have my homing setup. Currently I home at the back left and have that as 0,0. I need to move the 0,0 and make the back left 0,300. I cannot find a way to do this. When I try your method for homeall and homez the head tries to move outside the print area and it is grinding the belts and crashing.
-
Ok, so you you'll have to make a couple changes, but you're close. You generally want to have a left hand coordinate system. In our case, with Z point up.
It sounds like you currently have the Y axis flipped around. So we'll need to get the motors reconfigured for that, and probably the end stop configuration so that it homes in the right direction.
Can you tell me first where your end stops are located? Is the Y endstop at the back, or the front? Is X at the left or the right?
EDIT: Re-reading I see you say back left.
So your end stop location for Y needs to change to be at the high end.
M574 X1 Y2 S1
Then you will need to test your motors and probably change the direction of one of them.
Follow the steps here for determining which one:
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter -
Thank you for all of your help. I will have to try that tomorrow as I just started a 6 hour print and it is almost midnight here. Duet sponsored this build for ERRF2018 and I had it printing but I want it right. I have a 3D Printed Hypercube EVO. Right now it is producing great prints but just the little things I don't know about the firmware configs is being a pain. Again, I will try tomorrow and update this thread.
-
Yeah no problem. RepRapFirmware can take a little getting used to. I was in the same boat when I was commissioning my DBot. It has a learning curve, with it's own quirks and gotchas. But I can't imagine going back to an 8bit arduino.
-
I can see that with just the little I have played with this, I can see upgrades for some other machines I have around here. Again, Thank you.
-
Ok, Homing all sorted, but when I run G30 I still get the head trying to go outside of the bed. So I am still using my own way to get the print to work. Any Ideas on that?
-
Do you have any deploy and retract macros in the system folder?
What happens if you manually move the head to center and manually send g30?
-
Again, I will have to try that later. Another long print running. I have not ran it from center, only from the home position. And no, the only macro I have added to the default is a resume with homing after power failure.
-
So just to confirm, you now have x0,y0 in the front left? And when you move y- the head moves towards the front?
Can you repost your homing files as they are now?
-
Yes, that is correct. 0,0 front left and home is to 0,300 back left. Here are the configs5_1530817551612_homez.g 4_1530817551612_homey.g 3_1530817551611_homex.g 2_1530817551611_homeall.g 1_1530817551610_config.g 0_1530817551609_bed.g
-
In your homeall you have a y value that should be negative now when backing off from the end stop for the second pass.
G1 X5 Y5 F6000
That could explain why it's being driven into the wall.
-
I will change that now and let you know when this print finishes if it makes a difference.
-
Same problem with homey.g
The signs on these moves need to be swapped.
G1 Y5 F6000 ; go back a few mm
G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)