Appendix B. SIO
Configuration
Doc.#6000-0015 Rev: A
Page 51
9. If satisfied with the settings, click the “Program” button to write
the settings into flash memory.
10. To zero the engineering units, click the “Set Cal Offset” button to
set the Calibration Offset. To save this setting in memory, exit the
Signal Conditioning window and select “Program SIO” from the
SIO dropdown menu in the SIO Configurator main window.
Adding New Sensor Types
To add a new sensor type to CrossNet applications, update the SI.dat file to
include information describing the sensor. First, the type is added to the
sensor selection list in the file and then a new file section is added which
contains sensor information.
To add the sensor type to the selection list, open SI.dat in a text editor and
add a record to the [Sensors] section of the file using the format:
<index> = <type>
where the index is the next sequential item in the list and type is the type of
sensor being added. The type will appear in the General Type list in the
SIO Configurator application and the Type column of the Sensor table in
PC ComWare.
The sensor section contains records defining the:
Sensor type section name
Si units
Conversion parameters
The sensor section name has the form:
[Sensor.<type>]
The sensor SI units record has the format:
SI = <Si Units>, <Enumeration>, 0, 0, <meter exponent>,
<Kg exponent>, <Sec exponent>, <Amp exponent>,
<Kelvin exponent>, <Mole exponent>, <Ca exponent>
Most sensors can be defined by the exponents of their SI units. These types
include force, acceleration and temperature sensors. The units record for
these sensor types would have an enumeration value of 0. As an example,
force, defined as F=m*a, would be expressed as Kg*M*Sec
-2
. The units
line would then be:
SI = Newton, 0, 0, 0, 1, 1, -2, 0, 0, 0, 0
For sensors which can not be expressed in terms of SI units, such as those
which give results as a percentage, the enumeration value would be greater
than 3. As an example of a relative humidity sensor, the units line would
be:
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]
SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:[email protected]