Persistent variable stored on the SD Card
I need to purge/clean my nozzle without using skirts, because I print small parts.
The only way to solve this is to print a straight line around my bed, this ensure the head will be ready when skipping to print sequence after this preamble.
I would like to use the perimeter of my bed, say a 5/10 mm strip to purge my nozzle, then I could clean my bed once every 10/20 parts, which is the maximum I print in one session.
For this, I would need a variable that would be incremented each print (either unique or sequential) and that would be stored after each cleaning sequence, until a limit is reach and DUET says to me "this is enough, please clean your bed". Yes I am lazy....
I didn't find any command that store anything on the SD card, except G29 and M500, but that doesn't help so much.
Ideally, a variable feature, implemented in firmware, and an option to store the object model would be a solution, but it is not implemented yet....
Any other idea?
You can use M560 to write a macro file to the SD card.
Any idea when user variables will be available?
fcwilt last edited by
Thanks again, I will wait until it's available. I have multiple reasons to implement macros with session dependent parameters.
Oozing with bed real estate management, and also random z probe point to eliminate the influence of the small spot deposited by my nozzle each time I home Z axis. Since it is orion driven, mark allways the same spot on the bed, and this add a tiny plastic spot, which is not melted anymore on the bed, and that introduce cumulative error on the measurement.
Random Z probe point for homing Z is already possible.
@fcwilt Yes, I print tiny parts ( custom gears and connectors), and I need minimal entry points on my objects to allow best external mechanical interface possible.
Therefore I need to purge my nozzle between each part to ensure identical start conditions.
And since I need many parts, I stuff my printing bed with as much as possible parts.