EIB_BIT_SEND

EIB_BIT_SEND 1:

This function block sends a 1-bit EIB value to the set group address. An IEC61131-3 BOOL variable is available as input value. The data are only transferred if there is a change in the data value. If the value changes again within 200 milliseconds, new data are only sent to the EIB device after another 200 millisecond has passed (see diagram). No new EIB telegram is sent if the value changes within the "min. send time" but falls back to the old, already sent value within the "min. send time".

EIB_BIT_SEND 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  bData         : BOOL;
  str_Rec       : EIB_REC;
END_VAR

Name

Type

Description

Group_Address

EIB_GROUP_ADDR

Group address to which the data are sent. This group address must be entered in the filters!

bData

BOOL

Value range TRUE/FALSE.

str_Rec

EIB_REC

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

EIB_BIT_SEND 3: Outputs

VAR_OUTPUT
  bError   : BOOL;
  iErrorID : EIB_ERROR_CODE;
END_VAR

Name

Type

Description

bError

BOOL

This output goes TRUE as soon as an error occurs. This error is described via the iErrorID variable.

iErrorID

EIB_ERROR_CODE

This output outputs an error code in the event of an error. bError goes TRUE at the same time.

EIB_BIT_SEND 4:

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0