Author |
|
Stellar Newbie

Joined: September 12 2010 Location: Russian Federation
Online Status: Offline Posts: 8
|
Posted: May 05 2011 at 12:54 | IP Logged
|
|
|
Hi,
how quickly see the value of system variables?(TEMP1-10)
|
Back to Top |
|
|
BeachBum Super User


Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 05 2011 at 13:15 | IP Logged
|
|
|
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 |
|
|
Stellar Newbie

Joined: September 12 2010 Location: Russian Federation
Online Status: Offline Posts: 8
|
Posted: May 06 2011 at 11:40 | IP Logged
|
|
|
not working:
Formula Evaluation
Execution time: 0,000 seconds.
The formula evaluates to: TEMPS |||||||||||
|
Back to Top |
|
|
grif091 Super User

Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: May 06 2011 at 11:48 | IP Logged
|
|
|
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 |
|
|
grif091 Super User

Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: May 06 2011 at 13:48 | IP Logged
|
|
|
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 |
|
|