Duet Ethernet Networking
-
Hello,
I was told that this was the place to go to see if you fine gentlemen\gentle-ladies could help me.
I just bought an Duet Ethernet
And it turns out that the Ethernet card on this board is no fictional. I have ran test after test with good known cables I even reinstalled the firmware from starch. I know sometimes these things happen is there additional testing I can do?
Thanks in advanced.
Sharpie -
Do you have command M552 S1 (without a semicolon at the start) in your config.g file? That command enables networking.
-
Yes here is my config.g, do I have it right or am I missing something? Thanks again
; Configuration file for testing Duet Ethernet and Wifi
; 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)
;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address*** Networking - Enable for both WiFi and Ethernet boards.
M552 S1 ; Turn network on*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P0 ; (0 = DHCP)
M554 P192.168.1.1 ; Gateway
M553 P255.255.255.0 ; NetmaskM555 P2 ; Set output to look like Marlin
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves; Disable Fan 1 thermostatic mode
M106 P1 H-1; Axis and motor configuration
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; Drive 4 goes forwards
M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
M665 R105.6 L215.0 B85 H250 ; set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them
M350 X16 Y16 Z16 E16:16 I1 ; Set 16x microstepping with interpolation
M92 X80 Y80 Z80 ; Set axis steps/mm
M906 X1000 Y1000 Z1000 E800 I60 ; Set motor currents (mA) and increase idle current to 60%
M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute; Thermistors
M305 P0 T100000 B3950 R4700 H30 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set first nozzle thermistor ADC correction
M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set 2nd nozzle thermistor ADC correctionM570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds
; Adjustments for J-heads used as 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; Fans
M106 P1 S-1 ; disable thermostatic mode for fan 1; Tool definitions
M563 P0 D0 H1 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;*** If you have a single-nozzle build, comment the next 2 lines
M563 P1 D1 H2 ; Define tool 1
G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
M92 E663:663 ; Set extruder steps per mm; Z probe and compensation definition
;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
M558 P1 X0 Y0 Z0 ; Z probe is an IR probe and is not used for homing any axes
G31 X0 Y0 Z4.80 P500 ; Set the zprobe height and threshold (put your own values here);*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation hereM208 S1 Z-0.2 ; set minimum Z
T0 ; select first hot end
-
How do you have the Duet connected to your network? (cable direct to computer, cable to a switch, cable to a router, etc)
What is your IP/Gateway/Netmask from your computer's ethernet connection? (copy/paste ipconfig output here)
How have you attempted to connect to your Duet from your computer? (What steps, what IP address are you using, how did you determine that IP address)
-
Cable to switch.
Nothing crazy just a 192.168.1.1(gateway) network and a 255.255.255.0 (netmask), I was going to set it to DHCP, but does it need to be staticed out?
I am connecting it to the network via 24p gigabit switch using multiple cables and ports, other systems on this switch works just fine in the same ports.
-
Shouldn't need to be static out but try P0.0.0.0 in the M552 line
-
If you send M552 with no parameters from your PC via USB, or from PanelDue if you have one, what does it report?
-
This is what I get.
M552
SENDING:M552
Network is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0But still no link lights
-
If you get no link lights at all then can you check plugging it into the network port of your laptop (quick and easy way to check if a crossover is required for that switch, unlikely but possible). If you still get no link lights then contact your supplier for a replacement under warranty.
-
How long does it take the network stack to startup?
-
I have not timed it but on the Ethernet its <1s from memory (I don't have an Ethernet board setup right now for test).
-
Is there anything else I could test before sending it back?
-
If the link lights don't come on and the Duet reports that networking is enabled, then either the cable is bad, the port on the switch is bad, or the network adapter on the Duet is bad. So try a different cable and port, and if it still doesn't work, return the Duet.
-
I have tried 4 different cables and 2 different switches. Thanks for the help guys I will contact my distributor for a replacement.
-
is there something that we should check if DWC takes a long time to connect? I'm set up board>router>PC once up everything works lightening fast (well a couple of issues not withstanding)