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

    connecting swithch to ethernet module on duet wifi

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    5
    285
    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.
    • moo16undefined
      moo16
      last edited by

      hi,
      im using duet wi fi + duex5 expansion board for a while,
      the setup is a Cartesian printer with multiple tools.
      firmware version: RC-12 _3.0
      web cotrol: version 3.1.1

      here is my config file:

      code_text
      
      ; Configuration file for Duet 0.6 (firmware version 1.21)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.1.8 on Tue Mar 17 2020 18:15:06 GMT+0200 (Israel Standard Time)
       
      ; General preferences
       
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin
      M568 	; tool mix ratios on
      M302 P1 S0				 ; Allow cold extrusion minimum of 0
       
       
      ; Network
      M550 P"A"                        ; Set machine name
      M552 S1                 ; enable network and acquire dynamic address via DHCP
      M587 S"*****" P"******"                ; 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
       
      ; Axis Limits
      M208 X0 Y0 Z0 S1	; Set axis minima
      M208 X300 Y500 Z400         ; Set axis maxima
      M564 S0 H0						; Allow axis move without home and outside boundries
       
       
      ;	Drives
      M569 P0 S1                       ; AXIS X
      M569 P1 S1                       ; AXIS Y
      M569 P2 S1                       ; Z LAFT
      M569 P3 S1                       ; FEEDER
      M569 P4 S1                       ; Z RIGHT
      M569 P5 S1                     ; printhead  
      M569 P6 S0 		       		 ; FEEDER  
      M569 P7 S0                     ; printhead    
      M569 P8 S1                     ; printhead    
       
       
       
       
       
      M584 X0 Y1 Z2:4 E3:5:6:7:8      ;  Use E1 for Z axis 
      M350 X32 Y32 Z16:16 E16:16:16:16:16 I1                      ; Configure microstepping with interpolation
      M92 X157.63 Y158.96 Z400:400 E115:320:115:305:320                    ; Set steps per mm for extruders
      M566 X1200 Y700 Z24:24 E800:800:800:800:800                       ; Set maximum instantaneous speed changes (mm/min)
      M203 X30000 Y30000 Z600:600 E15000:15000:15000:15000:15000                 ; Set maximum speeds (mm/min)
      M201 X500 Y400 Z100:100 E600:600:600:600:600                     ; Set accelerations (mm/s^2)
      M906 X800 Y800 Z800:800 E2500:1200:2500:1050:1200 I30                  ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30                                                ; Set idle timeout
      ף 
      		
       
      ; Endstops
      M574 Y S1 P"ystop"   ; Y min active high endstop switch
      M574 X2 S1 P"xstop"   ; X min active high endstop switch
      ;M574 Z1 S1 P"zstop"   ; Z min active high endstop switch
       
       
       
      ; Tools
      M563 P0 D0:1 S"A"                 ;Define tool 0                 
      M563 P1 D2:3 S"B"			    ;Define tool 1 
      M563 P2 D0:1 S"C"			    ;Define tool 2 
      M563 P3 D0:2 S"D"			    ;Define tool 3 
      M563 P4 D4 S"E"			    ;Define tool 4 
      M563 P5 D0:1 S"F"			    ;Define tool 5
      M563 P6 D0:1:3:4 S"G"			    ;Define tool 6 
      M563 P7 D1 S"H"			    ;Define tool 2 
       
       
      M567 P0 E3:1				    ;MIXING RATIO tool 0
      M567 P1 E1.5:3			    ;MIXING RATIO tool 1
      M567 P2 E1.5:3			    ;MIXING RATIO tool 2
      M567 P3 E1:1			    ;MIXING RATIO tool 3
      M567 P5 E0.4:1			    ;MIXING RATIO tool 5
      M567 P6 E1.5:3:3:3			    ;MIXING RATIO tool 6
      ;M567 P7 E1.5:3			    ;MIXING RATIO tool 7
       
       
      G10 P0                                ;Set tool 0 axis offsets
      G10 P1 X-207.5 Y5                            ;Set tool 1 axis offsets
      G10 P2 X-33 Y6                            ;Set tool 2 axis offsets
      G10 P4 X-108 y-16                            ;Set tool 4 axis offsets
       
       
       
      ;M308 S0 P"spi.cs0" Y"rtdmax31865" A"temp1"		; 				
      ;M308 S1 P"spi.cs1" Y"rtdmax31865" A"temp2"		; 				
      ;M308 S2 P"spi.cs2" Y"rtdmax31865" A"temp3"		; 				
       
       
      ; Z-Probe
      M558 P0 H5 F120 T6000                        ; Disable Z probe but set dive height, probe speed and travel speed
       
       
       
       
       
       
       
       
      ; Heaters
       
      ; Fans
       
       
       
       
       
       
       
       
      ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
       
       
      ;m605 s1;
      

      because i had connection issues on my wifi, i replaced the wifi module with ethernet module i bought on this website.(Duet Ethernet Module).

      i di the soldering and all works well when i connect it to the ethernet port in my wall.
      i added a ethernet switch to my setup and since than the duet is not uploading its web controller inteface(connection error is apearing) when i change it back to the wall port it works well again.

      does someone try to connect ethernet module through ethernet switch?
      is it possible?
      tnx for helping

      A Former User? Phaedruxundefined tekstyleundefined 3 Replies Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

        If the Duet 2 Ethernet is working connected to an ethernet port then the hardware is probably ok and its a configuration or cabling problem. You switch could be set to not corss over, or cross over the port and depending on the ethernet patch lead you are using that could be an issue. ensure the switch it set to autonegotiate and auto cross over (MDIX).

        Also you are using DHCP to get an IP address, what else is connected to the switch? it it just the duet and your PC? In that case there is probably no a DHCP server to give it an IP address and you need to give it and your PC a fixed IP in the same range.

        You have a configuration file that the header says was generated by the config tool, but for a Duet v0.6, not a Duet 2 Wifi or Ethernet. I have not checked the whole config but that may well give you issues unrelated to the networking

        as an aside - remove this line from config.g

        M587 S"" P"*" ; Configure access point. You can delete this line once connected

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @moo16
          last edited by

          @moo16 said in connecting swithch to ethernet module on duet wifi:

          because i had connection issues on my wifi, i replaced the wifi module with ethernet module i bought on this website.(Duet Ethernet Module).

          should not have had M587 in your config.g file, so remove or comment out that in any case.

          then from the usb console run M98 Pconfig.g (or M98 P"config.g" if using RRF 3.x) to rule out errors in the config file.

          but as it does work when connected to the wall it would suggest the switch is the issue. unless its a managed switch with settings for trying to forcing link speed i'm afraid there isn't much to do about it

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

            @moo16 said in connecting swithch to ethernet module on duet wifi:

            firmware version: RC-12 _3.0

            I think you need a firmware update. Can you confirm your firmware version with M115?

            Uploading these two zip files as is (don't extract them) to the system tab in DWC should get you sorted.

            https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip

            https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • tekstyleundefined
              tekstyle @moo16
              last edited by

              @moo16

              i am about to do the same. i was wondering if you have to drill new holes for the module. the wifi chip does not appear to have any pins. just soldered pads.

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