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

    output problem

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    15
    586
    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.
    • tom33undefined
      tom33
      last edited by

      Hello

      I have a problem with my duet 3...

      I can't turn on any output with M42 or for my heaters...

      FYI This is the first use of the board. And for the first test I'have just connect motor and end-stop heaters and temp

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.4.0beta5 (2021-10-12 13:53:56) running on Duet 3 MB6HC v1.01 or later (standalone mode)
      Board ID: 08DJM-9P63L-DJMSS-6J9D6-3SN6S-KUHZB
      Used output buffers: 3 of 40 (20 max)
      === RTOS ===
      Static ram: 151104
      Dynamic ram: 96916 of which 44 recycled
      Never used RAM 102608, free system stack 206 words
      Tasks: NETWORK(ready,21.0%,211) ETHERNET(notifyWait,0.1%,183) HEAT(notifyWait,0.0%,347) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,8.1%,92) MAIN(running,54.6%,1095) IDLE(ready,16.1%,30), total 100.0%
      Owned mutexes:
      === Platform ===
      Last reset 00:01:51 ago, cause: reset button
      Last software reset at 2021-10-18 17:33, reason: User, GCodes spinning, available RAM 103116, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Step timer max interval 129
      MCU temperature: min 42.5, current 46.2, max 46.3
      Supply voltage: min 25.7, current 25.7, max 25.8, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.2, current 12.3, max 12.3, under voltage events: 0
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Driver 0: pos 0, standstill, SG min/max 0/0, reads 30865, writes 16 timeouts 0
      Driver 1: pos 0, standstill, SG min/max 0/0, reads 30867, writes 14 timeouts 0
      Driver 2: pos 0, standstill, SG min/max 0/0, reads 30867, writes 14 timeouts 0
      Driver 3: pos 0, standstill, SG min/max 0/0, reads 30867, writes 14 timeouts 0
      Driver 4: pos 0, standstill, SG min/max 0/0, reads 30868, writes 14 timeouts 0
      Driver 5: pos 0, standstill, SG min/max 0/0, reads 30871, writes 11 timeouts 0
      Date/time: 2021-10-18 17:38:38
      Slowest loop: 7.25ms; fastest: 0.05ms
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 25.0MBytes/sec
      SD card longest read time 3.2ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: mesh, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = 3 -1 -1 -1
      === GCodes ===
      Segments left: 0
      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
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty
      === CAN ===
      Messages queued 932, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 49 (min 48), ts 557/0/0
      Tx timeouts 0,0,0,0,0,0
      === Network ===
      Slowest loop: 11.54ms; fastest: 0.02ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
      HTTP sessions: 1 of 8

      • Ethernet -
        State: active
        Error counts: 0 0 1 0 0
        Socket states: 5 2 2 2 2 0 0 0
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @tom33
        last edited by

        @tom33 post your config.g and some more information about whats connected where

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        tom33undefined 1 Reply Last reply Reply Quote 0
        • tom33undefined
          tom33 @jay_s_uk
          last edited by

          @jay_s_uk

          ; Configuration file for Duet 3 (firmware version 3.3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.4 on Wed Oct 13 2021 14:06:51 GMT+0200 (heure d’été d’Europe centrale)

          ; General preferences
          G90 ; send absolute coordinates...
          M83 ; ...but relative extruder moves
          M550 P"ISA" ; set printer name

          ; Network
          M552 P192.168.1.70 S1 ; enable network and acquire dynamic address via DHCP
          M586 P0 S1 ; enable HTTP
          M586 P1 S0 ; disable FTP
          M586 P2 S0 ; disable Telnet

          ; Drives
          M569 P0 S1 ; physical drive 0.0 goes forwards
          M569 P1 S0 ; physical drive 0.1 goes forwards
          M569 P2 S1 ; physical drive 0.1 goes forwards
          M569 P3 S1 ; physical drive 0.3 goes forwards
          M569 P4 S1 ; physical drive 0.1 goes forwards
          M569 P5 S1 ; physical drive 0.5 goes forwards
          ;M569.7 P3 C"out8" ; driver 0 on board 40 uses port out1 on board 40 to control the brake

          M584 X0 Y1:2 V2 Z3 W4 E5 ; set drive mapping M584 X0.0 Y0.1:0.2 V0.2 Z0.3:0.4 W0.4 E0.5
          M350 X16 Y16 V16 Z16 W16 E16 I1 ; configure microstepping with interpolation
          M92 X320.00 Y640.00 V640.00 Z640.00 W640.00 E420.00 ; set steps per mm
          M566 X900.00 Y900.00 V900.00 Z60.00 W60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 V6000.00 Z180.00 W180.00 E1200.00 ; set maximum speeds (mm/min)
          M201 X500.00 Y500.00 V500.00 Z20.00 W20.00 E250.00 ; set accelerations (mm/s^2)
          M906 X2800 Y2800 V2800 Z2800 W2800 E800 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 X1000 Y500 Z400 S0 ; set axis maxima

          ; Endstops
          M574 X2 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io1.in
          M574 Y2 S1 P"!io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io2.in
          M574 Z2 S1 P"!io3.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io3.in

          ; Z-Probe
          M558 P5 C"!io4.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
          M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
          G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
          M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters
          M557 X15:950 Y15:450 S50 ; define mesh grid

          ; Heaters
          M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
          M950 H0 C"out3" T0 ; create bed heater output on out0 and map it to sensor 0
          M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
          M140 H0 ; map heated bed to heater 0
          M143 H0 S120 ; set temperature limit for heater 0 to 120C
          M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
          M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
          M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
          M143 H1 S280 ; set temperature limit for heater 1 to 280C

          ; Fans
          M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
          M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off

          ; Tools
          M563 P0 S"E0" D0 H1 F0 ; 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

          ; Custom settings are not defined

          ;Input
          M950 J0 C"io0.in" ; Arret d'urgence
          M581 T0 P0 S1 R0 ; T0 --> M112 Arret d'urgence

          M950 P0 C"out8"

          ; Miscellaneous
          M501 ; load saved parameters from non-volatile memory
          M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
          ;T0 ; select first tool

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @tom33
            last edited by

            @tom33 what commands are you sending that do not work?

            www.duet3d.com

            tom33undefined 1 Reply Last reply Reply Quote 0
            • tom33undefined
              tom33 @T3P3Tony
              last edited by

              @t3p3tony

              M42 P0 S1

              Even if I create an output on out0, out1,… the led doesn’t light up

              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators @tom33
                last edited by

                @tom33 which LED? please show how you are wiring it.

                www.duet3d.com

                tom33undefined 2 Replies Last reply Reply Quote 0
                • tom33undefined
                  tom33 @T3P3Tony
                  last edited by

                  @t3p3tony LED.jpg this led

                  1 Reply Last reply Reply Quote 0
                  • tom33undefined
                    tom33 @T3P3Tony
                    last edited by

                    @t3p3tony

                    When I turn on the output nothing append

                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @tom33
                      last edited by

                      @tom33 if you have nothing connected it won't turn on

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      tom33undefined 1 Reply Last reply Reply Quote 0
                      • tom33undefined
                        tom33 @jay_s_uk
                        last edited by

                        @jay_s_uk even if nothing is wired the led turned on, I tried with another duet 3 and the same config

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 1
                        • T3P3Tonyundefined
                          T3P3Tony administrators @tom33
                          last edited by

                          @tom33 Thanks, no I understand what you mean. Just to make 1005 sure we are on the same page, you can't control a heater with M42 if you have already mapped it to a heater. Can you send the following (with nothing plugged into out2 and out2 not used in the config.g

                          M950 P20 C"out2"
                          M42 P20 S1 ; LED on out 2 should come on
                          M42 P20 S0 ; LED on out 2 should go off
                          

                          www.duet3d.com

                          tom33undefined 1 Reply Last reply Reply Quote 0
                          • tom33undefined
                            tom33 @T3P3Tony
                            last edited by

                            @t3p3tony said in output problem:

                            M950 P20 C"out2"

                            I tried and nothing append, the problem is just with the output because I can run the motor for exemple...

                            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators @tom33
                              last edited by

                              @tom33 thanks for confirming that. It looks like this impacts multiple outputs. Can you test Out0 to see if the LED lights on that please.

                              www.duet3d.com

                              tom33undefined 1 Reply Last reply Reply Quote 0
                              • tom33undefined
                                tom33 @T3P3Tony
                                last edited by

                                @t3p3tony The same with out0. I think the problem come from the board because I tried the same config.g in another duet3 3

                                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                • T3P3Tonyundefined
                                  T3P3Tony administrators @tom33
                                  last edited by

                                  @tom33 thanks for bearing with the testing. please can you contact warrant@duet3d.com to initiate a warranty return, referencing this forum post.

                                  www.duet3d.com

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