DataItem.SetErrorNoLog (METH) ¶ METHOD SetErrorNoLog 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.ValueAddress (PROP) ¶ PROPERTY ValueAddress : POINTER TO BYTE Returns the address of the variable represented by this item on the current device.
DataItem.WriteCopyAddress (PROP) ¶ PROPERTY WriteCopyAddress : POINTER TO BYTE Returns the address of the mirrored value used for detection of local modifications.
DataItemBase.Name (PROP) ¶ PROPERTY Name : REFERENCE TO IDatasources.ItemName Returns a readonly reference to the name information of this item. Property had no setter with version < 3.5.10.0
DataItemBase.ElementCompareTo (METH) ¶ METHOD ElementCompareTo : INT Compares this element with itfElement . Returns 0 if the elements are equal, < 0 if the element is less than itfElement , > 0 if the element is greater than itfElement . InOut: Scope Name Type Comment Return ElementCompareTo INT Input itfElement COL.IElement The element to compare
DataItemBase.ElementEquals (METH) ¶ METHOD ElementEquals : BOOL Returns true of this element and itfElement are equal. InOut: Scope Name Type Comment Return ElementEquals BOOL Input itfElement COL.IElement The element to compare
DataItemBase.ElementHashCode (METH) ¶ METHOD ElementHashCode : LINT Returns the hashcode of this element. InOut: Scope Name Type Return ElementHashCode LINT
Datasource.CreateCDSV3Request (METH) ¶ METHOD CreateCDSV3Request : IDatasources.ICDSV3Request Creates a request that can be sent to a CODESYS V3 PLC. This method might fail in case a different kind of PLC is connected. InOut: Scope Name Type Return CreateCDSV3Request IDatasources.ICDSV3Request Input uiServiceGroup UINT uiService UINT
Datasource.ReleaseRequest (METH) ¶ METHOD ReleaseRequest : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ReleaseRequest SysTypes.RTS_IEC_RESULT Input request IDatasources.ICustomRequest
StaticCredentialsProvider.IsGetCredentialsFinished (METH) ¶ METHOD IsGetCredentialsFinished : SysTypes.RTS_IEC_RESULT Will return ERR_OK if the request is finished, ERR_PENDING if it is not yet finished, ERR_DS_RETRYLOGIN if the login should be tried again, another error code in case of an error InOut: Scope Name Type Comment Return IsGetCredentialsFinished SysTypes.RTS_IEC_RESULT Input uxiRequestId __UXINT The request id to check the result for