First Layer and Extrusion Problems
-
good catch.
yes the second P1.25 parameter should be removed. this is not a valid parameter for G30
your pitch is 8mm btw. -
@Veti said in First Layer and Extrusion Problems:
your pitch is 8mm btw.
How can we be sure the pitch is 8mm? The config values might be wrong. Maybe the comment in bed.g is correct?
Clarification is needed from the OP.
Frederick
-
ok ,i have changed it.
is it possible to create a homez.g file where it automatically probes the bed on three points and enable compensation ?
perhaps like :
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X240 Y220 F6000 ; go to first probe point
G32 ; home Z by True bed leveling 3 points in bed.gor do i have to include the three positions like
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X240 Y220 F6000 ; go to first probe point
G30 P0 X330 Y240 Z-9999 ; Front Left
G30 P1 X150 Y0 Z-9999 ; Middle Back
G30 P2 X0 Y248 Z-9999 S3 ; Front Right and compensate 3mm -
create a macro that calls G28 and G32
-
@fcwilt said in First Layer and Extrusion Problems:
How can we be sure the pitch is 8mm?
i cant, but there is a very high chance that isnt a M8 metric lead screw.
-
@Frederik said in First Layer and Extrusion Problems:
is it possible to create a homez.g file where it automatically probes the bed on three points and enable compensation ?
Yes.
But let's get some terminology straight - bed leveling is not homing.
Bed leveling does what the term suggests - it tries to level the bed.
Homing is the process of determining that an axis has moved to some known position "telling" the firmware where the hardware actually is.
Generally you need to:
- home Z using G28 Z
- level the bed using G32 and a correctly created bed.g file
- set the Z=0 datum using a single G30 and the correct position for the probe point
- load the height map (if you have created one) using G29 S1
-
@Veti said in First Layer and Extrusion Problems:
@fcwilt said in First Layer and Extrusion Problems:
How can we be sure the pitch is 8mm?
i cant, but there is a very high chance that isnt a M8 metric lead screw.
Agreed given the 8mm is a common value.
Frederick
-
-
@fcwilt you are right it was a wrong setting from yesterday. its a normal tr8 4 stop with 8 Lead Spindle
-
i had to test your tips one after the other.... now my z offset is working as it should.
-
my bed.g File at the Moment:
; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)M561 ; clear any bed transform
;Probe 3-point
G30 P0 X330 Y240 Z-9999 ; Front Left
G30 P1 X150 Y0 Z-9999 ; Middle Back
G30 P2 X0 Y248 Z-9999 S3 ; Front Right and compensate 3mm -
and this my actual homez.g File:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X200 Y200 F6000 ; go to first probe point
G30 ; home Z -
so run a G32 and then G29 and post the new picture.
-
@Frederik said in First Layer and Extrusion Problems:
and this my actual homez.g File:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G1 X200 Y200 F6000 ; go to first probe point
G30 ; home ZYou can at this point add:
G32
G1 X200 Y200 F6000
G30The reason for the last two lines is the bed leveling can change your Z=0 datum it needs to be set again - just to be safe.
If you wish to probe at the actual center of the bed you will need to adjust the G1 X and Y values to compensate for the probe X and Y offsets.
To insure that I always move to the same point with I need to do a G30 I have a macro file "centerprobe.g" that contains this:
G90 ; absolute G1 Z5 F1200 ; move to probing height G1 X{-sensors.probes[0].offsets[0]}, Y{-sensors.probes[0].offsets[1]}, F6000 ; move to bed center for probing
The second G1 command takes advantage of the v3 firmware to access the probe X and Y offset values.
BUT the way my printer is setup the Z axis is already homed whenever I execute this macro so the G1 Z5 command will work.
Frederick
-
@fcwilt ok, i will add these commands
-
I was editing while you were posting - please check to see if you saw all of what meant to post.
Frederick
-
i am back,
i editet my Files, generatet the macro file centerprobe.g
and insert the additonal G32 in my homez.gthe x and y position is now with the probe offsets the center of my build area.
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.7 on Wed Nov 18 2020 18:04:17 GMT+0100 (Mitteleuropäische Normalzeit)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G90 ; absolute positioning
G32
G1 X165 Y187 F6000 ; go to first probe point
G30 ; home Z by True bed leveling 3 points in bed.g -
@Frederik said in First Layer and Extrusion Problems:
i editet my Files, generatet the macro file centerprobe.g
and insert the additonal G32 in my homez.gGiven you are new to this I should have mentioned that to use the "centerprobe.g" macro you need to put M98 P"centerprobe.g" into your code whenever you want to move the probe to the center of the bed.
So instead of the G1 command preceeding the G30 you would have M98 P"centerprobe.g" BUT you will need to comment out the G1 line in "centerprobe.g" that tries to move on the Z axis since that line assumes Z is already homed.
Frederick
-
ok thank you, i try it and post the results in a moment
-
you should really keep your bed.g and homing files as simple as possible.
then use a macro to combine the actions.