INode_TO_IDevice (FUN) ¶ FUNCTION INode_TO_IDevice : IDevice Converts an INode object to an IDevice object. If itfNode is no IDevice object function returns zero. InOut: Scope Name Type Comment Return INode_TO_IDevice IDevice corresponding IDevice or zero if itfNode is no IDevice object Input itfNode INode node to be converted
INode_TO_IDevice2 (FUN) ¶ FUNCTION INode_TO_IDevice2 : IDevice2 Converts an INode object to an IDevice2 object. If itfNode is no IDevice2 object function returns zero. InOut: Scope Name Type Comment Return INode_TO_IDevice2 IDevice2 corresponding IDevice2 or zero if itfNode is no IDevice2 object Input itfNode INode node to be converted
INode_TO_IStack (FUN) ¶ FUNCTION INode_TO_IStack : IStack Converts an INode object to an IStack object. If itfNode is no IStack object function returns zero. InOut: Scope Name Type Comment Return INode_TO_IStack IStack corresponding IStack or zero if itfNode is no IStack object Input itfNode INode node to be converted
Global Constants ¶ ERROR_CODES (GVL)
ERROR_CODES (GVL) ¶ The ERROR_CODES constants are used to identify a specific device or bus error. They are part of ERROR_INFO structure. The constants are divided up into different categories. The categories determine the severity of the occurred error. The exact classification of each error is done individually by each device and each bus. Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant EC_NO_ERROR CAA.IDENT 16#0 no error EC_FIRST_INFO CAA.IDENT 16#1000 first error number of category INFO EC_LAST_INFO CAA.IDENT 16#1FFF last error number of category INFO EC_FIRST_WARNING CAA.IDENT 16#2000 first error number of category WARNING EC_LAST_WARNING CAA.IDENT 16#2FFF last error number of category WARNING EC_FIRST_ERROR CAA.IDENT 16#3000 first error number of category ERROR EC_LAST_ERROR CAA.IDENT 16#3FFF last error number of category ERROR EC_FIRST_EMCY CAA.IDENT 16#4000 first error number of category EMERGENCY EC_LAST_EMCY CAA.IDENT 16#4FFF last error number of category EMERGENCY
Interfaces ¶ IBus (Interface) Fieldbus-dependent-methods GetSpecificBusState (Method) GetBusDiagnosisInfo (Method) GetBusErrorAsync (Method) GetBusInfo (Method) GetBusState (Method) GetQoS (Method) IDevice (Interface) Fieldbus-dependent-methods GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method) IDevice2 (Interface) CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) ILogger (Interface) DisableLogger (Method) EnableLogger (Method) GetLogEntry (Method) INode (Folder) ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) IReconfigureProvider (Folder) ReconfigureActive (Property) ReconfigureAsync (Method) RegisterIRPChild (Method) SiblingIRP (Property) IStack (Interface) GetBusScanAsync (Method) GetLogger (Method)
IBus (ITF) ¶ INTERFACE IBus EXTENDS INode This is a generic bus interface. It provides basic information on a fieldbus 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: GetBusDiagnosisInfo GetBusErrorAsync GetBusInfo GetBusState GetQoS GetSpecificBusState Structure: Fieldbus-dependent-methods GetSpecificBusState (Method) GetBusDiagnosisInfo (Method) GetBusErrorAsync (Method) GetBusInfo (Method) GetBusState (Method) GetQoS (Method)
Fieldbus dependent methods ¶ GetSpecificBusState (Method)
IBus.GetBusDiagnosisInfo (METH) ¶ METHOD GetBusDiagnosisInfo : ERROR Returns a DiagnosisInfo if xDiagnosisInfoAvailable of IBus.GetBusState was true. Note The interpretation of pData is fieldbus dependent and will be specified by the associated fieldbus driver. InOut: Scope Name Type Comment Return GetBusDiagnosisInfo ERROR Input pData CAA.PVOID Pointer to memory szSize CAA.SIZE Size of memory in bytes where pData is pointing to Output szCount CAA.SIZE Number of Bytes written to pData
IBus.GetBusErrorAsync (METH) ¶ METHOD GetBusErrorAsync : PROC_STATE Returns the bus error of the current node. Note This is an asynchronous method. For easier handling use function block GetBusError . InOut: Scope Name Type Comment Return GetBusErrorAsync PROC_STATE Input eCmd PROC_CMD Inout eriBusError ERROR_INFO error information Output eError ERROR