Hello, am new here but not a newbie as such.
-
Question:
If I am building the congif file via the web interface and then upload it, then edit it on the board direct...next time i do a web interface edit and upload, the other changes will be lost, no?
-
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
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
Question:
If I am building the congif file via the web interface and then upload it, then edit it on the board direct...next time i do a web interface edit and upload, the other changes will be lost, no?
No - (as long as you press the button that says "save"). The changes get made to the config file on the SD card.
Edit. You can't edit the configuration file "on the board direct". -
@deckingman Thanks. stumped by my extruder not showing up at all om DWC!
-
@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.