> For the complete documentation index, see [llms.txt](https://docs.tricloudnexus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tricloudnexus.io/edge/nexus-modules/data-connector-modules/opcuamodule/direct-commands.md).

# Direct Commands

The OpcUAModule supports a number of direct commands that are used for controlling the data collection on the edge device.

* **Browse**: Allows browsing of the OPC UA namespace. The opc namespace is saved to a file and upload to a cloud storage account.
* **ValidateTags**: Direct command to support validating OPC UA item references. This command is usefull when configuring new OPC UA tags, where this method can ensure that the tag references are valid.
* **GetSnapshot**: Direct command support to get latest OPC UA value from a list of item references. This command is usefull when configuring new tags, to ensure that values and value scaling is correct.
* **Write**: Direct command to support writing measurements to an OPC UA server, using already configured tags. This can be used to test that writing is possible.

Additionally, the current configuration can be retrieved with the following direct methods:

* **GetConfig**: Triggers that a copy of the current configuration is returned in the payload. If the content is larger than the allowed payload size of a direct command, it is truncated.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tricloudnexus.io/edge/nexus-modules/data-connector-modules/opcuamodule/direct-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
