Welcome! Log In Create A New Profile

Advanced

Cannot invert Z probe value

Posted by Tennysballs 
Cannot invert Z probe value
December 21, 2017 08:10AM
So I am using an NPN NO Inductive sensor as my z probe for my delta build. I've tried everything I can find on the topic but it always reads 1000 when out of range of the bed and 0 after it reaches sensor distance- I cannot get to invert. Per documentation I have it connected- output > BAT43 diode > E0 STP, ground of sensor to E0 GND, and Vin to Vin. Actual extruder is connected to E1 motor. endstops are mechanical switches wired according to documentation. Here is a copy of my config file that I got from the rep rap generator.


; Endstops
M574 X1 Y1 S1 ; Set active high endstops
M574 E0 S0
M558 P4 X0 Y0 Z1 H3 F200 T5000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds H5 F120 T6000
G31 P0 X0 Y0 Z0 P500 ; Set Z probe trigger value, offset and trigger height
M557 R90 S20 ; Define mesh grid

; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X0 Y1 Z2 E4 ; Apply custom drive mapping

The setup got a little confusing for me because of the Duet designations on the board and what the generator was calling for so I suspect i may have messed up in the definitions of things. Another observation is that the endstop LEDs on the board are on until home is contacted. For the sensor, it's the opposite- LED on sensor and on board are on/off at the same time.

Ideas anyone?
Re: Cannot invert Z probe value
December 21, 2017 01:44PM
As described at [duet3d.com] you need to add parameter I1 (that's letter-i followed by digit-1) to your M558 command, assuming you are not using very old firmware.


Delta printer calibration calculator, mini IR Z probe, and colour touch screen control panel: [escher3d.com]

Large delta printer, and other 3D printer blog postings: [miscsolutions.wordpress.com]

Disclosure: I have a financial interest in sales of the Panel Due, Mini IR height sensor, and Duet WiFi/Duet Ethernet [www.duet3d.com].
Re: Cannot invert Z probe value
December 21, 2017 09:15PM
Quote
dc42
As described at [duet3d.com] you need to add parameter I1 (that's letter-i followed by digit-1) to your M558 command, assuming you are not using very old firmware.

That may be where I got confused. For some reason, any time I tried that I used the pipe ' | ' character instead of capital I. I will try that and report back. Thank you
Re: Cannot invert Z probe value
December 23, 2017 10:08AM
Coming as a shock to probably no one, that fixed the issue- thank you.
Sorry, only registered users may post in this forum.

Click here to login