Whats wrong?



  • Hi,

    after instaling Duet 2, i am triying to setup....

    And the first is, the motors not work.... Some idea?i paste config.g, its a delta printer

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Fri Aug 04 2017 00:02:04 GMT-0400 (Eastern Daylight Time)

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M665 R157 L397.1073 B175 H503 ; 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
    M208 Z0 S1 ; Set minimum Z

    ; Wireless
    ; M552 S0 ;Apagar el modulo WiFi
    ; M587 S"DIR869L-2,4" P"a1b2c3d4"
    ; M552 S1 ;Encender el modulo WiFi

    ; Endstops & Monitoring
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M558 P0; Hasta que instale la ZProbe, le digo a DUET que NO hay Zprobe, asi creo que entra en una forma manual
    M557 R130 S20 ; Define mesh grid
    M911 S12.0:19.5:22.0 ; Auto-pause at 19.5V, then either stop at 12V or auto-resume at 22V

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes reverse
    M350 E32 I0 ; Configure microstepping without interpolation
    M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z160 E860 ; Set steps per mm
    M566 X1200 Y1200 Z1200 E3000 ; Set maximum instantaneous speed changes (mm/min)
    M203 X39960 Y39960 Z39960 E6000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E3000 ; Set accelerations (mm/s^2)
    M906 X1800 Y1800 Z1800 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M143 S300 ; Set maximum heater temperature to 380C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
    ;M305 P1 T100000 B4138 C0 R4700 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 200
    M305 P1 T100000 B4138 C0 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 200

    ; 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

    ; Network
    M550 PTEVO Little Monster ; Set machine name
    M587 S"DIR869L2" P"A1B2C3D4"
    M552 S1 ; Enable network
    M586 P0 S1 ; Enable HTTP
    M586 P1 S1 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings are not configured

    ; Miscellaneous
    M501 ; Load saved parameters from non-volatile memory

    Some idea?


  • administrators

    Did you test the motors using G1 S2 relative moves, as described at https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareDeltaPrinter#Section_Testing_the_motors_individually ?



  • I have try.... and nothing....

    I have sended a M122, copy and paste here


    11:41:52M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.01beta1(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-956GU-DJMSJ-6J1F8-3S06T-KANZG
    Used output buffers: 3 of 20 (8 max)
    === RTOS ===
    Static ram: 28452
    Dynamic ram: 96060 of which 16 recycled
    Exception stack ram used: 436
    Never used ram: 6108
    Tasks: NETWORK(ready,440) HEAT(blocked,1176) MAIN(running,3628)
    Mutexes: FilamentSensors(null) DHT(null) WiFi(null) TelnetGCodeReply(null) HttpGCodeReply(null) Telnet(null) HTTP(null) SD1(null) SD0(null) DirSearch(null) FileSystem(null) Aux(null) USB(null) MessageBox(null) ToolList(null) SPI(null) Malloc(null) NetworkGCodeInput(null) NetworkGCodeInput(null) FileInfoParser(null)
    === Platform ===
    Last reset 00:02:14 ago, cause: power up
    Last software reset at 2018-07-12 08:37, reason: User, spinning module GCodes, available RAM 6220 bytes (slot 2)
    Software reset code 0x0003 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0441f000, BFAR 0xe000ed38, SP 0xffffffff
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms
    MCU temperature: min 45.2, current 48.2, max 48.3
    Supply voltage: min 24.7, current 24.9, max 25.0, under voltage events: 0, over voltage events: 0
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2018-07-12 11:41:51
    Slowest loop: 3.04ms; fastest: 0.07ms
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 237, MaxWait: 3949725790ms, Underruns: 0, 0
    Scheduled moves: 6, completed moves: 6
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 35.93ms; fastest: 0.01ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.21RC4(08b3)
      WiFi MAC address 60:01:94:73:55:68
      WiFi Vcc 3.20, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 15264
      WiFi IP address 192.168.1.58
      WiFi signal strength -59dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0
      === Expansion ===


  • Hi,

    add a screen capture from DWC, Machinne Propiety section..

    I think, in the other Duet, list more parts.... here only steppers. No?

    https://www.dropbox.com/s/dddqlbigeiodp3y/Duet Screen Capture.png?dl=0

    I have move carriges of towers by hand with no opposition (With power on)... Endstops, seems to be working, when i close the carriages to endstops, light turn off, and appears the status of "Endstops Hit" in DWC as YES



  • Hi,

    termopar (Bed and Nozzle), works, and heaters.

    What the meaning of this light?

    https://www.dropbox.com/s/sctjlm7x05lwd2s/light.jpg?dl=0


  • administrators

    @peirof said in Whats wrong?:

    Hi,

    termopar (Bed and Nozzle), works, and heaters.

    What the meaning of this light?

    https://www.dropbox.com/s/sctjlm7x05lwd2s/light.jpg?dl=0

    That means the bed heater is turned on; although it will also be on if you use 24V VIN power and a separate 12V bed heater supply.



  • @dc42 said in Whats wrong?:

    That means the bed heater is turned on; although it will also be on if you use 24V VIN power and a separate 12V bed heater supply.

    Are connected to Duet..., bed and nozzle, with Tevo Little Monster default PSU, its 24v


  • administrators

    @peirof said in Whats wrong?:

    Hi,

    add a screen capture from DWC, Machinne Propiety section..

    I think, in the other Duet, list more parts.... here only steppers. No?

    https://www.dropbox.com/s/dddqlbigeiodp3y/Duet Screen Capture.png?dl=0

    I have move carriges of towers by hand with no opposition (With power on)... Endstops, seems to be working, when i close the carriages to endstops, light turn off, and appears the status of "Endstops Hit" in DWC as YES

    Did you remember to send G91 to switch to relative mode before you sent the G1 S2 X10 and similar commands to test the motors?



  • Yes,

    i have sended by console....

    G91
    and
    G1 S2 X10

    Nothing happens..


  • administrators

    Suggestions:

    1. Send M906 without parameters and confirm in the response that the motor currents have been set.
    2. Send M584 without parameters and check that the motor mapping is standard (X0, Y1, Z2).
    3. Send M122. In the report, check that the VIN voltage reads correctly and the stepper motor statuses are OK.
    4. Send M92 and check that the steps/mm reads back correctly.

    Which revision Duet do you have?



  • ok... the results

    1. M906

    M906
    Motor current (mA) - X:1800, Y:1800, Z:1800, E:1200:1200:1200:1200:1200:1200:1200:1200:1200, idle factor 30%

    1. M584

    M584
    Driver assignments: X0 Y1 Z2 E3:4:5:6:7:8:9:10:11, 3 axes visible

    1. M122

    M122
    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.01beta1(RTOS) running on Duet WiFi 1.02 or later
    Board ID: 08DGM-956GU-DJMSJ-6J1F8-3S06T-KANZG
    Used output buffers: 3 of 20 (8 max)
    === RTOS ===
    Static ram: 28452
    Dynamic ram: 96084 of which 0 recycled
    Exception stack ram used: 324
    Never used ram: 6212
    Tasks: NETWORK(ready,448) HEAT(blocked,1256) MAIN(running,3564)
    Mutexes: FilamentSensors(null) DHT(null) WiFi(NETWORK) TelnetGCodeReply(null) HttpGCodeReply(null) Telnet(null) HTTP(null) SD1(null) SD0(null) DirSearch(null) FileSystem(null) Aux(null) USB(null) MessageBox(null) ToolList(null) SPI(null) Malloc(null) NetworkGCodeInput(null) NetworkGCodeInput(null) FileInfoParser(null)
    === Platform ===
    Last reset 00:07:39 ago, cause: software
    Last software reset time unknown, reason: User, spinning module GCodes, available RAM 6256 bytes (slot 2)
    Software reset code 0x0003 HFSR 0x00000000, CFSR 0x00000000, ICSR 0x0441f000, BFAR 0xe000ed38, SP 0xffffffff
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms
    MCU temperature: min 48.6, current 50.0, max 51.2
    Supply voltage: min 24.6, current 24.8, max 25.1, under voltage events: 0, over voltage events: 0
    Driver 0: standstill, SG min/max not available
    Driver 1: standstill, SG min/max not available
    Driver 2: standstill, SG min/max not available
    Driver 3: standstill, SG min/max not available
    Driver 4: standstill, SG min/max not available
    Date/time: 2018-07-12 16:26:21
    Slowest loop: 253.50ms; fastest: 0.07ms
    === Move ===
    Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0
    Scheduled moves: 0, completed moves: 0
    Bed compensation in use: none
    Bed probe heights: 0.000 0.000 0.000 0.000 0.000
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 1 allocated, 0 in use
    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
    serial is idle in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 316.15ms; fastest: 0.01ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 1 of 8

    • WiFi -
      Network state is running
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.21RC4(08b3)
      WiFi MAC address 60:01:94:73:55:68
      WiFi Vcc 3.20, reset reason Turned on by main processor
      WiFi flash size 4194304, free heap 15024
      WiFi IP address 192.168.1.58
      WiFi signal strength -60dBm, reconnections 0, sleep mode modem
      Socket states: 0 0 0 0 0 0 0 0
      === Expansion ===
    1. M92

    M92
    Steps/: X: 160.000, Y: 160.000, Z: 160.000, E: 860.000:860.000:860.000:860.000:860.000:860.000:860.000:860.000:860.000

    *Note: Steps for mm in E, has to ve adjusted



  • Can check, with a multimeter, if Duet shocket for steepers motors its sending voltage when Duet moves motors?

    For example...

    A- Multimeter in voltage mode
    B- Measure voltage beteewn PINs (i dont know beteewn what pins)
    C- Send with DWC G1 Z500 F100 (Z for 3 motors moves, and F100 slow=

    Can work?


  • administrators

    Your outputs and M122 report all look OK, so I don't understand why it isn't working. Your WiFi firmware is a little old, but that won't affect the motors.

    • Please answer my other question: what revision Duet is it? It's written on the top of the PCB, probably 1.03 if it is a recent purchase.
    • After you send the G91 followed by the G1 S2 X10 command, are there any messages on the GCode Console tab of DWC?
    • After you send those commands, does the stepper motor lock and become difficult to move by hand, or is it still easy to move by hand? (Only move the carriages slowly by hand).
    • Please confirm that you have nothing connected to the Duet expansion connector.


  • Later try....

    In New duet, duet 2,has changed the order of wires that join Duet with steppers motors?



  • This post is deleted!

  • administrators

    @peirof said in Whats wrong?:

    Later try....

    In New duet, duet 2,has changed the order of wires that join Duet with steppers motors?

    No, the wiring hasn't changed.



  • Hi,

    The answers:

    • What revision Duet is it? It's written on the top of the PCB, probably 1.03 if it is a recent purchase.

    Duet 2 v1.03

    • After you send the G91 followed by the G1 S2 X10 command, are there any messages on the GCode Console tab of DWC?

    None

    • After you send those commands, does the stepper motor lock and become difficult to move by hand, or is it still easy to move by hand? (Only move the carriages slowly by hand).

    They move smooth

    • Please confirm that you have nothing connected to the Duet expansion connector.

    Confirmed, i have nothing connected


  • administrators

    Are you able to measure the voltage between the ENN pin of the expansion connector and ground? It should be +3.3V with just USB power provided, and fall to 0V shortly after VIN power is applied.

    There is another thread about a similar problem at https://forum.duet3d.com/topic/5956/webcontrol-usb-connecting-leds-light-up-but-motors-not-turning/8.



  • Hi,

    Measure voltage with USB connected. NO?

    With steppers of, i have to read aprox 3.3V
    With steppers moving, i have to read 0.0V

    Correct?

    Pins to check

    link to Pins to check



  • Hi...

    i have measure, and have 2.926V....

    There is some system of check steppers drivers???


Locked
 

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