MP_Smoker

MP_Smoker 1:

This function block is used to control and monitor a fire damper.

MP_Address is used to specify the MP-Bus device with which the function block is to communicate. bStart activates communication with the MP-Bus device. bBusy indicates that the function block is active. If bStart remains TRUE, the device is addressed cyclically with a period specified by the time in TMPolling. The time should be set longer than 1 s, maximum 30 s. bError is used to indicate an error in communication with the actuator. The type of the error can be read with iErrorID.

A positive edge at bReset clears any pending error messages from the actuator. A telegram is thus sent to the actuator that acknowledges the errors in the actuator. If they persist, they remain set. This applies to all bErr_* error bits.

bOpen_Close is used to open or close the fire damper. TRUE causes the fire damper to open, while FALSE closes it. bOpen indicates that the damper is open, and bClosed indicates that it is closed. If both bits are FALSE, the actuator is currently opening or closing.  

A positive edge at bTest initiates a test run on the fire damper. Errors that have been set can be cleared with this if they are no longer present.

VAR_INPUT

MP_Address     : USINT := 1;
bStart         : BOOL := TRUE;
bTest          : BOOL;
bOpen_Close    : BOOL;
bReset         : BOOL;
strDataKL6771  : DataKL6771;
TMpolling      : TIME := t#10s;

MP_Address: MP-Bus address of the slave.

bStart: a positive edge starts the function block. If this remains continuously TRUE, the function block will be activated cyclically with a period specified by the time in TMPolling.

bTest: a positive edge starts the test run at a fire damper.

bOpen_Close: TRUE opens a damper, while FALSE closes a damper.

bReset: a positive edge resets the actuator's error messages.

strDataKL6771: the data structure with which the KL6771 function block must be linked (see DataKL6771).

TMpolling: the time for which the function block should address the actuator. Default 10 s, minimum time 1 s.

VAR_OUTPUT

bBusy          : BOOL;
bError         : BOOL;
iErrorId       : MP_Error;
bOpen          : BOOL;
bClosed        : BOOL;
bErr_MecTrv    : BOOL;
bErr_MecOvld   : BOOL;
bErr_EmFlt     : BOOL;
bErr_DmpTrv    : BOOL;
bErr_DctAlm    : BOOL;
bErr_SmAlm     : BOOL;

bBusy: This bit is set for as long as the block is active.

bError: The 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 MP_ERROR). Simultaneously bError is TRUE.

bOpen: Fire protection flap is open.

bClosed: Fire protection flap is closed.

bErr_MecTrv: Drive error, "Positioning angle exceeded"; the drive has passed more than 10° beyond the adaptation position.

bErr_MecOvld: Drive error, "Overload"; the desired position could not be reached.

bErr_EmFlt: Drive error, "Safety-relevant error"; ambient temperature above 72°C or motor temperature above 85°C. Error can only be reset at the factory.

bErr_DmpTrv: Drive error, "Free flap movement error"; is cleared if the test run is okay.

bErr_DctAlm: Drive error, "Channel temperature too high"; the drive is swinging backwards and forwards.

bErr_SmAlm: Drive error, "Smoke alarm".