EIB_3BIT_CONTROL_REC
This function block receives 4 bits of EIB data on the set group address and converts them into an IEC61131-3 BOOL variable and a byte variable.
VAR_INPUT
Group_Address : EIB_GROUP_ADDR;
strData_Rec : EIB_REC;
Group_Address: Group address from which the data were sent (see EIB_GROUP_ADDR). This group address must be entered in the filters!
strData_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).
VAR_OUTPUT
bDataReceive : BOOL;
bControl : BOOL;
byRange : BYTE;
bDataReceive: This bit is set to FALSE for exactly one cycle when an EIB telegram with the group address is received.
bControl: Valid values (TRUE/FALSE).
byRange: Valid values (000b..111b).
Allocation of the 4 bits to the variables bControl and byRange.
bControl | byRange.2 | byRange.1 | byRange.0 |