EIB_2OCTET_UNSIGN_SEND

EIB_2OCTET_UNSIGN_SEND 1:

This function block sends a 2-byte unsign EIB value to the set group address. An IEC61131-3 UINT value is available as input value. The data are only transferred if there is a change. If the value changes again within 1 second, new data are only sent to the EIB device after another second 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_2OCTET_UNSIGN_SEND 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  uiData        : UINT;
  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!

uiData

UINT

The data value in UINT is automatically converted to an EIB 2OCTET UNSIGN value.

str_Rec

EIB_REC

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

EIB_2OCTET_UNSIGN_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_2OCTET_UNSIGN_SEND 4:

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0