Reader (FB)¶
FUNCTION_BLOCK PUBLIC FINAL Reader EXTENDS Component IMPLEMENTS IReader, IGroupElement, IReader_Internal
This Function Block is used to represent the Data Set Reader Parameters.
See IReader for more details.
If necessary create a ReaderDiagnostics instance and connect it to
itfReaderDiagnostics
.
It will offer the diagnostic data of an Data Set Reader via the itfDiagnostics
output.See: DataSetReader 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
uiPublisherId
UINT
uiWriterGroupId
UINT
uiDataSetWriterId
UINT
udiGroupVersion
UDINT
itfReaderDiagnostics
Input
itfReaderGroup
Output
itfDiagnostics
itfReader
Methods:
Structure: