Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:21:11 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Update DRO from Modbus
Pages: « 1 2   Go Down
Print
Author Topic: Update DRO from Modbus  (Read 4211 times)
0 Members and 2 Guests are viewing this topic.
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #10 on: March 26, 2009, 07:08:51 PM »

While you can run a "button/macro" from a Brian, it is a major pain in the ass.....

So, I would probably move your script to the Macro pump, like this: I will call your script, "My script here"
Map your hand held script trigger button to something like OEMTRIGGER1 or something (enable that in PP).

macropump.m1s

counter = GetUserDRO(2200)

if IsActive(OEMTRIGGER1) and counter = 0 then
"My script here"
counter =1
end if

if NOT(IsActive(OEMTRIGGER1)) and counter = 1 then
counter =0
end if


'Shamless plug here as well: if you want you could by a copy of my Mach MAD plug in, you can then run upto 15
'different Macros from upto 15 different input LED triggers............. hehehe

'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/
Kisssys
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #11 on: March 26, 2009, 07:46:31 PM »

Thanks Poppabear
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #12 on: March 26, 2009, 09:24:22 PM »

 Grin
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/
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!