New beta firmware 1.20.1RC2 and DuetWiFiServer 1.20+1


  • administrators

    I have just released these. All the binaries are now available via https://github.com/dc42/RepRapFirmware/tree/dev/EdgeRelease (follow the link to the one you want, then press Download). From the whatsnew file:

    New features:

    • Added support for nonlinear extruder drives (M592)
    • M591 D# response now includes the measured steps/mm and tolerance

    Bug fixes:

    • When a simulated print ends or is cancelled, stop.g, sleep.g and cancel.g are no longer run
    • Fixed a 1-step error in the commanded extrusion amount that the filament sensor compares with the measured extrusion

    The new DuetWiFiServer release uses a more recent ESP8266 SDK and generates more debug information.

    Please report good, bad or neutral feedback on this release here. Unless any serious bugs are reported, these binaries will be re-versioned as 1.20.1 by the end of this week.



  • Installed both, Wifi_server did not require any messing around, just updated via DWC without issue.


  • administrators

    Thanks!



  • Link in the original post isn't working properly. It's actually point to "…github.com/dc42/RepRapFirmware/" when I think it should be pointing to "...github.com/dc42/RepRapFirmware/tree/dev/EdgeRelease"

    (Both strings modified to prevent the forum software from messing with them)



  • Hi David, I have been trying out M592 and it doesn't seem to have any noticeable effect.

    I simply do G1 E100 Fxxx for various speeds (60, 120, 180, 240, 300 and 360) and measure the lengths of filament that are moved. With M592 values set to zero I get the expected results: as the feedrate goes up, the extruded length goes down. If I then apply M592 D0 A0.015 B0.0012 (your example values in the other thread), I get no noticeable change (given a small margin of measurement error). I then used larger values of A (up to 0.12) and still see no difference in the extruded lengths.

    I am only moving the extruder, there's no x/y/z movement.



  • @burtoogle:

    I am only moving the extruder, there's no x/y/z movement.

    As far as I remember you have to move other axes too.

    Upd:

    Nonlinear extrusion is not applied to extruder-only movements such as retractions and filament loading.



  • Ah, silly me, I will try again tomorrow. What would be the easiest bit of gcode to enter that includes a little carriage movement? Basically, I want to extrude 100mm every time at a known rate, I don't really care how far the carriage moves (as long as it's not far)



  • @burtoogle:

    What would be the easiest bit of gcode to enter that includes a little carriage movement?

    [[language]]
    M83
    G1 Z0.1 E100 
    
    


  • @dc42:

    • When a simulated print ends or is cancelled, stop.g, sleep.g and cancel.g are no longer run

    Confirmed fixed. No other differences noted. One issue that might be old (cosmetic) or even a non-issue: When simulating a print, the web control "print status", directly above the progress bar, shows "printing xxxx.gcode" on the left, and on the right, it shows "Layer 0 of …" (the issue being that it's always showing that it's working on layer 0 while simulating.)


  • administrators

    @garyd9:

    Link in the original post isn't working properly. It's actually point to "…github.com/dc42/RepRapFirmware/" when I think it should be pointing to "...github.com/dc42/RepRapFirmware/tree/dev/EdgeRelease"

    Thanks, now corrected.


  • administrators

    @burtoogle:

    Ah, silly me, I will try again tomorrow. What would be the easiest bit of gcode to enter that includes a little carriage movement? Basically, I want to extrude 100mm every time at a known rate, I don't really care how far the carriage moves (as long as it's not far)

    I use this on my delta:

    G1 X0 Y0 Z100 F5000
    M83
    G1 E5 F600
    M400
    M291 S3 R"Extrusion test" P"Press OK to start test"

    G1 X50 E50 F60
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 1mm/sec extrusion, then press OK"

    G1 X0 E50 F120
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 2mm/sec extrusion, then press OK"

    G1 X50 E50 F1800
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 3mm/sec extrusion, then press OK"

    and so on, doing 50mm X movement and 50mm extrusion each time, and increasing the F parameter by 60 each time. The F parameter specifies the XY movement speed, and since I am doing 50mm X movement and also 50mm extrusion, the extrusion speed will be the same.



  • Thanks, that script looks just the job, I will give it a go in the morning.



  • Hi David, using a script based on your example above, I obtained 50mm (within 1%) extrusion lengths for all speeds between 1 and 6 mm/S using the values A=0.016 and B=0.0010. This is for a Jhead hot end at 200C using rigid ink PLA and a Titan extruder. I will now see what effect it has on prints.

    Here's the script in case anyone else wants to use it (set and stabilise hotend temp before calling)

    G28
    G1 X0 Y0 Z100 F5000
    M83
    G1 E5 F600
    M400
    M291 S3 R"Extrusion test" P"Press OK to start test"
    
    G1 X50 E50 F60
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 1mm/sec extrusion, then press OK"
    
    G1 X0 E50 F120
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 2mm/sec extrusion, then press OK"
    
    G1 X50 E50 F180
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 3mm/sec extrusion, then press OK"
    
    G1 X0 E50 F240
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 4mm/sec extrusion, then press OK"
    
    G1 X50 E50 F300
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 5mm/sec extrusion, then press OK"
    
    G1 X0 E50 F360
    M400
    M291 S3 R"Measure extrusion" P"Measure filament taken at 6mm/sec extrusion, then press OK"
    
    G28
    
    

  • administrators

    @burtoogle:

    Hi David, using a script based on your example above, I obtained 50mm (within 1%) extrusion lengths for all speeds between 1 and 6 mm/S using the values A=0.016 and B=0.0010. This is for a Jhead hot end at 200C using rigid ink PLA and a Titan extruder. I will now see what effect it has on prints.

    That's close to the values I use on my delta:

    M592 D0 A0.015 B0.0012 L0.2 ; nonlinear extrusion

    This is for a Titan extruder driving 1.75mm RigidInk PLA through an E3Dv6 at 200C. I haven't checked whether adjusting the arm force on the Titan affects these values.



  • Hi,

    Where can I download the latest version of Duet Web Control?
    currently, I am using DWC 1.20-RC3

    I've just updated from 1.19 to 1.20.1RC2, also updated the DuetWifiServer to 1.20.1RC2.
    after the update, I experienced frequent disconnections from DWC, and that's new because the 1.19 was very stable.
    I think its too early to state that this is a firmware problem, because I only installed the new version an hour ago, so I will keep updating.

    In case I will need to downgrade, can an I I downgrade from version 1.20.1 to 1.19 by just uploading the previous version binary files using the DWC?

    Thanks,



  • @dc42:

    @burtoogle:

    Hi David, using a script based on your example above, I obtained 50mm (within 1%) extrusion lengths for all speeds between 1 and 6 mm/S using the values A=0.016 and B=0.0010. This is for a Jhead hot end at 200C using rigid ink PLA and a Titan extruder. I will now see what effect it has on prints.

    That's close to the values I use on my delta:

    M592 D0 A0.015 B0.0012 L0.2 ; nonlinear extrusion

    This is for a Titan extruder driving 1.75mm RigidInk PLA through an E3Dv6 at 200C. I haven't checked whether adjusting the arm force on the Titan affects these values.

    What's the nozzle size? I ran some tests on my machine and posted the results here https://www.duet3d.com/forum/thread.php?pid=34447#p34447. I am seeing a difference between demand and actual at high speed over a 50mm continuous extrude, but it's much less that you guys are seeing. Also, increasing the extrusion multiplier isn't compensating for me.


  • administrators

    Mine is 0.4mm. I reran my tests with the nonlinear compensation applied, and my 50mm commanded extrusion was then within 1mm for extrusion rates up to 5mm/sec. Previously it was 10% down at 5mm/sec. At 6mm/sec the extruder started slipping - which was not surprising, because it was applying 13.5% compensation, pushing the feed rate close to the 7mm/sec at which I observed slipping previously.



  • I have a mini Kossel with a jhead and a Kossel XL with a v6 (both 0.4mm nozzles) and the jhead beats the v6 for throughput hands down when squirting PLA so with the non-linear extrusion active it can achieve 50mm at 6 mm/s. I haven't tried 7 mm/s but I would expect it to start skipping.

    Without the non-linear extrusion, I see around 10% loss at 5 mm/s.



  • Hi,

    Where can I find info of nonlinear extruder?





  • Hmmm. Both using 0.4mm. It's starting to look like the effect is much less pronounced with a 0.5mm nozzle. Puzzled why increasing the extrusion rate doesn't works for me.

    Anyone else got a 0.5mm nozzle that they can try these tests with? It may not be nozzle size but something related to my large (and multiple) melt chambers. Although, I only used a single input\extruder for my tests, there could still be some sort of interaction going on which absorbs the pressure.

    Looking forward to seeing some actual prints showing how this all translates.


  • administrators

    I have a 0.5mm nozzle on my Ormerod. I'll do some measurements on that one when I have time.



  • Possible issue (and might not be related to the RC specifically):

    (NOTE: I didn't test this properly. It happened once only, but I only ever created the circumstances for it once)

    Steps:

    1. Start a print from SD card. Let it go for a bit.

    2. From the web interface, "G-Code Files" section, RIGHT click on the gcode file you are currently printing, and select "Edit"

    3. Do whatever… I don't think you actually need to change anything in it... just open it and view the gcode.

    4. Some time after saving/canceling the "edit", the print will STOP (in place, nozzle against plastic) with an error that the gcode file couldn't be read.

    Error: Print aborts

    Expected: Web interface should disallow any action on a file that would interrupt a print (edit, delete, etc)


  • administrators

    I can see that editing and saving the file you are currently printing would disrupt the print, it would be the same as re-uploading the file while it is printing. Downloading the file or editing then cancelling it should be ok. Unlike earlier versions, RRF 1.20 does prevent you from deleting a file that is in use.



  • @dc42:

    I have a 0.5mm nozzle on my Ormerod. I'll do some measurements on that one when I have time.

    Thanks. If you get time, can you also try 10mm extrusion length at high speed. I appreciate that there will be some measurement error but if you pick the speed where you were seeing 11% difference over 50 mm, then you should see something like 9 mm instead of 10 mm which ought to be fairly obvious. I ask because I did some repeat tests at my "worse case" speed and I can't see any detectable difference. I haven't a clue why. I can only surmise that any pressure build up over the shorter distance is being absorbed by the filament deflection inside the Bowden tube? This is purely conjecture of course. If you see similar results then it could be that the algorithm needs further refinement to include a time or distance parameter.

    Also, it would be interesting to see if using pressure advance has any effect on the results over the 50mm distance. If I get chance I'll try it but as we seem to be getting some differences in results, it would be useful if others can try it as well. I know that I have to use 0.5 to clean up the over extrusion issue at the end of long high speed moves so that's the value that I'll try.


Log in to reply