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

    how to enable out6 on 6xd for M569.7 command for brake

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    6
    258
    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.
    • lazy_mosquitoundefined
      lazy_mosquito
      last edited by

      Re: How to enable and disable brake on 6xd?
      Hi,
      According to former post for enabling and disabling a servo brake i tried to assign Out6 on my 6xd board to the brake of my servo P0.0 with following command:
      M569.7 P0.0 C"out6"
      when i later use the command M569.7 P0.0, it seems it doesn't do anything on port out6.
      I would expect the port out6 to read 12V.
      I connected out6 to an ssr which needs between 4V and 30V input to open. The output is conected to 24V which is needed to open my brakes on the servo.
      Am i doing something wrong?
      firmware of the 6XD is 3.52

      Maestroundefined 1 Reply Last reply Reply Quote 0
      • Maestroundefined
        Maestro @lazy_mosquito
        last edited by Maestro

        @lazy_mosquito said in how to enable out6 on 6xd for M569.7 command for brake:

        when i later use the command M569.7 P0.0, it seems it doesn't do anything on port out6.

        @lazy_mosquito I could be wrong about this, as I haven't used the brake function, however I would expect the brake output level to change when you run M17/M18, not when you run M569.7 again.

        lazy_mosquitoundefined 1 Reply Last reply Reply Quote 1
        • lazy_mosquitoundefined
          lazy_mosquito @Maestro
          last edited by lazy_mosquito

          @Maestro Thanks,You were right M17 did it, but it didn't solve my problems. Even if i unlock the brakes, i am unable to move the servo because the duet3d firmware doesn't let me move any servo before i home everything. the problem is that i have to tune my servos before i can home anything. And for the tuning i need to move my servos. chicken egg problem.
          The command M564 S0 H0, which should enable moving the servos before tuning is not allowed on deltas.
          Any way how to move my unhomed axis on a delta?
          Maybe better to change the title of the topic, How to move stepper or servo without homing on delta?

          oliofundefined 1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @lazy_mosquito
            last edited by

            @lazy_mosquito if you set axis positions with G92 the axes become homed.

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            lazy_mosquitoundefined 1 Reply Last reply Reply Quote 0
            • lazy_mosquitoundefined
              lazy_mosquito @oliof
              last edited by

              @oliof i don't get the homing error anymore, so i would think it works now. The moment when i move my z-axis 100 up with the command G1 Z100 F300 nothing moves, but the webinterface says now the z-axis is at 100?
              Something is completely off, but i have no idea what.
              This is my config.g file and my servos are JMC 180 with brakes. If anybody has any idea.

              ; Configuration file for RepRapFirmware on Duet 3 Main Board 6XD
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.5.4 on Mon Jul 29 2024 11:58:08 GMT+0200 (Central European Summer Time)
              
              ; General
              G90 ; absolute coordinates
              M83 ; relative extruder moves
              M550 P"Big Delta" ; set hostname
              
              ; Accessories
              M575 P1 S0 B57600 ; configure PanelDue support
              
              ; Network
              M552 P0.0.0.0 S1 ; configure Ethernet adapter
              M586 P0 S1 ; configure HTTP
              
              ; Motor Idle Current Reduction
              M906 I30 ; set motor current idle factor
              M84 S30 ; set motor current idle timeout
              
              ; External Drivers
              M569 P0.0 S1 R0 T2.5:2.5:6:1    ; driver 0.0 goes forwards and requires an active-low enable signal (X axis)
              M569 P0.1 S1 R0 T2.5:2.5:6:1    ; driver 0.1 goes forwards and requires an active-low enable signal (Y axis)
              M569 P0.2 S1 R0 T2.5:2.5:6:1    ; driver 0.2 goes forwards and requires an active-low enable signal (Z axis)
              M569 P0.3 S1 R0 T2.5:2.5:6:1    ; driver 0.3 goes forwards and requires an active-low enable signal (extruder 0)
              
              ; Axes
              M584 X0.0 Y0.1 Z0.2 ; set axis mapping
              ;M350 X1 Y1 Z1 I0          ; configure microstepping without interpolation
              
              M92 X106.67 Y106.67 Z106.67 ; configure steps per mm
              
              M566 X1200 Y1200 Z1200 ; set maximum instantaneous speed changes (mm/min)
              M203 X18000 Y18000 Z18000 ; set maximum speeds (mm/min)
              M201 X1000 Y1000 Z1000 ; set accelerations (mm/s^2)
              
              ; Extruders
              M584 E0.3 ; set extruder mapping
              M350 E16 I0 ; configure microstepping without interpolation
              M92 E663 ; configure steps per mm
              M566 E1200 ; set maximum instantaneous speed changes (mm/min)
              M203 E3600 ; set maximum speeds (mm/min)
              M201 E1000 ; set accelerations (mm/s^2)
              
              ; Kinematics
              M665 L723 R350 B275 H1000 ; set delta radius, diagonal rod length, printable radius and homed height
              M208 Z0 S1 ; set minimum Z
              M666 X0 Y0 Z0 A0 B0 ; endstop adjustments and XY tilt, can be determined using auto calibration as well
              
              ; Probes
              M558 K0 P8 C"io1.in" H5 F120 T6000 ; configure unfiltered digital probe via slot #0
              M558 H50 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
              G31 P500 X0 Y0 Z0.7 ; set Z probe trigger value, offset and trigger height
              
              ; --- Begin brake control configuration ---
              
              ; Define output pin for brake control using logical pin 2
              ; M950 P2 C"out6"    ; Define logical pin 2 as the output pin connected to out6
              
              ; Assign the brake control to the servo driver
              M569.7 P0.0 R1 C"out6"    ; Assign logical pin 2 (out6) to the brake control of servo driver P0.0
              
              ; Initial brake state
              ; M42 P2 S0    ; Ensure the brake is initially disengaged
              
              ; --- End brake control configuration ---
              
              ; Endstops
              M574 X2 P"io2.in" S1 ; configure X axis endstop
              M574 Y2 P"io3.in" S1 ; configure Y axis endstop
              M574 Z2 P"io4.in" S1 ; configure Z axis endstop
              
              ; Sensors
              M308 S0 P"temp0" Y"thermistor" A"Heated Bed" T100000 B4725 C7.06e-8 ; configure sensor #0
              M308 S1 P"temp1" Y"thermistor" A"Nozzle" T100000 B4725 C7.06e-8 ; configure sensor #1
              
              ; Heaters
              M950 H0 C"out0" T0 ; create heater #0
              M143 H0 P0 T0 C0 S140 A0 ; configure heater monitor #0 for heater #0
              M307 H0 R2.43 D5.5 E1.35 K0.56 B1 ; configure model of heater #0
              M950 H1 C"out1" T1 ; create heater #1
              M143 H1 P0 T1 C0 S285 A0 ; configure heater monitor #0 for heater #1
              M307 H1 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #1
              
              ; Heated beds
              M140 P0 H0 ; configure heated bed #0
              
              ; Fans
              M950 F0 C"out3" ; create fan #0
              M106 P0 S0 L0 X1 B0.1 ; configure fan #0
              M950 F1 C"out4" ; create fan #1
              M106 P1 S0 B0.1 H1 T45 ; configure fan #1
              
              ; Tools
              M563 P0 D0 H1 F0 ; create tool #0
              M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C
              
              ; Fake homing of all axes
              G90
              G92 X0 Y0 Z0     ; Set the current position to X=0, Y=0, Z=0
              
              oliofundefined 1 Reply Last reply Reply Quote 0
              • oliofundefined
                oliof @lazy_mosquito
                last edited by

                @lazy_mosquito I wouldn't slap the G92 into config.g, just emit it on the console with the effector in a well known position so tuning can happen

                <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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