Hello Guest it is March 28, 2024, 10:52:10 AM

Author Topic: Custom M Code activated Relay? How?  (Read 3461 times)

0 Members and 1 Guest are viewing this topic.

Custom M Code activated Relay? How?
« 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

vmax549

*
Re: Custom M Code activated Relay? How?
« Reply #1 on: March 27, 2009, 11:30:11 AM »
To turn it on use   Activatesignal(5)

To turn it off use   DeactivateSignal(5)

(;-) TP
Re: Custom M Code activated Relay? How?
« Reply #2 on: March 27, 2009, 11:33:08 PM »
it's work
thanks
Re: Custom M Code activated Relay? How?
« Reply #3 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