NPN sensor probe config
-
Hi,
is there a specific setting for the NPN Z-probe sensor. My value is 1000 without trigering, if it trigers the value changes to 0. is that correct or should this be inverted? How to invert this?; Z-Probe
M558 P5 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 R85 S20 ; define mesh grid -
@laakti 1000 means it's triggered, so you should invert the probe signal:
; Z-Probe M558 P5 C"!^zprobeIn" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height M557 R85 S20 ; define mesh grid
-
I have done your sugestion but the value of 1000 still is there. I use software version 2.03.
-
@laakti then you're using the wrong type of config for RRF2
check the instructions for RRF2 here https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m558-set-z-probe-type -
I have read someting about that, a I1 parameter would inverse the signal. This needs a probe deploy.g with some lines I gues or can I put this into the existing config.g?. Can you help me out here I am not familiair with the Duet (first time), have used befor Marlin.? Or should I update the firmware? Would be great if there is a document that I can use to do run the update, I use the touchscreen (panel due), this would need a update to.
-
@laakti if you're starting with a new implementation, i would update the firmware and start again using the config tool
-
Could a update be done with the config tool by selecting the two boxes that downloads the latest software?
-
@laakti because you're on 2.03 you'll have to perform a few updates to get to the latest.
update to 2.05.1
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
then update to 3.0
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
then update to 3.4 (i suggest applying this update twice as the location of files changed between 3.2 and 3.3)
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip -
thanks, good to know. I will start with it.
-
I update the board and now it works, NPN probe switch to 1000 when having metal in front of the sensor. it is now working as a switch, it gives two values, 0 and 1000. I will now proceed with the bed leveling.
Thanks for your help, this solved also some other issues I had with the PanelDue.
-
-
-
Bed leveling works fine too.