DataKL6771
Links the send and receive function blocks with the function block KL6771().
TYPE DataKL6771 :
STRUCT
OrderNumber : BYTE;
ReciveData : BOOL;
SendData : BOOL;
Error : BOOL;
ErrorID : MP_Error;
pNumber : DWORD;
END_STRUCT
END_TYPE
OrderNumber: internal byte.
ReciveData: data are received.
SendData: data are sent.
Error: the output becomes TRUE as soon as an error occurs. This error is described via the ErrorID variable.
ErrorID: this output outputs an error code in the event of an error (see MP_ERROR). Error goes TRUE at the same time.
pNumber: internal pointer.