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
IDriverStateMachineNotifyBeforeShutdown (ITF) ¶ INTERFACE IDriverStateMachineNotifyBeforeShutdown This interface can optionally be implemented by implementations of IDriverStateMachine if an instance is interested in the beginning of the shutdown sequence. This could be used for example if requests must be released in this situation before the real shutdown is executed. Methods: BeforeShutdown Structure: BeforeShutdown (Method)
IDriverStateMachineNotifyBeforeShutdown.BeforeShutdown (METH) ¶ METHOD BeforeShutdown Called before the shutdown operation is started InOut: Scope Name Type Comment Input xDuringExit BOOL This variable signals whether a shutdown of the whole program is done or whether only the application is shutdown (eg. during download or reset)
IDriverStateMachineShutdownTimeout (ITF) ¶ INTERFACE IDriverStateMachineShutdownTimeout This interface can optionally be implemented by implementations of IDriverStateMachine if an instance is interested in the end of the shutdown sequence. Methods: ShutdownTimedout Structure: ShutdownTimedout (Method)
IDriverStateMachineShutdownTimeout.ShutdownTimedout (METH) ¶ METHOD ShutdownTimedout Called when the shutdown operation timed out.
IDriverTraceAddressInfoProvider (ITF) ¶ INTERFACE IDriverTraceAddressInfoProvider EXTENDS __SYSTEM.IQueryInterface This interface can be implemented by drivers that can provide addresses used for tracing with CmpTraceMgr Methods: CreateTraceAddressInfoWriter GetPointerSizeInBytes ReleaseTraceAddressInfoWriter Structure: CreateTraceAddressInfoWriter (Method) GetPointerSizeInBytes (Method) ReleaseTraceAddressInfoWriter (Method)
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