# OPC DA Endpoint Properties

## `tag` (string)

The name of the tag that should be accessed. Use this property for a single tag, or alternatively the tags property for multiple ones.

Examples: `"Random.Real4"`, `"Triangle Waves.Int2"`

## `type` (string, enum)

The type of the tag

This element must be one of the following enum values:

* `DATE`
* `CURRENCY`
* `VARIANTBODY`
* `VARIANT`
* `DOUBLE`
* `COMARRAY`
* `BOOLEAN`
* `SHORT`
* `INTEGER`
* `FLOAT`
* `STRING`
* `UUID`
* `BYTE`
* `LONG`
* `CHARACTER`
* `INTERFACEPOINTER`
* `INTERFACEPOINTERBODY`
* `DISPATCH`
* `COMOBJECT`
* `POINTER`
* `STRUCT`
* `UNION`
* `COMSTRING`
* `UNSIGNEDBYTE`
* `UNSIGNEDSHORT`
* `UNSIGNEDINTEGER`
* `DUALSTRINGARRAY`

## `tags` (array)

An array of names of the tags that should be accessed. Use this property for multiple tags, or alternatively tag for a single one.

The object is an array with all elements of the type `string`.

Example: `["Random.Real4","Triangle Waves.Int2"]`

## `browse` (string, enum)

The method for browsing this OPC DA server. Use this property if the endpoint should serve as a browse endpoint, alternative to the tag or tags endpoint.

This element must be one of the following enum values:

* `flat`
* `tree`

Default: `"flat"`

## `interval` (integer)

Polling interval in ms for subscriptions

Default: `1000`

## `cronExpression` (string)

The Cron expression used to poll the endpoint. (For examples, see: <https://github.com/node-cron/node-cron>)

Examples: `"1,2,4,5 * * * *"`, `"1-5 * * * *"`, `"*/2 * * * *"`, `"* * * January,September Sunday"`


---

# Agent Instructions: 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.cybus.io/2-1-2/connectors/shop-floor-connectors/opc-da/opcdaendpoint.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.
