Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: giannis121 on September 09, 2013, 09:09:27 AM

Title: Pokeys57E and VBscript button
Post by: giannis121 on September 09, 2013, 09:09:27 AM
How can i hit a button on mach3 that contains some VBscript,
by using Pokeys Ethernet (hardware button connected on input pin).

I had done it with USB Pokeys in the past by key mapping.
But as i can see there is no key mapping on ethernet Pokeys.
Am i right?

Send me some ideas pls.
Regards,
Giannis
Title: Re: Pokeys57E and VBscript button
Post by: Chaoticone on September 09, 2013, 02:43:04 PM
Search this doc for SetTriggerMacro.

http://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf

Alternatley, you could use the pokeys to turn on an led and have the macro pump execute the Script if the LED is on.

Brett
Title: Re: Pokeys57E and VBscript button
Post by: giannis121 on September 14, 2013, 12:39:01 AM
Thanks!
Looks a lot of work, i will try and let you know...
Title: Re: Pokeys57E and VBscript button
Post by: giannis121 on September 14, 2013, 03:58:10 AM
Thank you Brett,
everything works as the document describes.

One thing that is happening now is that the Macro runs only after finishing the shape cutting and not in the middle of cutting.
That's a problem, while it contains also a "pause" call and should pause durring cutting.
Got any idea?
Title: Re: Pokeys57E and VBscript button
Post by: stirling on September 14, 2013, 05:07:55 AM
I brought this up here (http://www.machsupport.com/forum/index.php/topic,23679.0.html) a while back.

I rattled Brian's cage but...

Ian