Hello, am new here but not a newbie as such.
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
@deckingman Thanks. stumped by my extruder not showing up at all om DWC!
Probably time you posted your config.g file, otherwise we can only make guesses.
-
Completely agree:
Using one laptop on the FuseDeep wifi and one connected to tinternet is cramping my style:
Will need to do the following, add another identical (2nd Y axis) stepper from a "spare"stepper driver and have it run in reverse. Would drove 04/E1 do it?
Currently no extruder showing at all, just shaded out extrude/retract in DWC page. Odd, seems to be set up OK. obviously not!
Need to have adhoc FuseDeep wifi come on automaticaly wiohtout needing USB and YAT command!
BTW, having 10 second updates has literally saved me an hour today already. Marlin used to tak 4 to 5 mins each time!
Other thing, iirc I had to up the hysteresis setting in Marlin to stop the extruder lag killing the print (or something like that), how would I do that in DWC - Do I edit a separate config type file?
config.g as below:
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.4 on Mon Dec 30 2019 11:04:01 GMT+0000 (Greenwich Mean Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"FuseDeep" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z4266.67 E406.47 ; set steps per mm
M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E2700.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z2.00 E250.00 ; set accelerations (mm/s^2)
M906 X1350 Y1600 Z1600 E1350 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X620 Y550 Z1440 S0 ; set axis maxima; Endstops
M574 X1 Y1 Z1 S1 ; set active high endstops; Z-Probe
M558 P0 H5 F120 T3000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M140 H-1 ; disable heated bed
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
; Custom settings
M98 P"AdHocWIFI"; Miscellaneous
M501 ; load saved parameters from non-volatile memory -
So to add a second drive to the Y axis would this work?
; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S1 ; physical drive 3 goes forwards
M569 P4 S0 ; physical drive 4 goes forwards (that's extruder 01 drive/4)
M584 X0 Y1 Y4 Z2 E3 ; set drive mapping (is that correct please?)Am fairly optimistic the might work...I assume I edit the installed config file and hit save. This then gets saved/updated into the DWC?
SUCCESS! Used the colon separator. it works!
-
Problem:
When I update the config file via DWC direct, it asks me to restart the board to implement.
Once the board restarts, the wifi is lost and I have to goto YAT nd find a spare com port to connect and trigger AdHoc wifi command. Also, YAT keeps complaining of no spare com ports.
This is a pain, obviously!
PS> still can't see extruder...lol Saying no tool selected. hmm.
R
-
Problem with saving config changes:
I edited the config file via the actual board wifi. Got the second stepper working on Ygreat. saved it obviously.
However, when I (again) tried to check the extruder as tool 1 (still not working) it updated the board via upload and checking the onboard congif file, my original Y stepper additions are lost.
Bit painful, how do you edit the config file and add uploads, or don't you?
How then do you back up the config file onto a laptop? A copy and paste I suppose?
Frustrating. R
-
EXTRUDER:
Heater works great and so does stat.
However the tool 0 does not extrude during printing, even though it will extrude when not printing. will do a google...says not hot enough. nut is at 220 degrees
FIXED!
-
OK
All good and 2 minor issues:
Keep getting the filename too long error but it seems to be working regardless. Be nice to lose this error flag.
Adhoc wifi; need to get macro working so do not need to USB/YAT to turn that on! Bit pointless otherwise.
Any suggestions appreciated.
Hmm, one more thing, a test print cam out brilliant...except approx 35% too big all round! No idea why...
R
-
@FuseDeep I'm having a job keeping up with what you have as a problem and what you don't. A couple of things that might clear up soem confusion that you seem to be having. Firstly, the extrude and retract buttons are greyed out by default to prevent you from cramming filament into an unheated hot end. To extrude, you first need to select a tool, then you need to heat it. Or for testing without any filament loaded, you can use M302 to allow cold extrudes. Secondly, there is only one main configuration file - config.g and that resides in the .sys directory of the SD card. When you edit the configuration using the web interface, you actually edit that file. That config.g file is only read once when the machine is first turned on. Or when you make changes via the web interface and hit save - then you might or might not get a prompt to reset the board (which means run config.g again) depending on which version of firmware you are using. So to be sure, you can send M98 P"config.g" which will run the file again, or you can cycle the power which will run config.g when the machine restarts. Thirdly, you have to have a tool selected before you can extrude. If your slicer doesn't put a Tn command in, then put one at the end of your config.g. Hope that clears a few things up for you. If your test print came out the wrong size, that might indicate that you steps per mm are not correct for the size of pulleys that you are using. Can't help with your WiFi issues - I used wired Ethernet.
-
@deckingman Thanks, I appreciate I had a load of questions, a few of which I sorted myself and edited the OP. So some learning happening.
Yes, hear you about the temp needing to be on for the extruder to show, discovered that and sorted the wrong thermistor use set for the tool. all fixed. Thanks for the comment.
Regarding the dimension change, yes it must be step/mm however they should be set correct for the cogs and belting used...also the print is correct but wrong size and I am running 2 belt profiles so seems to suggest a scaling issue. Will check I did not slice the file wrong! Could be human error, easily.
My main issue is triggering the wifi automtically and not need to trigger it via USB/YAT. pointless having it but needing to USB...
As you say, not your area and not currently mine either.
Am also getting the file name too long error pop up, annoying but it is working in general: Filename too long: cap=120, dir=0:/www/ name=R/A3AKIDkwMm...
Will check the slicing once I have reprinted the filament guides (had some binding on print 001) and run a new test through again.
Appreciate the forum's patience and help...
I am still confused about config file though.
Quite obviously if you set via the web tool and upload, this writes over any changes done on board and saved.
So I can only now edit the onboard file to keep my settings as a new uploaded one will lose settings I cannot change via the online tool.
R
-
@FuseDeep So one more go at the configuration thing......You can send any gcode command at any time - most of them even when a print is running. These can be anything from motor currents, tool definitions, steps per mm etc. Changes made like this will "stick" as long as power is applied to the board but will be lost when power is lost. To save having to type all these commands in every time we apply power, we use the config.g file. All that happens is that when power is applied, the firmware executes each of the commands in that config.g file in sequence. So if you edit config.g you are just editing that file and any changes you make won't take effect until you run that file as per my earlier post. Does that help to clarify?
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
So I can only now edit the onboard file to keep my settings as a new uploaded one will lose settings I cannot change via the online tool.
The online configurator tool will generate a set of config files and a config.json file. If you upload the configs you get from the tool, it will replace whatever is there currently. If you edit the config.g in the web control and save your changes they will stay there for the next boot up, but if you upload a new config file over top of that obviously it will lose any changes you've made manually.
Now about that config.json file. It contains a record of what you made with the online config tool and you can upload it to the tool and it will have your settings there. So if you want, you can use only the online config tool to make changes. But that is quite tedious and limiting. You'll eventually want to be editing the files directly through the web interface. The online tool is just to get your started.
To backup all your config files you can download a zip file from the web interface. Just go into the sys folder, use the check box to select all files, then right click and select download as zip. It's always a good idea to make backups as you go.
@FuseDeep said in Hello, am new here but not a newbie as such.:
Filename too long: cap=120, dir=0:/www/ name=R/A3AKIDkwMm...
This seems like something has gone wrong in your /www folder. That folder contains all of the files for the web interface. I would suggest uploading the firmware files again by uploading this zip file to the system folder.
https://github.com/dc42/RepRapFirmware/releases/download/2.05/Duet2Firmware-2.05.zip
That should refresh all the files in /www
If you still get the error after that, I would suggest pulling the SD card, putting it in a PC, deleting the /www folder and then extracting the /www folder from that firmware zip file and replacing it.
@FuseDeep said in Hello, am new here but not a newbie as such.:
My main issue is triggering the wifi automtically and not need to trigger it via USB/YAT
Try moving the M98 to load the adhocwifi macro to below the M501 command. Ensure that the adhocwifi file is named correctly and that it's located in the macro folder. Also, please post the contents of the adhocwifi macro so we can see what it's actually doing.
; Network
M552 S1 ; enable networkSInce you aren't using the wifi in the traditional sense, you can remove that from earlier in your config. It will only serve to delay what we want to do with the module anyway.
Is there no way you could use a wifi router at least for the initial setup?
-
Also, just a note about editing posts. Editing a post won't generate a notification, so if you go back and add new questions to an old post, no one will know about it unless they are reading the thread for the first time. Best to make a new post with new information.
-
Thank you (all). Appreciate your help and patience.
Will act on pointers above tomorrow. Another long day but well worth it, @FuseDeep is now printing properly. running a 3 hr test as we speak and can't wait to start using it in anger.
FYI, If I had reflashed the old Marlin version as many times as I have the DUET 2 then I would have spent approx 1.5 hrs just waiting today, so the DUET 2 really is paying for itself (wifi snags aside, but will sort them) literally.
New gantry mech is smooth and silent. Need to re jig the Z rig and make it lovely too.
Thanks again. Will be back tomorrow GMT.
Happy New years!
R
-
Sounds like you're making good progress.
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
WIFI AdHoc set up:
Every time the adhoc shuts down, I have to go back to YAT and retrigger with a M552 S2 command.
There must be a way of setting this up proper, as a default?
I have added M98 p"AdHocWIFI" to last page web interface custom settings. but it does not seem to work. It should trigger my macro?
Also, am constantly getting a filename too long error now. seems to be a bug?
Help please. R
To use AP mode:
- Send a M589 command once from YAT to set the access point name, IP address etc. These parameters will be saved within the WiFi module.
- Use M552 S2 in config.g.
Do not use M589 in config.g.
-
@dc42 said in Hello, am new here but not a newbie as such.:
@FuseDeep said in Hello, am new here but not a newbie as such.:
WIFI AdHoc set up:
Every time the adhoc shuts down, I have to go back to YAT and retrigger with a M552 S2 command.
There must be a way of setting this up proper, as a default?
I have added M98 p"AdHocWIFI" to last page web interface custom settings. but it does not seem to work. It should trigger my macro?
Also, am constantly getting a filename too long error now. seems to be a bug?
Help please. R
To use AP mode:
- Send a M589 command once from YAT to set the access point name, IP address etc. These parameters will be saved within the WiFi module.
- Use M552 S2 in config.g.
Do not use M589 in config.g.
I'll clarify the documentation.
-
Thanks guys, I will look at the wifi mods tomorrow or 02nd. See where we get to.
BTW, vase prints are coming out lovely. images to follow.
Oddly, on my first 50mm cube tests at 0.8mm nozzle Volcano E3D and 35mm/s print speed, I have drift on the Y axis, quite bad (photos to follow).
Then when I went to 40mm/s the drift almost disappeared but now, slightly in the opposite direction on the Y axis (bearing in mind I am running to nema 23 on 5 axis with GT3, it is tonka)!
Large vase prints come out great!
Again oddly, I got huge drift on the old set up, with the heavy gantry and marlin...that's all no longer used!
Could it be stepper cables too near heater power cables etc?
Would like it to print properly...
Happy New year!
R
-
Developments (all good):
1/
Wonky cube print down to new belts needing tightening (new slack removing). Much better now, pretty awesome actually (think I need to be more methodical with twin belts, same length, and exact mirror of loops, teeth mesh loop return etc and tension mech gap to ensure identical tension both sides ).
2/
Lovely vase prints at 0.8mm nozzle PLA at 0.4mm layer approx 50mm/s (though I suspect running less at the nozzle due to acceleration/available distances etc). Tight clean sharp corner results at 30 to 40mm diameter spiral forms on this set up!
3/
Running 6x 30x30x8mm 24v fans with hot end deflection shroud. Great cooling and neat rig (images to follow). Will also try taller layer height now cooling under control. No pwm so all 6 fans come on at once (80MA each) and only 3 degrees heat deflection with quick recovery. BTW, the Duet seems to heat up my Titan/E3D Volcano set up much quicker than Marlin ever did. not farted around with PID tune or anything (and won't). BTW, is there thermal runaway control in config.g? Might loosen that up, had to in Marlin too. It let me ignore the warning once and has not come back though.
4/
DUET very handy to update, will change wifi code when more of you back from NYE break etc ("in case" I need to fix something ! lol
5/
Love the wifi print option, very simple indeed, much better than being strapped to a laptop. pause then cancel print brilliant, keeps wifi on.
6/
BTW, what is the best pin/output to add a big red kill button to my machine? Need to add a kill switch somehow, can just cut the power to the board but suspect there is a less traumatic option?
7/
Need to lose filename nag popup (again will follow @Pheadrux etc suggestions when board more populated , you can tell Marlin was a nightmare due to my general nervousness...DUET much better though. much).
8/
Have Cura 4 and looking forward to playing with graduated infill, wobbly surfaces(!), wire printing (!!! will work great with super strong cooling and give my Z a workout, this by the way no longer squeaks...realigned an idler pulley)@FuseDeep finally up and running. Will update Son.im/FuseDeep or somewhere in a day or two and flag it for you.
Thanks for your help thus far.
The 1800x600 polar printer is looking very likely. Very. Have all the parts in stock...!
R
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
BTW, what is the best pin/output to add a big red kill button to my machine? Need to add a kill switch somehow, can just cut the power to the board but suspect there is a less traumatic option?
Well a big red kill switch should do just that and cut the power. But you can connect a switch to a spare end stop if you have a Duet 2 or an io port if you have Duet3. Then use M581 to initiate an emergency stop https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger. (but that won't help if a Mosfet fails and a heater is stuck on at full power).
-
Very happy to share a vimeo of an early test print. Tech and print info on video description:
Thanks for all your help so far.
R