Set up · tab 2
Machine data (OPC UA)
Nexa Edge reads your machines through an OPC UA server, such as TOP Server reading the PLCs. Tab 2 tells it where that server is and how to sign in.
The main server
On tab 2. Machine data:
- Server address: the OPC UA endpoint, such as
opc.tcp://127.0.0.1:49380for TOP Server on the same PC. For a server elsewhere, use its IP address and port, for exampleopc.tcp://10.0.2.5:4840. - User and Password: an account on the OPC UA server. A read-only account is enough; Nexa Edge never writes.
- Tick Remember the password on this PC so the service can sign in by itself after a restart. It is stored encrypted for this PC.
- Click Test connection to the server. The first time, the server usually refuses the app’s certificate: trust it, then test again.
Trust the certificate
Each OPC UA server must trust Nexa Edge’s certificate once. The app creates one the first time it connects; it is shown under This app’s certificate, with Open folder to find the file. Use Choose… only to reuse a certificate that a server already trusts (a .der file, with its .pem key next to it).
In TOP Server
- Run Test connection to the server once, so TOP Server sees the certificate.
- Open OPC UA Configuration and go to Trusted Clients.
- Select the Nexa Edge certificate and click Trust.
- Back in Nexa Edge, test again.
Other servers
Every OPC UA server has a list of rejected and trusted client certificates. Run the test once, find Nexa Edge in the rejected list, and move it to trusted. If the server can import a certificate instead, give it the .der file from Open folder.
Test results
| The app says | What to do |
|---|---|
| No OPC UA server answers at this address. Is TOP Server running? | Check the address and port, that the server is running, and that no firewall sits between this PC and it. |
| The OPC UA server doesn’t trust this app’s certificate yet. … | Trust it as above, then test again. |
| Wrong user name or password for the OPC UA server. | Retype them, or check the account on the server. |
More than one server
One gateway can read a whole plant, even when its machines sit behind several OPC UA servers. Under Other OPC UA servers on the plant network, click Add a server… and fill in:
- Key: a short name for the server, such as
line2. Nexa shows it next to each tag, so keep it once tags are linked. - Server address, User and Password, as for the main server. Click Test, then Save.
Each server has its own connection: one going down leaves gaps on its own machines only. Each one must trust the certificate too. Next, send their tags to Nexa.