ST_IEC870_5_101DataUnit_Ident

Identification field of data unit (ASDU).

TYPE ST_IEC870_5_101DataUnit_Ident:
STRUCT
    eType   : E_IEC870_5_101TcTypeID; (* TwinCAT ASDU type identifier *)
    bSQ     : BOOL; (* Single/Sequence *)
    nObj    : BYTE; (* Number of information objects or elements *)
    bT      : BOOL; (* Test bit *)
    bPN     : BOOL; (* Positive/Negative confirmation *)
    eCOT    : E_IEC870_5_101COTType; (* Cause of transmission *)
    nORG    : BYTE; (* Originator address (optional) *)
    asduAddr: DWORD; (* Common address of ASDU *)
    eClass  : E_IEC870_5_101ClassType; (* Object class *)
END_STRUCT
END_TYPE

eType: Type.

bSQ: Sequence flag.

nObj: Number of information objects or information elements.

bT: Test flag

bPN: Positive/negative confirmation.

eCOT: Cause of transmission.

nORG: Source address.

asduAddr: Common ASDU address

eClass: Priority class.

Requirements

Development Environment

Target System

PLC libraries to include

TwinCAT v2.9.0 Build >= 1030

PC or CX (x86)

TcIEC870_5_101.Lib

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

TwinCAT v2.10.0 Build >= 1301

CX (ARM)