DuetWiFiFirmware minor release 1.15c
-
My only comment on your homing files is that we don't normally use G92 in them any more. Instead we use M208 commands in config.g to tell the firmware what the bed limits are, which are also the positions assumed when endstop switches are triggered.
Please post your config.g file.
-
Ok, So the Coordinate System Calibration and the Limits need to be the same. Will this affect the Extruder and Y drive Extra movement i am seeing?
I have run test to see if it actually extrudes 100mm and the y drive actually moves 100mm when i send the G1 Command and that works fine. its just the articulated commands in a print. Almost like a timing error. Any ways the ramblings of and old man.
Config.g:
; Configuration file for RepRap Ormerod
; RepRapPro Ltd
;
M111 S0 ; Debug on
M550 PTricolour Mendel WIFI
M551 Pgdww1620
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; Set the MAC address
M552 S1 ; Enable WiFiM555 P2 ; Set output to look like Marlin
M906 X800 Y1000 Z800 E800:800:800:800:800 ; Motor currents (mA)M305 P0 R4700 T10000 B3988 ; set bed thermistor parameters
M307 H0 A128.4 C424.4 D2.4 B0
M307 H1 A762.7 C99.7 D5.5 B0M574 X S1 ; Set endstop configuration
M574 Y2 S0 ; Set endstop configuration
M574 Z S1 ; Set endstop configuration
M569 P0 S0 ; Set X Axis Direction
M569 P1 S1 ; Set Y Axis Direction
M569 P2 S0 ; Set Z Axis Direction
M569 P3 S0 ; Set E0 Axis Direction
M569 P4 S0 ; Set E1 Axis DirectionM558 P1 X1 Y0 Z1 ; Set Z probe type
G21 ; Work in mm
M92 X100.25 Y100.25 Z4001.50 E420.00 ; Set axis steps per unit
M570 S180 ; Set heater timeout
;
M563 P0 D0 H1 ; Create tool 0 = Color 1
M563 P1 D1 H1 ; Create tool 1 = Color 2
M563 P2 D2 H1 ; Create tool 2 = Color 3
M563 P3 D3 H1 ; Create tool 3 = Color 4
M563 P4 D4 H1 ; Create tool 4 = Temperature for this tool should be Set Low
G10 P0 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 0 operating and standby temperatures
G10 P1 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 1 operating and standby temperatures
G10 P2 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 2 operating and standby temperatures
G10 P3 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 3 operating and standby temperatures
G10 P4 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 4 operating and standby temperatures
G31 P500 Z0.65 ; Set the probe height and threshold PLA = 0.65, ABS = 0.75
T4
;
M201 X800 Y800 Z15 E1000 ; acceleration tweaks for improved finish
M203 X15000 Y15000 Z150 E3600 ; speed tweaks for improved finish
;
M208 X200 Y200 Z120 ; set axis max travel
M208 X0.0 Y0.0 Z0.0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed)
M210 X200 Y200 Y170I just realized i still had my M906 command setup for the Old Duet board and expansion board. as there is no expansion board hear and only two extruders i will modify and test. I will also remove the M210 command as well. Looks like its no longer supported
-
I see that you have G92 X220.00 Y212.00 in your homing files, and M208 X200 Y200 Z120 in config.g. So your G92 command sets the X and Y position outside the declared printable area. This may account for the jumps you are seeing when homing. I suggest you remove the G92 commands in the homing files and use M208 X220 Y212 Z120 in config.g.
Also you have M574 X S1 in config.g. I presume it should be M574 X2 S1.
Is there a reason why your X endstop switch is NC/active high whereas your Y endstop switch is NO/active low, according to your M574 commands?
-
X and Z are the infrared Sensor. I am getting sloppy in my coding. As the X and Y are the infrared Sensor i will comment it out and try
-
Sorry X and Z are the infrared Sensor i will comment the M574 command out
-
Ok, had to put X and Z back in:
M574 X0 S1 ; Set endstop configuration
M574 Y2 S0 ; Set endstop configuration
M574 Z0 S1 ; Set endstop configuration -
Ok, Ran another test print. issue still exists. its like the extruder continues to extrude wall the hot end is moving in word to print the next line. Same thing with my y end stop. the actual hardware stop is close to the point where the switch gets trigger. during the first seek to find the end the controller drives the y past the end just enough such that it hits the hardware before it lock hold the motor. And the next G1 command backs the y table off to do the fine adjustment. Any way and observation
-
It sounds to me that your homing issue is because the endstop switch is not triggering before the physical stop. That would explain the pause. Can you adjust the position of the switch, so that it always triggered before the physical stop?
You can post a video to YouTube and link to it from this forum.
-
Hi. There are a couple of things I don't understand in your config.g. You've set axis directions (M569) for E0 and E1 therefore I'm assuming from that, that you have 2 extruders. Is that correct? Earlier on you've set the motor currents (M906) for 5 extruders but that won't matter if you are only using 2 of them. Later on you've set steps per mm (M92) for X,Y,Z and E, indicating that you only have one extruder. If you have 2 then you would normally have something like E420:420 instead of just E420. I'm not sure how the firmware would react if you only define steps/mm for one extruder but try to use two.
Then you have defined 5 tools, each with their own extruder (D0 to D4) but sharing the same heater indicating that in fact you do have 5 extruders, in which case you ought to set steps/mm for all 5. Then for each of the 5 tools, you have an X offset of 20 which means that the nozzles are all 20mm off set in X but the Y and Z offsets are all the same. This would mean that you would have a single nozzle with 5 filament inputs but in that case, you wouldn't need to have an X offset. For tool definitions where there are multiple nozzles, usually one tool would have zero offsets and the others would be offset from that tool.
Can you let us know how many extruders and how many hot ends (nozzles) you have and if the hot ends share the same heater? If you have multiple nozzles, what are the physical distances between them?
-
Sorry, this was original a copy from the old Duet. Specs:
Extrudes: 2
Hot ends: 1I indeed fead different Filaments into one hotend (2 feeds). the Tool head offset is do to the fact my x carage was supposed to use two hotends, but i only have on. and its easier to work on in the position its in.
hear is a Cleaned up version, i will run a test print using:
; Configuration file for RepRap Ormerod
; RepRapPro Ltd
;
M111 S0 ; Debug on
M550 PTricolour Mendel WIFI
M551 Pgdww1620
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; Set the MAC address
M552 S1 ; Enable WiFiM555 P2 ; Set output to look like Marlin
M906 X800 Y1000 Z800 E800:800 ; Motor currents (mA)M305 P0 R4700 T10000 B3988 ; set bed thermistor parameters
M307 H0 A128.4 C424.4 D2.4 B0
M307 H1 A762.7 C99.7 D5.5 B0M574 X0 S1 ; Set endstop configuration
M574 Y2 S0 ; Set endstop configuration
M574 Z0 S1 ; Set endstop configurationM569 P0 S0 ; Set X Axis Direction
M569 P1 S1 ; Set Y Axis Direction
M569 P2 S0 ; Set Z Axis Direction
M569 P3 S0 ; Set E0 Axis Direction
M569 P4 S0 ; Set E1 Axis DirectionM558 P1 X1 Y0 Z1 ; Set Z probe type
G21 ; Work in mm
M92 X100.25 Y100.25 Z4001.50 E420.00:420.00 ; Set axis steps per unit
M570 S180 ; Set heater timeout
;
M563 P0 D0 H1 ; Create tool 0 = Color 1
M563 P1 D1 H1 ; Create tool 1 = Color 2
M563 P2 D2 H1 ; Create tool 2 = Color 3
M563 P3 D3 H1 ; Create tool 3 = Color 4
M563 P4 D4 H1 ; Create tool 4 = Temperature for this tool should be Set Low
G10 P0 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 0 operating and standby temperatures
G10 P1 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 1 operating and standby temperatures
G10 P2 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 2 operating and standby temperatures
G31 P500 Z0.65 ; Set the probe height and threshold PLA = 0.65, ABS = 0.75
T4
;
M201 X800 Y800 Z15 E1000:1000 ; acceleration tweaks for improved finish
M203 X15000 Y15000 Z150 E3600:3600 ; speed tweaks for improved finish
;
M208 X200 Y200 Z120 ; set axis max travel
M208 X0.0 Y0.0 Z0.0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed) -
Just ran test print with the last config i posted. Still have the extra Extrusion when the extruder starts the next shell line. note i am just printing one layer with this test prints, and in this case i am just printing two complete lines around the part. the passing it to look at the print.
-
I still don't understand you tool definitions. Tool0 (P0) is fine using the first extruder (D0) as is Tool1 (P1) which uses the second extruder (D1) but then you have a third tool (P2) using the third extruder (D2) which doesn't exist. It's the same for your fourth and fifth tools - the extruder doesn't exist. After that, you have a T4 command to select the 5th tool (T0 being he first) but there is physically no 5th extruder associated with it.
Assuming that you hot end is capable of mixing, then you need to define the tools accordingly. Something like this
M563 P0 D0:1 H1 ; Define tool 0 to use both extruders
G10 P0 X20 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
M568 P0 S1 ; Enable mixing for tool 0
M567 P0 E1:0 ; Set mixing ratios for tool 0 to use 100% of the first extruder
M563 P1 D0:1 H1 ; Define tool 1 to use both extruders
G10 P1 X20 Y0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
M568 P1 S1 ; Enable mixing for tool 1
M567 P1 E0:1 ; Set mixing ratios for tool 1 to use 100% of the second extruder
M563 P2 D0:1 H1 ; Define tool 2
G10 P2 X20 Y0 ; Set tool 2 axis offsets
G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
M568 P2 S1 ; Enable mixing for tool 2
M567 P2 E0.5:0.5 ; Set mixing ratios for tool 2 to use 50% of both extruders (or whatever mixing ratio you want)Then repeat the settings for P2 to define the other tools with different mixing ratios.
-
My hotend dos not a mixer. its a Standerd Quick-set hotend. dont have any interest in a Mixer.
-
Forgive me for being cureas, but how is this going to fix my issue with the motors being drive on when they are not supposed to be. I mean this gcode is that same as i used on the Old Duet. So should it not print the same or maybe beater? I can see issues with the Controller not doing well with bad configuration, but that is fixed right?
So fixing the Config.g is a Good place to start. but non of the changes i have made, has solved this issue. Do you guys want me to run a File with a Specific gcode in it? For Debugging?
I mean i can configure it into thinking its got a Mixing hotend, but I don't have a mixing hotend to test it with.
-
Should i be configuring the Step mode on the Stepper motor drivers? if so what would be the equivalent to the default mode in the Duet?
-
Sorry old Duet, Example: M909 X3 Y5 Z2 E3
-
Sorry, but I'm just trying to help. I just don't understand how your printer is configured. You said
Quote….......
Extrudes: 2
Hot ends: 1I indeed fead different Filaments into one hotend (2 feeds).
...........end of quote.From that I assumed that it was a mixing hot end. Now you say that it's not. So I'm not sure what you mean. Do you have two extruders but only use them one at a time?
In your config.g you have tools defined to use 5 extruders, 3 of which which don't exist and you have a T4 command which selects one of these tools. I have no idea how the firmware would react to that but it is clearly something that needs correcting.
-
ReRap firmware doesn't use M909. Use M350 instead. I believe the default is 16x microstepping with interpolation.
-
Correct, i use one extruder at a time. I have a Jig that feeds the filament from 4 extruders into one mounted in the middle of my boden tub
-
Now you are saying that you have 4 (or 5 ) extruders when previously you said 2. I have no idea how you can be driving them all when the Duet WiFi on it's own only supports 2 extruders. Sorry but I'm going to have to give up with this.