You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1219,7 +1219,7 @@ The library is based on the [**Fraunhofer open62541**](https://github.com/open62
1219
1219
1220
1220
The [**OPC Unified Architecture (OPC UA)**](https://en.wikipedia.org/wiki/OPC_Unified_Architecture) is an industrial communication protocol widely used in automation and Industrial Internet of Things (IIoT) systems.
1221
1221
1222
-
It provides a platform-independent and secure method for exchanging information between devices and systems. **OPC UA** supports features like custom data modeling, authentication, encryption, and scalable architecture, making it a preferred choice for modern industrial applications.
1222
+
It provides a platformindependent and secure method for exchanging information between devices and systems. **OPC UA** supports features like custom data modeling, authentication, encryption, and scalable architecture, making it a preferred choice for modern industrial applications.
1223
1223
1224
1224
The [**open62541** library](https://github.com/open62541/open62541) is an open-source implementation of the **OPC UA** standard. It is lightweight, efficient and written in C, making it ideal for embedded systems like the Opta. The library provides a flexible framework to create **OPC UA** servers and clients, ensuring compatibility with the standard while maintaining high performance.
1225
1225
@@ -1231,7 +1231,7 @@ The [**OPC UA library**](https://github.com/arduino-libraries/Arduino_OPC_UA) su
1231
1231
1232
1232
### Setting up the OPC UA Server
1233
1233
1234
-
To set up the **OPC UA** server, upload the [**`opta_opcua_server`** example](https://github.com/arduino-libraries/Arduino_OPC_UA/blob/main/examples/opta_opcua_server/opta_opcua_server.ino) to your Opta. This can be done using the Arduino IDE or the Arduino CLI tool with the command:
1234
+
To set up the **OPC UA** server, upload the [**`opta_opcua_server`** example](https://github.com/arduino-libraries/Arduino_OPC_UA/blob/main/examples/opta_opcua_server/opta_opcua_server.ino) to your Opta. This can be done using the Arduino IDE or the Arduino CLI tool with the command.
1235
1235
1236
1236

1237
1237
@@ -1249,17 +1249,17 @@ Next, connect the Opta to a network using its Ethernet port, ensuring that the n
1249
1249
1250
1250
Open a serial monitor to verify the status of the server and obtain the device's IP address. The output will include information about the server, including its **discovery URL**.
1251
1251
1252
-
The Arduino IDE Serial Monitor can be used to get information about the server or programs like [Putty](https://www.putty.org/) to open a Serial connection.
1252
+
The Arduino IDE Serial Monitor can be used to get information about the server or programs like [**Putty**](https://www.putty.org/) to open a Serial connection.
1253
1253
1254
1254
The following clip shows Opta running OPC UA server script and showing server information on the Serial Monitor:
1255
1255
1256
1256

1257
1257
1258
-
With [Putty](https://www.putty.org/), the following serial monitor shows the server information:
1258
+
With [**Putty**](https://www.putty.org/), the following serial connection shows the server information:
1259
1259
1260
1260

1261
1261
1262
-
The output information extracted is as follows and you should see similar to the following:
1262
+
The output information extracted is as follows and you should see similar information:
1263
1263
1264
1264
```bash
1265
1265
[2024-12-11 22:19:08.000 (UTC+0000)] [32minfo/eventloop[0m Starting the EventLoop
@@ -1293,7 +1293,7 @@ In this example, the output displays the IP address:
1293
1293
192.168.100.191
1294
1294
```
1295
1295
1296
-
And indicate that the OPC UA server is running at:
1296
+
The discovery URL is as follows, which indicates the OPC UA server is running at:
1297
1297
1298
1298
```bash
1299
1299
opc.tcp://192.168.100.191:4840
@@ -1305,9 +1305,11 @@ You can now connect to the OPC UA server running on Opta.
1305
1305
1306
1306
Once the server is running, use any OPC UA compatible client to connect to the server using the IP address and port printed in the serial monitor output. This allows you to explore and interact with the device and any attached expansion boards.
1307
1307
1308
+
The [**opcua-client-gui**](https://github.com/FreeOpcUa/opcua-client-gui) client will be used to connect to the OPC UA server running on Opta.
1309
+
1308
1310
### Using OPC UA GUI Client for Testing
1309
1311
1310
-
The [**opcua-client-gui**](https://github.com/FreeOpcUa/opcua-client-gui) client can be used if you are interested in testing or further interaction. To install the tool, please use the following commands:
1312
+
The [**opcua-client-gui**](https://github.com/FreeOpcUa/opcua-client-gui) client can be used if you are interested in testing or further interaction with the OPC UA server. To install the tool, please use the following commands:
If you are on a Windows OS platform, please follow the next steps:
1336
1338
1337
1339
1. Install [**WinPython**](https://winpython.github.io/) and install the version including **`pyqt5`**.
1340
+
1338
1341
2. Use `pip` to install **opcua-client**:
1339
1342
1340
1343
```bash
1341
1344
pip install opcua-client
1342
1345
```
1343
1346
1344
-
It is recommended that the command be run within the WinPython Command Prompt downloaded with [winpython](https://winpython.github.io/).
1347
+
It is recommended that the command be run within the *`WinPython Command Prompt`* downloaded with [winpython](https://winpython.github.io/).
1345
1348
1346
1349
3. Run via the script `pip` created: `YOUR_INSTALL_PATH\Python\Python35\Scripts\opcua-client.exe`
1347
1350
1348
1351
It will launch the GUI and connect to the OPC UA server running on the Opta using the discovery URL. You will be able to see similar results as in the following clip:
1349
1352
1350
1353

1351
1354
1352
-
With this, Opta is now ready to handle the OPC UA protocol through simple [OPC UA GUI client](https://github.com/FreeOpcUa/opcua-client-gui).
1355
+
With this, Opta is ready to handle the OPC UA protocol through simple [OPC UA GUI client](https://github.com/FreeOpcUa/opcua-client-gui).
1353
1356
1354
-
The client allows forconnection management, browsing, attribute or reference viewing, variable subscription, event subscription, value writing, secure communication, method invocation, data plotting, and state persistence.
1357
+
The client allows connection management, browsing, attribute or reference viewing, variable subscription, event subscription, value writing, secure communication, method invocation, data plotting, and state persistence.
1355
1358
1356
1359
***For more information about the simple OPC UA GUI client and dedicatd installation instruction sets, please refer to [**opcua-client-gui** repository](https://github.com/FreeOpcUa/opcua-client-gui).***
0 commit comments