Ir z probe and usb connection
-
I admit ive been struggling to get this Duet Wifi working properly for sometime, but im stumped this time.
Connection via usb (s3d) went smoothly at first including the web server. Then i couldnt connect at all to either. I downloaded pronteface and was able to connect once again, but not through s3d. My main slicer is S3d so id like to connect through that program. Some of the network lines were erased in config.g and caused some of the issues, and im not sure if ive got everthing straightened away. Should i get a fresh copy of config.g? If so were and how.The second issue is getting the dc42 ir z probe working. According to documentation @ https://miscsolutions.wordpress.com/mini-height-sensor-board/ when first usb is plugged in it should flash 4x times and it only flashes once and then nothing. The web server reads 968 - 1000 all the time and so does the Panel Due. According to the document it should read 0 when almost triggered and 450 - 555 when further away. It remains at 968-1000.
When following these instructions Connect to the Duet from a PC using the web interface. On the Control page you can see a continuous readout of the Z probe reading.Send M558 P1 to the Duet, then send G31 P500 Z1.0…..nothing happens nor does the readout change.
Any help would be greatly appreciated.Tinrroof866
. -
Could you post your config.g here, and also a photo or two of how the IR sensor is connected to the Duet?
-
Ill do my best
"Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Apr 30 2017 22:23:07 GMT-0400 (Eastern Daylight Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X350 Y205 Z220 S0 ; Set axis maxima; Endstops
M574 X1 Y2 Z1 S0 ; Define active high microswitches
M558 P1 X0 Y0 Z0 H30 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X15:350 Y15:195 S20 ; Define mesh grid; Drives
M569 P0 S1 ; Drive 0 goes fowwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X81 Y80 Z1600 E962 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z6000 E300 ; Set maximum speeds (mm/min)
M201 X750 Y750 Z250 E100 ; Set accelerations (mm/s^2)
M906 X800 Y1000 Z800 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S280 ; Set maximum heater temperature to 285C
M307 H1 A1103.7 C242.6 D7.3 S1 B0
M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 1 ; Heater 1; 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; Network
M550 PMy printer ; Set machine name
M552 10.0.0.0 S1; Fans
M106 P0 S0.3 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 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured"
-
First time posting in this forum and im not sure how to post pics.
-
In M558 you need to set Z1 instead of Z0 to tell the firmware that the probe is used for homing Z. Also, I'm fairly sure that the H parameter (dive height) is just for Delta printers so you don't need that.
However, I don't know if any of that will help the fact that the probe only flashes once. That could be a wiring issue or something else.
-
If the probe flashes once, that sounds like a wiring issue, probably the ground connection from the centre pin of the sensor isn't connected to the correct pin on the Z probe connector, or else there is a bad connection in that wire. Make sure you are using the wiring diagram for the blue production Duets, not the diagram for the white pre-production boards. Or look at the Z probe connector pin labels on the underside of the board. The MOD pin should not be connected.
Make sure you have configured S3D to use "Hardware flow control" in its communication parameters.
Regarding the WiFi, wait 30 seconds after starting the Duet, then send M552 with no parameters and see what it prints.
The dive height parameter does matter on Cartesian printers but it only affects how high probing starts.
HTH David
-
I think that fixed it. I wasnt using the correct pinout, must of been from the demo board. Actually not sure were i got it but the endstops werent correct either so it fixed that issue as well. Z probe is flashing etc… not sure how well its woeking as of yet but i can continue with my calibration.
The usb is working with s3d because i reinstalled the original sd-image files from github. The flow control didnt help.
I really appreciate all the help.