ToolChanger tool data
-
Hi,
https://forum.duet3d.com/topic/20693/which-tool-is-enabled-after-startup
@taconite wrote earlier about this, and I started doing the same on my own printer. I had the following problem:
DIY ToolChanger with Duet 3 6HC, 3HC and Raspberry pi.
If i write to console
M560 P"0:/sys/test"
or run macro like that
M560 P"/sys/test" <!-- **EoF** -->
or whatever else, "Error: M560: Can't open file test for writing" appears...
If i write
M98 P"0:/sys/test
it will run that macro.
Is Raspberry pi somehow causing the trouble here or what?
-
It looks like M560 isn't implemented in DSF yet so I'll add that to the TODO list.
Nevertheless M28/29 should work. Can you use that instead?
-
@chrishamm i will try that. Is this correct way to do that? So it will make a file to sys directory named ToolActive.g and in this file is text T0?
toolchange macro T0
; T0 M28 /sys/ToolActive.g T0 M29
-
@K01571N3N Yes, exactly.