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
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.
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
Properties:
Methods:
Structure: