DataItem.SetError (METH) ¶ METHOD SetError Assigns an error situation to this item. Will set |IDataItemBase.ErrorCode| and |IDataItemBase.Quality| to |ItemQuality.Bad| InOut: Scope Name Type Comment Input errorCode SysTypes.RTS_IEC_RESULT The error code to assign. Note It is not possible to reset an error using ERR_OK
DataItem.SizeLocal (PROP) ¶ PROPERTY SizeLocal : __UXINT
DataItem.SizeRemote (PROP) ¶ PROPERTY SizeRemote : __UXINT
DataItem.ErrorCode (PROP) ¶ PROPERTY ErrorCode : SysTypes.RTS_IEC_RESULT Returns an error code representing the reason for problems with this item. Valid only if Quality yields |ItemQuality.Bad|
DataItem.Quality (PROP) ¶ PROPERTY Quality : IDataSources.ItemQuality Returns the quality information of this item. For details have a look at ErrorCode
IModuleRangeForward.IsEmpty (PROP) ¶ PROPERTY IsEmpty : BOOL Returns whether the range is empty. The property First may only be called if IsEmpty is FALSE.
IModuleRangeForward.PopFirst (METH) ¶ METHOD PopFirst Removes the first instance from the range. May only be called if IsEmpty is FALSE.
SiblingRange (FB) ¶ FUNCTION_BLOCK FINAL SiblingRange IMPLEMENTS IModuleRangeForward The range of all siblings of a module instance. The order is as defined by the module tree. The range starts with a given module instance. Properties: First IsEmpty Methods: Init PopFirst Structure: First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)
SiblingRange.First (PROP) ¶ PROPERTY FINAL First : IModule Returns the current first item of the range
SiblingRange.Init (METH) ¶ METHOD PUBLIC FINAL Init Initializes the range. InOut: Scope Name Type Comment Input itfM IModule The instance whose siblings are of interest. If 0 is passed, the range is empty.