Welcome! Log In Create A New Profile

Advanced

Can't get z endstop (microswitch) to work [SOLVED]

Posted by Aagaard 
Can't get z endstop (microswitch) to work [SOLVED]
November 22, 2014 06:09AM
Hi guys.

I've installed a microswitch to zero my z. I've used the the wiring shown here [www.thingiverse.com] (thanks to KimBrown, He has been very helpfull).

But I can't seem to make it work.

It goes all the way through the homez:

G91
G1 Z15 F1500
G90
G1 X60 Y120 F200
G1 Z-15 F300 S1 <<<<<<<<<<<<<<<<
G92 Z-1
G1 Z0
G1 X100 Y100 F150
G90

It just dosen't seem to care about this particular line of code - it dosen't wait for any ms being clicked. It just sets the z-height to zero without ever touching the bed with the ms.

I've tried installing the ms both ways. Ended up coping the setup of the one used on the other axis. The LED light up, and whenever my new ms is clicked it turns off (the LED on the DUET I meansmiling smiley).

I have set the M558 command to PO config file attatched.

Are there any other changes I have to do, to the firmware ore anyware else??

Thanks.

Regards

Edited 1 time(s). Last edit at 11/23/2014 01:08PM by Aagaard.
Attachments:
open | download - config.g (2.1 KB)
Re: Can't get z endstop (microswitch) to work
November 22, 2014 06:22AM
Which firmware 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: Can't get z endstop (microswitch) to work
November 22, 2014 06:25AM
Yes - should have included that. I use: 0.78s-alpha-dc42
Re: Can't get z endstop (microswitch) to work
November 22, 2014 08:55AM
Why do you need to modify your homez file? I suggest you use dc42's homing files which can be found on his GitHub repository in SD-image/sys. They've been working for me and I remember they worked well when I was using a microswitch for the Z-axis.
Re: Can't get z endstop (microswitch) to work
November 22, 2014 09:37PM
Hi again I did message you back... I've been so busy I haven't been on here in ages now....
DC would be the one to answer the question for you.... But I did look at your config file.....
You have:-
M558 P0 ; Use an unmodulated Z probe or an intelligent Z probe or switch
G31 Z1.20 P500 ; Set the probe height and threshold

You can't turn off the probe then use it.... That's the first thing.
Also I had problems with your config file.... Normaly I can edit mine fine in Notepad (on windows) but had to use word
for yours as the CR/LFs seem to be missing.
Again DC would be able to tell you if the Firmware needs them or not.... I suspect so....
I think that's one of the things that's messing you up.
Also I think your using a copy of the example config file that may or may not have been with the Firmware.
Some of the lines have H & L letter that need replacing with values....
Hope that helps.
But DC is the guy to ask....
KIm..


Please send me a PM if you have suggestions, or problems with Big Blue 360.
I won't see comments in threads, as I move around to much.
Working Link to Big Blue 360 Complete
Re: Can't get z endstop (microswitch) to work
November 23, 2014 11:46AM
I just updated to the latest firmware by DC - and it solved the problem. Thanks - you guys rock!
Re: Can't get z endstop (microswitch) to work [SOLVED]
November 23, 2014 02:09PM
Thanks for the feedback!



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