Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Known Bugs
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?
February 13, 2012, 06:14:57 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
VB and the development of wizards
How do I detect a jog system hotkey was pressed?
Pages:
1
Go Down
« previous
next »
Author
Topic: How do I detect a jog system hotkey was pressed? (Read 535 times)
0 Members and 1 Guest are viewing this topic.
lfleiva
Active Member
Offline
Posts: 33
How do I detect a jog system hotkey was pressed?
«
on:
August 26, 2010, 08:20:43 PM »
Hi!
I want to detect when a jog system keystroke was pressed in order to run a macro before the actual jog is performed for security reasons.
In other words: run a script when a certain keyboard keystroke used as hotkey was made.
Is this possible?
Thanks!
Luis
Logged
sunmix
Active Member
Offline
Posts: 35
Re: How do I detect a jog system hotkey was pressed?
«
Reply #1 on:
August 31, 2010, 02:40:32 PM »
setup a brain that maps all the jog buttons to a user led, say 1010. on your vb you can do something about it, i'm sure.
a = getuserLED(1010)
if (a = 0) then..
else..
end if
Logged
ger21
Global Moderator
Offline
Posts: 2,476
Re: How do I detect a jog system hotkey was pressed?
«
Reply #2 on:
August 31, 2010, 03:12:28 PM »
Not sure if you can actually do anything before it jogs, though??
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,690
Briceville, TN, USA
Re: How do I detect a jog system hotkey was pressed?
«
Reply #3 on:
September 03, 2010, 08:24:31 AM »
Yes you can do it how your talking about, in a round about way........
Put the VB code in the Jog Buttons you want to watch in screen designer, including the DoOEMButton code for the jog button so it all runs in VB.
you can still set a "HOT KEY" that will activate the button itself.
OR, if you want to execute the SAME security check on multiple jog buttons, I would then make your self a "Security Check" macro.
i.e.
' M1001.m1s
' Security Check Macro
' /// your security check macro code here ///
' end of macro
Then again in your Jog buttons that your watching, there is a Radio button that you tick in screen designer 3 and 4, or (my preference Mach Screen by Klaus), you add all the VB code in the button. NOTE: you can find the Mach Specific VB codes for Buttons, LEDs, and DROS on the Wiki, Ray's stuff, in the Memeber docs is some of mine, and I believe several other people have posted various compliations......... I think the Wiki has the VB organized in USE types, i.e. all buttons together, all LEDs together etc.
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/
lfleiva
Active Member
Offline
Posts: 33
Re: How do I detect a jog system hotkey was pressed?
«
Reply #4 on:
September 04, 2010, 11:16:55 AM »
>Put the VB code in the Jog Buttons you want to watch in screen designer, including the DoOEMButton code for the jog button so it all runs in VB.
>you can still set a "HOT KEY" that will activate the button itself.
I'll try that.
Thanks for all the replies!
Luis
Logged
Pages:
1
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
=> 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.
Loading...