Page 38 May 2014 – TD 293 OPERATING MANUAL – SmartGuard 5100/5120/5300/5320
Open
Serial Sensors
in the
Device
Layout
.
IMPORTANT!
Refer the sensor operating manual for
configuring the sensor to present an
output that subsequently can be
defined Refer also chapter 6.2.1.
Figure 6-2 Serial sensor layout.
6.2.1
Specifying a data format for the serial sensor
IMPORTANT! Please read the data format description below before adding a new data format.
Data format description:
Serial sensors transmit their data as an ASCII text string. In order to interpret this string SmartGuard needs
to know the format, which particular value to catch and its meaning. Thus the first thing to consider when
preparing to add a new serial sensor is its data format.
Use the particular sensor’s operator’s manual to pre-set/configure the sensor for an operational mode
where the measured data are transmitted (as a single line of text, or multiline), either automatically after
power up or following a request command issued by the user.
Given the exact format of the data text line transmitted from the sensor a corresponding data format
definition must be created on the SmartGuard using the ‘
New Custom Data Format’
dialog, refer Figure 6-3.
The format must have a unique name and must be stored in the layout. If two or more sensors happen to
have equal format for their transmitted data the same data format can be applied to both.
Predefined
Message Components
(refer Figure 6-4) are arranged in the same sequence as in the data string
from the sensor. The delimiters used by the sensor must be equal positioned in the format. Values or text
not interpretable by SmartGuard or not used can be skipped using the
Discard
component. To catch one or
more measured parameter value use the
Input Channel
element, once for each value.
The
Input Channel
component matches actual data values from the device.
The
Discard
component matches any element in the data format that cannot be properly matched or that
simply should not be saved, e.g. a description text or some other data that cannot be used.
Procedure for adding a new data format:
Press
Add
underneath the Data Formats list to enter the dialog ‘
New Custom Data Format’
, refer Figure 6-2.
Edit the format name in the
Format description
text box at the top of the windows.
Add serial sensor
Add data format