EIB_4OCTET_FLOAT_SEND

EIB_4OCTET_FLOAT_SEND 1:

This function block sends a 4-byte float EIB value to the set group address. An IEC61131-3 REAL 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_4OCTET_FLOAT_SEND 2: Inputs

VAR_INPUT
  Group_Address : EIB_GROUP_ADDR;
  rData         : REAL;
  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!

rData

REAL

The data value in REAL. This is automatically converted to an EIB 2OCTET FLOAT value.

str_Rec

EIB_REC

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

EIB_4OCTET_FLOAT_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_4OCTET_FLOAT_SEND 4:

Requirements

Development environment

PLC library to include

TwinCAT from v3.1.4020.14

Tc2_EIB from 3.3.4.0