ST_IEC870_5_102AOGen

Variables of this type represent an ASDU object.

TYPE ST_IEC870_5_102AOGen:
STRUCT
    head    : ST_IEC870_5_101FifoHead :=(      source := ( link := 0, addr := 0 ),
                    target := ( link := 0, addr := 0 ),
                    ctrl := 0 ); (* Header *)

    ident   : ST_IEC870_5_102DataUnit_Ident := ( eType := ASDU_TYPEUNDEF_2,
                        nObj := 0,
                        bSQ := FALSE,
                        bT := FALSE,
                        bPN := FALSE,
                        eCOT := 0,
                        asduAddr := 0,
                        eClass := eIEC870_Class_None ); (* Data unit identifier *)

    info    : ST_IEC870_5_102AOInfoObj  := (    rcdAddr     := 0, 
                        n       := 0,
                        stream  := ( length := 0 ) ); (* information object *)
END_STRUCT
END_TYPE

head: Header (reserved).

ident: Identification field in the data unit (ASDU).

info: Information object /Information element data field.

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 )