EIB_ALL_DATA_TYPES_REC
This function block receives variable EIB data sizes on the set group address and outputs the raw data as a byte ARRAY.
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
strData_Rec : EIB_REC;
Group_Address: Group address from which the data were sent (see EIB_GROUP_ADDR). This group address must be entered in the filters!
strData_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).
VAR_OUTPUT
bDataReceive : BOOL;
EIB_Data_Receive : ARRAY [1..14] OF BYTE;
EIB_Data_Len : USINT;
bEIB_READ : BOOL;
bDataReceive: This bit is set to FALSE for exactly one cycle when an EIB telegram with the group address is received.
EIB_Data_Receive: Contains the user data of the received EIB telegram.
EIB_Data_Len: Contains the user data length of the incoming EIB telegram.
Data < 8 bit specified length 1
Data >=) 8 bit specified length +1
Example: If 1 bit of data is received, the length in EIB_Data_Len is 1. If 2 bytes of data are received, the length in EIB_Data_Len is 3.
bEIB_READ: TRUE = EIB read command. FALSE = normal EIB telegram (ab V5.2.5).