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 28, 2012, 11:36:42 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
MPG mode type selector toggle brain
Pages:
1
Go Down
« previous
next »
Author
Topic: MPG mode type selector toggle brain (Read 2111 times)
0 Members and 2 Guests are viewing this topic.
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
MPG mode type selector toggle brain
«
on:
February 20, 2008, 09:34:50 AM »
shorty,
Here is the Brain, you will need to tick Persistant DROS under general if you want mach to remember its state between shutdowns.
You press INPUT4 it will toggle between volocity, and Multistep.
scott
ToggleMPGmode.brn
(4.39 KB - downloaded 328 times.)
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/
gfosdike
Active Member
Offline
Posts: 9
Re: MPG mode type selector toggle brain
«
Reply #1 on:
December 16, 2010, 06:22:01 PM »
Hi,
I've just tried your brain, and it won't reset the oemdro back to zero on my machine.
Not sure if I'm missing something?
Cheers
Gary
Logged
DaOne
Active Member
Offline
Posts: 229
Re: MPG mode type selector toggle brain
«
Reply #2 on:
December 16, 2010, 09:06:21 PM »
Scott, is there a way to keep jog on the MPG1 until an arrow key is pressed and the when it is released its back to mpg mode? Tried it with simple scripting and it locked jog on a key press when using "dooembutton (jogkey)" in a script. Since I see this is very close to what I am asking I would post it here.
Thanks,
Wes
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: MPG mode type selector toggle brain
«
Reply #3 on:
December 17, 2010, 12:05:37 AM »
Quote
Scott, is there a way to keep jog on the MPG1 until an arrow key is pressed and the when it is released its back to mpg mode? Tried it with simple scripting and it locked jog on a key press when using "dooembutton (jogkey)" in a script. Since I see this is very close to what I am asking I would post it here.
Thanks,
Wes
Wes,
I don't think you can do what you want directly..... I dont thing Cypress Enable has a way for you to get "KeyDown" and "KeyUp" events from the keyboard, if it did, you could use VB. In a screen set, you can tie a button to a Key press, but this is only for a single shot KeyDown (press event), it doesnt throw a key released.
so if you used that method, it would not work right eigther I dont think. Brains also, does not have any key watch functions..... so no joy there......
You could do it with Hardware, i.e. Pokeys, ModIO, modbus boards, (modbus devices), shuttle pro.....and otehr devices that would bring in hardware Discrete Inputs.
i.e. if you had a PoKeys, on of its pins would represent some + or - dir of some axis, when you press it, it would jog that way, when released it would stop, in mach you could watch a ULED that would be tied to that pin, and if that ULED is on, (0r any of the cont external hardwaer jog pins), it would flip mach to cont jog type, when released, then MPG mode back again.......
Last two options would be:
1). A plugin, since C++ can grab key events.
2). A flash screen, since it has key listeners.
Others may have other opions, that do more VB than me, I just dont see the kind of power you want, in cypress enable. Standard VB yes...
sorry,
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/
DaOne
Active Member
Offline
Posts: 229
Re: MPG mode type selector toggle brain
«
Reply #4 on:
December 17, 2010, 12:12:34 AM »
Yeah I made it work in flash just fine. I just have issue on a couple of computers with flash screens being very slow. I was hoping to do it with a standard screenset. My biggest issue with using other hardware its for a touchscreen interface.
Thank you for the help,
Wes
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: MPG mode type selector toggle brain
«
Reply #5 on:
December 17, 2010, 10:53:10 AM »
if your running a flash scxreen, make sure ypur publishing in Flash Player 8 format, and AS2......
ALSO!!!!! Make sure your not running a Flash player PAST newer than "Flash Player 9"!!! if you are, it will slow things down.....
look in the flash screens area, and Jason, or me, can't remember put a download for FP9.
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/
DaOne
Active Member
Offline
Posts: 229
Re: MPG mode type selector toggle brain
«
Reply #6 on:
December 17, 2010, 11:27:58 AM »
Scott,
I will give that a shot. I use Flash CS4 and have been saving the files in the default for that version. Also i thing its false player 10. Computer that's running Mach is a P4 2.4 ghz w/ 1 gig of ram. I am running twin PP on it 25000 Hz. I figured it should be enough to run a 2 axis lathe with a flash screen. What are your thoughts on this?
Thanks again for all your help. I really appreciate it.
Wes
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: MPG mode type selector toggle brain
«
Reply #7 on:
December 17, 2010, 06:57:13 PM »
I use CS4 here as well, you will need to compile to flash 8, and only run player 9 on your comp. REMOVE player 10!!
I usually run in CS3 mode as well......
also, on this very site, I posted up a long time ago, a Mach3 Lathe OEM screen, (redone in flash), complete with source code. You can down load that, and use it as your base to mod your own lathe screen....
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/
kevingi
Active Member
Online
Posts: 6
Re: MPG mode type selector toggle brain
«
Reply #8 on:
May 10, 2012, 10:09:51 AM »
I tried the brain in this discussion and it didn't work.... I came up with a simple toggle brain that works for me. I have a 4 axis MPG but my machine is 3 axis. I want to be able to switch the MPG from Velocity mode to Step mode using the 4th axis switch since it is unused. The brain looks at the state of the Velocity and Step LED's and decides which mode button to push based on their state. These LEDs are not in the drop down list but if you just type in the number in the dialog box, the brain editor takes them and they seem to work!
Toggle Brain.JPG
(77.95 KB, 1199x405 - viewed 9 times.)
mine.brn
(4.36 KB - downloaded 3 times.)
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
=> 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...