Configuration (FB)

FUNCTION_BLOCK PUBLIC FINAL Configuration EXTENDS Component IMPLEMENTS IConfiguration, IGroup, IConfiguration_Internal

This Function Block is used to represent the Pub/Sub Configuration of an OPC UA Application
See IConfiguration for more details.
If necessary create a RootDiagnostics instance and connect it to itfRootDiagnostics. It will offer the diagnostic data of an OPC UA Application via the itfDiagnostics output.

An example of an common configuration:

../../_images/UADP_Config.png

See: PubSub Configuration Model at OPC Foundation.

InOut:

Scope

Name

Type

Comment

Inherited from

Output

eErrorID

ERROR

Reason for STATE.ERROR

Component

xActive

BOOL

True 🠖 STATE.OPERATIONAL

Component

eState

State

See: State Transition Diagram at STATE

Component

Input Const

itfRootDiagnostics

IRootDiagnostics

Output

itfDiagnostics

IRootDiagnostics

itfConfiguration

IConfiguration

Methods:

Structure: