EIB_BIT_SEND_MANUAL
This function block sends a 1-bit EIB value to the parameterized group address. As entry value there is an EC61131-3 BOOL-Variable. The data is sent at a rising edge of bSend. As long as the block is active, the bit bBusy is set. bBusy is set back to FALSE if the EIB command is sent or an error occurs. An error is displayed by setting the variable bError. In this case the error code is given in iErrorID.
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
bSend : BOOL;
bData : BOOL;
str_Rec : EIB_REC;
Group_Address: Group address to which the data are sent (see EIB_GROUP_ADDR).
bSend: Positive edge sends EIB telegram.
bData: Range of values TRUE/FALSE.
str_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorID : EIB_ERROR_CODE;
bBusy: If the block is active bBusy is TRUE, if the EIB telegram is sent it is set back to FALSE.
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.