sharby Groupie
Joined: May 13 2007 Location: United States
Online Status: Offline Posts: 50
|
Posted: September 02 2007 at 03:08 | IP Logged
|
|
|
Here is a sample script of the Stargate LCD96m switching from Green to Red (and vice versa) from the ELK/PowerHome. I used an ELK IP232 interfaced to COM1 on the Stargate (A PH plugin is configured in PH as SG-WEBX). I will post this plugin in my next post.
Trigger#1:
ARM-GREEN RawFormula ph_picmd(5,"SG-WEBX",1,0,0,"##%250100~r","")
Analog In ELKARMSTATUS
Trigger#2:
ARM-RED RawFormula ph_picmd(5,"SG-WEBX",1,0,0,"##%250101~r","")
Analog In ELKARMSTATUS
I am basic changing flag 01 (the second configurable flag) from 00 to 01 and vice-versa. I have writed a script in Stargate to automatically change from Red to Green in WinEVM.
Let me know if you need more info.
-=*Sharby*=-
|