ST_IEC870_5_102DataUnit_Ident

ID field of the data unit (ASDU).

Syntax

TYPE ST_IEC870_5_102DataUnit_Ident:
STRUCT
    eType   : E_IEC870_5_102TypeID;
    bSQ     : BOOL;
    nObj    : BYTE(0..127);
    bT      : BOOL;
    bPN     : BOOL;
    eCOT    : E_IEC870_5_102COTType;
    asduAddr: DWORD;
    eClass  : E_IEC870_5_101ClassType;
END_STRUCT
END_TYPE

eType: IEC 60870-5-102 ASDU type ID := <0..255>.

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

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

bT: Test bit (rarely used).

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

eCOT: IEC 60870-5-102 cause of transfer (COT). Permitted range: <0..63>.

asduAddr: Common ASDU address (CAA).

eClass: Priority class.

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)