Can't combine PID tuning into single macro
-
Are there some gcode some commands not able to be sequentially macrod?
I'm trying to just do a PID tune macro and if i PID tune my hot end, the m500 and the PID tune heat bed never run... it's like it just aborts/finishes..
RRF 3 duet wifi 2
macro is just simple:
; pidtune Macro (PLA temp based) ; PID Tune Hot End m106 S255 ; set fan to full speed m303 h1 s210 ; PID tune the hotend at 210c m500 ; save results to config-override.g ; PID Tune Heat Bed M303 h0 s60 m106 s0 ; turn fan off m500 ; save results to config-override.g
-
What happens if you insert a M291 S3 dialogue box command in between?
-
I'll give that a shot
-
It's because M303 only starts the tuning process, which then runs asynchronously.
-
@dc42 is there a way to use some of the new conditionals to wait for a return code from m303 to continue on? (just thinking unix-y out loud)
-
@supernovae said in Can't combine PID tuning into single macro:
@dc42 is there a way to use some of the new conditionals to wait for a return code from m303 to continue on? (just thinking unix-y out loud)
Yes, the heater state is in the OM so you could loop waiting for it to finish tuning. But the console would be unresponsive until then, which is why I made it run asynchronously.