Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: soulvoid on December 13, 2012, 08:13:56 AM

Title: Calling plugin from G-Code/Macro
Post by: soulvoid on December 13, 2012, 08:13:56 AM
Hi,

is it possible to call a function in a plugin from g-code as in calling a script from g-code which in turn call the plugin? Is the only interface the NotifyPlugin call? I'm guessing the value sent to NotifyPlugin should be unique then to avoid conflicts?

regards

HÃ¥vard
Title: Re: Calling plugin from G-Code/Macro
Post by: BR549 on December 13, 2012, 11:52:16 AM
You could put your plugin call in a macro then call that macro from Gcode.


(;-) TP