ProfinetControllerDiag (FB)

FUNCTION_BLOCK ProfinetControllerDiag EXTENDS ProfinetController IMPLEMENTS DED.IDevice2, DED.IBus, DED.IReconfigureProvider

See ProfinetController

InOut:

Scope

Name

Type

Initial

Comment

Inherited from

Input

xDataActive

BOOL

TRUE

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.

ProfinetController

Output

xOnline

BOOL

Profinet Controller is online.

ProfinetController

xBusy

BOOL

Profinet Controller is in startup phase.

ProfinetController

xError

BOOL

Profinet Controller is in error state.

ProfinetController

xDataValid

BOOL

IO-Data of all enabled modules is marked valid (Input PS and Output CS is GOOD).

ProfinetController

Status

Profinet.ControllerState

Profinet.ControllerState.NotInit

ProfinetController

SignalLED

BOOL

ProfinetController

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: