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

    output problem

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    15
    613
    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.
    • 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