Hello Guest it is July 19, 2019, 09:10:36 AM

Author Topic: Pokeys57E and VBscript button  (Read 4933 times)

0 Members and 1 Guest are viewing this topic.

Pokeys57E and VBscript button
« 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

Offline Chaoticone

*
  • *
  •  5,524 5,524
  • Precision Chaos
    • View Profile
Re: Pokeys57E and VBscript button
« Reply #1 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Pokeys57E and VBscript button
« Reply #2 on: September 14, 2013, 12:39:01 AM »
Thanks!
Looks a lot of work, i will try and let you know...
Re: Pokeys57E and VBscript button
« Reply #3 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?

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Pokeys57E and VBscript button
« Reply #4 on: September 14, 2013, 05:07:55 AM »
I brought this up here a while back.

I rattled Brian's cage but...

Ian