# OPC-UA Connector

[OPC-UA](https://en.wikipedia.org/wiki/OPC_Unified_Architecture) is a protocol for secure and reliable exchange of data in industrial automation.

## OPCUA

The OPCUA connector allows you to connect to an OPC-UA server and interact with its data.

## Endpoint

Specify the OPC-UA server connection information in the following format:

```
opc.tcp://host_name:port

# Example
opc.tcp://127.0.0.1:4840
opc.tcp://192.168.0.100:9999
```

## Parameters

- `maxRetry`: Maximum number of connection retry attempts.
- `initialDelay`: Initial delay before attempting to reconnect after a failure.
- `maxDelay`: Maximum delay between reconnection attempts.
- `requestedPublishingInterval`: Requested interval at which the server sends data changes to the client.
- `requestedLifetimeCount`: Requested number of monitored item notifications the server should keep in the queue.
- `requestedMaxKeepAliveCount`: Maximum number of keep-alive intervals without data changes.
- `maxNotificationsPerPublish`: Maximum number of notifications per publish request.
- `publishingEnabled`: Enable or disable publishing.
- `priority`: Priority of the connection.

These parameters allow you to configure the behavior of the OPC-UA connection and data exchange.

Please refer to the documentation or your OPC-UA server's settings for more information on the meanings and recommended values for these parameters.

- [creating a client](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_typescript.md)
- [creating a server](https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_server.md)
- [node-opcua](https://github.com/node-opcua/node-opcua)
