EIB_8BIT_SIGN_REC

EIB_8BIT_SIGN_REC 1:

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.

VAR_INPUT

Group_Address  : EIB_GROUP_ADDR;
Scaling_Mode   : INT;
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!

Scaling_Mode:
0 - The 8 bit value is output as a percentage value 0...100%
1 - The 8 bit value is output as an angle 0...360°
2 - The 8 bit value is output as a byte value 0...255

strData_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).

VAR_OUTPUT

bDataReceive   : BOOL;
iData          : INT;

bDataReceive: This bit is set to FALSE for exactly one cycle when an EIB telegram with the group address is received.

iData: Scaled value, see Scaling_Mode (-1 - an invalid scaling mode was entered).