EIB_4OCTET_FLOAT_SEND_EX

EIB_4OCTET_FLOAT_SEND_EX 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. In dependence of the mode (iMode) the data can be sent manually, by polling or on change.

VAR_INPUT

bStart         : BOOL;
iMode          : INT;
CyclePolling   : TIME := t#10m;
MinSendTime    : TIME := t#1s;
Group_Address  : EIB_GROUP_ADDR;
rData          : REAL;
str_Rec        : EIB_REC;
bEnableReadReq : BOOL;

bStart: Activates the block. The block starts to work in dependence of the parameterized mode (see iMode).

iMode:
0 - At rising edge of bStart an EIB telegram is sent. If the output bBusy is FALSE again then the command was executed.
1 - Polling Mode: If bStart is TRUE EIB telegrams are sent with a time interval of CyclePolling.
2 - OnChange Mode: If bStart is TRUE at change of data an EIB telegram is sent automatically. With MinSendTime the minimum interval between two EIB messages can be parameterized to avoid unnecessary load to the EIB network.
3 - OnChangePolling Mode: If bStart is TRUE EIB telegrams are sent with a time interval of CyclePolling or automatically at change of data. The minimum interval between two EIB messages is set with MinSendTime.

CyclePolling: Polling time for the polling mode. The minimum time is 200ms.

MinSendTime: Interval time that has to be last at minimum until another telegram is changed in OnChange mode. The minimum time is 200ms.

Group_Address: Group address to which the data are sent (see EIB_GROUP_ADDR).

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

str_Rec: The data structure with which the KL6301() function block must be linked (see EIB_REC).

bEnableReadReq: Allows the execution of read commands.

VAR_OUTPUT

bBusy          : BOOL;
bError         : BOOL;
iErrorID       : EIB_ERROR_CODE;

bBusy: The block is active. For new functions wait until bBusy is set back to FALSE.

bError: The bError output becomes TRUE as soon as an error occurs. The error is described via the variable iErrorID.

iErrorID: The output issues an error code when an error occurs (see EIB_ERROR_CODE). Simultaneously bError is TRUE.