EIB_8BIT_SIGN_REC

This function block receives 8 bits of EIB data on the set group address and converts them into an IEC61131-3 INT variable. In addition the value may be converted automatically.
Inputs
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
Scaling_Mode : INT;
strData_Rec : EIB_REC;
END_VAR
Name | Type | Description |
---|---|---|
Group_Address | Group address from which the data were sent. This group address must be entered in the filters! | |
Scaling_Mode | INT | 0 - The 8-bit value is output as a % value 0...100% |
strData_Rec | The data structure with which the function block KL6301() must be linked. |
Outputs
VAR_OUTPUT
bDataReceive : BOOL;
iData : INT;
END_VAR
Name | Type | Description |
---|---|---|
bDataReceive | BOOL | This bit is set to FALSE for exactly one cycle when an EIB telegram with the group address is received. |
iData | INT | Scaled value, see Scaling_Mode (-1, an invalid scaling mode was entered). |
Requirements
Development environment | PLC library to include |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_EIB from 3.3.4.0 |