Hello, am new here but not a newbie as such.
-
@Phaedrux Thanks, assumed so.
Wifi
For some reason my duet wifi network is not sticking. I checked the config did not have the semi colon in front (of the M code I assume?) The blue board light is on but the FuseDeep wifi is not showing (i shut down YAT fyi).
The duet screen is showing wifi idle. have done the S2 command.
It worked a few minutes ago...
-
I seem to have to keep adding
M552 S2 via YAT
For my laptop to see the network. This has not stuck ON in the duet board for some reason. Grr.
-
@Phaedrux Thanks, have updated.
-
I would suggest you create a macro file with the commands to start the ad hoc wifi network. Then you can trigger that macro from the PanelDue to start the wifi.
The duet is configured via gcodes at startup. There is no configuration that remains on the board per se. The config.g file contains the configuration and it gets read and executed at startup. So for something to stick, that's where it has to go.
However, not all commands can be sent from config.g. Namely the wifi configuration commands. Hence why it would be best to create a separate macro for creating the ad hoc network.
Once you are in the DWC you can go to the macros tab and create a new file. Name it AdHocWIFI. In that text file you can place an M552 S0 command to make the module idle, then maybe a G4 S2 command to pause for 2 seconds, and then the M589 command to create your ad hoc network.
It may also then be possible to call that macro file at the end of config.g, but I haven't tested that.
You can call a macro file with M98 P"AdHocWIFI"
-
@Phaedrux It's all gone wrong.
Deleted the not needed factory test lines at start and updated and it won't restart...Did I mention not liking wifi set ups! lol
-
Can you post the contents of your config.g as it is currently?
Also what do you see on the PanelDue console at startup?Yes Wifi is a bit persnickety. Trying to do initial setup without a router in the mix will be a bit challenging.
-
It take 3 or 5 entries of
M552 S2 via YAT
For it to say it is doing the adhoc network
The macro is saved as a new document. I double clicked it and everything went wrong. What am I supposed to do with a macro to get it to work/be used?
I just need the FuseDeep network to go live when the machine is in use. obviously
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
everything went wrong.
What exactly does that mean?
Normally, the DuetWifi works like this. The SSID you want to connect to and the username and passwords is saved to the wifi module. Multiple SSIDs can be saved, and when the config.g is executed at startup, the wifi module is set to active with an M552 command and it will connect to whatever SSID has the best signal strength.
In your case, we want the module to stay idle at startup, and then configure ad hoc mode so we can connect to the duets network.
I don't know what you have in config.g or in the adhoc macro, so I can't say what to change.
-
...No idea what it means really...lol.
It seems to be behaving now. Am wiring up some connections then will look at config file. The adhoc macro I created, will that run automatically? Or do I need to put it somewhere special?
As you say just need fusedeep wifi from DUET 2 to come live so I can connect to use it. ideally.
Thanks. R
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
The adhoc macro I created, will that run automatically? Or do I need to put it somewhere special?
It won't run automatically. The documentation for M589 states that it will not run from config.g. So we must call it separately.
The macro you created will live in the macros folder.
To call the macro, you use M98. https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram
At the end of config.g you can add
M98 P"AdHocWIFI"
(assuming that's what you named it) to call the adhoc network macro. That should work I think, but I haven't tested it myself.I mentioned using G4 S# commands earlier, these are pause commands to wait a set amount of time. The wifi module needs some time to process the commands it is sent. The module needs to be in the idle mode before it can be configured and it can take a few seconds for it to switch to idle.
-
Awesome thanks.
Lot's more reading up to do.
I have my Z stepper connections labelled A+- and B+- , can I equate this to A- = A1 and A+ = A2 and similar for B?
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
I have my Z stepper connections labelled A+- and B+- , can I equate this to A- = A1 and A+ = A2 and similar for B?
I'm sorry, but I don't follow.
-
My previous Z plug is labelled A+- and B+- for the stepper coil sets.
The DUET 2 board uses 2B2A1A1B
Is 2A1A equal to A+ and A- and similarly for B; 2B1B equal to B+ and B- for the sake of wiring the new plugs?
SORTED IT!
-
End stops seem to be working.
Odd though, can only move x and y by same amount then it stops moving.
WIFI adhoc from duet2 disappears after ten minutes, even though blue led still on. irritating (this might have been me pressing main stop on screen).
Also, it has stopped asking me to restart board after a config update.
Without a full move endstop, what stops the axis moving and crashing, even with the travel length set. it does not seem to be stopping...
Plus constant wifi idle window is making screen unusable...wifi is a massive pain. How on earth do i stop it telling me it is in idle ALL of the time?
Currently tool 0 missing! (my extruder) , need to check if i removed the tool...
Help! please. Back in the morning GMT 0900 ish
(other than that, all moving and end stopping so not a bad first few hours) plus, love the simple crimps and tool. work a treat. Where can I buy multiple packs of the plugs/pins etc to make changes /mistakes etc?
R
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
Awesome thanks.
Lot's more reading up to do.
I have my Z stepper connections labelled A+- and B+- , can I equate this to A- = A1 and A+ = A2 and similar for B?
Yes.
-
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.