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

    Remapping extruder motor turns the extruder temp display to 0

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    5
    260
    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.
    • PropellerHatundefined
      PropellerHat
      last edited by PropellerHat

      Hi

      I am rebuilding my old machine with Duet Ethernet and everything starts to be ready but:

      I can't get the extruder motor moving. Last time I used the printer there was no problem with extruders that I had 2 that time.

      I run an ancient firmware (1.21) because the RRF3 would take too long time to get around.

      The problem in a nutshell:
      I would like to try to remap the extruder into some other channel (driver 4 for example, I got plenty of drivers because of the Duex5, Y and Z are double motor stages so they are mapped partially on the DUex5 and working perfectly) to try to eliminate the possibility of the driver chip being damaged (allthough it seems unlikely).

      When I try to remap the extruder, my tempreature reading goes bonkers, it shows 0.

      Basically if I touch the E-motor mapping, things go weirdly wrong, but I can't get the sucker moving with the default mapping (leaving E out of M584 of the config.g).

      I am starting to loose my sanity.

      Only M584 Y1:2 Z8:9 with M563 P0 D3 H1 gets me correct temp readings and XYZ movement.

      If I change the tool definition M563 P0 D3 H1 to M563 P0 D4 H1or anything else, I get the message "G10/ Attempt to set or report...Non-existent tool: 0".

      Cables and motor checked, connector brand new and clean.

      (Here's a practical way for that btw: "short" the cables of one phase from the connector with a piece of wire and turn the motor by hand- does it gain mechanical resistance with the shorting? If yes, all good. Then do the other phase.)

      Here my config.g:

      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin

      ; Endstops
      M574 X2 Y1 Z1 S0 ; FOR PROXYS (S1 means Define active high microswitches. S0 active low)
      M558 P0 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
      ;G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
      ;M557 X15:885 Y15:785 S20 ; Define mesh grid

      M564 H0; Allow movements before homing

      M584 Y1:2 Z8:9 E4

      ; Drives (Tn for longer pulse)
      M569 P0 S0 ; Drive 0 goes forwards
      M569 P1 S1
      M569 P2 S0
      M569 P3 S1
      M569 P4 S1
      M569 P5 S1
      M569 P6 S0
      M569 P7 S0
      M569 P8 S0
      M569 P9 S1

      M350 X32 Y32 Z32 E16:16:16 I0 ; Configure microstepping without interpolation
      M92 X320 Y160 Z3200 E500:500 STEPS PER MM

      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X900 Y500 Z520 S0 ; Set axis maxima

      M566 X1200 Y1000 Z5 E5000:5000:5000 ; Set maximum instantaneous speed changes (mm/min) “JERK”
      M203 X22000 Y22000 Z600 E1200:1200:1200 ; Set maximum speeds (mm/min) SPEED
      M201 X700 Y700 Z100 E250:250:250 ; Set accelerations (mm/s^2) “ACCELERATION”
      M906 X1200 Y1200 Z2000 E500 I30 ; Set motor currents (mA) and motor idle factor in per cent

      M84 S10 ; Set idle timeout

      ; Heaters
      M143 S300 ; Set maximum heater temperature

      M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0, BED
      M305 P1 T100000 B4138 C0 R4700 ; Ext1

      M570 H1 P15 T20 ; HEATER FAULT P_Time T_Deviation

      ; Tools

      M563 P0 D4 H2 ; Define tool 0
      ;G10 P0 X0 Y0 ; Set tool 0 axis offsets

      ; Network
      M550 PLSBP Mk4 ; Set machine name
      M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
      M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

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

      Any help higly appreciated

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        How many extruders do you actually have?

        M584 Y1:2 Z8:9 E4

        That seems correct if those are the drivers you are using.

        M350 X32 Y32 Z32 E16:16:16 I0 ; Configure microstepping without interpolation
        M92 X320 Y160 Z3200 E500:500 STEPS PER MM

        Here you have M350 E with 3 values for extruders. There should only be one. And for M92 you have 2 values, but should only have one.

        M566 X1200 Y1000 Z5 E5000:5000:5000 ; Set maximum instantaneous speed changes (mm/min) “JERK”
        M203 X22000 Y22000 Z600 E1200:1200:1200 ; Set maximum speeds (mm/min) SPEED
        M201 X700 Y700 Z100 E250:250:250 ; Set accelerations (mm/s^2) “ACCELERATION”

        Again here you have 3 values for E, but you should only have one.

        M563 P0 D4 H2 ; Define tool 0

        The main problem is your tool definition. D4 means you're trying to use the 5th extruder drive. Which doesn't exist. And heater 2, which also doesn't exist based on your heater definitions.

        Try this instead
        M563 P0 D0 H1 ; Define tool 0

        The only thing you need to do to remap the extruder driver to a different driver is to change M584 E#

        A useful way to check for syntax errors in config.g is to send M98 P"config.g" in the console. It will show any error messages that may get lost at startup.

        @PropellerHat said in Remapping extruder motor turns the extruder temp display to 0:

        I run an ancient firmware (1.21) because the RRF3 would take too long time to get around.

        It's really not so bad. The online config generator tool is really good at getting you a sane starting point.

        Give it a shot for RRF3 and see how the config.g looks
        https://configtool.reprapfirmware.org/Start

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • PropellerHatundefined
          PropellerHat
          last edited by

          Oh, those extruder steps etc are from the past, totally forgot to remove then when changing into only one extruder.

          Will try with proposed fixes this weekend, thanks!

          What I am afraid of in the RRF3 is the changes in the logic of setting things up. I had hard time to get my head arount the more clean Gcode approach of older firmwares and still am far from really knowing what I´m doing so the new tricks look like a proper can of worms 😄

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @PropellerHat
            last edited by

            @PropellerHat You can update to RRF 2.05.1, and (I think) you won't have to change your config.g. It's also got lots of bug fixes. https://github.com/Duet3D/RepRapFirmware/releases/tag/2.05.1

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            1 Reply Last reply Reply Quote 0
            • PropellerHatundefined
              PropellerHat
              last edited by

              Hi

              After the proposed tweaks everything looks great!

              Extruder does its job as supposed to.

              Will consider updating the firmware just a tad 😉

              Thanks!

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