PBS_CONFIG_STATES (ENUM) ¶ TYPE PBS_CONFIG_STATES : InOut: Name Initial Comment NOT_CONFIGURED 0 WAIT_ON_BUS_ON CONFIGURE_DEVICE CONFIGURE_IM_DATA, REGISTER_APP INIT_CHANNEL_REQ WAIT_INIT_CHANNEL_DONE CONFIGURATION_DONE GET_DEVICE_HANDLE, CONFIGURATION_FAILED SHUTDOWN
PB_SLAVE_CIFX_DIAG (STRUCT) ¶ TYPE PB_SLAVE_CIFX_DIAG : STRUCT InOut: Name Type Comment udiCCOS UDINT NetX Change Of State Filed udiCState UDINT NetX Communication State udiComError UDINT Error code of the communication Channel
FunctionBlocks ¶ IoDrvCIFXProfibusDevice (FunctionBlock) IoDrvCIFXProfibusDeviceDiag (FunctionBlock) 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) IReconfigureProvider ReconfigureAsync (Method)
IoDrvCIFXProfibusDevice (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfibusDevice EXTENDS IoDrvCIFX IMPLEMENTS ICmpEventCallback
IoDrvCIFXProfibusDeviceDiag (FB) ¶ FUNCTION_BLOCK IoDrvCIFXProfibusDeviceDiag EXTENDS IoDrvCIFXProfibusDevice IMPLEMENTS DED.IDevice2, DED.IReconfigureProvider Properties: ChildNodeCount Connector Enable FirstChildNode Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetSpecificDeviceErrorAsync GetSpecificDeviceState ReconfigureAsync SetCommunicationState 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) IReconfigureProvider ReconfigureAsync (Method)
IDevice2 ¶ CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) SetCommunicationState (Method)
IoDrvCIFXProfibusDeviceDiag.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
IoDrvCIFXProfibusDeviceDiag.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
IoDrvCIFXProfibusDeviceDiag.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
IoDrvCIFXProfibusDeviceDiag.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