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
IBus.GetBusInfo (METH) ¶ METHOD GetBusInfo : ERROR Returns the bus information of the current node. InOut: Scope Name Type Comment Return GetBusInfo ERROR Inout buiInfo BUS_INFO bus information
IBus.GetBusState (METH) ¶ METHOD GetBusState : BUS_STATE Returns the bus state of the current node; if method returns BUS_STATE.ERROR further information can be read by GetBusError . InOut: Scope Name Type Comment Return GetBusState BUS_STATE current bus state Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling IBus.GetBusDiagnosisInfo (if supported) eError ERROR
IBus.GetQoS (METH) ¶ METHOD GetQoS : ERROR Returns quality of service information for the current bus. InOut: Scope Name Type Comment Return GetQoS ERROR Inout QualityInfo QOS_INFO quality of service information
IDevice (ITF) ¶ INTERFACE IDevice EXTENDS INode This is a generic device interface. It provides basic information on a (fieldbus) device 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: GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState SetCommunicationState GetSpecificDeviceErrorAsync GetSpecificDeviceState Structure: Fieldbus-dependent-methods GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) SetCommunicationState (Method)
Fieldbus dependent methods ¶ GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method)
IDevice.GetDeviceDiagnosisInfo (METH) ¶ METHOD GetDeviceDiagnosisInfo : ERROR Returns a DiagnosisInfo if xDiagnosisInfoAvailable of IDevice.GetDeviceState 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 GetDeviceDiagnosisInfo 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
IDevice.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : PROC_STATE Returns the device error of the current node. Note This is an asynchronous method. For easier handling use function block GetDeviceError . InOut: Scope Name Type Comment Return GetDeviceErrorAsync PROC_STATE Input eCmd PROC_CMD Inout eriDeviceError ERROR_INFO error information Output eError ERROR error code if method fails
IDevice.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo ERROR Inout deiInfo DEVICE_INFO device information
FactoryBase.FB_INIT (METH) ¶ METHOD FB_INIT : BOOL InOut: Scope Name Type Comment Return FB_INIT BOOL Input bInitRetains BOOL TRUE: the retain variables are initialized (reset warm / reset cold) bInCopyCode BOOL TRUE: the instance will be copied to the copy code afterward (online change)