Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 18, 2015 12:19PM |
Registered: 9 years ago Posts: 445 |
Quote
dc42
How did you find the correction to the X tower position that you needed in Marlin?
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 13, 2015 06:53PM |
Registered: 9 years ago Posts: 9 |
; Configuration file for big Kossel from Think3DPrint3D V0.1 Date 20150708 with revisions for Duet V0.8.5 by Tony ; and addition of 3 more drives and second PWM fan for testing ; Communication and general M111 S0 ; Debug off M550 Rostock MAX Metal ; Machine name and Netbios name (can be anything you like) M551 0123CHANGEME4567 ; Machine password (used for FTP) ;M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address (better to let the board use its own!) ;*** Adjust the IP address and gateway in the following 2 lines to suit your network M552 P192.168.1.20 ; IP address M554 P192.168.1.1 ; Gateway M553 P255.255.255.0 ; Netmask M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ;Turn off fans M106 I1 ; fans are inverting M106 S0 ; Turn off Fan 0 (backward compatible with older firmware) M106 P1 S0 ; Turn off Fan 1 ; Axis and motor configuration M569 P0 S1 ; X Drive 0 goes forwards M569 P1 S1 ; Y Drive 1 goes forwards M569 P2 S1 ; Z Drive 2 goes forwards M569 P3 S1 ; E0 Drive 3 goes forwards M569 P4 S1 ; E1 Drive 4 goes forwards M569 P5 S1 ; E2 Drive 5 goes forwards M569 P6 S1 ; E3 Drive 6 goes forwards M569 P7 S1 ; E4 Drive 7 goes forwards ;M569 P8 S1 ; E5 Drive 8 goes forwards - not used with 2-fans version of firmware. M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active low) ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration. M665 R135.0 L169.0 B280 H400 ; set delta radius, diagonal rod length, printable radius and homed height M666 X0.00 Y0.00 Z0.00 ; put your endstop adjustments here, as given by auto calibration 22/05/15 M92 X160 Y160 Z160 ; Set axis steps/mm (80 for 1.8-degree steppers, 160 for 0.9-degree steppers) ; 1500mA is useful for standard NEMA17 1.8-degree steppers. ; 1000mA is useful for TriDPrinting 5.19:1 geared steppers (which you should really have on your extruders). M906 X1000 Y1000 Z1000 E1000:1650:1650:1650:1000:1000:1000:1000 ; Set motor currents (mA); set each extruder explicitly M906 I100 ; Set motor idle factor to 100% while testing so they don't idle at all M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) Set all E-motors the same M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) Set all E-motors the same M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute. Set all E-motors the same ; Thermistors ; Duet0.8.5 uses 4.7K resistors M305 P0 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 1st nozzle thermistor ADC correction M305 P2 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 2nd nozzle thermistor ADC correction M305 P3 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 3rd nozzle thermistor ADC correction M305 P4 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 4th nozzle thermistor ADC correction M305 P5 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 5th nozzle thermistor ADC correction M305 P6 T100000 B4066 R4700 H30 L0 ; Put your own H and/or L values here to set the 6th nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Extruder steps/mm is 460.5 for a geared planetary (5.19:1) from TriDPrinting.com mounted to a SeeMeCNC EZ-Struder. ; Tool definitions for CHIMERA and CYCLOPS HOT-ENDS - Tools 0 and 1 M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures M92 E663:460.5:460.5:460.5:460.5 ; Set extruder steps per mm explicitly for all the extruders - 5 for Duet085+Dt4 test ;*** If you have a dual-nozzle build, un-comment the next 2 lines M563 P1 D1 H2 ; Define tool 1 G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ;*** With a Duex 4 add 3 more tools M563 P2 D2 H3 ; Define tool 2 G10 P2 S0 R0 ; Set tool 0 operating and standby temperatures M563 P3 D3 H4 ; Define tool 3 G10 P3 S0 R0 ; Set tool 0 operating and standby temperatures M563 P4 D4 H5 ; Define tool 4 G10 P4 S0 R0 ; Set tool 0 operating and standby temperatures ;M563 P5 D5 H6 ; Define tool 5 ;G10 P5 S0 R0 ; Set tool 0 operating and standby temperatures // Z probe and compensation definition ;*** If you have an IR zprobe instead of a switch, change P4 to P1 in the following M558 command M558 P4 X0 Y0 Z0 ; Z probe is a microswitch, Hall-O, FSRs, or similar ;M558 P1 X0 Y0 Z0 ; Z probe is a DC42 Differential IR PCB and is not used for homing any axes G31 X9.0 Y22.0 Z1.9 P500 ; Set the zprobe height and threshold (put your own values here) ;*** If you are using axis compensation, put the figures in the following command ;M556 S78 X0 Y0 Z0 ; Axis compensation here
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 14, 2015 03:37AM |
Registered: 10 years ago Posts: 14,684 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 17, 2015 08:18PM |
Registered: 9 years ago Posts: 9 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 18, 2015 03:08AM |
Registered: 10 years ago Posts: 14,684 |
Quote
626Pilot
Looks like I missed a step. I flashed your latest binary, and it does seem to work.
Quote
626Pilot
What are the actual commands for testing the Z probe and running the calibration? I don't see anything in the Duet commissioning doc that says how to do this on a delta machine. (I feel it's a significant weakness of those documents that they assume every last person reading them is running an Ormerod printer.) That document has instructions specific to a Cartesian machine, which doesn't help me. I also don't know how to test the probe itself. M119 doesn't report whether it's triggered.
Quote
626Pilot
One of the reasons I liked Smoothie so much was that they have a wiki with information on everything ever, and everything is detailed very precisely. Is there a place like that where I can find documentation on your fork? Right now I have no idea how to proceed, or even where to look for better documentation.
Quote
626Pilot
I'd also like to know how to hook up the PanelDue. I see the dedicated port, which is nice. Which way does the connector go? I don't want to short anything out. (Edit: Figured out the red wire goes to the 5V pin.)
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 18, 2015 04:14AM |
Registered: 9 years ago Posts: 9 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 18, 2015 04:20AM |
Registered: 10 years ago Posts: 14,684 |
Quote
626Pilot
Thanks - that helps a lot!
Is there a way to invert the pin for the Z probe? Mine reads 1000 normally and 0 when pressed. I was hoping to avoid re-soldering it.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 18, 2015 04:53AM |
Registered: 9 years ago Posts: 9 |
Quote
dc42
I think sending M574 E1 S0 will do that.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware October 18, 2015 09:56AM |
Registered: 10 years ago Posts: 14,684 |