IDriverStateMachine2.WaitingForCommSetting (METH) ¶ METHOD WaitingForCommSetting : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Comment Return WaitingForCommSetting SysTypes.RTS_IEC_RESULT An error code representing the result of this operation. In case an error happens, an according eror code should be returned. Please remark that this operation is not expected to return ERR_PENDING. A successfull return (ERR_OK) of this method will then cause followup calls to IDriverStateMachine.StartConnect . Input xPreview BOOL
ICDSV3Request.SetContentData (METH) ¶ METHOD SetContentData : SysTypes.RTS_IEC_RESULT Assigns the content of the CODESYS V3 Service that should be sent InOut: Scope Name Type Comment Return SetContentData SysTypes.RTS_IEC_RESULT An error code representing the result of this operation. Input pData POINTER TO BYTE A pointer to the data that should be sent by the service Note This data does not include the header part so only the service content must be used here. Important Please remark that this buffer must be valid until the response is received, ie. ICustomRequestCallback.RequestFinished is called for the current request uxiSize __UXINT The size of the data
ICDSV3RequestHandling (ITF) ¶ INTERFACE ICDSV3RequestHandling EXTENDS ICustomRequestHandling Properties: TargetByteorder Methods: CreateCDSV3Request ReleaseRequest , inherited from ICustomRequestHandling Structure: CreateCDSV3Request (Method) TargetByteorder (Property)
ICDSV3RequestHandling.CreateCDSV3Request (METH) ¶ METHOD CreateCDSV3Request : 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 ICDSV3Request Input uiServiceGroup UINT uiService UINT
ICDSV3RequestHandling.TargetByteorder (PROP) ¶ PROPERTY TargetByteorder : ByteOrder Returns the byteorder used by the system managed by the related IDatasource . Note It is not expected that this value changes at runtime.
ICDSV3Response (ITF) ¶ INTERFACE ICDSV3Response EXTENDS ICustomResponse Properties: ContentData ContentSize RawData RawSize Structure: ContentData (Property) ContentSize (Property) RawData (Property) RawSize (Property)
IDriverSpecifiedSettingsReadOnChange.ReadOnChangeOnly (PROP) ¶ PROPERTY ReadOnChangeOnly : BOOL Return TRUE when the according implementation does not do cyclic updates of variables but instead executes read requests only triggered by changes of according variables on the connected device. Note This value is not intended to change without a new download.
IDriverStateMachine (ITF) ¶ INTERFACE IDriverStateMachine EXTENDS __SYSTEM.IQueryInterface Properties: ShutdownAfterError Methods: Connecting PollRequestResult ResetAfterError SendRequest ShuttingDown StartConnect StartShutdown Structure: Connecting (Method) PollRequestResult (Method) ResetAfterError (Method) SendRequest (Method) ShutdownAfterError (Property) ShuttingDown (Method) StartConnect (Method) StartShutdown (Method)
IDriverStateMachine.Connecting (METH) ¶ METHOD Connecting : SysTypes.RTS_IEC_RESULT Using this method the driver is polled whether the startup of the connection is already finshed. InOut: Scope Name Type Comment Return Connecting SysTypes.RTS_IEC_RESULT An error code representing the result of the polling operation. In case the operation is not yet finished, ERR_PENDING should be returned. When it finished successfully, ERR_OK should be returned. When connecting failed, an error code should be returned and then the whole connection will be set up again.
IDriverStateMachine.PollRequestResult (METH) ¶ METHOD PollRequestResult : SysTypes.RTS_IEC_RESULT Using this method the driver is polled whether the given request is already finshed. InOut: Scope Name Type Comment Return PollRequestResult SysTypes.RTS_IEC_RESULT An error code representing the result of the polling operation. In case the operation is not yet finished, ERR_PENDING should be returned. When it finished successfully, 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 IDriverRequest The request object to check for it’s result