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

    M569.7 motor brake on duet2 ethernet

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    4
    163
    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.
    • djstreeundefined
      djstree
      last edited by djstree

      Hi!

      Can M569.7 be used on duet2, using the high current bedheat output to activate/deactivate a Z axis brake? Something like... ?

      ; Drives
      M569 P3 S0                     ; extruder e1 goes backwards
      M569 P5 S1 R1 T2.5:2.5:5:5     ; Z physical drive 5 goes forwards
      M569 P6 S0 R1 T2.5:2.5:5:5     ; Y physical drive 6 goes backwards
      M569 P7 S1 R1 T2.5:2.5:5:5     ; X physical drive 7 goes forwards
      M584 X7 Y6 Z5 E3
      
      ; Z break
      M569.7 P0.0 C"bedheat" S50     ; uses bedheat output control the brake with 50ms delay
      
      dc42undefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @djstree
        last edited by

        @djstree you can do that but you must add a flyback diode in parallel with the brake solenoid.

        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

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

          @djstree I've added the following to the Gcode dictionary M569.7 entry:

          As long as the brake solenoid max current draw is <2A and it is rated for the VIN voltage used, it can be directly controlled by OUT pins (Duet 3) or FAN pins (Duet 2) which have flyback diodes, at VIN voltage (not using 5V/12V onboard regulator). If the current required is >2A, a heater output can be used, however you must add a flyback diode in parallel with the brake solenoid.

          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
          • djstreeundefined
            djstree @dc42
            last edited by djstree

            @dc42 @droftarts

            The Teknic NEMA 34 brake appears to require 0.41 amps so fan2 might be usable.

            https://teknic.com/products/spring-applied-power-off-brakes/NEMA-34-brake/

            ; Z break
            M950 F2 C"nil"               ; disable fan 2 and free up the associated pin
            M950 P7 C"fan2"              ; create gpio pin 7 for Z brake using diode protected fan2 output
            M569.7 P0.5 C"fan2" S20      ; Z drive 5 to use fan 2 output control the brake with 20ms delay
            

            Thanks!

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