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.

EIB_8BIT_SIGN_REC 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  Scaling_Mode  : INT;
  strData_Rec   : EIB_REC;
END_VAR

Name

Type

Description

Group_Address

EIB_GROUP_ADDR

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%
1 - The 8-bit value is output as degrees (angle) 0...360°
2 - The 8-bit value is output as a byte value 0...255

strData_Rec

EIB_REC

The data structure with which the function block KL6301() must be linked.

EIB_8BIT_SIGN_REC 3: 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