Functions For Scripts - Honeywell X Series User Manual

Hide thumbs Also See for X Series:
Table of Contents

Functions for Scripts

(Scripting is not available on the eZtrend QXe).
Scripts evaluate at whatever the Analogue sample rate is set to.
There is 500 character limit for scripting
278
Boolean Operators
Not equal to
OR
XOR
Functions for Scripts
Else
Elseif
First run
If
Set Changed
Time Changed
Table 14.6 :
Syntax
!=
Returns a true or false result from testing if two
variables are not equal to each other. e.g. IF
(A1!=GLBV1)
||
Returns a true or false result from testing if one
or other or both tests are true. e.g. IF
(A1==GLBV1) || (A2!=GLBV2)
~
Returns a true or false result from testing if one
or other (but not both) tests are true. e.g. IF
(A1==GLBV1) ~ (A2!=GLBV2)
Table 14.7 :
Syntax
else
Steps into brackets to run. Must always finish
with a return.
else
{
return y;
}
elseif(x)
Carries out a conditional test and if true steps
into brackets to run. Must always finish with a
return.
elseif (x>4)
{
return y;
}
(FIRSTRUN)
Returns true if the script is being run for the
first time, otherwise returns false
if(x)
Carries out a conditional test and if true steps
into brackets to run. If false, steps to next test
without operating the contents of the brackets.
Next step will be either elseif or else.
Must always finish with a return.
If (x>5)
{
return y;
}
(SETUPCHAN
Returns true if the setup has been changed,
GED)
otherwise returns false
(TIMECHANG
Returns true if the time has been changed, oth-
ED)
erwise returns false
Description
Description
43-TV-25-30 Iss.6 GLO Aug 07 UK
Table of Contents
loading

This manual is also suitable for:

Multitrend sxMinitrend qxEztrend qxe

Table of Contents