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

    [Solved] Duet 2 wifi Java error

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    2
    13
    1.5k
    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.
    • CrazyJaneundefined
      CrazyJane @CrazyJane
      last edited by

      @crazyjane Some further information:
      The Duet 2 control panel LED status is as follows:
      LED E1 Heat - Off
      LED E0 HEAT - Off
      LED VIN - On
      LED +5V - On
      LED +3.3V - On/

      1 Reply Last reply Reply Quote 0
      • CrazyJaneundefined
        CrazyJane
        last edited by

        Wow!!! After countless edits and reloads of config.g everything suddenly miraculously returned to normal.
        I'm delighted to be back in action but concerned that there is some intermittent glitch in my setup, so I'd still welcome other opinions, comments and advice!

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          Did you upgrade the main firmware, or Duet Web Control? The version of Duet web Control you were running was a beta.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • CrazyJaneundefined
            CrazyJane
            last edited by

            Firmware Upgrades as follows:
            RepRap:
            https://github.com/dc42/RepRapFirmware/releases/download/2.02RC4/Duet2CombinedFirmware.bin
            Web Control:
            https://github.com/dc42/RepRapFirmware/releases/download/2.02RC4/DuetWebControl-1.22.5.zip
            PanelDue:
            https://github.com/dc42/PanelDueFirmware/releases/download/1.22.1/PanelDue-5.0i-7.0i-nologo.bin

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              Thanks. My guess is that you either hit a bug in the DWC beta that you were using before, or you were running incompatible versions of main firmware and DWC. I'm glad it's working for you now using the very latest releases.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • CrazyJaneundefined
                CrazyJane
                last edited by

                Thanks for your reply, just to confirm, I had already upgraded the Firmware when the problem file, but I accept that it could have been caused by something that I did when I tried to save the config.g file. The error corrected itself after renaming the config.g.bak config.g

                dc42undefined 1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @CrazyJane
                  last edited by

                  @crazyjane, do you still have the original config.g file that provoked the error?

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • CrazyJaneundefined
                    CrazyJane
                    last edited by

                    @dc42, below is the config.g file I was using. I had changed the mesh pattern when the problem occurred:

                    ; Configuration file for Duet WiFi (firmware version 1.21)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Wed Nov 14 2018 18:01:46 GMT+0000 (Greenwich Mean Time)

                    ; General preferences
                    G90 ; Send absolute coordinates...
                    M83 ; ...but relative extruder moves

                    ; Network
                    M550 P"XXXXXX setup" ; Set machine name
                    M552 S1 ; Enable network
                    M587 S"vodafone-B51C" P"XXXXXXXX" ; Configure access point. You can delete this line once connected
                    M586 P0 S1 ; Enable HTTP
                    M586 P1 S0 ; Disable FTP
                    M586 P2 S0 ; Disable Telnet

                    ; Drives
                    M569 P0 S1 ; Drive 0 goes forwards
                    M569 P1 S1 ; Drive 1 goes forwards
                    M569 P2 S0 ; Drive 2 goes forwards
                    M569 P3 S1 ; Drive 3 goes forwards
                    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                    M92 X80.00 Y80.00 Z462.43 E98.61 ; 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 E1200.00 ; Set maximum speeds (mm/min)
                    M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
                    M906 X800.00 Y800.00 Z800.00 E800.00 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 X200 Y270 Z200 S0 ; Set axis maxima

                    ; Endstops
                    M574 X1 Y1 S0 ; Set active high endstops
                    M558 P5 X10 Y-50 Z1 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
                    G31 P50 X10 Y-50 Z-.13 ; Set Z probe trigger value, offset and trigger height
                    ;M557 X30:260 Y30:250 S20 ; Define mesh grid

                    ; Z-Probe
                    M574 Z1 S2 ; Set endstops controlled by probe
                    M558 P5 H5 F1200 T6000 I1 ; Set Z probe type to modulated and the dive height + speeds
                    G31 P500 X10 Y-50 Z-.13 ; Set Z probe trigger value, offset and trigger height
                    M557 X15:12 Y15:195 S20 ; Define mesh grid
                    G29 S1

                    ; Heaters
                    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
                    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
                    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

                    ; Fans
                    M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                    M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

                    ; Tools
                    M563 P0 D0 H1 ; Define tool 0
                    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

                    ; Automatic saving after power loss is not enabled

                    ; Custom settings are not configured

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @CrazyJane
                      last edited by

                      @crazyjane said in [Solved] Duet 2 wifi Java error:

                      M557 X15:12 Y15:195 S20 ; Define mesh grid

                      Thanks. Looks like you accidentally set the upper X limit below the lower X limit. I'm guessing that the firmware doesn't do appropriate error handling in this situation. I will test it.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • CrazyJaneundefined
                        CrazyJane
                        last edited by

                        @dc42 oops, I didn't see that, obviously a typo while I was changing the Z trigger. That might be the cause of the problem, I would also point out that the problem was resolved after reflashing the PanelDue i7, could it have caused the issue?
                        Anyway, you will be glad to hear that everything is fine and the first job is running for the past 3 hours or so, and I cannot say how delighted I am at the quality of the print, streets ahead of the original MKS 8 bit board.
                        Thanks for all your help and interest, much appreciated

                        1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators
                          last edited by dc42

                          I don't think that M557 line was the cause of the problem, because the error handling does seem to work properly:

                          m557 x15:12 y15:150 s20
                          Error: M557: bad grid definition: X range too small
                          
                          m557
                          Grid is not defined
                          
                          g29
                          Error: G29: No valid grid defined for bed probing
                          

                          It could be that after upgrading Duet Web Control, your browser still had old versions of some of the web files cached, and the mismatched files caused the problem. It's wise to clear the browser cache when upgrading DWC.

                          Duet WiFi hardware designer and firmware engineer
                          Please do not ask me for Duet support via PM or email, use the forum
                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                          1 Reply Last reply Reply Quote 0
                          • CrazyJaneundefined
                            CrazyJane
                            last edited by

                            I'll do that in future!

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