Pin linked to stepper motor
Is it possible to link any pin to stepper motor being enabled ? I am using servos as brakes for the Z axis and currently 'brake on' is the default and wish to set it up to release when voltage is applied to one of the 3 Z motors . I am using Duet 2 WiFi with Duex 5
o_lampe last edited by o_lampe
@br549 You could use the object model to ask for the enable status of the Z driver(s) and control the servo with it.
But reaction time of the macro (daemon.g) will be slow and the motor would want to start stepping, once it's enabled.
You should write the homeZ macro with a workaround to avoid skipping steps or torturing the drivetrain.
@o_lampe Thank you but I'm a bit lost. Could you possibly supply an example of how I would set that up ?
o_lampe last edited by
I'm busy writing tool change and homing macros for 4 tools, but if you post your own macro, I can take a look.
It's also much more fun to work it out on your own...
You already have the object model browser enabled in DWC?
@o_lampe Yes, Object Model is enabled. I've never dealt with macros so I have no idea where to start
I have no idea where to start
@br549 this feature will be supported in RRF 3.4beta3. See the M569.7 command.
@dc42 Ok, thank you