Writer (FB)

FUNCTION_BLOCK PUBLIC FINAL Writer EXTENDS Component IMPLEMENTS IWriter, IGroupElement, IWriter_Internal

This Function Block is used to represent the Data Set Writer Parameters.
See IWriter for more details.
If necessary create a WriterDiagnostics instance and connect it to itfWriterDiagnostics. It will offer the diagnostic data of an Data Set Writer via the itfDiagnostics output.

See: DataSetWriter 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

uiDataSetWriterId

UINT

itfWriterDiagnostics

IWriterDiagnostics

Input

itfWriterGroup

IWriterGroup

Output

itfDiagnostics

IWriterDiagnostics

itfWriter

IWriter

Methods:

Structure: