IDriver.DataByteOrder (PROP) ¶ PROPERTY DataByteOrder : ByteOrder Returns the byteorder of value data managed by this instance. Note It is not expected that this value changes at runtime. Important Please remark that this value does not give information about the byte order used by the connected device but merely returns the information about the byteorder of data managed by IDataItemValueAssigner .
IDriver.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 Comment Input pCFGData POINTER TO BYTE A pointer to the configuration data. This pointer can be casted to the conrete implementing type. It’s the responsibility of the drivers Automation Platform implementation to assure the correct type.
IDriver.RequestFactory (PROP) ¶ PROPERTY RequestFactory : IDriverRequestFactory
IDriver.StateMachine (PROP) ¶ PROPERTY StateMachine : IDriverStateMachine
IDriver.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.
IDriverCDSV3 (ITF) ¶ INTERFACE IDriverCDSV3 EXTENDS IDriver This interface can be implemented by drivers that (can) connect to CODESYS V3 PLCs. Properties: CredentialsHandling , inherited from IDriver DataByteOrder , inherited from IDriver RequestFactory , inherited from IDriver StateMachine , inherited from IDriver TargetByteOrder , inherited from IDriver Methods: CanSendCDSV3CustomRequest Init , inherited from IDriver Structure: CanSendCDSV3CustomRequest (Method)
IDataItem.SizeLocal (PROP) ¶ PROPERTY SizeLocal : __UXINT Returns the size of the variable represented by this item on the local device (the one running IDatasourcesMgr
IDataItem.SizeRemote (PROP) ¶ PROPERTY SizeRemote : __UXINT Returns the size of the variable represented by this item on the remote device (the one IDriver connects to.
IDataItemValueAssigner (ITF) ¶ INTERFACE IDataItemValueAssigner EXTENDS __SYSTEM.IQueryInterface Implementations of this interface represent a mechanism for assigning values retrieved from a device connected by a IDriver to the local value or the other way round. Methods: GetRawValue SetRawValue Structure: GetRawValue (Method) SetRawValue (Method)
IDataItemValueAssigner.GetRawValue (METH) ¶ METHOD GetRawValue : POINTER TO BYTE This method can be called to retrieve the value in a form that can be written to a device connected by a IDriver from the local value InOut: Scope Name Type Comment Return GetRawValue POINTER TO BYTE A pointer to the data that should be sent. The data will be in byte order according to IDriver.DataByteOrder and the size will be the one returned by IDataItem.SizeRemote Important The returned value will not be guaranteed to be valid longer than the typically current call of IDriverStateMachine.SendRequest