Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome and Stargate
 PowerHome Messageboard : PowerHome and Stargate
Subject Topic: Stargate LCD96M RED/GREEN Update Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: September 02 2007 at 03:08 | IP Logged Quote sharby

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*=-
Back to Top View sharby's Profile Search for other posts by sharby
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum