Hi, currently there seem to be no persistent parameters that are unassigned, and are really persistent. https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/rs274ngc/interp_array.cc#L182 any particular reason why there is a list, and not just a range, like it says in the docs? the docs say: "The range of persistent parameters may change as development progresses. This range is currently 5161- 5390.”
maybe there is another way, but I would like to use that for my tool changer. On startup the current tool is unknown, indicated by the -1 in current tool. I would like to load that form a parameter, because the tool does not change while the machine is off. This saves setting the tool using M61. then, lets suppose I press estop during a tool change. this can happen any time, and I would like to save what tool is in the spindle. I could press estop before, during, or after tool change has finished. in the first 2 cases, the current tool is wrong, and the machine will crash on the next tool change, or continue with the wrong tool. next problem: lets say I pull the plug/something crashes during machining/toolchange. obviously the parameters are not saved in that case. how about a parameter that indicates that linuxcnc did not shut down properly? Rene ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers