6.13.4 SetTime Method
SetTime Method (defined in Table 85) is used to set the time on the Server. If an error occurs this Method shall return an error code indicating the failure to set the time (see Table 87).
Signature:
SetTime (
[in] 0:UtcTime TargetTime );
| Argument | Description |
| TargetTime | The UTC Time that the Server shall use to update its internal clock. |
Method result codes are defined as part of the Call Service (see OPC 10000-4). They are described in Table 124 for ease of reference.
Comments
The SetTime Method will change the time on the Server. Table 86 specifies the AddressSpace representation for the SetTime Method.
| Attribute | Value | |||||
| BrowseName | SetTime | |||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Other | |
|---|---|---|---|---|---|---|
| 0:HasProperty | Variable | 0:InputArguments | 0:Argument[] | 0:PropertyType | M | |
| ConformanceUnits | ||||||
|---|---|---|---|---|---|---|
| MDIS Timesync Object |
| Symbolic Id | Description |
| Bad_InvalidTimestamp | The timestamp is outside the range allowed by the Server or an error occurred setting the Server time. |