Welcome! Log In Create A New Profile

Advanced

Z axis switch with Firmware v1.19

Posted by FalseIdle 
Z axis switch with Firmware v1.19
August 17, 2017 05:29AM
Hi Guys,

It has been a long while. I have just updated to v1.19 (from v1.09) and use end stop switches on all 3 axis on my Ormerod1 (Duet 0.6)

I thought I had worked out all the new g-codes and had changed my config.g to have

M574 X1 Z1
M558 P4 X0

This allowed the X to home correctly and reported correct status for X,Y,Z in the M119 commend but I ignored what it now said about the z-probe being at min stop

Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop

When i tired to home Z it reports Z probe at min at start of homing and just stops.

Any help greatly appreciated..
Dan.
Re: Z axis switch with Firmware v1.19
August 17, 2017 07:10PM
You need Z0 in your M558 command too.



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: Z axis switch with Firmware v1.19
August 21, 2017 09:49AM
Sorry was not in work Friday to try, thanks for the quick response. Still did not change the state of the Z probe, it seems it still will try to do bed probing as well? Any other settings it could be?

>>> M558 Z0 X0
SENDING:M558 Z0 X0
>>> M119
SENDING:M119
Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop
Error: Z probe already triggered at start of probing move
[ERROR] Error: Z probe already triggered at start of probing move

Homing failed
[ERROR] Traceback (most recent call last):
  File "printrun\printcore.pyc", line 241, in _readline
  File "printrun\pronterface.pyc", line 1713, in recvcb
  File "printrun\pronterface.pyc", line 1669, in update_pos
ValueError: could not convert string to float:



Attached is my config.g if it helps.

Thanks,
Dan.

Edited 1 time(s). Last edit at 08/21/2017 09:50AM by FalseIdle.
Attachments:
open | download - config.g (3.2 KB)
Re: Z axis switch with Firmware v1.19
August 21, 2017 01:12PM
What type of Z probe are you using, and how have you connected it to the Duet?

Edited 1 time(s). Last edit at 08/21/2017 05:13PM 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: Z axis switch with Firmware v1.19
August 21, 2017 04:37PM
Hi David,

Thanks for helping me work through this.

I would have to check with a meter at work as it has been so long but if recollection serves it is a normally open micro switch. It is connected to the E0 endstop header on the duet. As I say an M119 responds with

Z: not stopped

If I hold the switch down it responds with

Z: at min stop

If I leave the config as default then pressing the switch does not change the M119 response but the Z probe read out also says not stopped. After the M574 and M558 Z probe changes to min reached and stays like that.

Cheers,
Dan.
Re: Z axis switch with Firmware v1.19
August 22, 2017 02:42AM
Dan, if it's a Z endstop switch not a Z probe then you should connect it to the Z endstop input and change your homing files to use a switch not a probe. See [duet3d.com].



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: Z axis switch with Firmware v1.19
August 23, 2017 09:09AM
Thank you.

It was indeed the homex.g and homeall.g that needed updating.
.
Sorry, only registered users may post in this forum.

Click here to login