ICredentialsProvider.GetCredentials (METH) ¶ METHOD GetCredentials : SysTypes.RTS_IEC_RESULT Must return ERR_OK if called after a successfull ICredentialsProvider.IsGetCredentialsFinished InOut: Scope Name Type Comment Return GetCredentials SysTypes.RTS_IEC_RESULT Input uxiRequestId __UXINT The request id to get the credentials for Output credentials ICredentials The resulting credentials of the current implementation. Note Please remark that the returned object is not required to be alive longer than to the next calls on this object using the interface ICredentialsProvider
ICredentialsProvider.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
IDriverTraceAddressInfoProvider.CreateTraceAddressInfoWriter (METH) ¶ METHOD CreateTraceAddressInfoWriter : ITraceAddressInfoWriter Determines an IDataItem’s address, that can be used for tracing with CmpTraceMgr and creates and returns a corresponding ITraceAddressInfoWriter instance. InOut: Scope Name Type Comment Return CreateTraceAddressInfoWriter ITraceAddressInfoWriter An ITraceAddressInfoWriter instance containing the address of the passed data item. Input itfDataItem IDataItem The IDataItem Output udiResult UDINT Returns an error code
IDriverTraceAddressInfoProvider.GetPointerSizeInBytes (METH) ¶ METHOD GetPointerSizeInBytes : BYTE InOut: Scope Name Type Comment Return GetPointerSizeInBytes BYTE The number of bytes a pointer on the remote plc consists of
IDriverTraceAddressInfoProvider.ReleaseTraceAddressInfoWriter (METH) ¶ METHOD ReleaseTraceAddressInfoWriter : SysTypes.RTS_IEC_RESULT Releases an ITraceAddressInfoWriter instance, that was previously returned by a call to method IDriverTraceAddressInfoProvider.CreateTraceAddressInfoWriter InOut: Scope Name Type Comment Return ReleaseTraceAddressInfoWriter SysTypes.RTS_IEC_RESULT The error code Input itfTraceAddressInfoWriter ITraceAddressInfoWriter
ETraceAddressFlags (ENUM) ¶ TYPE ETraceAddressFlags : This enumeration is similar to the enumeration <c>EAddressFlags</c> of library trace manager interfaces and defines the type of address info, that will be passed to CmpTraceMgr. Attributes: qualified_only InOut: Name Initial Comment Iec 16#1 The variable is defined in an IEC-Programm. IOConfig 16#2 The recorded value is a parameter in the CoDeSys configuration. AreaOffset 16#20 The location of the recorded value is described by an area number and an offset in this area. Prop 16#40 Corresponding to the automation platform enum value <c>AddressFlags.Property</c>, which cannot be used here, because “Property” is a reserved word.
ReusableRequestOperations (ENUM) ¶ TYPE ReusableRequestOperations : This enumeration represents operations on IDriverRequestReusable Attributes: qualified_only InOut: Name Comment Prepare The request will be prepared. This step is possible only once and is used for registering the list of items in the connected device or server. Read The next operation will be a read Write The next operation will be a write
Errors (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant ERR_DS_UNKNOWN UDINT 16#2000 Range for DataSources Errors 16#2000 until 16#20FF (the same range than for the former DataServer and the same code values) ERR_DS_UNKNOWN_GROUP UDINT 16#2001 ERR_DS_UNKNOWN_SYMBOL UDINT 16#2002 ERR_DS_UNKNOWN_TRANSACTION UDINT 16#2003 ERR_DS_INVALID_STATE UDINT 16#2004 ERR_DS_INVALID_PATH UDINT 16#2005 ERR_DS_SOURCENOTFOUND UDINT 16#2006 ERR_DS_ITEMNOTFOUND UDINT 16#2007 ERR_DS_MULTITASKING_LOCKED UDINT 16#2008 ERR_DS_TIMEOUT UDINT 16#2009 ERR_DS_BADITEMS UDINT 16#200A ERR_DS_ITEMNOTACTIVE UDINT 16#200B The searched item has been found but it is currently deactivated ERR_DS_RETRYLOGIN UDINT 16#200C ERR_DS_READONLY_ITEM UDINT 16#200D There is a readonly item which is not supported for the current operation. ERR_DS_DATASOURCE_INDEX_MISMATCH UDINT 16#200E There is a mismatch of a given datasource index and the one implied by the requested symbol ERR_DSD_IDENTITY_MISMATCH UDINT 16#2100 Range for DataSourceDriver Errors 16#2100 until 16#21FF (the same range than for the former DataServer and the same code values) ERR_DSD_LOGINFAILED UDINT 16#2101 login to the connected plc etc. failed due to invalid credentials ERR_DSD_LOGINNECESSARY UDINT 16#2102 a login to the connected plc is necessary (ie. device login with credentials) but has not been done ERR_DSD_BUSY UDINT 16#2103 The driver is currently busy executing a different request. ERR_DSD_NOTREACHABLE UDINT 16#2104 The requested device cannot be reached by the communication ERR_DSD_DUPLICATE UDINT 16#2105 The name of the requested device is ambigous ERR_DSD_NOSYMBOLS UDINT 16#2106 The device does not provide necessary symbolic information for accessing data ERR_DSD_CONNECTIONLOST UDINT 16#2107 A formerly available connection was lost ERR_DSD_CONNECTIONDENIED UDINT 16#2108 A connection was denied by the device; not nearer specified ERR_DSD_CONNECTIONDENIED_SRVRESOURCES UDINT 16#2109 A connection was denied by the device; not enough resources on the connected PLC ERR_DSD_PROTOCOL_MISMATCH UDINT 16#210A The communication protocol is not supported by the device ERR_DSD_LOGIN_NOTPOSSIBLE UDINT 16#210B It’s not possible to setup a connection because a login cannot be executed; reason are eg. no crypt algorithms supported by client and server ERR_DSI_FAILED UDINT 16#2200 Range for item error code 16#2200 up to 16#23ff; the codes in the range 16#23XX will can be used for protocol specific error codes ERR_DSI_MISSING_GETACCESSOR UDINT 16#2201 ERR_DSI_MISSING_SETACCESSOR UDINT 16#2202 ERR_DSI_UNEXPECTED_ADDRESSINFO UDINT 16#2203 ERR_DSI_COMMBUFFEROVERRUN UDINT 16#2204 ERR_DSI_TOOMANYITEMS UDINT 16#2205 ERR_DSI_DATAMISSING UDINT 16#2206 ERR_DSI_ITEMNOTFOUND UDINT 16#2207 The item is not or no longer available on the connected device ERR_DSI_CONNECTIONLOST UDINT 16#2208 The connection to the device was lost ERR_DSI_PROTOCOLSPECIFIC_ERROR_RANGESTART UDINT 16#2300 ERR_DSI_PROTOCOLSPECIFIC_ERROR_RANGEEND UDINT 16#23FF
ICDSV3Request (ITF) ¶ INTERFACE ICDSV3Request EXTENDS ICustomRequest Properties: ContentData ContentSize Service ServiceGroup Methods: SetContentData Structure: ContentData (Property) ContentSize (Property) Service (Property) ServiceGroup (Property) SetContentData (Method)
ICDSV3Request.ContentData (PROP) ¶ PROPERTY ContentData : POINTER TO BYTE