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

ProfinetDevice

xOnline

BOOL

Profinet device is online

ProfinetDevice

IPActive

BOOL

IP Stack is operating (valid IP-Address assigned)

ProfinetDevice

xError

BOOL

Any error occured (Details see output Status)

ProfinetDevice

Status

Profinet.DeviceState

Profinet.DeviceState.NotInit

Current Status of the Device

ProfinetDevice

ConnectionCount

DINT

Number of established connections

ProfinetDevice

StationName

STRING(240)

Currently active Stationname

ProfinetDevice

IPParameter

ProfinetCommon.IPParameterValue

Currently active IP-Address

ProfinetDevice

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: