ST_IEC870_5_102AOGen

Variables of this type represent an ASDU object.

Syntax

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

    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 );
 info    : ST_IEC870_5_102AOInfoObj  := ( rcdAddr := 0, 
                      n  := 0,
                      stream  := ( length := 0 ) );
END_STRUCT
END_TYPE

head: Header (reserved).

ident: ID fields of the data unit (ASDU).

info: IEC 60870-5-102 information object description.

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)