IStack (ITF) ¶ INTERFACE IStack EXTENDS IDevice Interface for a communicaton stack. Properties: ChildNodeCount , inherited from INode Enable , inherited from INode FirstChildNode , inherited from INode IsRootNode , inherited from INode NextSiblingNode , inherited from INode ParentNode , inherited from INode SiblingNodeCount , inherited from INode Methods: GetBusScanAsync GetLogger GetDeviceDiagnosisInfo , inherited from IDevice GetDeviceErrorAsync , inherited from IDevice GetDeviceInfo , inherited from IDevice GetDeviceState , inherited from IDevice GetSpecificDeviceErrorAsync , inherited from IDevice GetSpecificDeviceState , inherited from IDevice SetCommunicationState , inherited from IDevice Structure: GetBusScanAsync (Method) GetLogger (Method)
IStack.GetBusScanAsync (METH) ¶ METHOD GetBusScanAsync : PROC_STATE Returns the bus scan of the current node InOut: Scope Name Type Comment Return GetBusScanAsync PROC_STATE Input eCmd PROC_CMD Output itfFirstDevice INode First node of scanned device list eError ERROR
IStack.GetLogger (METH) ¶ METHOD GetLogger : ILogger Returns a logger instance (if supported). InOut: Scope Name Type Return GetLogger ILogger Output eError ERROR
Internal ¶ Internal functions and function blocks used by the I/O driver implementations. Diag Base CAADiagDeviceDefault (FunctionBlock) GetDeviceInfo (Method) GetDeviceState (Method) CAADiagTreeBase (FunctionBlock) INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) CAAReconfigureBase (FunctionBlock) BeginReconfigure (Method) EndReconfigure (Method) IReconfigureProvider ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) Initialize_Diag (Method) Reconfigure-Implementations ReconfigureChildrenAsync (Method) ReconfigureIoDriverAsync (Method)
Diag Base ¶ Base implementations used by the I/O drivers. CAADiagDeviceDefault (FunctionBlock) GetDeviceInfo (Method) GetDeviceState (Method) CAADiagTreeBase (FunctionBlock) INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) CAAReconfigureBase (FunctionBlock) BeginReconfigure (Method) EndReconfigure (Method) IReconfigureProvider ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) Initialize_Diag (Method) Reconfigure-Implementations ReconfigureChildrenAsync (Method) ReconfigureIoDriverAsync (Method)
CAADiagDeviceDefault (FB) ¶ FUNCTION_BLOCK CAADiagDeviceDefault EXTENDS CAADiagTreeBase IMPLEMENTS IDevice2 The default implementation if the fieldbus specific driver implements no diagnosis functions. Properties: ChildNodeCount , inherited from CAADiagTreeBase Enable , inherited from CAADiagTreeBase FirstChildNode , inherited from CAADiagTreeBase IsRootNode , inherited from CAADiagTreeBase NextSiblingNode , inherited from CAADiagTreeBase ParentNode , inherited from CAADiagTreeBase SiblingNodeCount , inherited from CAADiagTreeBase Methods: GetDeviceInfo GetDeviceState Structure: GetDeviceInfo (Method) GetDeviceState (Method)
CAADiagTreeBase (FB) ¶ FUNCTION_BLOCK CAADiagTreeBase IMPLEMENTS INode Default implementation of INode interface for CAADiagDeviceDefault function block Properties: ChildNodeCount Enable FirstChildNode IsRootNode NextSiblingNode ParentNode SiblingNodeCount Structure: INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CAAReconfigureBase (FB) ¶ FUNCTION_BLOCK CAAReconfigureBase IMPLEMENTS IReconfigureProvider This function block provides a base implementation for IReconfigureProvider . It is important to call CAAReconfigureBase.Initialize_Diag once before using this function block. I/O driver nodes just delegate all IReconfigureProvider methods and properties to this function block. There is no additional code necessary. For other nodes a specific implementation is necessary. For this CAAReconfigureBase.BeginReconfigure , CAAReconfigureBase.ReconfigureChildrenAsync and CAAReconfigureBase.EndReconfigure can be used. Properties: ReconfigureActive SiblingIRP Methods: BeginReconfigure EndReconfigure Initialize_Diag ReconfigureAsync ReconfigureChildrenAsync ReconfigureIoDriverAsync RegisterIRPChild Structure: BeginReconfigure (Method) EndReconfigure (Method) IReconfigureProvider ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) Initialize_Diag (Method) Reconfigure-Implementations ReconfigureChildrenAsync (Method) ReconfigureIoDriverAsync (Method)
Structs ¶ BUS_INFO (Struct) DEVICE_INFO (Struct) ERROR_INFO (Struct) LOG_ENTRY (Struct) QOS_INFO (Struct)
BUS_INFO (STRUCT) ¶ TYPE BUS_INFO : STRUCT This structure provides basic information on a fieldbus: eType : Type of fieldbus. See BUS_TYPE . idSystem : Unique system ID for the identification of the fieldbus. Bus Type Interpretation CANbus Network ID Profibus DP MasterID (see also Master-FB Property) DeviceNet Network ID EtherCAT low DWORD of the MAC address of the master Sercos III CAA.gc_idMAX_IDENT Profinet IO MasterID (see also Controller-FB Property) Modbus TCP CAA.gc_idMAX_IDENT Modbus RTU CAA.gc_idMAX_IDENT EtherNet/IP IP address AS Interface CAA.gc_idMAX_IDENT Ethernet IP address Serial Line number of COM port idInstance : Instance number in I/O configuration (starting by 0). Example First CANbus has instance number 0, second CANbus instance number 1, … Attributes: qualified_only InOut: Name Type Comment eType BUS_TYPE Unique ID of the fieldbus type (e.g. CANopen, ProfiBus) idSystem CAA.IDENT Unique system ID for the identification of the fieldbus. The interpretation of this value is fieldbus dependent (e.g. NetID for CANBus). If the value gc_idMAX_IDENT is returned the system ID could not be determined. idInstance CAA.IDENT Instance number in I/O configuration.