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
xDataActiveBOOLTRUE
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
xOnlineBOOLProfinet Controller is online.
xBusyBOOLProfinet Controller is in startup phase.
xErrorBOOLProfinet Controller is in error state.
xDataValidBOOLIO-Data of all enabled modules is marked valid (Input PS and Output CS is GOOD).
StatusProfinet.ControllerStateProfinet.ControllerState.NotInit
SignalLEDBOOL
Properties:
Methods:
Structure: