STR_KL6581
Internal structure.
About this structure, the block FB_KL6581() is connected to the read / send function blocks.
TYPE STR_KL6581 :
STRUCT
by_Status : BYTE;
by_Node : BYTE;
by_ORG : BYTE;
ar_DB : ARRAY[0..3] OF BYTE;
_Dummy : BYTE;
dw_ID : DWORD;
ptData : DWORD;
iErrorId : E_KL6581_Err;
by_STATE : BYTE;
bError : BOOL;
idx : USINT;
END_STRUCT
END_TYPE
by_Status: Status.
by_Node: Node number of the EnOcean transmitter and receiver KL6583-0000, which has received the EnOcean telegram.
by_ORG: Type of EnOcean telegram.
ar_DB: Data bytes.
_Dummy: Placeholder, without further significance.
dw_ID: Transmitter Id.
ptData: Pointer.
iErrorId: Type of error (see E_KL6581_Err).
by_STATE: State.
bError: If the function-block is in an error-state, this output will be set to TRUE. This error is described by the variable iErrorId.
idx: Index.