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

IO_4 not working

Scheduled Pinned Locked Moved Solved
Duet Hardware and wiring
2
11
302
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.
  • undefined
    reczul.01
    last edited by 18 Jun 2021, 12:10

    Hi, I just recived my duet 6HC v1.01. Unfortunately
    I'm not able to make io_4 working at all. I tryed to use this port for end stop but no mether what I did it falled to work. When I changed the port to another one (io_2) and plugged the andstop the same like in io_4 it is working normaly so I think I is a bad port.

    config for io_4:

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Jun 12 2021 22:14:01 GMT+0200 (czas środkowoeuropejski letni)
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Tevo Tornado" ; set printer name
    ; Network
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S0 ; physical drive 0.3 goes backwards
    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
    M350 E256 I0 ; configure microstepping without interpolation
    M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
    M92 X80.32 Y80.32 Z399.29 E3492.31 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X540000.00 Y540000.00 Z72000.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z5000.00 E250.00 ; set accelerations (mm/s^2)
    M906 X950 Y1200 Z950 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 X300 Y300 Z400 S0 ; set axis maxima
    ; Endstops
    M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in
    M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in
    M574 Z1 S1 P"!io4.in" ; configure active-high endstop for low end on Z via pin !io4.in
    ; Z-Probe
    ;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
    ;M557 X5:265 Y10:300 S40 ; define mesh grid
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out1" T0 ; create bed heater output on out1 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 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
    M307 H1 R1.472 C238.9 D4.86 S1.00 V24.4
    M950 H1 C"out0" T1 ; create nozzle heater output on out0 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 out4 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out8" Q500 ; create fan 1 on pin out5 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    ; Tools
    M563 P0 S"E3D" 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
    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 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

    io_2 config:

    ; Configuration file for Duet 3 (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Jun 12 2021 22:14:01 GMT+0200 (czas środkowoeuropejski letni)
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Tevo Tornado" ; set printer name
    ; Network
    M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes backwards
    M569 P0.1 S0 ; physical drive 0.1 goes backwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S0 ; physical drive 0.3 goes backwards
    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
    M350 E256 I0 ; configure microstepping without interpolation
    M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
    M92 X80.32 Y80.32 Z399.29 E3492.31 ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X540000.00 Y540000.00 Z72000.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z5000.00 E250.00 ; set accelerations (mm/s^2)
    M906 X950 Y1200 Z950 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 X300 Y300 Z400 S0 ; set axis maxima
    ; Endstops
    M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in
    M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in
    M574 Z1 S1 P"!io2.in" ; configure active-high endstop for low end on Z via pin !io4.in
    ; Z-Probe
    ;M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
    ;M557 X5:265 Y10:300 S40 ; define mesh grid
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out1" T0 ; create bed heater output on out1 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 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
    M307 H1 R1.472 C238.9 D4.86 S1.00 V24.4
    M950 H1 C"out0" T1 ; create nozzle heater output on out0 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 out4 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out8" Q500 ; create fan 1 on pin out5 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    ; Tools
    M563 P0 S"E3D" 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
    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 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

    I have bought it through E3D if it is essential knowledge.
    If you need more information I'm more than happy to supply it.

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by Phaedrux 18 Jun 2021, 17:03

      I don't immediately see anything wrong with the config.

      Can you provide the results of M122 and M98 P"config.g" when configured to use io4?

      What type of endstop is it and how was it wired?

      Can you post a photo of the io4 port front and back so that we may see the soldering?

      When did you purchase from E3D?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 18 Jun 2021, 19:14 Reply Quote 0
      • undefined
        reczul.01 @Phaedrux
        last edited by 18 Jun 2021, 19:14

        @phaedrux

        m122
        === Diagnostics ===
        RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (standalone mode)
        Board ID: 08DJM-956BA-NA3TN-6JKDL-3SN6N-9986U
        Used output buffers: 3 of 40 (11 max)
        === RTOS ===
        Static ram: 149788
        Dynamic ram: 92948 of which 24 recycled
        Never used RAM 116072, free system stack 200 words
        Tasks: NETWORK(ready,183) ETHERNET(blocked,119) HEAT(blocked,300) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,51) MAIN(running,1119) IDLE(ready,19)
        Owned mutexes:
        === Platform ===
        Last reset 00:00:23 ago, cause: software
        Last software reset at 2021-06-18 20:58, reason: User, GCodes spinning, available RAM 116072, slot 2
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
        Error status: 0x00
        Aux0 errors 0,0,0
        Aux1 errors 0,0,0
        MCU temperature: min 41.6, current 42.6, max 42.7
        Supply voltage: min 24.4, current 24.5, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes
        12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
        Driver 0: position 0, standstill, reads 65315, writes 14 timeouts 0, SG min/max 0/0
        Driver 1: position 0, standstill, reads 65316, writes 14 timeouts 0, SG min/max 0/0
        Driver 2: position 0, standstill, reads 65316, writes 14 timeouts 0, SG min/max 0/0
        Driver 3: position 0, standstill, reads 65316, writes 14 timeouts 0, SG min/max 0/0
        Driver 4: position 0, standstill, reads 65319, writes 11 timeouts 0, SG min/max 0/0
        Driver 5: position 0, standstill, reads 65319, writes 11 timeouts 0, SG min/max 0/0
        Date/time: 2021-06-18 20:59:00
        Slowest loop: 4.08ms; fastest: 0.05ms
        === Storage ===
        Free file entries: 10
        SD card 0 detected, interface speed: 25.0MBytes/sec
        SD card longest read time 2.3ms, write time 0.0ms, max retries 0
        === Move ===
        DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
        === MainDDARing ===
        Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
        === AuxDDARing ===
        Scheduled moves 0, completed moves 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 = -1 -1 -1 -1
        Heater 1 is on, I-accum = 0.0
        === 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.
        === Network ===
        Slowest loop: 6.21ms; 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 2 0 0
        === CAN ===
        Messages queued 92, send timeouts 206, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 48
        M98 P"config.g"
        HTTP is enabled on port 80
        FTP is enabled on port 21
        TELNET is disabled
        Warning: Macro file config-override.g not found

        202545597_128993286003677_6659544795155656004_n.jpg

        201593006_524176268772395_6056835395694595491_n.jpg

        This board was a gift for christmas and due to the cancelled flights from London to Poland as a result of the lockdown restrictions I have just received it now. It was bought on 07.12.2020 and I received on 11.06.2021 when the flights resumed.

        I forgot to write in post that after I received it I was not able to boot it so I reflushed the frimware as stated in documentation on Duet website.

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 18 Jun 2021, 19:21

          Your photo shows the wire connected to io1, not io4.

          629b35b4-74c5-4272-b2ad-26414ae3e4e6-image.png

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 18 Jun 2021, 19:51 Reply Quote 0
          • undefined
            reczul.01
            last edited by 18 Jun 2021, 19:36

            I know I unpluged it to show the headers and soldered components

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 18 Jun 2021, 19:38

              Ok, just making sure. It happens sometimes.

              Can you get a better photo? It's so small I can't actually make anything out in detail.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 2 Replies Last reply 18 Jun 2021, 19:55 Reply Quote 0
              • undefined
                reczul.01 @Phaedrux
                last edited by 18 Jun 2021, 19:51

                @phaedrux

                live test: https://youtu.be/8r-NbxDijDw

                1 Reply Last reply Reply Quote 0
                • undefined
                  reczul.01 @Phaedrux
                  last edited by 18 Jun 2021, 19:55

                  @phaedrux 20210618_212903.jpg

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    reczul.01 @Phaedrux
                    last edited by 18 Jun 2021, 20:03

                    @phaedrux 20210618_212941.jpg

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Phaedrux Moderator
                      last edited by 18 Jun 2021, 20:05

                      Thanks. It's rather unusual for a port to fail like that.

                      Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.

                      Sorry for the inconvenience.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      undefined 1 Reply Last reply 18 Jun 2021, 20:12 Reply Quote 0
                      • undefined
                        reczul.01 @Phaedrux
                        last edited by 18 Jun 2021, 20:12

                        @phaedrux THX for your help It was pleasure to talk to you

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