IoDrvCIFXProfinetDeviceDiag (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfinetDeviceDiag EXTENDS IoDrvCIFXProfinetDevice IMPLEMENTS DED.IDevice2, DED.IReconfigureProvider Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: AbortConnection , inherited from IoDrvCIFXProfinetDevice AddChannelDiagnosis , inherited from IoDrvCIFXProfinetDevice AddExtendedDiagnosis , inherited from IoDrvCIFXProfinetDevice AddGenericDiagnosis , inherited from IoDrvCIFXProfinetDevice CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState ConfigureFirmware , inherited from IoDrvCIFXProfinetDevice DumpPacket , inherited from IoDrvCIFXProfinetDevice GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetIdentification , inherited from IoDrvCIFXProfinetDevice GetNetworkStatistics , inherited from IoDrvCIFXProfinetDevice GetSpecificDeviceErrorAsync GetSpecificDeviceState LoadData , inherited from IoDrvCIFXProfinetDevice LogHeaderLine , inherited from IoDrvCIFXProfinetDevice LogInfo , inherited from IoDrvCIFXProfinetDevice PrepareConfiguration , inherited from IoDrvCIFXProfinetDevice ProcessCheckIndication , inherited from IoDrvCIFXProfinetDevice RemoveDiagnosis , inherited from IoDrvCIFXProfinetDevice Reset , inherited from IoDrvCIFXProfinetDevice ReturnFromSubmoduleAlarm , inherited from IoDrvCIFXProfinetDevice SaveData , inherited from IoDrvCIFXProfinetDevice SendDiagnosisAlarm , inherited from IoDrvCIFXProfinetDevice SendProcessAlarm , inherited from IoDrvCIFXProfinetDevice SetCommunicationState SetOEMParameters , inherited from IoDrvCIFXProfinetDevice UpdateIdentData , inherited from IoDrvCIFXProfinetDevice Structure: IDevice2 CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) SetCommunicationState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IDevice2 ¶ CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) SetCommunicationState (Method)
IoDrvCIFXProfinetDeviceDiag.CheckCurrentSupportedCommunicationState (METH) ¶ METHOD CheckCurrentSupportedCommunicationState : BOOL Returns true if the driver in the current state supports the requested communications state The method CheckSupportedCommunicationState is used to check for the general availability of communications states Therefore the result of CheckCurrentSupportedCommunicationState and CheckSupportedCommunicationState could differ if the driver is for example in the startup procedure and not supporting currently some communication states. InOut: Scope Name Type Comment Return CheckCurrentSupportedCommunicationState BOOL Input eRequestedState DED.DEVICE_TRANSITION_STATE The communication state to check
IoDrvCIFXProfinetDeviceDiag.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL The implementation of this method returns true if the driver supports the requested communications state The application could query a driver to check if it is supporting specific communications states generally. The method CheckCurrentSupportedCommunicationState is used to check for the current state. Therefore the result of CheckCurrentSupportedCommunicationState and CheckSupportedCommunicationState could differ if the driver is for example in the startup procedure and not supporting currently some communication states. InOut: Scope Name Type Comment Return CheckSupportedCommunicationState BOOL Input eRequestedState DED.DEVICE_TRANSITION_STATE The communication state to check
IoDrvCIFXProfinetDeviceDiag.GetDeviceDiagnosisInfo (METH) ¶ METHOD GetDeviceDiagnosisInfo : DED.ERROR Returns a DiagnosisInfo if xDiagnosisInfoAvailable of GetDeviceState was true. InOut: Scope Name Type Comment Return GetDeviceDiagnosisInfo DED.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
IoDrvCIFXProfinetDeviceDiag.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node; you can also use functionblock GetDeviceError. InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand Inout eriDeviceError DED.ERROR_INFO error struct Output eError DED.ERROR error code if method fails
IoDrvCIFXProfinetDeviceDiag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DED.DEVICE_INFO Device information struct
IoDrvCIFXProfinetDeviceDiag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the device; if device state is ERROR further information can be read by GetDeviceError InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling GetDeviceDiagnosisInfo eError DED.ERROR
IoDrvCIFXProfinetDeviceDiag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the specific device error of the current node; interpretation is fieldbus-dependent; you can also use functionblock GetSpecificDeviceError InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand 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 eError DED.ERROR error code if method fails
IoDrvCIFXProfinetDeviceDiag.GetSpecificDeviceState (METH) ¶ METHOD GetSpecificDeviceState : DED.ERROR Returns the fieldbus specific device state; interpretation is fieldbus dependent InOut: Scope Name Type Comment Return GetSpecificDeviceState DED.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