DataKL6771

Links the send and receive 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

ReceiveData: Data is being received.

SendData: Data is being sent.

Error: This output goes 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

Requirements

Development environment

required TC3 PLC library

TwinCAT from v3.1.4020.14

Tc2_MPBus from 3.3.5.0