EIB_REC

Links the send and receive function blocks with the function block KL6301.

TYPE EIB_REC :
STRUCT
  Rec_Group      : EIB_GROUP_ADDR;
  Rec_Len        : INT;
  Rec_Idx        : INT := 1;
  Rec_Data       : ARRAY[1..15] OF BYTE;
  Rec_bWriteBusy : BOOL;
  Rec_bReadBusy  : BOOL;
  Rec_bReady     : BOOL;
  Rec_bError     : BOOL;
  Rec_iErrorID   : EIB_Error_Code;
  pStr_Send      : PVOID;
  Rec_Data_rec   : BOOL;
  Rec_Typ        : EIB_Read_Typ;
END_STRUCT
END_TYPE

Name

Description

Rec_Group

Group address (see EIB_GROUP_ADDR)

Rec_Len

Length

Rec_Idx

Index

Rec_Data

Data bytes

Rec_bWriteBusy

Data is written

Rec_bReadBusy

Data is read

Rec_bReady

Ready

Rec_bError

This output goes TRUE as soon as an error occurs. This error is described via the Rec_iErrorID variable.

Rec_iErrorID

This output outputs an error code in the event of an error (see EIB_ERROR_CODE). bError goes TRUE at the same time.

pStr_Send

Pointer to the data to be sent.

Rec_Data_rec

Signals reception of data.

Rec_Typ

Type of telegram.

Requirements

Development environment

required TC3 PLC library

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0