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
StaticCredentialsProvider.LoginFailed (METH) ¶ METHOD LoginFailed : SysTypes.RTS_IEC_RESULT Will be called when a login failed due to wrong credentials The behaviour of the datasource afterwards depends on the return value. In case of ERR_PENDING, the logincycle will be started again with a call to GetCredentials. In all other cases the driver will go to it’s error state. InOut: Scope Name Type Comment Return LoginFailed SysTypes.RTS_IEC_RESULT Input uxiRequestId __UXINT Output tRetryWaitTime TIME The time that is waited until the next try to login is started
StaticCredentialsProvider.LoginSucceeded (METH) ¶ METHOD LoginSucceeded Will be called when after a successful login. InOut: Scope Name Type Input uxiRequestId __UXINT
StaticCredentialsProvider.StartGetCredentials (METH) ¶ METHOD StartGetCredentials : __UXINT Will return an id of the question for credentials. This id can be used in the following calls to |ICredentialsProvider.IsGetCredentialsFinished| InOut: Scope Name Type Comment Return StartGetCredentials __UXINT Input pstDataSource POINTER TO STRING The name of the datasource to request credentials for. Can be used as an informative hint to the user for example. Output udiErrorCode SysTypes.RTS_IEC_RESULT An error code representing the result of this operation. In case of ERR_PENDING there will be further calls to this method.
ICredentialsUserPassword ¶ Password (Property) Username (Property)