sleep.g
-
SD Card documentation, "SD card structure", /sys folder does not describe sleep.g.
-
@DonStauffer As it is supposed to be done by user, for the event when a M1 is invoked, outside a pause. Different machines, different users, different sleep files. It is empty by default, at least mine was, so the same is the description.
See here. -
@soare0 I didn't say "does not define sleep.g". I know the user is supposed to define it. The same is true of pause.g, start.g and stop.g, for instance, each of which is mentioned with a short description of when it runs. That's essential information in order to know how you can use it. In other words, I'm not saying we should be told what to put in the file. I'm saying it would be useful to know how it functions regardless of what's in it.
-
@DonStauffer I don't think the documentation you are referring to is intended to be a complete description of all of the files you can have in the sys directory. In particular for the sys directory it states:
It should contain at least the following files
There are other files, like mesh.g, the various tool change files and probably more that can be present, but these like sleep.g are not essential. They are currently documented in the gcode dictionary (as is sleep.g).
Perhaps @droftarts would consider producing a complete list of the possible system macro files?
-
@gloomyandy Anyway, for those other files it's useful to have their behavior completely described in one place, because otherwise you'd have to look all over the GCode docs to find that information and never know if you missed some. Seems like that would be useful for sleep.g.
-
@DonStauffer There are many explanations in GCode Dictionary, but they may need some hunter skills (for beginners, like me). For example, when you asked for it, I searched for sleep word there, and this got me to G1. So search function was my hunting tool.
And now it will get me to bed, as I again, am searching for sleep. -
@soare0 Make sure you level the bed first!
-
@DonStauffer It is a small bed, and kept leveled often, in many steps, so it has a good mesh file already, but thanks for the wishes, I know somebody who will be happy for them...