Connection.SetInitialValue (METH)

METHOD FINAL SetInitialValue : ERROR

SetInititalValue is a helper method in cases a static initialization in the context of a declaration can not working properly due the initialization sequences of the compiler.
As soon as the FB Connection is embedded when designing own function blocks and parameters from the embedded FB’s VAR_INPUT CONSTANT area are to be provided with initial values, it is time to consider the using of SetInitialValue.
The udiPublishingInterval is set in WriterGroup function block.

For a description of the individual parameters, please refer to the VAR_INPUT CONSTANT section of Connection.

InOut:

Scope

Name

Type

Initial

Return

SetInitialValue

ERROR

Input

itfAsyncProperty

IAsyncProperty

itfTSNContext

ITSNContext

uiPublisherId

UINT

itfIPAddress

IIPAddress

uiPort

UINT

itfPublisherIP

IIPAddress

uiPublisherPort

UINT

itfSubscriberIPSet

IIPAddressSet

itfConnectionDiagnostics

IConnectionDiagnostics

0