Duet 2 Ethernet network issue?



  • Hello,

    I have a new Duet 2 Ethernet (firmware 2.01) that I have attached to a Tronxy X5S (core XY) that has been converted to 24v. I had updated the firmware and configured the ethernet prior to installing the board and everything seemed fine. Once I had changed the connectors using the provided items I installed the board and connected the X, Y, Z stops, stepper motors, thermisters, and fans. I have left the heating elements disconnected, they will be going through MOSFET's.

    Once I installed the board powered up and I connected to it through the web interface. I seemed fine and the temps were reading from the thermisters. At that point, as a test, I selected to home Y, it moved the carrage to the Y stop but was drifting on X while it did it. Once done I lost connection to the Duet 2, there is no connection or activity indicators on the Duet's newtork adapter. Power cycling hasn't had an impact. I will be connecting to it with USB when I get home to see what I can determine but I wanted to see if anyone has any recommendations. I started by using a configuration from https://www.youtube.com/watch?v=6nqddfxHla0. The config.g from there is:
    <code>
    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Mon Jul 23 2018 19:43:29 GMT-0500 (Central Daylight Time)

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

    M667 S1 ; Select CoreXY mode

    ; Network
    M550 PTronxy X5S ; Set machine name
    M552 S1 ; Enable network
    M587 S"BCWireless" P"thisismyhouse" I192.168.1.187 J192.168.1.1 K255.255.255.0 ; Configure access point and IP addresses. 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 backwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z400 E98 ; Set steps per mm
    M566 X600 Y600 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z180 E1500 ; Set maximum speeds (mm/min)
    M201 X3000 Y3000 Z100 E10000 ; Set accelerations (mm/s^2)
    M906 X950 Y950 Z950 E950 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 X330 Y330 Z400 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S0 ; Set active low endstops

    ; Z-Probe
    M558 P0 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
    G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
    M557 X15:315 Y15:315 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S0 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
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; 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 power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings are not configured
    </code>

    I did modify the network section to remove the wifi data and set a static IP that had held through several reboots.



  • @tletourneau I'm a bit confused. You say the board is Duet Ethernet yet your configuration is for a Duet WiFi.



  • This post is deleted!


  • @deckingman said in Duet 2 Ethernet network issue?:

    @tletourneau I'm a bit confused. You say the board is Duet Ethernet yet your configuration is for a Duet WiFi.

    @deckingman I modified the network section to remove the wifi data and set a static IP that had held through several reboots. I'm at work so I do not have access to my config.g so I listed the one I based mine off of.



  • It was me, I somehow connected the endstop micro-switches incorrectly. Now I just need to figure out why X and Y move when I move just one of them (either one). On the plus side Z seems fine. 🙂




 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.