Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 09:58:22 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
Brains Development
Execute Button Script - how do you use it?
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Execute Button Script - how do you use it? (Read 1696 times)
0 Members and 3 Guests are viewing this topic.
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Execute Button Script - how do you use it?
«
Reply #10 on:
November 26, 2010, 10:07:27 AM »
Really........
after all, "How Hard Could IT Be?"
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #11 on:
November 28, 2010, 10:44:33 AM »
Thanks to Poppabear.....I got the "Execute Button Script" working. Since this topic was not real clear to me...I thought I would share the steps I used to make it work. In fact, I was able to trigger (3) different functions by using
If Then
statements in my script.
#1 Create (2) VB scripts;
The first script (m666) simply has this statement "SetTriggerMacro (1000)"
The second script (m1000) is the process, or processes, you want to run.
If isActive (OEMtrig1) then
******************X do something *********XX
end if
If isActive (OEMtrig2) then
******************X do something *********XX
end if
If isActive (OEMtrig3) then
******************X do something *********XX
end if
#2 Setup your hotkeys.
ex. Trigger#1 301, Trigger#2 301, Trigger#3 301
#3 Set your ports and pins
ex. oemtrigger#1 port10 pin5, oemtrigger#2 port10 pin6, oemtrigger#3 port10 pin7
#4 Write your Brain using the "execute buttonscript"
ex. oemtrigger#1--->no op---->execute button script
oemtrigger#2---->no op---> execute button script
oemtrigger#3--->no op--->execute button script
hope this helps,
Wayne
Logged
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #12 on:
November 28, 2010, 11:05:19 AM »
Here is my keypress brain and VB script
Wayne
keypress brain.brn
(10.35 KB - downloaded 88 times.)
-M1000-.m1s
(2.65 KB - downloaded 103 times.)
Logged
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #13 on:
November 28, 2010, 07:01:55 PM »
Finaly finished.....here's a photo of my finished pendant
DSCN4860.JPG
(89.88 KB, 640x480 - viewed 122 times.)
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
Offline
Posts: 1,994
Re: Execute Button Script - how do you use it?
«
Reply #14 on:
November 28, 2010, 07:16:51 PM »
That is beautiful!
Dave
Logged
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !
Dave->
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #15 on:
November 28, 2010, 11:09:10 PM »
Thanks, glad you like it.
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Execute Button Script - how do you use it?
«
Reply #16 on:
November 29, 2010, 08:03:00 AM »
Nice, did you use the PoPendant auto set up? on the config page? or "Roll your own".
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #17 on:
November 29, 2010, 12:06:29 PM »
Rolled my own, so I could connect the hardware to fit my needs.
I tried using the LCD and scan matrix keyboard configs but found the encoder become very jerky...appears the overhead of the keyboard scan and LCD was keeping the Pokey to busy for fluid encoder movements.
To solve the encoder issue, I hacked the 16key keyboard so each button is a indepenent key press....no scan required. I also disabled the LCD. These two changes allows the Pokey to provide smooth encoder movements and yet allow the use of all the different key presses
Wayne
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: Execute Button Script - how do you use it?
«
Reply #18 on:
November 30, 2010, 08:09:03 AM »
fixed that, in version 10.6.2 of the pokeys install from boris site, (he also did a firmware upgrade 2.17 I think), that addressed some of those issues from his end as well.
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Rademacher
Active Member
Offline
Posts: 25
Give it a try! How hard can it be?
Re: Execute Button Script - how do you use it?
«
Reply #19 on:
November 30, 2010, 10:18:23 AM »
This great news.....I really want to use the LCD.
I had the latest pokey plugin, but the pokey firmware was out of date. I will to the update and give it a try
thanks for the support Scott
Logged
Pages:
«
1
2
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...