Battling IR DC42 setup
-
Hello everybody,
I have been battling setting up the DC42 IP probe as a Z probe for a week now. I read a LOT of posts and tried a lot, but no success. I bought a new probe and installed it this morning, no difference.
It flashes twice at start-up and has only two values in the Web Interface.It is a Duet3 6HC board with firmware 3.4.0 beta 6
This is my config.g (still a bit messy)
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.1 on Thu Jan 21 2021 15:31:52 GMT+0100 (Central European Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Creatr" ; set printer name; Network
M552 P192.168.1.63 S1 ; enable network and set IP address
M553 P255.255.0.0 ; set netmask
M554 P192.168.0.1 ; set gateway
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards X
M569 P0.1 S1 ; physical drive 0.1 goes backwards XM569 P0.2 S0 ; physical drive 0.2 goes forwards Y
M569 P0.3 S1 ; physical drive 0.3 goes forwards Z
M569 P0.4 S1 ; physical drive 0.4 goes forwards E0
M569 P0.5 S1 ; physical drive 0.5 goes forwards E1M584 X0.0:0.1 Y0.2 Z0.3 E0.4:0.5 ; set drive mapping
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X230 Y210 Z200 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
M574 Z1 S2; Z-Probe
M558 P8 X0 Y0 H5 C"io4.in" F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y28 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T114000 B4092 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 R0.3 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S115 ; set temperature limit for heater 0 to 115CM308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S250 ; set temperature limit for heater 1 to 250CM308 S2 P"temp2" Y"pt1000" ; configure sensor 2 as thermistor on pin temp2
M950 H2 C"out3" T2 ; create nozzle heater output on out3 and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S250 ; set temperature limit for heater 2 to 250C; Tools
M563 P0 S"Hotend_0" D0 H1 F0 ; 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 0CM563 P1 S"Hotend_1" D0 H2 F0 ; define tool 0
G10 P1 X0 Y22 Z0 ; set tool 0 axis offsets
G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Fans
M950 F0 C"out7" Q1000 ; create fan 0 on pin out7 and set its frequency
M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q1000 ; create fan 1 on pin out8 and set its frequency
M106 P1 S1 H-1 ; set fan 0 value. Thermostatic control is turned offHope somebody can point to the mistake I made.
-
What exactly is the problem with it?
Your M558 is a little off, try this
M558 P1 C"io4.in" H5 F120 T6000
If you do these tests how far do you get?
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
-
has only two values in the Web Interface.
If the values are 0 (when not triggered) and 1000 (when triggered), that is correct. The IR probe on Duet 3 is always in digital mode, due (i think) to the internal pull-up resistors in the MCU. Our documentation says P8 for probe type, but you can use sensor type P1 or P8. See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Mini_differential_IR_sensor_by_dc42
Ian
-
Thanks for the replies
I wanted to try it out today, but suddenly I fail to get a connection to my duet through a network cable. It is bookmarked, so nothing changed.
I don't know what to do. -
@rolf-0 said in Battling IR DC42 setup:
It is bookmarked, so nothing changed.
If the IP address was not static or reserved by the router it could have changed.
Does the link light on the ethernet port light up?
Can you connect via USB terminal or paneldue and see what the current IP address is by sending M552?
-
The RJ45 socket on my PC is broken. Continuing with Wifi.
It was SOOOO stupid! I had a too dark flexible plate on my bed. I took it off and it was fixed, even with my M558 P8 X0 Y0 H5 C"io4.in" F120 T6000 it worked.
It stops about 4 mm from the nozzles and if I click +5 the Z axes doesn't move.
One strange thing, after homing Z the status window says:
X0 X0 Z200, doesn't that have to be Z0 ?One of my stepper motors of the X axis is "hacking" the error message is : coil B is not working.
I checked the wiring, that is fine. The stepper is new.Sorry I wasted your precious time.
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.1 on Thu Jan 21 2021 15:31:52 GMT+0100 (Central European Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Creatr" ; set printer name; Network
M552 P192.168.1.63 S1 ; enable network and set IP address
M553 P255.255.0.0 ; set netmask
M554 P192.168.0.1 ; set gateway
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards X
M569 P0.1 S1 ; physical drive 0.1 goes backwards XM569 P0.2 S0 ; physical drive 0.2 goes forwards Y
M569 P0.3 S1 ; physical drive 0.3 goes forwards Z
M569 P0.4 S1 ; physical drive 0.4 goes forwards E0
M569 P0.5 S1 ; physical drive 0.5 goes forwards E1M584 X0.0:0.1 Y0.2 Z0.3 E0.4:0.5 ; set drive mapping
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00:420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X230 Y210 Z200 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
M574 Z1 S2; Z-Probe
M558 P1 C"io4.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y28 Z1.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T114000 B4092 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 R0.3 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S115 ; set temperature limit for heater 0 to 115CM308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S250 ; set temperature limit for heater 1 to 250CM308 S2 P"temp2" Y"pt1000" ; configure sensor 2 as thermistor on pin temp2
M950 H2 C"out3" T2 ; create nozzle heater output on out3 and map it to sensor 2
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S250 ; set temperature limit for heater 2 to 250C; Tools
M563 P0 S"Hotend_0" D0 H1 F0 ; 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 0CM563 P1 S"Hotend_1" D0 H2 F0 ; define tool 0
G10 P1 X0 Y22 Z0 ; set tool 0 axis offsets
G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Fans
M950 F0 C"out7" Q1000 ; create fan 0 on pin out7 and set its frequency
M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q1000 ; create fan 1 on pin out8 and set its frequency
M106 P1 S1 H-1 ; set fan 0 value. Thermostatic control is turned off -
I am trying to calibrate the DC42. When I give the G30 command, the bed moves in the wrong direction. While Homing Z it goes up, with G30 it goes down.
Any ideas?
Thanks
-
Can you post your homeall.g?
I sounds like your Z axis motor is going to wrong direction and your homeall might be using an endstop command?
-
I will dive into that.
One thing that puzzles me and that put me on the wrong track, is that with the dark bed plate the LED DID light up when the bed approached. It did get a signal, maybe to weak to make sense of it?
Homeall.g:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.1 on Thu Jan 21 2021 15:31:52 GMT+0100 (Central European Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-235 Y-215 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z-205 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@rolf-0 if you send G91 G1 H2 Z5 does the print head get 5mm closer to the bed, or 5mm further away from it? If it gets 5mm closer, then your Z motor is moving in the wrong direction. You will need to fix that in the M569 command for that motor, then fix Z homing to work with the new direction.
-
@rolf-0 said in Battling IR DC42 setup:
G1 H1 Z-205 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)To use the probe you'd need to change these lines in homeall to something like this to position the probe and then home z.
G90 G1 X150 Y150 F6000 G30
After verifying the direction of the Z axis as dc42 described.
-
Ok, that now works like it is supposed to!
Next stop is the extruders setup. I have a Bowden setup. Is there a post you can point me to/
Thanks again
Rolf
-
I rejoiced too soon, after fine tuning the Z probe with G92 Z0 and G39 S-1 etc. I get the following error message:
Z Probe already triggered at start of probing move.
I kind of understand the problem, how can I solve this?
Thanks,
Rolf
-
This is my homex.g
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-235 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningThe G1 H2 Z-5 F6000 doesn't get executed anymore, same with Y. This happened after fine tuning with G92 Z0 and G30 S-1.
After fine tuning I changed the G31 Z value from 2.5 to 4.950.I assume this is the problem, but what is the solution?
-
I figured it out, I reversed the Z axis in order to fix the problem that I had status Z200 after homing instead of Z0.
So, G1 H2 Z-5 F6000 ; lower Z again has been changed to
G1 H2 Z5 F6000 ; lower Z again.I am back where I was, homing all fine.
-
Hi evryone,
I tried to make my first print. I use SimplifyD. Everything seemed fine, temps ok, test extrude fine, homing and auto-leveling fine.
The problem is when printing the Z axis doesn't make it's moves. The bed stays where it is.
I checked the Z-code the printer was executing, but all the Z moves are in there, they are just not executed, I don't know where to start. I'll post my config.g again. I suspect the problem is Simplify3D, but the jogging works fine.Thanks,
Rolf
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.1 on Thu Jan 21 2021 15:31:52 GMT+0100 (Central European Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Creatr" ; set printer name; Network
M552 P192.168.1.63 S1 ; enable network and set IP address
M553 P255.255.0.0 ; set netmask
M554 P192.168.0.1 ; set gateway
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards X
M569 P0.1 S1 ; physical drive 0.1 goes backwards X
M569 P0.2 S0 ; physical drive 0.2 goes forwards Y
M569 P0.3 S0 ; physical drive 0.3 goes forwards ZM569 P0.4 S0 ; physical drive 0.4 goes backwards E0
M569 P0.5 S0 ; physical drive 0.5 goes backwards E1M584 X0.0:0.1 Y0.2 Z0.3 E0.4:0.5 ; set drive mapping
M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
M350 E8:8 16 I0 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E1900:1900 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E6:6 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z200.00 E2400:2400 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E120:120 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E800 I60 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X235 Y179 Z250 S0 ; set axis maxima; Endstops
M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
M574 Z1 S2; Z-Probe
M558 P8 X0 Y0 C"io4.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
;G31 P500 X0 Y28 Z4.9 ; set Z probe trigger value, offset and trigger heightG31 P500 X0 Y28 Z5.1 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid
; Heaters
M308 S0 P"temp0" Y"thermistor" T114000 B4092 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 R0.234 C608.9 D0.51 S1.00 V19.6 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S130 ; set temperature limit for heater 0 to 130CM308 S1 P"temp1" Y"pt1000" ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
M307 H1 R2.089 C324.180:323.455 D11.89 S1.00 V23.8 B0;M307 H1 R2.089 C324.180:323.455 D11.89 S1.00 V23.8 B0
M143 H1 S250 ; set temperature limit for heater 1 to 250CM308 S2 P"temp2" Y"pt1000" ; configure sensor 2 as thermistor on pin temp2
M950 H2 C"out3" T2 ; create nozzle heater output on out3 and map it to sensor 2
;M307 H2 R2.429 C140.000:140.000 D5.50 S1.00 V0.0 B0
M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H2 S250 ; set temperature limit for heater 2 to 250C; Tools
M563 P0 S"Hotend_0" D0 H1 F0 ; 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 0CM563 P1 S"Hotend_1" D0 H2 F0 ; define tool 0
G10 P1 X0 Y22 Z0 ; set tool 0 axis offsets
G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Fans
M950 F0 C"out7" Q1000 ; create fan 0 on pin out7 and set its frequency
M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out8" Q1000 ; create fan 1 on pin out8 and set its frequency
M106 P1 S1 H-1 ; set fan 0 value. Thermostatic control is turned off -
@rolf-0 said in Battling IR DC42 setup:
M350 E8:8 16 I0 ; configure microstepping with interpolatio
You've got a spare 16 in there.
@rolf-0 said in Battling IR DC42 setup:
M906 X1000 Y1000 Z1000 E800
You're missing a second E800 there for the second extruder.
@rolf-0 said in Battling IR DC42 setup:
jogging works fine.
Z+ makes the nozzle and bed farther apart? Z- makes them closer together? Z0 has the nozzle touch the bed?
Can you share your sliced gcode file?
Please share your current homeall.g
-
Hello Pheadrux,
I changed the config.g according your suggestions, I also had two definitions of E microstepping. E16:16 and a line down M350 E8:8 I0
Everything works fine now, thanks for your time.
I hope it is a matter of fine tuning now.
Again, thanks everybody.
Rolf
-
Hello Pheadrux,
I changed the config.g according your suggestions, I also had two definitions of E microstepping. E16:16 and a line down M350 E8:8 I0
Everything works fine now, thanks for your time.
I hope it is a matter of fine tuning now.
Again, thanks everybody.
Rolf
-
-