Run G-Code on application shutdown

More
4 years 11 months ago #226487 by cakeslob
As I was reading the thread, I was thinking the same thing, it would be less surprising, and yeah I also usually turn off everything before I close. Thats how the machine at my work does it, not remapped m2, but remapped custom gcode that parks everything right before m2
That being said, good stuff nkp, lol I like that" Do you mind?"

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #226531 by cmorley
M2 is not remappable - currently anyways.
The following user(s) said Thank You: ikkuh

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #226627 by furynick
In my case I can't stop field power before shutting down LxCNC, my 7i76e throw a power error in that case.

I can certainly update your post-processor to add a remapped M100 juste before M2 to do that stuff.

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #241797 by mgm
Where can I find the file ".axisrc"?

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago - 4 years 6 months ago #241799 by robertspark
its a hidden file in your home directory the dot(.) before it tells you its a hidden file.

if you open up your file / folder viewer, and turn on hidden files you will be able to see all the hidden files in the folder.

if you open the terminal and you type:
ls -a

it will list ALL files, including the hidden files and you can open them with your preferred text editor (I like / use geany, each to their own).

here is the manual / useful info on the file
linuxcnc.org/docs/devel/html/gui/axis.html#sub:axis-axisrc

linuxcnc.org/docs/devel/html/gui/axis.ht..._customization_hints

most people DON'T modify the axisrc file, but instead I believe use the USER_COMMAND file option such as you will see many examples of code on the forum for axis mods
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file

like this sort of a thing, that way you dont break axis and can test and undo things + if you have multiple configurations (like I do) the vanilla axis for lathe, mill and router is always the same underneath 
forum.linuxcnc.org/21-axis/45365-how-to-...nterface-axis#238007
Last edit: 4 years 6 months ago by robertspark.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #241855 by mgm
Thanks for the tip or the explanation

but unfortunately I can not find the file ".axisrc"
then someone show me the exact path?

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum