EIB_READ_SEND

EIB_READ_SEND 1:

This function block sends a Read_Group_Req to the set group address. For receiving a Read_Group_Res the group address filter of the KL6301 has to be parameterized accordingly.

EIB_READ_SEND 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  bRead         : BOOL;
  str_Rec       : EIB_REC;
END_VAR

Name

Type

Description

Group_Address

EIB_GROUP_ADDR

Group address to which the data are sent. This group address must be entered in the filters!

bRead

BOOL

Positive edge starts the function block and sends a Read_Group_Req to the EIB device. To receive a response, the group address must be entered in the filter!

str_Rec

EIB_REC

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

EIB_READ_SEND 3: Outputs

VAR_OUTPUT
  bError        : BOOL;
  iErrorID      : EIB_ERROR_CODE;
  bBusy         : BOOL;
END_VAR

Name

Type

Description

bError

BOOL

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

iErrorID

EIB_ERROR_CODE

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

bBusy

BOOL

The function block is in operation as long as bBusy is set, i.e. TRUE. Please wait until bBusy changes to FALSE.

EIB_READ_SEND 4:

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0