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
Reason for STATE.ERROR
Component
xActive
BOOL
True
🠖 STATE.OPERATIONALComponent
eState
See: State Transition Diagram at STATE
Component
Input Const
uiDataSetWriterId
UINT
itfWriterDiagnostics
Input
itfWriterGroup
Output
itfDiagnostics
itfWriter
Methods:
Structure: