EIB_BIT_SEND_MANUAL

EIB_BIT_SEND_MANUAL 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 is sent when bSend has a positive edge. bBusy is set as long the function block is active. bBusy is set to FALSE once the EIB command was sent or if an error occurs. An error is indicated by setting the bError variable. The error code is indicated in the iErrorID.

EIB_BIT_SEND_MANUAL 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  bSend         : BOOL;
  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!

bSend

BOOL

Positive edge sends EIB telegram..

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_MANUAL 3: Outputs

VAR_OUTPUT
  bBusy    : BOOL;
  bError   : BOOL;
  iErrorID : EIB_ERROR_CODE;
END_VAR

Name

Type

Description

bBusy

BOOL

The function block is active. Wait for new functions, until bBusy is FALSE again.

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.

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0