Thank you, it appears that was all it takes.
M591 D0 P3 C"20.io1.in" S0 R70:130 L24.8 E3.0
I knew I was missing something simple.
Thank you, it appears that was all it takes.
M591 D0 P3 C"20.io1.in" S0 R70:130 L24.8 E3.0
I knew I was missing something simple.
When I use M591 D0 P3 C"20io1.in" S0 R70:130 L24.8 E3.0, I get the message:
"Error: M591: Filament monitor port must be on same board as extruder driver"
Tried that, not working. I have to be missing something basic.
Trying to implement a magnetic filament sensor on a toolboard.
Toolboard ID is 20, filament sensor is connected to IO1 in on the toolboard
; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P20.0 S0 ; physical drive 20.0 goes backwards
M584 X0.0 Y0.1 Z0.2 E20.0 ; set drive mapping
M591 D20 P3 C"20io1.in" S0 R70:130 L24.8 E3.0
I get the message "Error: M591: parameter 'D' too high"
Clearly, I have something messed up.
When I use M591 D0 P3 C"20io1.in" S0 R70:130 L24.8 E3.0, I get the message:
"Error: M591: Filament monitor port must be on same board as extruder driver"
What am I missing?
@dc42 Thanks for the tips. I will work on getting things properly grounded this weekend.
The meter indicates that the toolboard is electrically isolated from the carriage metalwork, and the carriage is isolated from the chassis of the printer, so I will tie both to a common grounding point. It's a belt-driven CoreXY, I think I need to ground my drive motors as well, as they do not have continuity to the machine chassis either.
The cartridge did not short to the case, so there's no chance it was a Vin to thermistor short. Must have been static discharge, and there have been a few zaps along the way.
Thanks again for all the help.
I have other questions about setting up multiple toolboards, but that is for another thread.
@dc42 Static discharge is a possibility, it is winter and I have noticed a zap or two when I touch the printer, but nothing really out of the ordinary. I don't think the hotend wires could have shorted to the thermistor, but I never checked the heating element for a short to the case.
Is this something that can be repaired? Is this something that the warranty would cover, or is this on me? Have later version boards been changed at all to mitigate this?
More importantly, how can I ground things more effectively to mitigate this risk? I have the metal printer chassis tied to earth already, but the carriage and toolboard may be isolated due to the printer's construction. Should the toolboard be grounded at one of the mounting points, or is there a better practice than that? My hotend is in a metal mount, on a metal carriage, but the toolboard is isolated on a printed carrier board to adapt it to a standard NEMA-17, so it may be isolated from the carriage. I will check that. The toolboard has power wires heading back to the chassis though. Is it acceptable to tie the DC (-) to earth as well? I seem to recall reading that's not a good idea. I'll search for some guidelines on grounding this evening after work.
@jay_s_uk So I can just not use that particular thermistor input and map the hotend to the other input? That might work for me if the board can't be repaired/replaced under warranty. So far I only need a single thermistor input on the toolboard.
Thank you both for the replies.
I've been using a Duet 3 Mini 5+ and a toolboard (V1.1) combination on my SK-Go2 printer since August of last year. It's been a pretty solid solution, the printer has "just worked". I'm running RRF 3.3. Yesterday, while I was preparing the printer for a print, (preheating and cleaning the nozzle prior to setting Z zero), I got an error on my hotend thermistor. The reported temp was 2000C, which suggests something is short-circuited. Preheat was in the normal operating range, approximately 250 C. Cleaning was with the exact same brass brush I have used to clean hotends on the last three printers I have owned. Nothing was out of the ordinary. I restarted the printer and the error remained.
I removed the sock and found that one of the thermistor wires looked a little frayed. Additionally, the thermistor was loose in the block. When I checked it, it tested OK (about 100 KOhm). Still, given the condition, I elected to change it out since I have a spare.
I swapped the thermistor (E3D cartridge style, semitec) for a new one, the error persisted. Reset the tool board, the error persisted. Re-flashed the tool board, the error persisted. Unplugged the thermistor, then the wire to the tool board, the error persisted. Both the old and new thermistors checked fine (approximately 100 KOhm, and lower when I held it in my hand).
This suggests the problem is with the board, so I swapped out the board (fortunately, I have a spare).
Once I swapped the board, properly set the address, then restarted the printer, behavior is back to normal.
Any thoughts as to what could have gone wrong? Anything I can do to mitigate this in the future?
I experienced a similar problem when I swapped from RAMPS to my Duet WiFi. RAMPS runs the motors in parallel, Duet wires them in series. With a 12-volt system, series wiring greatly decreases the torque available unless the current limit is raised. I tried increasing the current to the point where the motors got rather warm, but I still experienced missed steps.
I mostly solved my issues by mapping an unused driver (EX1) to run the other Z motor. In the process, I still occasionally experienced binding. Ultimately, I discovered that the threaded rods that I was using for my Z leadscrews were not aligned properly and had worn to the point where the threads were galled. Swapping to TR8X2 leadscrews helped immensely, though the brass nuts leave a bit to be desired, even when lubricated. Delrin nuts are on order.
Thanks for the tips! I will enable logging and keep looking into this.
Edit - 5 minutes later (and after a fair bit of troubleshooting last night)
According to M122, the Duet is power-cycling when I see this happen. The event log is blank. Looks like this is a result of my power supply cutting out in an over-current situation.
For anyone following along, my original macro heated both the hotend and the heated bed at the same time. This works fine when the bed is already over 50C, but when things are cold, the inrush current appears to push the power supply past its amperage limit and it briefly cuts out. If I heat up the bed first, then heat up the hotend, this problem is avoided.
Installed my Duet WiFi on my cartesian machine, I have updated the firmware to 1.21 and I have things generally working.
Now that I am back to where I am printing reliably, I am exploring macros as a way to make the machine a bit easier to use. The first macros I wrote were to preheat the bed to 70 C, preheat the nozzle to 130 C, then home the machine and do a detailed bed compensation cycle. I've attached the code:
; preheat nozzle and bed before mesh-leveling
M140 S70 ; Set bed to 70 for PLA and PETG, 110 for ABS
M109 T0 S130 ; Set hotend to 130 for all filaments
M116 ; Wait for all temps to stabilize
; Mesh Bed Leveling
G28 ;home
G91 ;relative mode
G1 Z10 F400 ;move Z up to ensure clearance
G90 ;absolute mode
G29 S2 ;delete existing map
G29 ;probe bed
G1 X0 Y0 F10000 ;go home
When I run this macro and things are cold, after about 5 seconds, the PanelDue goes blank, then the DWC connection drops.
If things are warm, this macro works fine.
If the macro code is correct (and I am pretty sure that it is, because it runs some of the time and does what I expect it to), this suggests that I have a power supply problem. Interestingly, DWC does not report a low-voltage condition, the reported voltage is within 0.1V of what I measure with my multimeter. Is there a logfile I can dig into?