Hello Guest it is November 15, 2019, 06:34:49 PM

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

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
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
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: Update DRO from Modbus
« Reply #11 on: March 26, 2009, 08:46:31 PM »
Thanks Poppabear

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Update DRO from Modbus
« Reply #12 on: March 26, 2009, 10:24:22 PM »
 ;D
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/