EIB_BIT_SEND_MANUAL

This function block sends a 1-bit EIB value to the set group address. An IEC61131-3 BOOL variable is available as input value. The data is sent when bSend has a positive edge. bBusy is set as long the function block is active. bBusy is set to FALSE once the EIB command was sent or if an error occurs. An error is indicated by setting the bError variable. The error code is indicated in the iErrorID.
Inputs
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
bSend : BOOL;
bData : BOOL;
str_Rec : EIB_REC;
END_VAR
Name | Type | Description |
---|---|---|
Group_Address | Group address to which the data are sent. This group address must be entered in the filters! | |
bSend | BOOL | Positive edge sends EIB telegram.. |
bData | BOOL | Value range TRUE/FALSE. |
str_Rec | The data structure with which the function block KL6301() must be linked. |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bError : BOOL;
iErrorID : EIB_ERROR_CODE;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | The function block is active. Wait for new functions, until bBusy is FALSE again. |
bError | BOOL | This output goes TRUE as soon as an error occurs. This error is described via the iErrorID variable. |
iErrorID | This output outputs an error code in the event of an error. bError goes TRUE at the same time. |
Requirements
Development environment | PLC library to include |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_EIB from 3.3.4.0 |