Receive IP/EIB telegrams
Contents

1.Introduction

Firstly, this function allows any structured data to be received via an IP connection. Receiving is not limited to pure text data, but rather also enables working with binary data.
Secondly, 14-byte EIB data can be evaluated.

Two different types of telegram are supported:
- Telegrams of IP devices
- Telegrams of 14-byte communication objects from the EiB

Telegrams can be evaluated in two different ways:
- Simple telegram, evaluation through definition of individual data blocks.
- Complex telegram, evaluation using a regular expression and assignment of data blocks.

The assigned commands are carried out after the telegram is successfully evaluated.

The last telegrams that have arrived are logged on the debug page in the Receive event section. In the section Event ports all IP ports are listed at which the HS/FS can receive IP telegrams.

2.Application

- Exchange of values between two HS/FS.
- Reception of data and values of other IP devices (e.g. IP cameras).

3.Examples

4.Importing and exporting libraries

Completed telegrams can be saved as a library with import and export functions and used again in other projects. It is possible to export individual telegrams or complete folders including subfolders. If a library contains several queries, these are always imported in a single stage, this means one folder is saved at maximum. All telegrams can then be found in this folder.

During import, the option exists of entering the IP port, sender IP or network, network mask, multicast address, or the communication object for all telegrams. For this, the data is suggested that is found in the library to be imported from the HS/FS-Expert. All the imported telegrams are pre-assigned these values. Different fields can be active depending on the type of the library.

If further objects are used in the library (e.g. communication objects, sequences, etc.), a project-specific implementation has to be carried out in the "Objects" tab. On the basis of the object description and the type, you can recognise which function the object has.

5.Sender

Designation

The incoming telegram / sender / function is maintained under this term in the HS/FS Expert.

5.1.Data received from IP sender

The sender of the telegram is an IP device.

IP telegram type

TCP (TCP stands for Transmission Control Protocol)
UDP (UDP stands for User Datagram Protocol)
UDP/Multicast

IP port reception

The HS/FS monitors this port with regard to incoming telegrams.

Sender IP or network

The telegram reaches the HS/FS from this IP address or from this network. Telegrams from other addresses and networks are not evaluated.
Note
This field is optional.

Net mask

This net mask defines the sending address range.

Multicast address

Defines the multicast address (if UDP Multicast was selected).

5.2.Data received from EIB sender

The sender of the telegram is an EIB device.

Communication object

The telegram is sent to this communication object. The communication object must be of type 14-byte, other types are not permitted.

6.Receive (simple telegram)

If a "simple telegram" was defined when saving, the Data blocks to be received are defined in this list.

7.Receive (complex telegram)

If a "complex telegram" was defined during saving, the definition of a regular expression is necessary. The following field is used for this. The defined data blocks are dependent on the regular expression.

Regular expression

Defines the "regular expression" which is used to evaluate the telegram.

8.Commands

Commands can be carried out after successful evaluation of the telegram.