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

Paneldue 7i not working an Duet 3 mini5+ WiFi

Scheduled Pinned Locked Moved Solved
PanelDue
4
9
435
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.
  • undefined
    arnd13
    last edited by arnd13 7 Sept 2022, 09:24 9 Jul 2022, 09:16

    Hello,

    I have a problem with a Paneldue 7i in combination with Duet 3 mini5+ WiFi.

    The display is receiving data from board on boot up. Showing established wifi connection etc.
    but is showing "connecting" in the top right corner of the display and the buttons for homing etc. don't work.

    I've tried different things to get it working.

    One funny thing I discovered. When I'm flashing the display firmware update within the webinterface of the board. The board flashes the display with status OK and the display works perfectly. The buttons for homing etc. work perfectly.

    But when I restart the board/printer the display doesn't work and shows the status "connecting" again.

    Firmware on all parts (Board, DWC and Paneldue) is 3.4.0. Connected with 10-wire cable but using the 4-wire cable gives the same result.

    undefined 1 Reply Last reply 9 Jul 2022, 12:06 Reply Quote 0
    • undefined
      dc42 administrators @arnd13
      last edited by dc42 7 Sept 2022, 12:07 9 Jul 2022, 12:06

      @arnd13 do you have this command in config.g:

      M575 P1 S1 B57600

      The baud rate in this command (57600 in this case) must match the baud rate configured on the PanelDue Setup page.

      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
      • undefined
        arnd13
        last edited by arnd13 7 Sept 2022, 22:06 9 Jul 2022, 22:02

        config.g contains the parameter above. The PanelDue is configured to the same baud rate.
        The settings must be right. When I change the rate the message with "established WiFi connection" is also gone. With 57600 baud I get the "established WiFi connection" message, so I think the baud rate ist right.

        The funny thing ist, that everything works directly after flashing the PanelDue from the duet board.
        It seems that the board sends a special command while flashing.....

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 10 Jul 2022, 20:07

          Please post the contents of your config.g and the results of sending M122 in the gcode console of DWC.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 3 Replies Last reply 12 Jul 2022, 16:06 Reply Quote 0
          • undefined
            arnd13 @Phaedrux
            last edited by 12 Jul 2022, 16:06

            @phaedrux

            Here ist the content of config.g:

            ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Jul 07 2022 10:07:15 GMT+0200 (Mitteleuropäische Sommerzeit)

            ; General preferences
            M575 P1 S1 B57600 ; enable support for PanelDue
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Ender 5" ; 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.0 S1 ; physical drive 0.0 goes forwards
            M569 P0.1 S1 ; physical drive 0.1 goes forwards
            M569 P0.2 S0 ; physical drive 0.2 goes backwards
            M569 P0.3 S0 ; physical drive 0.3 goes backwards
            M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
            M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z400.00 E93.00 ; set steps per mm
            M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
            M906 X800 Y800 Z800 E1000 I20 ; set motor currents (mA) and motor idle factor in per cent
            M84 S10 ; Set idle timeout

            ; Axis Limits
            M208 X0 Y0 Z0 S1 ; set axis minima
            M208 X235 Y235 Z260 S0 ; set axis maxima

            ; Endstops
            M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin !io0.in
            M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io1.in
            M574 Z1 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin !io2.in

            ; Z-Probe
            M950 S0 C"io3.out" ; create servo pin 0 for BLTouch
            M558 P9 C"io3.in+io4.out" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
            G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
            M557 X15:215 Y15:195 S20 ; define mesh grid

            ; Heaters
            M308 S0 P"temp0" Y"thermistor" T100000 B3850 ; configure sensor 0 as PT1000 on pin temp0
            M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
            M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M143 H0 S150 ; set temperature limit for heater 0 to 150C
            M308 S1 P"temp1" Y"thermistor" T100000 B3850 ; configure sensor 1 as PT1000 on pin temp1
            M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
            M307 H1 B1 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S275 ; set temperature limit for heater 1 to 275C

            ; Fans
            M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
            M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
            M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
            M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
            M950 F2 C"out4" Q500 ; create fan 2 on pin out4 and set its frequency
            M106 P2 S1 H1:0 T45 ; set fan 2 value. Thermostatic control is turned on

            ; Tools
            M563 P0 D0 H1 F0 ; 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

            ; Custom settings are not defined

            ; Miscellaneous
            T0 ; select first tool

            1 Reply Last reply Reply Quote 0
            • undefined
              arnd13 @Phaedrux
              last edited by 12 Jul 2022, 16:07

              @phaedrux

              and the result of M122:

              M122
              === Diagnostics ===
              RepRapFirmware for Duet 3 Mini 5+ version 3.4.0 (2022-03-15 18:59:15) running on Duet 3 Mini5plus WiFi (standalone mode)
              Board ID: 9W38H-X196U-D65J0-40KMJ-LR03Z-76LRD
              Used output buffers: 3 of 40 (13 max)
              === RTOS ===
              Static ram: 103684
              Dynamic ram: 110608 of which 0 recycled
              Never used RAM 27420, free system stack 204 words
              Tasks: NETWORK(ready,14.9%,240) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.0%,363) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,372) CanClock(delaying,0.0%,339) TMC(notifyWait,0.7%,114) MAIN(running,83.4%,428) IDLE(ready,0.1%,29) AIN(delaying,0.8%,273), total 100.0%
              Owned mutexes: WiFi(NETWORK)
              === Platform ===
              Last reset 00:03:29 ago, cause: power up
              Last software reset at 2022-07-09 13:48, reason: User, GCodes spinning, available RAM 27492, slot 1
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
              Error status: 0x00
              Aux0 errors 0,0,1
              MCU revision 3, ADC conversions started 209714, completed 209714, timed out 0, errs 0
              Step timer max interval 753
              MCU temperature: min 22.0, current 32.4, max 32.4
              Supply voltage: min 24.2, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
              Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
              Events: 1 queued, 1 completed
              Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 10990, writes 9, timeouts 0, DMA errors 0, CC errors 0
              Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 10990, writes 9, timeouts 0, DMA errors 0, CC errors 0
              Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 10990, writes 9, timeouts 0, DMA errors 0, CC errors 0
              Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 10990, writes 9, timeouts 0, DMA errors 0, CC errors 0
              Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 10990, writes 9, timeouts 0, DMA errors 0, CC errors 0
              Driver 5: not present
              Driver 6: not present
              Date/time: 2022-07-12 18:07:11
              Cache data hit count 397677381
              Slowest loop: 5.59ms; fastest: 0.13ms
              === Storage ===
              Free file entries: 10
              SD card 0 detected, interface speed: 22.5MBytes/sec
              SD card longest read time 0.9ms, write time 0.0ms, max retries 0
              === Move ===
              DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
              === MainDDARing ===
              Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
              === AuxDDARing ===
              Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
              === Heat ===
              Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
              === GCodes ===
              Segments left: 0
              Movement lock held by null
              HTTP is idle in state(s) 0
              Telnet is idle in state(s) 0
              File is idle in state(s) 0
              USB is idle in state(s) 0
              Aux is assembling a command in state(s) 0
              Trigger is idle in state(s) 0
              Queue is idle in state(s) 0
              LCD is idle in state(s) 0
              SBC is idle in state(s) 0
              Daemon is idle in state(s) 0
              Aux2 is idle in state(s) 0
              Autopause is idle in state(s) 0
              Code queue is empty
              === CAN ===
              Messages queued 1883, received 0, lost 0, boc 0
              Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 1047/0/0
              Tx timeouts 0,0,1046,0,0,835 last cancelled message type 30 dest 127
              === Network ===
              Slowest loop: 15.63ms; fastest: 0.00ms
              Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
              HTTP sessions: 1 of 8

              • WiFi -
                Network state is active
                WiFi module is connected to access point
                Failed messages: pending 0, notready 0, noresp 0
                WiFi firmware version 1.26
                WiFi MAC address f0:08:d1:03:80:32
                WiFi Vcc 3.28, reset reason Power up
                WiFi flash size 2097152, free heap 27144
                WiFi IP address 192.168.141.44
                WiFi signal strength -52dBm, mode 802.11n, reconnections 0, sleep mode modem
                Clock register 00002002
                Socket states: 0 0 0 0 0 0 0 0

              Thank you.

              1 Reply Last reply Reply Quote 0
              • undefined
                arnd13 @Phaedrux
                last edited by arnd13 7 Dec 2022, 16:10 12 Jul 2022, 16:09

                @phaedrux

                Board was used solo with the PanelDue and not connected to the printer parts.

                undefined 1 Reply Last reply 12 Jul 2022, 16:12 Reply Quote 0
                • undefined
                  droftarts administrators @arnd13
                  last edited by 12 Jul 2022, 16:12

                  @arnd13 how is the PanelDue connected? If it’s via the ribbon cable, you cannot have anything connected on io_0, as they share pins. According to your config, you have an endstop on that. Move the X endstop to a different IO connector.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  undefined 1 Reply Last reply 12 Jul 2022, 18:51 Reply Quote 1
                  • undefined
                    arnd13 @droftarts
                    last edited by arnd13 7 Dec 2022, 18:52 12 Jul 2022, 18:51

                    @droftarts
                    That was the fault in the config. Now it's running 👍

                    I saw the mark in the wiring diagram but didn't thought about it 😬

                    Thank you so much.

                    1 Reply Last reply Reply Quote 0
                    • undefined Phaedrux marked this topic as a question 12 Jul 2022, 21:03
                    • undefined Phaedrux has marked this topic as solved 12 Jul 2022, 21:03
                    8 out of 9
                    • First post
                      8/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA