Welcome! Log In Create A New Profile

Advanced

5 point auto bed leveling

Posted by Mercnik 
5 point auto bed leveling
February 01, 2015 06:19AM
Hi!
I have a probably basic question.
How do i set 5 point auto bed leveling.
Now i have 4 points, but the bed seems to be a little bit convex.
(waiting for Al bed to be cut out)
I've set P3(fifth point X100, Y100) in config.g, but i'm not shure, where in bed.g file should i put in 5 point,
or if it has to be put anywhere else.
I wanted to try this, am I correct??

G1 Z10 F200
G1 X60 Y0 F2000
G30
P0 Z-100000
G1 Z10 F200
G1 X60 Y185 F2000
G30
P1 Z-100000
G1 Z10 F200
G1 X230 Y185 F2000
G30
P2 Z-100000
G1 Z10 F200
G1 X230 Y0 F2000
G30
P3 Z-100000
G1 Z10 F200
G1 X100 Y100 F2000
G30
P4 S Z-100000
G1 Z10 F200


Any advice, will be greatly appreciated

Edited 1 time(s). Last edit at 02/01/2015 06:24AM by Mercnik.
Re: 5 point auto bed leveling
February 01, 2015 07:01AM
Which firmware version are you using? AFAIK the only versions that have working support for bed.g are RRP dev versions and my 1.00e-dc42 version.

If bed.g does work in your firmware version, then your bed.g file is not right. The lines that you have beginning with P should not be separate lines, they should be continuations of the preceding G30 lines.



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: 5 point auto bed leveling
February 01, 2015 07:21AM
I'm using your 1.00a.
The lines are not separate, they are in one line. I coppied them, and rearange them just so i had better view.
hmm, i used old bed.g file, that is on my computer, i did not check on SD card yet, becouse im printing something for work.
I only tried to put in P4 in config.g file but it did not work. So I checked files on PC, that used to be copy, of SD files (but ofcourse i flashed new firmware),
if there are any settings.
So what should I do to put in 5'th point for bed leveling??
Re: 5 point auto bed leveling
February 01, 2015 08:54AM
I copied the code to run bed.g (if it exists) in response to G32 commands from zpl's fork, but I did not test it. I only found out yesterday that the code doesn't work, so I fixed it in version 1.00e. Version 1.00a will ignore bed.g and use the points defined by M557. So to use 5-point bed levelling, all you need to do is add the 5th point at the centre of the bed using M557 P4.

If you decide to upgrade to 1.00e and use bed.g then it is better to define Z probe offsets in the X and Y parameters of the G31 command, to clear the bed transform at the start, and to use single commands to probe, like this:

; bed.g
M561
G1 Z10 F200
G30 P0 X60 Y0 Z-100000
G30 P1 X60 Y185 Z-100000
G30 P2 X230 Y185 Z-100000
G30 P3 X230 Y0 Z-100000
G30 P4 X100 Y100 Z-100000 S
G1 Z10 F200

You will need to adjust the X and Y coordinates to where you actually want to probe.

In version 1.00f I will clear the bed transform automatically when G32 is run. Currently, it is not cleared if you have a bed.g file.



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: 5 point auto bed leveling
February 01, 2015 09:28AM
I put this in my config.g but it didn't work

M557 P0 X55 Y0 ; Four...
M557 P1 X55 Y175 ; ...probe points...
M557 P2 X220 Y175 ; ...for bed...
M557 P3 X100 Y100 ; ...levelling ...
M557 P4 X220 Y0 ;...fifth one...

i changed P3 and P4
Re: 5 point auto bed leveling
February 01, 2015 09:40AM
Quote
Mercnik
I put this in my config.g but it didn't work

M557 P0 X55 Y0 ; Four...
M557 P1 X55 Y175 ; ...probe points...
M557 P2 X220 Y175 ; ...for bed...
M557 P3 X100 Y100 ; ...levelling ...
M557 P4 X220 Y0 ;...fifth one...

i changed P3 and P4

The P3 and P4 coordinates are the wrong way round in that list. When you put them the right way round, what happens - does it probe all 5 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: 5 point auto bed leveling
February 01, 2015 10:03AM
First i tried other way around, with P3 on X220 Y0 and P4 on X100 Y100,
but it didn't work.
And regarding the problem from other post (New firmware.... about Modulated Z probe not working)
It seems that the problem is back.
It worked for few hours and then it stopped, and then started again, and now it's not.
Is it a software bug, or do you think there could be some bad wires connection?
Re: 5 point auto bed leveling
February 01, 2015 10:19AM
"it didn't work" is not an adequate description of the problem.

The IR sensor problem sounds to me like a bad crimp connection, unless the problem only occurs when there is sunlight shining directly on the bed.



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: 5 point auto bed leveling
February 01, 2015 10:31AM
it didn't work- meaning: it stopped at P3, it did not go to P4.
I thougt of sunlight too, but i tried to print in dark, and it was the same,
I will check out crimps and wires, as soon as print stops.
Re: 5 point auto bed leveling
February 01, 2015 10:42AM
Have you tried deleting or renaming the bed.g file, in case it is having some sort of side effect?

Or perhaps there is a hidden character preventing the 5th M557 command being recognised.



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: 5 point auto bed leveling
February 01, 2015 11:55AM
I've had the same issue whereby the head stops at the P3 position and everything just hangs. This started with the last round of firmware updates. Prior to that I used G32 in my setbed.g file for months, recently I've commentated the G32 out and am making do with my relatively level bed.

This may well be tied into the problem whereby the M561 which should cancel the compensation, appears to leave residual figures so if G32 is repeated, the outcome is corrupted by the previous run.

This can be proved because if you don't alter any heights and run G32 twice, the height readings should be the same, but they are not.

I intended to report this earlier but have had more urgent issues to overcome.

Hope this helps


appjaws - Core XYUV Duet Ethernet Duex5
firmware 3.1.1 Web Interface 3.1.1
Ormerod 1-converted to laser engraver, Duet wifi
OpenSCAD version 2020.07
slic3r-1.3.0, Simplify3D 4.1.2, Cura-4.4.1
Re: 5 point auto bed leveling
February 01, 2015 12:04PM
i deleted the bed.g file, and put P4 in config and it works now.
Only the IR probe is still unmodulated. the crimps are ok.
And if the wiring would be bad,i dont know if probe would work at all?
Re: 5 point auto bed leveling
February 01, 2015 02:36PM
Quote
Mercnik
Only the IR probe is still unmodulated.

What do you mean by that?



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: 5 point auto bed leveling
February 01, 2015 02:44PM
as we talked in your topic, new firmware 1.00...
probe reports two identical readings example 315(315), when it should give an different modulated walue
but then suddenly it reported two readings 315(326) for few hours-like it should
and then it stopped, and went back to two identical readings.
It didn't mather if it was in dark room, or sunny, or light shinning directly
Re: 5 point auto bed leveling
February 01, 2015 02:50PM
As I said before, it is perfectly normal to get two identical readings. It just means that no background IR was detected. The difference between the two readings is a measure of the background IR. If the modulation were not working, the first figure would be zero.

Edited 1 time(s). Last edit at 02/01/2015 02:51PM 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].
Re: 5 point auto bed leveling
February 01, 2015 02:58PM
But same reading, for a few hours? White sun moving around. Lights going on and off. I tought it is not possible
But you are probably right! The prints were ok.
Thank you
Re: 5 point auto bed leveling
February 01, 2015 03:05PM
If the lights are fluorescent or LED, they will make no difference. Incandescent lights do make a difference. Direct sunlight on a sunny day can make a big difference, but clouds in front of the sun block the IR.



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: 5 point auto bed leveling
February 01, 2015 03:55PM
Ofcourse. You are right. Only IR Light affects probe.
I have to think about things more. Sometimes i just don't think things thru. Thank you
Sorry, only registered users may post in this forum.

Click here to login