The ResultType provides the results of a specific program run. It is formally defined in Table 63.

Table 63 – ResultType Definition

Attribute

Value

BrowseName

ResultType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of 0:BaseObjectType defined in OPC 10000-5

0:HasProperty

Variable

ApplicationUri

0:String

0:PropertyType

M

0:HasProperty

Variable

Description

0:LocalizedText

0:PropertyType

M

0:HasProperty

Variable

DeviceProgramRunId

0:String

0:PropertyType

O

0:HasProperty

Variable

EstimatedRuntime

0:Duration

0:PropertyType

O

0:HasComponent

Object

FileSet

ResultFileSetType

M

0:HasProperty

Variable

SupervisoryJobId

0:String

0:PropertyType

M

0:HasComponent

Object

ProgramTemplate

ProgramTemplateType

M

0:HasProperty

Variable

Properties

KeyValueType[]

0:PropertyType

M

0:HasProperty

Variable

Samples

SampleInfoType[]

0:PropertyType

M

0:HasProperty

Variable

Started

0:DateTime

0:PropertyType

M

0:HasProperty

Variable

Stopped

0:DateTime

0:PropertyType

M

0:HasProperty

Variable

SupervisoryTaskId

0:String

0:PropertyType

M

0:HasProperty

Variable

TotalPauseTime

0:Duration

0:PropertyType

O

0:HasProperty

Variable

TotalRuntime

0:Duration

0:PropertyType

O

0:HasProperty

Variable

User

0:String

0:PropertyType

M

0:HasComponent

Object

VariableSet

VariableSetType

M

0:HasProperty

Variable

Samples

SampleInfoType[]

0:PropertyType

M

Conformance Units

LADS ResultType

ApplicationUri provides information about the remote client that initiated the program run generating the result. It must align with the ApplicationUri in the ApplicationDescription (refer to OPC 10000-4 section 7.1) of a Session (refer to OPC 10000-4 section 5.6.2). In instances where the program was initiated locally and cannot be attributed to an OPC UA Client, the ApplicationUri of the Server should be utilized.

User provides information about the remote client user that initiated the program run generating the result. User must be a human-readable value, based on the UserIdentityToken (refer to OPC 10000-4 section 7.36). In instances where the program was initiated locally and cannot be attributed to an OPC UA Client, the local user of the Server should be utilized.

Recommendations for creating the User parameter are as follows:

• AnonymousIdentityToken: This should not be utilized.

• UserNameIdentityToken: The UserName field should be utilized.

• X509IdentityToken: The Common Name of the certificate should be utilized.

• IssuedIdentityToken (JWT): The Name field of the access Token Claim should be utilized (refer to 10000-6 section 6.5.3.2).

Description is the human-readable description of the specific program run that created this result and the result itself.

DeviceProgramRunId is the internal program identifier assigned by the Device to the program run generating this result. It is used to identify a Result object and is returned to the Client when the StartProgram Method is called.

SupervisoryJobId is the identifier for the execution of a specific workflow consisting of one or multiple steps. It is provided as an Argument of the StartProgram() Method which initiates the program run.

SupervisoryTaskId is the unique identifier of the specific Task in the supervisory system to which the result belongs. It is provided as an Argument of the StartProgram() Method which initiates the program run.

ProgramTemplate is an immutable copy of the Program Template attributes with which the result was generated and is provided for documentation and traceability purposes. This copy will not change even if the original is changed.

Properties is a list of key-value pairs with KeyValueType which is provided when calling the StartProgram() Method. It can be utilized when performing the program run and is provided in the ResultType object for documentation and traceability purposes.

Samples is a list of sample-specific information with SampleInfoType which is provided when calling the StartProgram() Method. It can be utilized when performing the program run and is provided in the ResultType object for documentation and traceability purposes.

Started is the timestamp of when the program was started.

Stopped is the timestamp of when the program was stopped.

EstimatedRuntime is the time that was estimated for the program execution.

TotalRuntime is the total time of program execution, including paused states. The paused states are Held and Suspended.

TotalPauseTime is the time the program execution for the result was in a paused state. The paused states are Held and Suspended.

The EstimatedRuntime, TotalRuntime and TotalPauseTime information is retrieved from the last value of the ActiveProgram properties.

FileSet is a list of represented files of ResultFileType objects which were generated during the run. The format of the individual files is represented via an associated MIME type attribute.

VariableSet contains additional vendor-specific sample data that was created during a run. The value of the variables in the set or in a nested structure in the set are immutable. Thus, the value attribute is not allowed to change from the Client or Server side after the creation of a Node.