Duet 0.6 + Duex Issue October 01, 2015 03:22PM |
Registered: 8 years ago Posts: 4 |
; Configuration file for Mini Kossel kit from Think3DPrint3D ; Communication and general M111 S0 ; Debug off M550 PNix-0-bot V1 ; Machine name and Netbios name (can be anything you like) M551 Preprap ; Machine password (used for FTP) M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address ;*** Adjust the IP address and gateway in the following 2 lines to suit your network M552 P0.0.0.0 ; IP address (0 = use DHCP) 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 ; Axis and motor configuration M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S1 ; Drive 4 goes forwards M569 P5 S1 ; Drive 5 goes forwards M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high) ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration M665 R300 L370 B150 H724.5 ; set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them M92 X80 Y80 Z80 ; Set axis steps/mm M906 X1000 Y1000 Z1000 E500 ; Set motor currents (mA) M201 X10000 Y10000 Z10000 E1000 ; Accelerations (mm/s^2) M203 X25000 Y25000 Z25000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute ; Thermistors ;*** If you have a Duet board stickered "4.7K", change R1000 to R4700 to the following M305 commands M305 P0 T100000 B3950 R1000 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3974 R1000 H30 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction M305 P2 T100000 B3974 R1000 H30 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction M305 P3 T100000 B3974 R1000 H30 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures ;M563 P2 D2 H3 ; Define tool 2 ;G10 P2 S0 R0 ; Set tool 2 operating and standby temperatures M92 E94 ; Set extruder steps per mm ; 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 switch and is not used for homing any axes G31 X0 Y0 Z4.80 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 M208 S1 Z-0.2 ; set minimum Z ; T0 ; select first hot end
Re: Duet 0.6 + Duex Issue October 01, 2015 05:04PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue October 02, 2015 10:08AM |
Registered: 8 years ago Posts: 4 |
Re: Duet 0.6 + Duex Issue October 02, 2015 12:03PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue October 02, 2015 12:45PM |
Registered: 8 years ago Posts: 4 |
Re: Duet 0.6 + Duex Issue October 02, 2015 01:55PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue October 02, 2015 02:34PM |
Registered: 8 years ago Posts: 4 |
Re: Duet 0.6 + Duex Issue October 02, 2015 03:32PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 06, 2015 09:11AM |
Registered: 8 years ago Posts: 319 |
Re: Duet 0.6 + Duex Issue December 06, 2015 01:46PM |
Registered: 10 years ago Posts: 14,672 |
Quote
DRTak
I cannot find how to hook up my IR sensor to the DueX4. I found the table on the wiring for the PanelDue so that is not an issue. I am using the 0.6 + DueX4 configuration.
I only want the duex4 to read a 2nd thermistor (backup thermistor) for the hotend. And since the 50pin cable takes up the PIN on the expansion slot, I cannot use it for the blue cable OUT for the IR sensor. So Where do I put the blue wire OUT on the DUEx4 board.
Also since I am only using it for those 2 small things, do I need power cables going into the board (duex4)?
Quote
Wiring for everything except the second extruder and second hot end loom is as before, apart from one detail. Previously, the Z probe blue wire (and white wire if you were using one of my hot end boards) were connected to the Duet expansion connector. But the expansion connector will be used to connect the DueX4 to the Duet, so this is no longer possible. If you modified the Duet as described in the previous section, you can connect the Z probe blue and white wires to the 2 new header pins provided for them. If not, then you will need to connect the blue and white Z probe wires to the 26-pin Expansion1 connector on the DueX4. The blue wire goes to the pin labelled AD12 and the white wire (if you have one) to AD14.
Re: Duet 0.6 + Duex Issue December 06, 2015 02:53PM |
Registered: 8 years ago Posts: 319 |
Re: Duet 0.6 + Duex Issue December 06, 2015 03:30PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 06, 2015 03:42PM |
Registered: 8 years ago Posts: 319 |
Re: Duet 0.6 + Duex Issue December 06, 2015 05:44PM |
Registered: 10 years ago Posts: 14,672 |
Quote
DRTak
Quote
dc42
I was indeed referring to the AD12 pin on the Expansion1 connector.
Thanks David I see it now. Had to use reading glasses to see the AD12 pin. Sorry about that.
Re: Duet 0.6 + Duex Issue December 11, 2015 12:12PM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
Quote
DRTak
I cannot find how to hook up my IR sensor to the DueX4. I found the table on the wiring for the PanelDue so that is not an issue. I am using the 0.6 + DueX4 configuration.
I only want the duex4 to read a 2nd thermistor (backup thermistor) for the hotend. And since the 50pin cable takes up the PIN on the expansion slot, I cannot use it for the blue cable OUT for the IR sensor. So Where do I put the blue wire OUT on the DUEx4 board.
Also since I am only using it for those 2 small things, do I need power cables going into the board (duex4)?
From my blog at [miscsolutions.wordpress.com]:
Quote
Wiring for everything except the second extruder and second hot end loom is as before, apart from one detail. Previously, the Z probe blue wire (and white wire if you were using one of my hot end boards) were connected to the Duet expansion connector. But the expansion connector will be used to connect the DueX4 to the Duet, so this is no longer possible. If you modified the Duet as described in the previous section, you can connect the Z probe blue and white wires to the 2 new header pins provided for them. If not, then you will need to connect the blue and white Z probe wires to the 26-pin Expansion1 connector on the DueX4. The blue wire goes to the pin labelled AD12 and the white wire (if you have one) to AD14.
The blue wire referred to is the output wire from the IR sensor. The white wire is the modulation input, if the sensor has one. The pins on the DueX4 expansion connector are labelled on the underside of the board.
Regarding providing 12V or not, I suggest you measure the voltage on the terminal block of the DueX4 when power is applied to the Duet. If you don't see any voltage there, then there is nothing feeding 5V or 3.3V to the 12V rail, and you should OK leaving it not connected.
Re: Duet 0.6 + Duex Issue December 11, 2015 01:13PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 11, 2015 03:24PM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
To get the second heater to register in the web interface, you need to add a M563 command in config.g to create the second tool. You may well find that your config.g file already has a second M563 command in it, but commented out. The command should be:
M563 P1 H2 D1
Regarding the IR sensor, does the red LED flash four times on power up, and then light up when it is near a target? If so, check the wire between the OUT pin of the sensor and the AD12 pin on the Expansion1 connector for continuity in case of a bad crimp connection, and check that you have correctly identified the AD12 pin on Expansion1.
Re: Duet 0.6 + Duex Issue December 11, 2015 05:00PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 11, 2015 07:36PM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
I'm glad you solved it! I think I see what happened. The Duet 0.6 does not have VSSA on the expansion connector. This was an oversight. In the Duet 0.8.5, the VSSA pin was added, and I see now that the pin it replaced was AD12. So on the DueX4 0.2a that pin is labelled VSSA, but when you connect it to a Duet 0.6 then it is really AD12.
If your DueX4 has a VSSA pin, then it must be a version 0.2a board. You should remove the jumper and connect the flylead as described in that blog entry.
Re: Duet 0.6 + Duex Issue December 12, 2015 02:55AM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 15, 2015 07:00PM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
You need power running into the DueX4 if it is driving any stepper motors or heaters.
Re: Duet 0.6 + Duex Issue December 15, 2015 11:36PM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 17, 2015 10:14PM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
5V is fed to the DueX4 through the expansion connector.
Can you measure the voltage between the +5V and Gnd pins on the PanelDue connector? If the voltage there is low, that might explain the hue issue.
Re: Duet 0.6 + Duex Issue December 18, 2015 03:13AM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 19, 2015 12:17AM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
How are you feeding 12V power to the X4? Do not run separate wires from it back to the power supply. Instead, put a connector block close to the Duet and DueX4 to distribute the power, and run short thick solid core wires from it to the Duet and to the DueX4. I used the cores from a length of 30A ring main cable. See my blog entry on converting the Ormerod to dual extrusion.
Re: Duet 0.6 + Duex Issue December 20, 2015 10:19AM |
Registered: 8 years ago Posts: 319 |
Re: Duet 0.6 + Duex Issue December 20, 2015 10:37AM |
Registered: 10 years ago Posts: 14,672 |
Quote
DRTak
I searched the web and cannot find any information on how to create Macros for the duet web interface?
Re: Duet 0.6 + Duex Issue December 20, 2015 10:46AM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
Quote
DRTak
I searched the web and cannot find any information on how to create Macros for the duet web interface?
I guess I need to add that to the wiki pages. This is how you do it:
1. Create a directory on the SD card called /macros.
2. Populate it with files who name is the text you want to appear on the web interface and on PanelDue (no need for a .g or .gcode extension), and whose contents are the gcodes you want to run. You can upload these through the Macros tab on the web interface.
The firmware automatically does a push before running a macro file, so certain parameters get saved and restored, e.g. feed rate, relative/absolute movement, and relative/absolute extrusion.
Re: Duet 0.6 + Duex Issue December 20, 2015 11:21AM |
Registered: 10 years ago Posts: 14,672 |
Re: Duet 0.6 + Duex Issue December 20, 2015 11:30AM |
Registered: 8 years ago Posts: 319 |
Quote
dc42
Can you post a photo? Where did you get the display from?