Hello Guest it is March 29, 2024, 06:19:44 AM

Author Topic: Update DRO from Modbus  (Read 10925 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Update DRO from Modbus
« Reply #10 on: March 26, 2009, 08: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
fun times
Re: Update DRO from Modbus
« Reply #11 on: March 26, 2009, 08:46:31 PM »
Thanks Poppabear

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Update DRO from Modbus
« Reply #12 on: March 26, 2009, 10:24:22 PM »
 ;D
fun times