tool touch plate/M31 macros?
Posted:
Mon Aug 21, 2023 5:20 pm
by jonathanmahnken
I have installed a tool touch sensor and connected it to the probe button on my screen. Everything is working, but I dont know how to set up the m31 command to perform for this
Re: tool touch plate/M31 macros?
Posted:
Sun Aug 27, 2023 8:15 pm
by mankie
Hi there
The M31 macro is a textfile located with all the other macros, in the UCCNC installation folder.
e.g .../UCCNC/Profile/Macro_[your_profile_name]
The M31 macro is called M31.txt. You need to edit this file, since it´s just containing a bunch of default values.
Change values/instructions that works with your machine/setup.
When you press the probe button, the instructions in this file is firing.
The macros are written in C# (aka C sharp) language.
I believe you can find examples of other users M31 macros here on the forum, or elsewhere.
What kind of machine do you have? Maybe my macro could be useful to you?
I can share it when I get to the computer where its located.
Good luck!
Re: tool touch plate/M31 macros?
Posted:
Fri Sep 22, 2023 9:28 pm
by jonathanmahnken
Thanks for the reply, I was able to copy a file from another user.