KL6771
This function block takes care of communication with the KL6771 MP-Bus master terminal. The KL6771 is configured with this function block, and data exchange with the MP network is started.
![]() | Restrictions
|
Inputs
VAR_INPUT
KL6771_IN : ARRAY [0..11] OF BYTE;
END_VAR
Name | Type | Description |
---|---|---|
KL6771_IN |
ARRAY OF BYTE |
Is linked with the MP-Bus master terminal's input process image. |
Outputs
VAR_OUTPUT
KL6771_OUT : ARRAY [0..11] OF BYTE;
strDataKL6771 : DataKL6771;
bError : BOOL;
ErrorCode : MP_Error;
BusLoad : INT := -1;
END_VAR
Name | Type | Description |
---|---|---|
KL6771_OUT |
ARRAY OF BYTE |
Is linked with the MP-Bus master terminal's output process image. |
strDataKL6771 |
A data structure that is linked with the various MP-Bus function blocks, and which contains communication with the KL6771 function block. | |
bError |
BOOL |
This output goes TRUE as soon as an error occurs. This error is described via the iErrorId variable. |
ErrorCode |
This output outputs an error code in the event of an error. bError goes TRUE at the same time | |
BusLoad |
INT |
MP-Bus load in percent. |
Requirements
Development environment | required TC3 PLC library |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_MPBus from 3.3.5.0 |