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

ERROR

Reason for STATE.ERROR

Component

xActive

BOOL

True 🠖 STATE.OPERATIONAL

Component

eState

State

See: State Transition Diagram at STATE

Component

Input Const

uiWriterGroupId

UINT

udiGroupVersion

UDINT

itfWriterGroupDiagnostics

IWriterGroupDiagnostics

Input

itfConnection

IConnection

udiPublishingInterval

UDINT

The time in µs between two Networkmessages
The 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

IWriterGroupDiagnostics

itfWriterGroup

IWriterGroup

Methods:

Structure: