Skip to content
Menu
Menu

Knowledge Base

KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

Product: Elvis
Version: from 2.4
Booth: 2006-05-10

Summary

The sensor interface 850286 ADOLF THIES GmbH (http://www.thiesclima.com/) is used for the acquisition of measured values and remote transmission of measured values (especially climate values) via a 4/5-wire RS232/RS422 cable. The Elvis Custom Port can be used to connect the interface to Elvis.

You can download the sample project and script for the custom port here: thies_clima.zip (120 KB).

Details

The sensor interface

According to the given configuration (automatic telegram output), the sensor interface sends a telegram with a length of 82 bytes. The telegram consists of the measured value data, separated by a space at a time. It is completed by a line return (CR) and a line feed (LF).

The exact composition of the telegram can be found in the operating instructions of the sensor interface 850286.

An example should suffice here:

0126 16000 0 34.2 632 100.0 50.0 160 12.7 14.4 -1.0 180 18.4 0 0.0 ????<CR><LF>
No. Value Description
1 0126 Number of measurements since the start of the IF
2 16000 Visibility in meters
3 0 Status Sun (Yes = 1/No = 0)
4 34.2 Instantaneous value relative humidity in %
5 632 Instantaneous value of radiation (1W/10μV)
6 100.0 Instantaneous value 0–20 mA in %
7 50.0 Instantaneous value 0–20 mA in %
8 160 Fan current, weather & radiation protection in mA
9 12.7 Instantaneous value of temperature 1 in °C
10 14.4 Instantaneous value of temperature 2 in °C
11 -1.0 Instantaneous value of temperature 3 in °C
12 180 Instantaneous value of the wind direction in °
13 18.4 Instantaneous value of wind speed in m/s
14 0 Precipitation status (Yes = 1 / No = 0)
15 0.0 Sum of precipitation since IF start in mm/d
16 ???? Cloud height in meters
17 CR Line back jump
18 LF Line feed
Elvis Custom Port

The Custom Port is a connector for communicating with devices via serial protocols. The implementation of the foreign protocol is done in a script. This script contains all the settings necessary for communication to establish communication as well as the instructions for processing incoming and outgoing shipments (telegrams). This means that all essential operations are in our hands, but creating a script is not difficult. Special functions for data exchange with the process server and communication with the device make our work easy!

Notes on the functionality of the basic script “thies.bas”

The “thies.bas” script actually works relatively simply.

When switched on, the sensor interface sends a “header” (start information: version number, release date, CPU clocking…). This information can optionally be displayed in Elvis (but does not have to). Elvis obtains the actual data on request (cyclically / in a defined period of time) by setting the control sequence “<STX>Mm<ETX>” (<STX> and <ETX> are the ASCII codes 2 and 3) to the sensor interface. This in turn responds to the request and sends a data string containing the measured values.

The measured values are filtered by the Basic Script and cached in a structure. Formatting to the correct data type takes place before the measured values are sent to Elvis. Formatted in this way, the user can continue to use the measured values normally.

Important: hidden or unused channels are sent by the script as a string to Elvis. If these are still to be displayed, the data point type “Text” must be selected. Otherwise, the data points are to be used as a “value”.

Note: The addresses of the data points for the respective measured values are defined in the script (but can be changed as desired).

Support Area

KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.
KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

Case Studies

Successful in use: practical examples of our products and individual developments.
KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

Support

Describe your concern using our support form.
KB050118 | ELVIS’ ACCESS TO THIE’S SENSOR INTERFACE

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2024. IT GmbH | Webdesign by Appear Online