EIB_ALL_DATA_TYPES_REC

EIB_ALL_DATA_TYPES_REC 1:

This function block receives variable EIB data sizes on the set group address and outputs the raw data as a byte ARRAY.

EIB_ALL_DATA_TYPES_REC 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  strData_Rec   : EIB_REC;
END_VAR

Name

Type

Description

Group_Address

EIB_GROUP_ADDR

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

strData_Rec

EIB_REC

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

EIB_ALL_DATA_TYPES_REC 3: Outputs

VAR_OUTPUT
  bDataReceive     : BOOL;
  EIB_Data_Receive : ARRAY [1..14] OF BYTE;
  EIB_Data_Len     : USINT;
  bEIB_READ        : BOOL;
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.

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.

bEIB_READ

BOOL

TRUE = EIB read command. FALSE = normal EIB telegram (from v3.3.5.0).

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0