WriterGroup (FB)¶
FUNCTION_BLOCK PUBLIC FINAL WriterGroup EXTENDS Component IMPLEMENTS IWriterGroup, IGroup, IGroupElement, IWriterGroup_Internal
This Function Block is used to represent the configuration parameters for Writer Groups.
See IWriterGroup for more details.
If necessary create a WriterGroupDiagnostics instance and connect it to
itfWriterGroupDiagnostics
.
It will offer the diagnostic data of an Writer Group via the itfDiagnostics
output.See: WriterGroup 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
uiWriterGroupId
UINT
udiGroupVersion
UDINT
itfWriterGroupDiagnostics
Input
itfConnection
udiPublishingInterval
UDINT
The time in µs between two NetworkmessagesThe Networkmessage will be sent via the configured task when the udiPublishingInterval time is reached.The value must be greater than the configured cycle time and has no influence on the cycle time.Output
itfDiagnostics
itfWriterGroup
Methods:
Structure: