Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: System variables Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Stellar
Newbie
Newbie


Joined: September 12 2010
Location: Russian Federation
Online Status: Offline
Posts: 8
Posted: May 05 2011 at 12:54 | IP Logged Quote Stellar

Hi,
how quickly see the value of system variables?(TEMP1-10)
Back to Top View Stellar's Profile Search for other posts by Stellar
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: May 05 2011 at 13:15 | IP Logged Quote BeachBum

If you mean how can I see what the values are you can use this in a macro or trigger;

"TEMPS " + "|" + ph_getvar_s(2,1) + "|" + ph_getvar_s(2,2) + "|" + ph_getvar_s(2,3) + "|" + ph_getvar_s(2,4) + "|" + ph_getvar_s(2,5) + "|" + ph_getvar_s(2,6) + "|" + ph_getvar_s(2,7) + "|" + ph_getvar_s(2,8) + "|" + ph_getvar_s(2,9) + "|" + ph_getvar_s(2,10) + "|"


__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
Stellar
Newbie
Newbie


Joined: September 12 2010
Location: Russian Federation
Online Status: Offline
Posts: 8
Posted: May 06 2011 at 11:40 | IP Logged Quote Stellar

not working:

Formula Evaluation
     Execution time: 0,000 seconds.
     The formula evaluates to: TEMPS |||||||||||
Back to Top View Stellar's Profile Search for other posts by Stellar
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 06 2011 at 11:48 | IP Logged Quote grif091

The Formula Builder will not show TEMPS as there are no temp variable values in that environment. Code a Macro and use the expression in a User Message.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 06 2011 at 13:48 | IP Logged Quote grif091

The following list of variable information came from a Macro User Message that was invoked from Trigger TICONON

temp1= TICONON temp2= 203 temp3= 0 temp4= 1 temp5= temp6= 16 temp7= ICON SWITCH TEST temp8= 1 temp9= 17 temp10= 04.56.50

"temp1= " + ph_getvar_s(2,1) + " temp2= " + ph_getvar_s(2,2) + " temp3= " + ph_getvar_s(2,3) + " temp4= " + ph_getvar_s(2,4) + " temp5= " + ph_getvar_s(2,5) + " temp6= " + ph_getvar_s(2,6) + " temp7= " + ph_getvar_s(2,7) + " temp8= " + ph_getvar_s(2,8) + " temp9= " + ph_getvar_s(2,9) + " temp10= " + ph_getvar_s(2,10)


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 

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