XLINK 500/100 Operations & Maintenance Manual page # 93
The field
Use Equations
can be set to enabled or to disabled. It determines whether equation
processing is to be applied to the raw data. The field
Equation
can be set to an ASCII string no
longer than 128 bytes (per measurement). That field contains the equation to be applied.
If both
Equations
and
Slope
and
Offset
are used,
Slope
and
Offset
are applied after the equation
is processed.
For example, to convert Fahrenheit to Celsius, type into command line:
M1 EQUATION = (X-32.0)*5/9
In the example above, X refers to the sensor reading.
LinkComm comes preloaded with equations for many types of sensors. To see the equations,
press “Template…” and then select the desired equation from the
drop-down box.
Equation processing can take a while to complete (up to several seconds). If
you are using a lengthy equation, the system may not be able to complete a
measurement every second, or even every two seconds (see
Bad Schedule
in
the Error section).
9.4.5.
Equations: Syntax
The equation is expressed in terms of "X" which will be applied to incoming sensor data.
The expression is not case sensitive.
The following functions are available: