EIB_DATE_SEND

This function block sends a 3-byte EIB value to the set group address. Three IEC61131-3 word variables are available as input values. The data are sent when the block is called for the first time the and then every 5 minutes.
Inputs
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
wDay : WORD;
wMonth : WORD;
wYear : WORD;
str_Rec : EIB_REC;
END_VARName | Type | Description |
|---|---|---|
Group_Address | Group address to which the data are sent. This group address must be entered in the filters! | |
wDay | WORD | Value range 1...31. |
wMonth | WORD | Value range 1...12. |
wYear | WORD | Value range 0...99. If the value is greater than 99, the last two digits are extracted. For example, for the year 1980, only the 80 is transferred to the EIB node. |
str_Rec | The data structure with which the function block KL6301() must be linked. |
Outputs
VAR_OUTPUT
bError : BOOL;
iErrorID : EIB_ERROR_CODE;
END_VARName | Type | Description |
|---|---|---|
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 |