ST_IEC870_5_101DataUnit_Ident

ID field of the data unit (ASDU).

Syntax

TYPE ST_IEC870_5_101DataUnit_Ident:
STRUCT
    eType   : E_IEC870_5_101TcTypeID;
    bSQ     : BOOL;
    nObj    : BYTE;
    bT      : BOOL;
    bPN     : BOOL;
    eCOT    : E_IEC870_5_101COTType;
    nORG    : BYTE;
    asduAddr: DWORD;
    eClass  : E_IEC870_5_101ClassType;
END_STRUCT
END_TYPE

eType: IEC 60870-5-101/104 ASDU type ID := <0..255>.

bSQ: Sequence-flag := <FALSE = single, TRUE = sequence>.

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

bT: Test flag (rarely used).

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

eCOT: IEC 60870-5-101/104 cause of transfer (COT) := <0..63>.

nORG: Source address.

asduAddr: Common ASDU address (CAA).

eClass: Priority class (TX data).

Requirements

Development environment

Target system type

PLC libraries to be linked (category group)

TwinCAT v3.1.4012.0

PC oder CX (x86, x64, ARM)

Tc2_IEC60870_5_10x (Communication->IEC60870)
Tc2_SerialCom (Communication->Serial)
Tc2_TcpIp (Communication->TcpIp)
Tc2_Utilities (System)