ProfinetDeviceDiag
(FB)
FUNCTION_BLOCK ProfinetDeviceDiag EXTENDS ProfinetDevice IMPLEMENTS DED.IDevice2, DED.IBus, DED.IReconfigureProvider
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Output
xStartup
BOOL
Protocol stack is in startup phase
xOnline
BOOL
Profinet device is online
IPActive
BOOL
IP Stack is operating (valid IP-Address assigned)
xError
BOOL
Any error occured (Details see output Status)
Status
Profinet.DeviceState
Profinet.DeviceState.NotInit
Current Status of the Device
ConnectionCount
DINT
Number of established connections
StationName
STRING(240)
Currently active Stationname
IPParameter
ProfinetCommon.IPParameterValue
Currently 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:
IBus
IDevice2
ProfinetDeviceDiag.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)
INode
ProfinetDeviceDiag.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)