IDataItemList.Clear (METH) ¶ METHOD Clear : SysTypes.RTS_IEC_RESULT Clears the list of IDataItemBase managed by this list object. Allocated objects will be released. InOut: Scope Name Type Return Clear SysTypes.RTS_IEC_RESULT
IDataItemList.Count (PROP) ¶ PROPERTY Count : UDINT
IDataItemList.CreateAndAdd (METH) ¶ METHOD CreateAndAdd : SysTypes.RTS_IEC_RESULT Creates a new item for monitoring and immediately adds it to the list. Note Usually items are monitored in total. If you want to expand the items (to prevent problems with different alignment etc.) then consider using the method IDataItemListExpanding.CreateAndAddExpanding instead. InOut: Scope Name Type Comment Return CreateAndAdd SysTypes.RTS_IEC_RESULT An error code representing the result of the operation. In case of success, ERR_OK will be returned Input pstSymbol POINTER TO STRING The symbolic name of the variable to activate. Here the name of the variable on the local PLC/HMI is expected.
IDataItemList.GetItem (METH) ¶ METHOD GetItem : IDataItemBase Returns the item at the given index. InOut: Scope Name Type Comment Return GetItem IDataItemBase The item at the index or 0 in case of an invalid index. Input udiIndex UDINT
IDataItemListExpanding (ITF) ¶ INTERFACE IDataItemListExpanding EXTENDS __SYSTEM.IQueryInterface As an extension to IDataItemList implementations of this interface are able to expand variables of non scalar datatypes (eg. structures or arrays) automatically so that all sub elements are monitored instead of the complete value if that is necessary for a specific type of connected datasource. Methods: CreateAndAddExpanding Structure: CreateAndAddExpanding (Method)
IDataItemListExpanding.CreateAndAddExpanding (METH) ¶ METHOD CreateAndAddExpanding : SysTypes.RTS_IEC_RESULT Creates a new item for monitoring and immediately adds it to the list similar to IDataItemList.CreateAndAdd . The difference of this method to IDataItemList.CreateAndAdd is that variables of non scalar datatypes (eg. structures or arrays) maybe expanded automatically so that all sub elements are monitored instead of the complete value if that is necessary for a specific type of connected datasource. InOut: Scope Name Type Comment Return CreateAndAddExpanding SysTypes.RTS_IEC_RESULT An error code representing the result of the operation. In case of success, ERR_OK will be returned Input pstSymbol POINTER TO STRING The symbolic name of the variable to activate. Here the name of the variable on the local PLC/HMI is expected.
IDataItemListPersistant (ITF) ¶ INTERFACE IDataItemListPersistant EXTENDS IDataItemList As an extension to IDataItemList implementations of this interface are intended for living until a connection ends and are intended for being read or written several times. Properties: Usage UsageDetails Count , inherited from IDataItemList Methods: FinishedAdding Clear , inherited from IDataItemList CreateAndAdd , inherited from IDataItemList GetItem , inherited from IDataItemList Structure: FinishedAdding (Method) Usage (Property) UsageDetails (Property)
IDataItemListPersistant.FinishedAdding (METH) ¶ METHOD FinishedAdding : SysTypes.RTS_IEC_RESULT This method must be called by users of such a list once the insertion of items (using IDAtaItemList.CreateAndAdd ) is finished. Afterwards the list can be registered within the affected datasource(s). After calling this method it is no longer possible to add additional items. InOut: Scope Name Type Comment Return FinishedAdding SysTypes.RTS_IEC_RESULT An error code representing the result of this operation.
IDataItemListPersistant.Usage (PROP) ¶ PROPERTY Usage : PersistantItemListUsage Returns the usage information of this list.
IDatasource3.UpdateRate (PROP) ¶ PROPERTY UpdateRate : TIME Gets the update rate actually set