OPC Foundation
  • Documents
  • NodeSets
  • Search
5.6.4 Respond2 Method

Respond2Method extends the respond method by adding a comment field. For other functionality see the Respond Method definition.

Signature

Respond2(

[in] Int32 SelectedResponse

[in] LocalizedTextComment

);

The parameters are defined in Table 31

Table 31– Respond2 parameters

Argument

Description

SelectedResponse

Selected index of the ResponseOptionSetarray.

Comment

A localized text to be applied to the Dialog.

If the Commentargument is NULL (both locale and text are empty) it will be ignored and any existing comments will remain unchanged. If the comment is to be reset, an empty text with a locale shall be provided.

Methodresult codes in Table 32(defined in Call Service)

Table 32– Respond2 Result Codes

Result Code

Description

Bad_DialogNotActive

See Table 137for the description of this result code.

Bad_DialogResponseInvalid

See Table 137for the description of this result code.

Table 33specifies the AddressSpacerepresentation for the Respond2 Method.

Table 33– Respond2 Method AddressSpace definition

Attribute

Value

BrowseName

Respond2

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

HasProperty

Variable

InputArguments

Argument[]

PropertyType

Mandatory

AlwaysGeneratesEvent

ObjectType

AuditConditionRespondEventType

Defined in 5.10.5

ConformanceUnits

A & C Dialog2

If Auditingis supported, this Methodshall generate an Eventof AuditConditionRespondEventTypefor all invocations of the Method.

Please report errors or issues with the site to webmaster.

Copyright © 2023 - OPC Foundation