OPC Foundation
  • Documents
  • NodeSets
  • Search
7.4.8 SetTime

The Method SetTime is used to set the time of the asset manually. It is recommended to be used only when an asset does not have automated time synchronization.

The joining system can report a respective event when the time is configured manually using this method.

The signature of this Method is specified below. Table 72 and Table 73 specify the Arguments and AddressSpace representation, respectively.

Signature

SetTime (

[in]0:String productInstanceUri,

[in]0:UtcTime inputTime,

[out]0:Int64 status,

[out]0:LocalizedText statusMessage)

Table 72 – SetTime Method Arguments

Argument

Description

productInstanceUri

With this argument the Client can provide the identifier of the asset on which this method is applicable.

It can be empty if the method is modelled directly under the required asset. If it is empty, the system can consider the identifier of the asset where the Server is running.

inputTime

It is the input time to be configured in the asset.

status

It provides the status of the Method execution. Refer 7.2.3 for details.

statusMessage

It provides the high-level status information in a user-friendly text.

Table 73 – SetTime Method AddressSpace Definition

Attribute

Value

BrowseName

SetTime

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

0:HasProperty

Variable

0:InputArguments

0:Argument[]

0:PropertyType

0:Mandatory

0:HasProperty

Variable

0:OutputArguments

0:Argument[]

0:PropertyType

0:Mandatory

Please report errors or issues with the site to webmaster.

Copyright © 2025 - OPC Foundation