Converting to us units, Operators, Examples – Echelon LonPoint Application and Plug-In User Manual
Page 159: Saving and exiting, The lonpoint application and plug-in guide 11-13
![background image](/manuals/735719/159/background.png)
The LonPoint Application and Plug-in Guide
11-13
v is a floating point variable
Operators
Relational Operators and their semantics
v
1
= v
2
v
1
must be the same as v
2
v
1
!= v
2
v
1
must not be the same as v
2
v
1
< v
2
v
1
must be less than v
2
v
1
<= v
2
v
1
must be less than or equal to v
2
v
1
> v
2
v
1
must be greater than v
2
v
1
>= v
2
v
1
must be greater than or equal to v
2
Arithmetic Operators
v
1
+ v
2
the floating point sum of v
1
and v2
Boolean Operators
exp
1
& exp
1
If exp
1
and exp
1
are both true, the expression will
evaluate as true. If either exp
1
or exp
1
are false, the
expression will evaluate as false.
exp
1
| exp
1
If either exp
1
or exp
1
are true, the expression will evaluate
as true. If both exp
1
and exp
1
are false, the expression will
evaluate as false.
Examples:
Example 1
c
1
< 25.4 the value of c
1
must be less than 25.4
c
1
+10 <= c
2
the value of c
1
must be 10 less than the value of c
2
Example 2
c
1
< 25.4 the value of c
1
must be less than 25.4
20.5 <= c
1
& c
1
<= 26.5 the value of constant c
1
must lie between 20.5 and 26.5
c
1
< c
2
& c
2
< c
3
& c
3
< 29.2 the value of c
1
must be less than the value of c
2
which
must less than the value of c
3
. All must be less than 29.2
Saving and Exiting
To save the changes made using Schedule Keeper, click the Save Changes
button or select Save from the File menu. This will download the changes to
the SCH-10 device, if attached, and return Schedule Keeper to the start-up
window. To exit Schedule Keeper without saving the changes, select Exit from
the File menu.
Converting to US Units
By default, the values used for comparisons in System Parameter Constraint
equations are the native values used by the network variables. For example, a
network variable of type SNVT_temp_f would use degrees Celcius as its units.