launch a macro from an input

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

launch a macro from an input

Postby gilles974 » Sun Feb 16, 2025 3:22 pm

hello

i have set in I.TRIG. 1 to 48 my input I10: pin10 port3
this input is intended to receive a LOW edge from an arduino
and launch a macro.
in "function" there is no such possibility.
how should i proceed??
à moi les copeaux

gilles
User avatar
gilles974
 
Posts: 14
Joined: Mon Aug 22, 2022 8:01 am
Location: reunion

Re: launch a macro from an input

Postby cncdrive » Sun Feb 16, 2025 4:45 pm

You can attach codes 20000 to 21999 and then create and write your macro in the UCCNC/Profiles/macro folder.
Those codes and button call functions, so all of them calls the same number of macro.
cncdrive
Site Admin
 
Posts: 5054
Joined: Tue Aug 12, 2014 11:17 pm


Return to Macros

Who is online

Users browsing this forum: No registered users and 10 guests