EIB_READ_SEND

EIB_READ_SEND 1:

Application

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 must be parameterized accordingly.

VAR_INPUT

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

Group_Address: Group address to which the data are sent (see EIB_GROUP_ADDR).

bRead: Rising edge starts the block and sends a Read_Group_Req to the EIB device.

For receiving a response the group address must be entered in the filter!

str_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).

VAR_OUTPUT

bError         : BOOL;
iErrorID       : EIB_ERROR_CODE;
bBusy          : BOOL;

bError: The bError output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorID.

iErrorID: The output issues an error code when an error occurs (see EIB_ERROR_CODE). Simultaneously bError is TRUE.

bBusy: The block is active. For new functions wait until bBusy is set back to FALSE.

EIB_READ_SEND 2: