ST_IEC870_5_102DataUnit_Ident

Identification field of data unit (ASDU).

TYPE ST_IEC870_5_102DataUnit_Ident:
STRUCT
    eType    : E_IEC870_5_102TypeID; (* ASDU type identifier <0..255> *)
 bSQ     : BOOL; (* Single/Sequence *)
    nObj     : BYTE(0..127); (* Number of information objects or elements <0..127> *)
    bT       : BOOL; (* Test bit *)
    bPN      : BOOL; (* Positive/Negative confirmation, FALSE = positive, TRUE = negative *)
    eCOT     : E_IEC870_5_102COTType; (* Cause of transmission <0..63> *)
    asduAddr : DWORD; (* Common address of ASDU (1..2 octets) *)
    eClass   : E_IEC870_5_101ClassType; (* Object class *)
END_STRUCT
END_TYPE

eType: ASDU type identifier: <0..255>.

bSQ: Sequence flag.

nObj: Number of information objects or information elements: <0..127>.

bT: Test flag.

bPN: Positive/negative confirmation. FALSE = positive, TRUE = negative.

eCOT: Cause of transmission: <0..63>.

asduAddr: Common ASDU address (one or two octets).

eClass: Priority class.

Requirements

Development Environment

Target System

PLC libraries to include

TwinCAT v2.10 Build >= 1319

PC or CX (x86, ARM)

TcIEC870_5_102Link.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib; TcIEC870_5_101.Lib; TcIEC870_5_101Link.Lib; COMLibV2.Lib are included automatically )