EIB_ALL_DATA_TYPES_REC_EX

EIB_ALL_DATA_TYPES_REC_EX 1:

This function block receives variable EIB data for all group addresses and outputs the raw data as a byte array.

EIB_ALL_DATA_TYPES_REC_EX 2: Inputs

VAR_INPUT
  strData_Rec   : EIB_REC;
END_VAR

Name

Type

Description

strData_Rec

EIB_REC

The data structure with which the function block KL6301() must be linked.

EIB_ALL_DATA_TYPES_REC_EX 3: Outputs

VAR_OUTPUT
  bDataReceive     : BOOL;
  Group_Address    : EIB_GROUP_ADDR;
  EIB_Data_Receive : ARRAY [1..14] OF BYTE;
  EIB_Data_Len     : USINT;
END_VAR

Name

Type

Description

bDataReceive

BOOL

This bit is set to FALSE for exactly one cycle when an EIB telegram with the group address is received.

Group_Address

EIB_GROUP_ADDR

Group address from which the data were sent. This group address must be entered in the filters!

EIB_Data_Receive

ARRAY OF BYTE

Contains the user data of the received EIB telegram.

EIB_Data_Len

USINT

Contains the user data length of the receiving EIB telegram. / Data < 8 bits specified length 1, / Data >=) 8 bits specified length +1 / Example: If you receive 1 bit of data, the length in EIB_Data_Len is 1. If you receive 2 bytes of data, the length in EIB_Data_Len is 3.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0