ST_IEC870_5_101AODBEntry

TYPE ST_IEC870_5_101AODBEntry :
STRUCT
    aObj : ST_IEC870_5_101AOEntry;  (* application object *)
    ctrl : FB_IEC870_5_101AOCtrl;   (* application object control function *)
END_STRUCT
END_TYPE

An IEC application object database entry. The IEC application object database is declared as an array variable of type ST_IEC870_5_101AODBEntry. The member variables of this structured type are not manipulated (modified) directly, but only via the available functions or function blocks. F_iecIniAOEntry is part of such a function, for example.

Example for a declaration of an application database with 2001 objects:

VAR_GLOBAL
    slave1AODB : ARRAY[0..2000] OF ST_IEC870_5_101AODBEntry;
ENd_VAR

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)