Duet Electronics - Commissioning hardware and troubleshooting Firmware June 09, 2015 01:45PM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 09, 2015 02:09PM |
Registered: 10 years ago Posts: 14,684 |
Quote
RepRapRaj83
Regarding homing, my printer moves down when I send the home all command so I'd like to confirm if firmware settings or stepper wiring needs to be changed. (The current wiring for all axis motors is 1A - Green, 1B - Black, 2A - Blue, 2B - Red. The Axis/Motor Configuration is M569 P{n} S1). There's also a 'homedelta.g file on the SD card with additional instructions but, I've made no changes to this.
M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards
Quote
RepRapRaj83
Regarding axis movements, these are curved (high points towards the outsides of the print area, lowest point at the centre (calibration ) and is probably something to do with the fact that I manually press the endstops (because my homing isn't working) although it could also be related to the settings i've updated the config file with. (M665 R124 L250.0 B100 H402 ; set delta radius, diagonal rod length, printable radius and homed height)
Quote
RepRapRaj83
Regarding the hot end/extruder, If I send an instruction through to turn this on, the only response I get from Pronterface is that the printer is 'Attempting to extrude with no tool selected' or is 'Setting temperature: no tool selected'. (I can't pinpoint where in the config file I'd need to make a change).
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 09, 2015 04:30PM |
Registered: 10 years ago Posts: 569 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 10, 2015 07:33AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 10, 2015 08:11AM |
Registered: 10 years ago Posts: 14,684 |
Quote
RepRapRaj83
Regarding the change/addition to the config.g file, would the extruder need to be selected using an M563, M109 (or G10) command?
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 11, 2015 10:54AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 11, 2015 11:18AM |
Registered: 10 years ago Posts: 14,684 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 15, 2015 10:32AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 15, 2015 12:36PM |
Registered: 10 years ago Posts: 14,684 |
Quote
RepRapRaj83
Hi dc42,
Apologies in the delay getting back to you.
I've attached the Config.g file and can see the temperature for the Hotend/Bed in Pronterface. I'm not using the web interface at the moment but fingers crossed this shouldn't have any impact on the mechanics.
Thanks,
; Tool definitions M563 P1 D0 H1 ; Define tool 1 G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
; Tool definitions M563 P0 D0 H1 ; Define tool 1 G10 P0 S0 R0 ; Set tool 1 operating and standby temperatures
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware June 16, 2015 09:00AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 02, 2015 08:31AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 02, 2015 08:44AM |
Registered: 10 years ago Posts: 14,684 |
Quote
RepRapRaj83
Hi to everyone reading on the forum,
So, a long overdue update on the commissioning of the Delta printer with Duet Electronics.
@dc42 - The tooling instructions you provided were spot on, thank you. The printer axis all move as expected and tools are recognised/reacting as expected too. A few more tweaks to get the bed level and all should be ready.
Or so I thought.....
Temperature readouts are still a little off (at higher temperatures) and in order to compensate for this, I've been making amendments to the the 'L' offset in the Config file. I'm removing the SD card from the Duet electronics and updating these figures in wordpad across all 3 lines of M305 commands and then returning the card back into the electronics, powering up from there.
Quote
RepRapRaj83
After incremental testing, I've now reached an almighty 'L-280' which still gives a readout 1 degree C below the temperature readout on my 'test' printer.
I've compared temperatures by drilling 2 holes into a heater block and then inserting both the thermistor from the Duet hot end and the hot end thermistor from another printer which I used to print the parts for my delta bot (I'm assuming the temperature readouts from my non delta printer are accurate as I wouldn't have managed to print anything otherwise). After powering up the printers/pronterface, I can then compare the readouts.
The 'L-280' offset is probably not the ideal correction as this should be between +100 and -100, however the maximum temperature that I can reach is about 177C with an 'L-100' offset.
So...What could be the cause of such a big discrepancy? Is this a symptom of something physical on the electronics board (solder bridge, broken connection/component etc) or is it something to do with wiring and potential 'noise' coming from wiring to other electronics? Am I updating the 'L' offset in the correct manner (I'm assuming I am otherwise I wouldn't have seen any fluctuations in temperature during tests).
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 04, 2015 11:42AM |
Registered: 13 years ago Posts: 85 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 04, 2015 11:51AM |
Registered: 10 years ago Posts: 14,684 |
Quote
RepRapRaj83
Hi dc42,
I'm controlling the printer using Pronterface and not the web interface at the moment so the (more straightforward) option you've outlined can't be looked at for now. You did refer to reset/emergency stop for processing the config file. Would this need to be done each time the data on the config file is updated? if so, I'll need to try this as I've only updated the config file and then inserted it into the electronics board.
Quote
RepRapRaj83
Regarding Thermistors, I've got an EPCOS 100K Thermistor (B57560G1104F) with a B value of 4092k. The temperature reading on the low end is as close as I think I can get (.5 Deg C).
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 08, 2015 05:18PM |
Registered: 9 years ago Posts: 445 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 09, 2015 03:13AM |
Registered: 10 years ago Posts: 14,684 |
Quote
Koenig
I'm upgrading my Kossel to Duet, but I can't get my endstops to work with the Duet.
I have a set of these: [www.ebay.com]
But I cannot seem to configure them as NC, well if I do they never open.... When "opened" they just dim the led on the Duet but The Duet still reports it as being closed (not triggered)
Do I need to get some other endstops?
In that case could someone recommend some good accurate ones please.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 09, 2015 03:33AM |
Registered: 9 years ago Posts: 445 |
Quote
dc42
Quote
Koenig
I'm upgrading my Kossel to Duet, but I can't get my endstops to work with the Duet.
I have a set of these: [www.ebay.com]
But I cannot seem to configure them as NC, well if I do they never open.... When "opened" they just dim the led on the Duet but The Duet still reports it as being closed (not triggered)
Do I need to get some other endstops?
In that case could someone recommend some good accurate ones please.
I've just found what I think is the schematic for those endstops. You need to wire them as for RAMPS except that the order of the pin connections on the 3 way connector is different. On RAMPS it is Vcc, Ground, Signal (labelled +, - and S on the board). On Duet it is Signal, Vcc, Ground (with Signal being at the end next to the corresponding motor connector). Connect the green, red and black wires to those pins respectively. It looks like it has a DuPont connector on the end, so you can just swap the pins over in that connector.
These endstops use a changeover configuration and produce an active low output, which is the opposite of a normally closed switch. So in your M574 command in config.g, use parameter S0 instead of S1. The LED on the Duet will be on when the endstop is triggered, instead of off when it is not triggered.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 09, 2015 03:56AM |
Registered: 10 years ago Posts: 14,684 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 09, 2015 04:20AM |
Registered: 9 years ago Posts: 445 |
Quote
dc42
There is no P parameter in the M574 command. Where did you get it from?
The command you need is:
M574 X2 Y2 Z2 S0
The S0 applies to all endstops defined in that M574 command. I will update the page at [reprap.org] to cover the case of active-low endstop switches.
Quote
; Configuration file for Mini Kossel kit from Think3DPrint3D
; Communication and general
M111 S0 ; Debug off
M550 PMy Mini Kossel ; Machine 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 P192.168.1.14 ; 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
; 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
M574 X2 Y2 Z2 P1 ; 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 R105.6 L215.0 B85 H240 ; set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; put your endstop adjustments here
M92 X80 Y80 Z80 ; Set axis steps/mm
M906 X800 Y800 Z800 E800 ; Set motor currents (mA)
M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z15000 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
; Tool definitions
M563 P1 D0 H1 ; Define tool 1
G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
M92 E663:663 ; Set extruder steps per mm
;*** If you have a dual-nozzle build, un-comment the next 2 lines
;M563 P2 D1 H2 ; Define tool 2
;G10 P2 S0 R0 ; Set tool 2 operating and standby temperatures
// Z probe and compensation definition
;*** If you have an IR zprobe, change P0 to P1 in the following M558 command
M558 P0 X0 Y0 Z0 ; Z probe is a switch and is not used for homing any axes
;G31 Z1.20 P500 ; Set the IR zprobe height and threshold (put your own values here)
;*** Adjust the XY coordinates in the following M557 commands if necessary to suit your build and the position of the zprobe
M557 P0 X-50 Y-50 ; Four...
M557 P1 X-50 Y50 ; ...probe points...
M557 P2 X50 Y50 ; ...for bed...
M557 P3 X50 Y-50 ; ...levelling
M557 P4 X0 Y0 ; 5th probe point for levelling
;*** 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 August 12, 2015 02:49PM |
Registered: 9 years ago Posts: 445 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 12, 2015 06:11PM |
Registered: 10 years ago Posts: 14,684 |
Quote
Koenig
Ok so I I connected my motors using this description: [reprap.org]
But when using that color-code (black, blue, green, red from left to right holding the card upside down according to the text) on the wires they just vibrated when I tried to home it...
So I looked at dc42's blog and found he had wired them in the opposite direction (red, green, blue, black) looking at this: [miscsolutions.files.wordpress.com]
But then the motors went backwards...
Quote
Koenig
EDIT: Also, is the MOSFET on the board enough for a 12V 10.5A heatbed (Seems so small) , or should I be looking for some SSR or the like?
They all seem to require at least 24V on the secondary input though...
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 13, 2015 12:52AM |
Registered: 9 years ago Posts: 445 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 13, 2015 02:50AM |
Registered: 10 years ago Posts: 14,684 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 13, 2015 05:39AM |
Registered: 9 years ago Posts: 445 |
Quote
dc42
What motors are you using, and what current have you set in the M906 command in config.g? If the motors can move the carriages down but not up, perhaps you need a higher motor current.
You could also try removing the belt and see how the motor moves then.
Use G92 followed by e.g. G1 S2 X10 to test the motors initially, so that the homing switches don't confuse the results.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 13, 2015 04:07PM |
Registered: 9 years ago Posts: 445 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 14, 2015 03:50AM |
Registered: 10 years ago Posts: 14,684 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 14, 2015 08:53AM |
Registered: 9 years ago Posts: 445 |
Quote
dc42
1. You can leave the L and H values set to zero in the M305 command. For the EPCOS 100K thermistor, I believe the correct B value in the M305 commands is40364190.
Quote
dc42
2. If you use R1000 in the M305 commands (for 1K resistors), and you actually have 4.7K resistors, then the reading will be around 60C at room temperature. If the reading is around 20C (or whatever tour yoom temperature), then you have 1K resistors. Alternatively, see if you can read the values stamped on R19 and R21.
Quote
dc42
3. RepRapFirmware supports multiple print heads, so you need to tell it which one you are using before you try to extrude. Send a T0 command from Pronterface, or click on the tool in the web interface.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 14, 2015 02:21PM |
Registered: 10 years ago Posts: 14,684 |
Quote
Koenig
Quote
dc42
1. You can leave the L and H values set to zero in the M305 command. For the EPCOS 100K thermistor, I believe the correct B value in the M305 commands is40364190.
If I use that value and set the others to 0 - "M305 P0 T100000 B4190 R1000 H0 L0" it reports the room temp as 17.5 degrees when in fact it is ~25 degrees (analog thermometer)now, so that does not seem right.
Quote
Koenig
Quote
dc42
2. If you use R1000 in the M305 commands (for 1K resistors), and you actually have 4.7K resistors, then the reading will be around 60C at room temperature. If the reading is around 20C (or whatever tour yoom temperature), then you have 1K resistors. Alternatively, see if you can read the values stamped on R19 and R21.
Found them and they read 01b so I guess I have the 1K resistors.
Quote
dc42
3. RepRapFirmware supports multiple print heads, so you need to tell it which one you are using before you try to extrude. Send a T0 command from Pronterface, or click on the tool in the web interface.
Yes, thank you.
I'm plowing through this: [reprappro.com] right now, useful but definitely missing parts for deltas.
Is there some delta specific calibration for dimensional inaccuracies in your firmware, something like this: [delta-calibration.s3-website-us-west-2.amazonaws.com]
That is what I used on Marlin to get accurate prints, it seems my Z-tower is a few tenths off or something like that.
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 15, 2015 05:35AM |
Registered: 9 years ago Posts: 445 |
Re: Duet Electronics - Commissioning hardware and troubleshooting Firmware August 15, 2015 06:10AM |
Registered: 10 years ago Posts: 14,684 |