Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Defining Tool with No Heater - Concrete Printer

    General Discussion
    2
    3
    495
    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.
    • Calebc
      Calebc last edited by Calebc

      Hi There, I am having a problem commissioning a from-scratch 3d concrete printer. I have two concrete extruder channels that do not require heat, and that are driven by external drivers connected to expansion header pins. (#7 - E4 axis, #8 E5 axis) I have not been able to get any motion out of the extruder axis. I have been able to successfully move by defining as x, y, or z axis so It is not an issue with the drivers or step signal timing. I believe there might be an issue with how I am defining a tool that does not require a heater. (While it may be useful to track concrete temps in the future, these outputs do not require heaters)

      The board seems to be "blind" to this particular code snippet in config.g. It does not produce any tool to select:

      M563 P0 D7 H1 ; Define tool 0 Color Mix - No H field means no heater
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

      The following code produces a tool that is selectable, but no motion or errors results:

      M563 P0 D7:8:3 ; create a tool using extruder drives 0, 2
      G10 P0 ; Set initial tool 1 active

      The reprap configuration tool does not seem to play nicely with creating extruders with no heater. Filling out the fields for no heater resulted in the web control interface calling for temperatures to be within some set of bounds before it would allow movement.

      Here is my full config code:

      ; General preferences
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves

      ; Network
      M550 Psilverwoodspyder ; Set machine name
      M552 S1 ; Enable network
      M587 S"****" P"" ; Configure access point. You can delete this line once connected
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      ; Drives
      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M569 P4 S1 ; Drive 4 goes forwards
      M584 X5 Y6 Z2 E7:8 ; Apply custom drive mapping
      M350 X16 Y16 Z16 E16:16 I0 ; Configure microstepping with interpolation
      M92 X70 Y70 Z540 E55:37 ; Set steps per mm
      M566 X900 Y900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000 Y6000 Z2000 E3000:4560 ; Set maximum speeds (mm/min)
      M201 X20 Y20 Z5 E20:20 ; Set accelerations (mm/s^2)
      M906 X800 Y800 Z2000 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S180 ; Set idle timeout

      ; Axis Limits
      M208 X20 Y20 Z0 S1 ; Set axis minima
      M208 X1500 Y880 Z315 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 S0 ; Set active low endstops
      M574 Z1 S1 ; Set active high endstops

      ; Z-Probe
      M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
      M557 X15:1485 Y15:865 S20 ; Define mesh grid

      ; Heaters
      M140 H-1 ; Disable heated bed

      ; Fans
      M106 P0 S0.3 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

      ; Tools
      M563 P0 D7 H1 ; Define tool 0 Color Mix - No H field means no heater
      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

      M563 P1 D8 H1 ; Define tool 1 Backer Mix
      G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
      G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

      M563 P0 D7:8:3 ; create a tool using extruder drives 0, 2 and 3 and heaters 1 and 3
      G10 P0 ; Set initial tool 1 active and standby temperatures to 0C

      ; Automatic saving after power loss is not enabled

      ; Custom settings
      M564 S0 H0 ; Enable movement without endstops being checked
      M569 P7 R1 T5:5:5:0 ; Set step timing to external drivers
      M569 P8 R1 T5:5:5:0 ;

      ; Miscellaneous
      T0 ; Select first tool

      Could someone provide an example code snippet defining (and activating?) an extruder tool connected to expansion header that does not require heater? Thanks!

      1 Reply Last reply Reply Quote 0
      • Calebc
        Calebc last edited by

        Update Looks like this was a mapping issue where I was calling for drives numbered 7 and 8 when they had been mapped earlier to direct calls for extruder drives 0 and 1 to 7 and 8. Have not fully resolved, but was able to get movement!

        1 Reply Last reply Reply Quote 0
        • dc42
          dc42 administrators last edited by

          That's correct, the D parameters in M563 commands are not driver numbers, they are extruder numbers. Your M584 command defines two extruders on drivers 7 and 8, and those extruders will be numbered 0 and 1 for the purposes of the M563 command.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

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