ConnectorFlagController.Init (METH)
METHOD Init
Initialisation method. This FB saves the state of the connector. Only when the state changes, the runtime functions are called. Saves the given varaibles, instead of passing them always to the methods/properties (demo, diagAvailable, state). If you want to force definilty set the next calls to DemolicenseActive, DiagnosticAvaiable and State (buffering “for set on change” reseted), call init again.
- InOut:
Scope
Name
Type
Comment
Input
pConnectorPOINTER TO IoConfigConnector
The connector which ConnectorFlags should be controlled.
uiNCountDINTIf the slaves should be set, the list counter needs to be known.
xSetChildrenBOOLShould the child connectors ConnectorFlags also be controlled?