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.
    • 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
                                • FuseDeepundefined
                                  FuseDeep
                                  last edited by FuseDeep

                                  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!

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

                                    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

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

                                      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

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

                                        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!

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

                                          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

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

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

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

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