KL6771
This function block takes care of communication with the KL6771 MP-Bus master terminal. The KL6771 is configured and the data exchange with the MP network is started with this function block.
Restrictions
|
VAR_INPUT
KL6771_IN : ARRAY [0..11] OF BYTE;
KL6771_IN: Is linked with the input process image of the MP-Bus master terminal.
VAR_OUTPUT
KL6771_OUT : ARRAY [0..11] OF BYTE;
strDataKL6771 : DataKL6771;
bError : BOOL;
ErrorCode : MP_Error;
BusLoad : INT := -1;
KL6771_OUT: is linked with the MP-Bus master terminal's output process image.
strDataKL6771: data structure, which is linked with the different MP-Bus function blocks and includes the communication with the KL6771 function block (see DataKL6771).
bError: the output becomes TRUE as soon as an error occurs. This error is described via the ErrorCode variable.
ErrorCode: this output outputs an error code in the event of an error (see MP_ERROR). bError goes TRUE at the same time.
BusLoad: MP-Bus load in percent.