ProfinetControllerDiag (FB)
FUNCTION_BLOCK ProfinetControllerDiag EXTENDS ProfinetController IMPLEMENTS DED.IDevice2, DED.IBus, DED.IReconfigureProvider
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xDataActiveBOOLTRUE
If set to FALSE, all Output Data is set to invalid by ‘BAD’ Output Provider State (unless this PS is not mapped to output variable). Profinet Modules apply their substitute values.
Output
xOnlineBOOLProfinet Controller is online.
xBusyBOOLProfinet Controller is in startup phase.
xErrorBOOLProfinet Controller is in error state.
xDataValidBOOLIO-Data of all enabled modules is marked valid (Input PS and Output CS is GOOD).
StatusProfinet.ControllerStateProfinet.ControllerState.NotInit
SignalLEDBOOL
Properties:
ChildNodeCount
Connector
Enable
FirstChildNode
Index
IsRootNode
MasterID, inherited from ProfinetController
NextSiblingNode
ParentNode
SiblingNodeCount
Methods:
GetChild
Backup, inherited from ProfinetController
CheckCurrentSupportedCommunicationState
CheckSupportedCommunicationState
GetBusDiagnosisInfo
GetBusErrorAsync
GetBusInfo
GetBusState
GetDeviceDiagnosisInfo
GetDeviceErrorAsync
GetDeviceInfo
GetDeviceState
GetQoS
GetSpecificBusState
GetSpecificDeviceErrorAsync
GetSpecificDeviceState
SetCommunicationState
Structure:
ProfinetControllerDiag.GetChild(METH)IBusIDevice2ProfinetControllerDiag.CheckCurrentSupportedCommunicationState(METH)ProfinetControllerDiag.CheckSupportedCommunicationState(METH)ProfinetControllerDiag.GetDeviceDiagnosisInfo(METH)ProfinetControllerDiag.GetDeviceErrorAsync(METH)ProfinetControllerDiag.GetDeviceInfo(METH)ProfinetControllerDiag.GetDeviceState(METH)ProfinetControllerDiag.GetSpecificDeviceErrorAsync(METH)ProfinetControllerDiag.GetSpecificDeviceState(METH)ProfinetControllerDiag.SetCommunicationState(METH)
INodeProfinetControllerDiag.ChildNodeCount(PROP)ProfinetControllerDiag.Connector(PROP)ProfinetControllerDiag.Enable(PROP)ProfinetControllerDiag.FirstChildNode(PROP)ProfinetControllerDiag.Index(PROP)ProfinetControllerDiag.IsRootNode(PROP)ProfinetControllerDiag.NextSiblingNode(PROP)ProfinetControllerDiag.ParentNode(PROP)ProfinetControllerDiag.SiblingNodeCount(PROP)