Serial Port Key=Value sensor
Description
The sensor can receive information via the serial port in the key=value format.
The sensor requires each data item to be written on a separate line.
The item name is placed before the equal sign(=), and the value is placed after it.
Parameters
Port
Serial Port name. Example: COM9.
Baud
Bits per second. Allowed values: 75 - 128000
DataSize
4 - 8 bits
Parity
A parity bit is a bit added to a string of binary code. Allowed values: none, odd, even, mark, space.
StopBits
Stop bits. Allowed values: 1, 1.2, 2
ReceiveAll
Accept all values, not just those specifically listed
Items
The list of data items to be accepted if the "ReceiveAll" checkbox is not specified.
For each item, you can specify the unit of measure and scaling options.
Data Items
The sensor generates a different number of items depending on the input data.
For example: through Serial Port were received two strings with the following content:
item1=42 item2=42.42As a result, two elements with the corresponding values will be set.