Welcome! Log In Create A New Profile

Advanced

Bed.g file

Posted by Sardi 
Bed.g file
March 26, 2018 04:56AM
Is this enough for a bed.g?

M561 ; clear any existing bed transform
G30 P0 X60 Y0 Z-99999 ;
G30 P1 X60 Y165 Z-99999 ;
G30 P2 X200 Y165 Z-9999 ;
G30 P3 X200 Y0 Z-9999 ;
Re: Bed.g file
March 26, 2018 06:08AM
You need an S parameter (e.g. S4) on the last G30 to tell it that you want to do 4-point bed compensation. Otherwise it looks OK to me.



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: Bed.g file
March 26, 2018 07:21AM
Thank you.
Re: Bed.g file
March 26, 2018 08:24AM
Isnt G32 supposed to triger auto bed leveling?
It just opens the automatic calibration results and does nothing.
Re: Bed.g file
March 26, 2018 03:10PM
Check the GCode Console page of DWC for error messages.



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: Bed.g file
March 26, 2018 04:27PM
Quote
dc42
Check the GCode Console page of DWC for error messages.

just did

G32
Bed equation fits points [60.0, 0.0, 0.000] [60.0, 190.0, 0.000] [160.0, 190.0, 0.000] [160.0, 0.0, 0.000]

It does not say its an error.

Edited 1 time(s). Last edit at 03/26/2018 04:30PM by Sardi.
Re: Bed.g file
March 27, 2018 02:52AM
Which firmware version are you using?



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: Bed.g file
March 27, 2018 03:18AM
Yours, 1.20

My bed.g
M561 ; clear any existing bed transform
G30 P0 X60 Y0 Z-99999 ;
G30 P1 X60 Y165 Z-99999 ;
G30 P2 X200 Y165 Z-9999 ;
G30 P3 X200 Y0 Z-9999 S4 ;
I did remove the M557 from the config.g, and also did a re-check on "whats new" for the firmware .. maybe I missed something?
Re: Bed.g file
March 27, 2018 06:24AM
It sounds like it isn't actually running bed.g. Is it in the right place and with exactly the right name? It's easy to put a comma before the 'g' character instead of a period. If you put a M117 command at the start of it to display a message, does the message get displayed?



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: Bed.g file
March 27, 2018 06:55AM
It was in the right place (sys folder), I created it via web interface/system editor.

Dont know how, but now it works. I put M117 TEST MSG at the start, sent G32 code, the message was displayed and the auto leveling was done.
Re: Bed.g file
December 06, 2018 07:20AM
Quote
dc42
You need an S parameter (e.g. S4) on the last G30 to tell it that you want to do 4-point bed compensation. Otherwise it looks OK to me.

I noticed that te latest firmware generates the last G30 with only an S and not S4 at the end...

Quote

; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool on Sat Nov 24 2018 20:28:19 GMT+0200 (South Africa Standard Time)
M561 ; clear any bed transform
; Probe the bed at 4 points
G30 P0 X15 Y15 H0 Z-99999
G30 P1 X15 Y195 H0 Z-99999
G30 P2 X215 Y195 H0 Z-99999
G30 P3 X215 Y15 H0 Z-99999 S

Why is that?
Re: Bed.g file
December 06, 2018 03:42PM
That's OK, S or S0 will default to the number of probe points.



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: Bed.g file
December 06, 2018 04:16PM
Quote
dc42
That's OK, S or S0 will default to the number of probe points.

Thank you. thumbs up
Re: Bed.g file
July 06, 2021 03:51PM
I was asking myself a very similar question, so i tought why not just ask here.
Is there any reason not to use M500 at the end of my bed.g? Nobody is recommending this, but don't i need to save my probed points into my config-override.g?

Hope thtats the right place to ask.
Re: Bed.g file
July 07, 2021 02:22AM
The height map is automatically saved in a different file, heightmap.csv. You can use the G29 S1 command to load it in future instead of probing again.

Edited 1 time(s). Last edit at 07/07/2021 02:23AM by dc42.



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].
Sorry, only registered users may post in this forum.

Click here to login