Driver.CredentialsHandling (PROP) ¶ PROPERTY CredentialsHandling : IDatasources.IDriverCredentialsHandling If this kind of driver requires credentials for logging in to a specific kind of device, then this property can return an object handling the assignment of credentials.
Driver.DataByteOrder (PROP) ¶ PROPERTY DataByteOrder : IDatasources.ByteOrder Returns the byteorder of data managed by this instance. Note It is not expected that this value changes at runtime.
IDriverCDSV3 ¶ CanSendCDSV3CustomRequest (Method)
IDriverCredentialsHandling ¶ CredentialsNecessary (Property) SetCredentials (Method)
IDriverSpecifiedSettings ¶ ReconnectWaitTime (Method) TimeoutSyncShutdown (Method)
Driver.Init (METH) ¶ METHOD Init This method passes an instance of the configuration object to the driver. The according concrete type is driver dependent and the codegeneration will allocate and initialize the configuration object accordingly before calling this method. InOut: Scope Name Type Input pCFGData POINTER TO BYTE
StateMachine.ResetAfterError (METH) ¶ METHOD ResetAfterError This method is called after a failed call to one of the other methods where |IDriverStateMachine.ShutdownAfterError| returns FALSE. Implementations can use this call to get into a state where it is possible to start a new connection after some delay.
StateMachine.SendRequest (METH) ¶ METHOD SendRequest : SysTypes.RTS_IEC_RESULT Using this method a request should be sent by the driver. InOut: Scope Name Type Comment Return SendRequest SysTypes.RTS_IEC_RESULT An error code representing the result of the polling operation. In case the operation is not yet finished, CmpErrors.Errors.ERR_PENDING should be returned. This will then cause followup calls to |IDriverStateMachine.PollRequestResult| . In case the operation finished synchronously, CmpErrors.Errors.ERR_OK should be returned. When sending a request failed, an error code should be returned and then the whole connection will be set up again. Input request IDatasources.IDriverRequest The request object representing the information that should be sent to the connected device.
StateMachine.ShutdownAfterError (PROP) ¶ PROPERTY ShutdownAfterError : BOOL This property returns TRUE when the shutdown sequence should be called after a previous error. The property will be evaluated after there was an error return from one of the state machine methods.
StateMachine.ShutdownTimedout (METH) ¶ METHOD ShutdownTimedout Called when the shutdown operation timed out.