IDriver (ITF) ¶ INTERFACE IDriver EXTENDS __SYSTEM.IQueryInterface This interface must be implemented by communication drivers that provide data for the Datasources data aquisition mechanism. Properties: CredentialsHandling DataByteOrder RequestFactory StateMachine TargetByteOrder Methods: Init Structure: CredentialsHandling (Property) DataByteOrder (Property) Init (Method) RequestFactory (Property) StateMachine (Property) TargetByteOrder (Property)
IDriver.CredentialsHandling (PROP) ¶ PROPERTY CredentialsHandling : 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.
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)
IDriverCDSV3.CanSendCDSV3CustomRequest (METH) ¶ METHOD CanSendCDSV3CustomRequest : BOOL InOut: Scope Name Type Return CanSendCDSV3CustomRequest BOOL
IDriverCredentialsHandling (ITF) ¶ INTERFACE IDriverCredentialsHandling EXTENDS __SYSTEm.IQueryInterface Implementations of this interface handle credentials that might be necessary for logging in to a specific device. Properties: CredentialsNecessary Methods: SetCredentials Structure: CredentialsNecessary (Property) SetCredentials (Method)