PNSlaveDiag (FB) ¶ FUNCTION_BLOCK PNSlaveDiag EXTENDS PNSlave IMPLEMENTS DED.IDevice2 Properties: ChildNodeCount Connector Enable FirstChildNode ID , inherited from PNSlave Index IsRootNode NextSiblingNode ParentNode SiblingNodeCount Methods: CheckCurrentSupportedCommunicationState CheckSupportedCommunicationState GetDeviceDiagnosisInfo GetDeviceErrorAsync GetDeviceInfo GetDeviceState GetID , inherited from PNSlave GetSpecificDeviceErrorAsync GetSpecificDeviceState 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)
IDevice2 ¶ CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) SetCommunicationState (Method)
PNSlaveDiag.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
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CIFXProfinetControllerDiag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : DED.CAA.Count
CIFXProfinetControllerDiag.Connector (PROP) ¶ PROPERTY Connector : POINTER TO IoConfigConnector
CIFXProfinetControllerDiag.Enable (PROP) ¶ PROPERTY Enable : BOOL This property returns if the node is enabled in the device tree. The setter can be used to change the Enabled flag. If enabling/disabling is not supported on the node the flag’s value will not change.
CIFXProfinetControllerDiag.FirstChildNode (PROP) ¶ PROPERTY FirstChildNode : DED.INode
CIFXProfinetControllerDiag.Index (PROP) ¶ PROPERTY Index : UDINT
CIFXProfinetControllerDiag.IsRootNode (PROP) ¶ PROPERTY IsRootNode : BOOL