Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: ardona on March 27, 2009, 02:07:48 AM

Title: Custom M Code activated Relay? How?
Post by: ardona on March 27, 2009, 02:07:48 AM
How to activated relay (ex : output 5) with custom M code ( ex : M10 and M11 to deactivated) or add new button on the screen to do it?
Please Help.

regards
ardona, indonesia
Title: Re: Custom M Code activated Relay? How?
Post by: vmax549 on March 27, 2009, 11:30:11 AM
To turn it on use   Activatesignal(5)

To turn it off use   DeactivateSignal(5)

(;-) TP
Title: Re: Custom M Code activated Relay? How?
Post by: ardona on March 27, 2009, 11:33:08 PM
it's work
thanks
Title: Re: Custom M Code activated Relay? How?
Post by: ardona on March 27, 2009, 11:49:36 PM
i used below:


M10.m1s
activatesignal (output5)

M11.m1s
deactivatesignal (output5)

and save in the folder in the right place (mach3/macros/mach3mill