ProfinetDeviceDiag (FB)
FUNCTION_BLOCK ProfinetDeviceDiag EXTENDS ProfinetDevice IMPLEMENTS DED.IDevice2, DED.IBus, DED.IReconfigureProvider
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Output
xStartupBOOLProtocol stack is in startup phase
xOnlineBOOLProfinet device is online
IPActiveBOOLIP Stack is operating (valid IP-Address assigned)
xErrorBOOLAny error occured (Details see output Status)
StatusProfinet.DeviceStateProfinet.DeviceState.NotInit
Current Status of the Device
ConnectionCountDINTNumber of established connections
StationNameSTRING(240)Currently active Stationname
IPParameterProfinetCommon.IPParameterValueCurrently active IP-Address
Properties:
ChildNodeCount
Connector
DeviceID, inherited from ProfinetDevice
Enable
FirstChildNode
Index
IsRootNode
NextSiblingNode
ParentNode
SiblingNodeCount
Methods:
CheckCurrentSupportedCommunicationState
CheckSupportedCommunicationState
CommCycle, inherited from ProfinetDevice
GetBusDiagnosisInfo
GetBusErrorAsync
GetBusInfo
GetBusState
GetChild
GetDeviceDiagnosisInfo
GetDeviceErrorAsync
GetDeviceInfo
GetDeviceState
GetQoS
GetSpecificBusState
GetSpecificDeviceErrorAsync
GetSpecificDeviceState
SetCommunicationState
Structure:
IBusIDevice2ProfinetDeviceDiag.CheckCurrentSupportedCommunicationState(METH)ProfinetDeviceDiag.CheckSupportedCommunicationState(METH)ProfinetDeviceDiag.GetDeviceDiagnosisInfo(METH)ProfinetDeviceDiag.GetDeviceErrorAsync(METH)ProfinetDeviceDiag.GetDeviceInfo(METH)ProfinetDeviceDiag.GetDeviceState(METH)ProfinetDeviceDiag.GetSpecificDeviceErrorAsync(METH)ProfinetDeviceDiag.GetSpecificDeviceState(METH)ProfinetDeviceDiag.SetCommunicationState(METH)
INodeProfinetDeviceDiag.ChildNodeCount(PROP)ProfinetDeviceDiag.Connector(PROP)ProfinetDeviceDiag.Enable(PROP)ProfinetDeviceDiag.FirstChildNode(PROP)ProfinetDeviceDiag.GetChild(METH)ProfinetDeviceDiag.Index(PROP)ProfinetDeviceDiag.IsRootNode(PROP)ProfinetDeviceDiag.NextSiblingNode(PROP)ProfinetDeviceDiag.ParentNode(PROP)ProfinetDeviceDiag.SiblingNodeCount(PROP)