Welcome! Log In Create A New Profile

Advanced

Homeing z aksis?

Posted by clausgudum 
Homeing z aksis?
June 30, 2015 03:29PM
Hello folks.

I have now been printing a couple of things...I love this machine. I think its doing a great job.

I have one (minor) problem. I can not make the z aksis home automatic. I have put the g.code "G31 Z1.5 P604" in the config.g file but for some reason, its not working. I have to manually send the code G31 Z1.5 P604 to make the z aksis home. I attach the config file here, i thing i must have put it in wrong. Would anyone please :-) give it a quick look.
Attachments:
open | download - config.g (2.3 KB)
Re: Homeing z aksis?
June 30, 2015 03:42PM
You are missing M558 P2 to enable your probe .put it just before G31 in the config file

Edited 2 time(s). Last edit at 06/30/2015 03:44PM by Darathy.
Re: Homeing z aksis?
June 30, 2015 03:59PM
Sorry im such a noob

Like this?
; M558 P2 ; Use a modulated Z probeG31 Z1.5 P603

Its not doing the trick!
Re: Homeing z aksis?
June 30, 2015 04:16PM
remove the ; before them

M558 P2
G31 Z1.5 P603

Edited 1 time(s). Last edit at 06/30/2015 04:18PM by Darathy.
Re: Homeing z aksis?
June 30, 2015 04:26PM
now that i look closely i can see that your config is a lot shorter then mine.

Try thisone but edit the things you need for axis compenstaion ,z probe etc
Attachments:
open | download - config.g (3.2 KB)
Re: Homeing z aksis?
June 30, 2015 04:33PM
I attach it here. It is still not homing the z aksis right. its stops the Z aksis 2 mm over the bed?!
Attachments:
open | download - config.g (2.3 KB)
Re: Homeing z aksis?
June 30, 2015 04:35PM
hmm check that colors on the probe cable are set right ,i had them mixed when i was assembeling mine(from left to right: red, yellow, blue, green.). You might get wrong readings.

I see you also have M470 P2 instead of M558 P2

Edited 4 time(s). Last edit at 06/30/2015 04:41PM by Darathy.
Re: Homeing z aksis?
June 30, 2015 04:44PM
The wires are correct!

Should the say extrude whith 558? Because that is what it means right
Re: Homeing z aksis?
June 30, 2015 04:55PM
hmm i dont really understand what you mean.

But i must have missed that you put the M558 like this:
M470 P2 M558 P2 ; Use a modulated Z

Edit your config so it will look like this:
M92 E420 ; Set extruder steps per mm
M558 P2 ; Use a modulated Z probe
G31 Z1.5 P603 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup)
M556 S75 X0 Y0 Z0

or use this Config file i edited for you: config.g

Note for the future: you have to put Each M or G command in new line in your Config file so your firmware can read it.

Edited 3 time(s). Last edit at 06/30/2015 04:59PM by Darathy.
Re: Homeing z aksis?
June 30, 2015 05:02PM
Thanks.

I cant test it just now because it is printing.

Can i ask what program you use to edit the config file. because its a mess i notepad
Re: Homeing z aksis?
June 30, 2015 05:10PM
I know i was losing my mind in notepad aswell.... Then i opened it in Microsoft Word and it was a lot easyer to edit anything.

Edited 1 time(s). Last edit at 06/30/2015 05:11PM by Darathy.
Re: Homeing z aksis?
June 30, 2015 05:12PM
Try Notepad ++ its excellent and free
Re: Homeing z aksis?
June 30, 2015 05:36PM
WOW Notepad++ is the great. Think about all the time I spend in notepad :-(
Re: Homeing z aksis?
July 01, 2015 05:53AM
Thank you Darathy, its working now :-)
Re: Homeing z aksis?
July 01, 2015 07:53AM
The reason it looked a mess in notepad was because the original file uses Unix style line endings, which Notepad does not display correctly (but Word, Wordpad and Notepad++ does). To use Notepad simply edit by adding a CR/LF ("enter") at every place there should be a new line and re-save. The Duet firmware will work with both Unix and DOS style line endings.

Dave
Sorry, only registered users may post in this forum.

Click here to login