Configuring Pre-Stall
-
@dc42 The macro is within the macros folder, not within sys. M203 returns 60000 which is the max speed for this X axis as set in the config. So I can't see why it's not working.
-
This is the macro I'm using now, within the macros folder contains:
M220 M203 G1 X50 F60000 M220 M203 G1 X-50 F60000 M220 M203
If I run M220 S1 and then run it, it returns:
M98 P"0:/macros/test.g" Speed factor: 1.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00 Speed factor: 1.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00 Speed factor: 1.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00
If I run M220 S100 and then run it, it returns:
M98 P"0:/macros/test.g" Speed factor: 100.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00 Speed factor: 100.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00 Speed factor: 100.0% Max speeds (mm/min): X: 60000.0, Y: 180000.0, Z: 160000.0, E:, min. speed 30.00
But both both visibly run at 100% speed
-
@jjem you are right, currently M220 isn't applied to moves in macros at all. I'll look at how easily this can be fixed.
-
@jjem this should be fixed in the firmware I have just uploaded to https://www.dropbox.com/scl/fo/p0136wx04h8xf6ejwdnn9/h?rlkey=efrfwyb6o5tqid11gustz3uvy&dl=0.
-
@dc42 Great, thank you
-
@dc42 No luck unfortunately, I updated mainboard and all expansions but behaviour is the same.
-
@jjem I've just tested that macro, and with the new firmware build it works correctly for me when I invoke it directly from DWC.
-
@dc42 I have tried updating again, in-case I had the wrong files, but still not luck. I can't see a DWC update file, do I need one? It's currently on 3.5.0-rc.2 whereas all other boards are now on 3.5.0-rc.3+
-
@jjem Do you mean your mainboard isn't updated? I think you're on a 6XD. Use Duet3Firmware_6XD.bin from @dc42's dropbox link above. It's there, I've checked!
For DWC, use "DuetWebControl-SD.zip" from https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.0-rc.3Ian
-
@jjem please post the output from sending M115 or M122, to confirm the firmware version you are using.
I tested the behaviour when running a macro directly from the Macros menu in DWC. It is likely to behave differently if the macro is called from a system macro such as pause.g.
-
@dc42 M122 returns
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6XD version 3.5.0-rc.3+ (2024-02-26 21:13:26) running on Duet 3 MB6XD v1.01 or later (standalone mode)
And the settings show this:
I've updated DWC to 3.5.0-rc.3 but that hasn't helped.
-
thank you. Do you know when that might be ready, so I can plan around it? Thanks.