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

Duex5 I2C issues with endstops and fan

Scheduled Pinned Locked Moved
General Discussion
4
5
280
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
    Szalek
    last edited by 21 Jun 2021, 10:42

    Re: External triggers don't work on Duex5

    Hello!

    I have a problem similar to one described in the thread linked above. Duex5 doesn't recognize signal on endstops (all of them) on Duex5. Tested with config.g and trigger6.g files included in linked thread.

    When trying to enable FAN/LED 8 output, I2C errors occour and are listed in response for M122 command. Other Duex5 boards connected to the same Duet board work fine.

    I also suspect SX1509 soldering, close-up photos attached

    RRF 2.05.1
    Duex5 v0.10
    SD card with files rom factory, modified config.g and trigger6.g

    config.g with added line: M581 E0:1:2:3:4:5:6 T6 S1 C0

    ; Configuration file for factory testing Duet Ethernet and Wifi with V2.05.1 firmware
    *******************************************************************************************************************
    FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!
    *******************************************************************************************************************
    ; Communication and general
    M111 S0 ; Debug off
    M550 PDuetTest ; Machine name and Netbios name (can be anything you like)
    M551 Preprap ; Machine password (used for FTP)
    *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM
    M552 P192.168.1.34 ; IP address
    M554 P192.168.1.255 ; Gateway
    M553 P255.255.255.0 ; Netmask
    ;*** End of factory test lines to be removed
    ;*** Networking
    M552 S1 ; Turn network on
    M555 P2 ; Set output to look like Marlin
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    ; Axis and motor configuration
    M569 P0 S1
    M569 P1 S1
    M569 P2 S1
    M569 P3 S1
    M569 P4 S1
    M574 X2 Y2 Z2 S1
    M665 R105.6 L215.0 B85 H250
    M666 X0 Y0 Z0
    M350 X16 Y16 Z16 E16:16 I1
    M92 X80 Y80 Z80
    M906 X1000 Y1000 Z1000 E800 I60
    M201 X1000 Y1000 Z1000 E1000
    M203 X20000 Y20000 Z20000 E3600
    M566 X1200 Y1200 Z1200 E1200
    ; Thermistors
    M305 P0 T100000 B3950 R4700 H30 L0
    M305 P1 T100000 B3974 R4700 H30 L0
    M305 P2 T100000 B3974 R4700 H30 L0
    M570 S180
    ; Adjustments for dummy heaters on test rig
    M307 H0 A250 C140 D5.5 B1
    M307 H1 A250 C140 D5.5 B0
    M307 H2 A250 C140 D5.5 B0
    ; Disable Fan 1 thermostatic mode
    M106 P1 H-1
    ; Tool definitions
    M563 P0 D0 H1
    G10 P0 S0 R0
    M563 P1 D1 H2
    G10 P1 S0 R0
    M92 E80:80
    ; Z probe and compensation definition
    M558 P5 F100 T6000 X0 Y0 Z0 H3
    G31 P100 X0 Y0 Z-0.25
    M208 S1 Z-0.2
    T0
    ;********************************************************************************
    ; M117 Use https://configurator.reprapfirmware.org/ to set up your printer config
    ;********************************************************************************
    M581 E2:3:4:5:6 T6 S1 C0

    trigger6.g

    M291 R"Hello 6" P"World" 
    

    IMG_20210621_112425.jpg
    IMG_20210621_112347.jpg

    undefined 1 Reply Last reply 21 Jun 2021, 11:18 Reply Quote 0
    • undefined
      SIam @Szalek
      last edited by 21 Jun 2021, 11:18

      @szalek First you should remove or comment it out these lines:

      *******************************************************************************************************************
      FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!
      *******************************************************************************************************************
      *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM

      after that, run this command and post the result

      M98 P"config.g"
      

      Hypercube-Evolution-Hybrid, Piezo Orion, Orbiter
      Duet WiFi 1.02 or later + DueX5
      RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta4 (2021-09-27 11:30:36)
      Duet WiFi Server: 1.26
      Duet Web Control 3.4.0beta4 (2021-09-27)

      1 Reply Last reply Reply Quote 1
      • undefined
        Phaedrux Moderator
        last edited by 21 Jun 2021, 21:35

        Also please post the results of M122.

        When and where did you purchase the Duet and Duex?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          Szalek
          last edited by 23 Jun 2021, 11:19

          After config.g modifications result for M98 P"config.g":

          ok
          

          M122 results after boot and after sending fan control command (i.e. M106 P8 S255) in attached file, I2C errors start to show up after trying to control the fans:
          M122_result.txt

          DueX board was bought about a month ago from Duet3D with label number 1220X290, Duet board is a little older (also bought from Duet3D) and works fine with other DueX boards so I assume it's DueX board problem.

          undefined 1 Reply Last reply 24 Jun 2021, 08:48 Reply Quote 0
          • undefined
            dc42 administrators @Szalek
            last edited by 24 Jun 2021, 08:48

            @szalek I agree, it appears that the DueX is faulty. Please email warranty@duet3d.com and cc your supplier. You will receive a response this afternoon with a link to a form to fill in.

            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
            2 out of 5
            • First post
              2/5
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA