ProfinetController (FB)

FUNCTION_BLOCK ProfinetController

This Function Block represents the Profinet Controller.

One instance is created for the Profinet Controller device object that is added to the device tree.

For changing the bus status, use ProfinetControllerDiag.SetCommunicationState. This derived instance is created instead, if the device diagnosis is activated.

InOut:

Scope

Name

Type

Initial

Comment

Output

xOnline

BOOL

Profinet Controller is online.

xBusy

BOOL

Profinet Controller is in startup phase;

xError

BOOL

Profinet Controller is in error state

xDataValid

BOOL

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

Status

Profinet.ControllerState

Profinet.ControllerState.NotInit

SignalLED

BOOL