Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Hello, am new here but not a newbie as such.

    Scheduled Pinned Locked Moved
    General Discussion
    7
    127
    8.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FuseDeepundefined
      FuseDeep
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • FuseDeepundefined
        FuseDeep @Phaedrux
        last edited by

        @Phaedrux Thanks, have updated.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by Phaedrux

          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"

          Z-Bot CoreXY Build | Thingiverse Profile

          FuseDeepundefined 1 Reply Last reply Reply Quote 0
          • FuseDeepundefined
            FuseDeep @Phaedrux
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              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.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • FuseDeepundefined
                FuseDeep
                last edited by

                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

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @FuseDeep
                  last edited by

                  @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.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  FuseDeepundefined 1 Reply Last reply Reply Quote 0
                  • FuseDeepundefined
                    FuseDeep @Phaedrux
                    last edited by

                    @Phaedrux

                    ...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

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by Phaedrux

                      @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.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • FuseDeepundefined
                        FuseDeep
                        last edited by

                        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?

                        Phaedruxundefined Danalundefined 2 Replies Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator @FuseDeep
                          last edited by

                          @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.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          FuseDeepundefined 1 Reply Last reply Reply Quote 0
                          • FuseDeepundefined
                            FuseDeep @Phaedrux
                            last edited by FuseDeep

                            @Phaedrux

                            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!

                            1 Reply Last reply Reply Quote 0
                            • FuseDeepundefined
                              FuseDeep
                              last edited by FuseDeep

                              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

                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal @FuseDeep
                                last edited by

                                @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.

                                Delta / Kossel printer fanatic

                                1 Reply Last reply Reply Quote 0
                                • FuseDeepundefined
                                  FuseDeep @Danal
                                  last edited by

                                  @Danal

                                  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?

                                  deckingmanundefined 1 Reply Last reply Reply Quote 0
                                  • FuseDeepundefined
                                    FuseDeep
                                    last edited by

                                    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

                                    dc42undefined 1 Reply Last reply Reply Quote 0
                                    • deckingmanundefined
                                      deckingman @FuseDeep
                                      last edited by deckingman

                                      @FuseDeep said in Hello, am new here but not a newbie as such.:

                                      @Danal

                                      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".

                                      Ian
                                      https://somei3deas.wordpress.com/
                                      https://www.youtube.com/@deckingman

                                      FuseDeepundefined 1 Reply Last reply Reply Quote 0
                                      • FuseDeepundefined
                                        FuseDeep @deckingman
                                        last edited by

                                        @deckingman Thanks. stumped by my extruder not showing up at all om DWC!

                                        deckingmanundefined 1 Reply Last reply Reply Quote 0
                                        • deckingmanundefined
                                          deckingman @FuseDeep
                                          last edited by

                                          @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.

                                          Ian
                                          https://somei3deas.wordpress.com/
                                          https://www.youtube.com/@deckingman

                                          1 Reply Last reply Reply Quote 0
                                          • FuseDeepundefined
                                            FuseDeep
                                            last edited by

                                            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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA