PINDA Z-Probe Configuration
-
Hi all,
I'm trying to set up a PINDA Z-Probe on my Duet Wifi 2 1.04 controlled cartesian printer.
The PINDA Z-Probe is powered with 5v and I wired it up correctly after a consultation in another thread a couple of days ago. It also comes with 4 wires instead of the most common three-wire configuration. It has blue, black, brown and a white wire.
I connected the three known wires (blue, brown and black) to the board and after I power it up, it appears to be working ok. I know that because I also have a PINDA on my SKR 1.1 controlled Ender 3. The white wire is left unused in both printers and for what I've seen it gives the inverted signal as the black wire.
The Probe shows a red light when no metal is detected and this very same LED is off when I place something metallic under the probe.
When on the Web interface, the value of the Z probe shows a value of 1000 (with a light red background color on the value) without metal and a value of 0 with metal underneath.My problem is now that it doesn't appear to work properly. When I try to home the Z axis, a warning message tells me that the probe was already triggered from the start.
I'm attaching my config.g file. Any help troubleshooting this issue will be much appreciated. I haven't touched the Duet for a long time and I have the impression I forgot all the stuff...
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Mon Feb 04 2019 17:03:09 GMT+0100 (Central European Standard Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Network
M550 P"Tevo Tornado" ; Set machine name
M552 S1 ; Enable network
M587 S"wifi_name" P"wifi_password" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 goes backwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E400.00 ; Set steps per mm
M566 X600.00 Y600.00 Z24.00 E300.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X15000.00 Y15000.00 Z1800.00 E3300.00 ; Set maximum speeds (mm/min)
M201 X2000.00 Y2000.00 Z120.00 E10000.00 ; Set accelerations (mm/s^2)
M906 X700.00 Y1200.00 Z1200.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X300 Y300 Z400 S0 ; Set axis maxima; Endstops
M574 X1 Y1 S0 ; Set active low endstopsM574 Z1 S2 ; Set endstops controlled by probe
M558 P5 I1 H5 F300 T6000 ; Set Z probe type to switch and the dive height + speedsG31 P500 X-20 Y10 Z1.54 ; 1.54 is the calculated Set Z probe trigger value, offset and trigger height
; The larger the number the closest it gets to the bed
;i.e. 1.50 puts the nozzle closer to the bed than 1.20
M557 X35:300 Y15:300 S15 ; Define mesh grid; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4092 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S95 ; Set temperature limit for heater 0 to 95C
M305 P1 T100000 B4092 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S260 ; Set temperature limit for heater 1 to 260CM307 H1 A471.8 C161.7 D5.2 V23.8 B0 ;Hotend Autotune //Changed
M307 H0 A90.0 C700.0 D10.0 V0.0 ;Bed Autotune //Changed
; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0.45 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic power saving
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss; Custom settings are not configured
-
The reading needs to be around 0 when not triggered (no metal under the probe) and 1000 when triggered. Try removing the i1 parameter from your M558 command in config.g.
-
@dc42 said in PINDA Z-Probe Configuration:
The reading needs to be around 0 when not triggered (no metal under the probe) and 1000 when triggered. Try removing the i1 parameter from your M558 command in config.g.
well, that did the trick. Thanks a lot.
It's not as easy to work with Duet, being used to Marlin for years...