> For the complete documentation index, see [llms.txt](https://docs.monokot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.monokot.io/quickstart.md).

# Quickstart

In this 5–10 minute guide, you will set up communication with a Modbus TCP device and create several tags available for the OPC UA client. If you do not have Monokot Server, go to[ ](https://www.monokot.io/download/)[<mark style="color:blue;">this</mark>](/basics/installation.md) section to download and install it.

### Connection to Monokot Server <a href="#h.26ahlvn04b2v" id="h.26ahlvn04b2v"></a>

1. Open Monokot Server Administrator
2. Create a new connection or just click the *Connect* button to connect to the local server
3. Please wait until the main application window opens

### Configuring Modbus TCP Device <a href="#h.g6g8jfvgg34d" id="h.g6g8jfvgg34d"></a>

1. In the *Server Explorer* pane, double-click on *Devices* to open the device manager

![](/files/umFWVQyYUvAMgTdojtGa)

2. In the device manager, click on the *New Device* button
3. In the drop-down menu, select *Modbus TCP*
4. On the settings pane, enter the IP address of the target device and slave ID (if required)

### Creating Tags <a href="#h.ux81zl8bzqaa" id="h.ux81zl8bzqaa"></a>

1. In the *Server Explorer* pane, double-click on *Tags* to open the tags manager

![](/files/aZaWjStfb3opBL9GqQUg)

2. In the tags manager, click on the *New Group* button
3. Double-click on the new group, name it as **MyModbusTags** and press the Enter key
4. Click on the *New Tag* button
5. To associate the tag with a device, double-click on the *Device* cell
6. Click on the *...* button in the device cell
7. In the device selector dialog window, select the **Device1** and click the *OK* button
8. Double-click on the *Address* cell
9. To specify Modbus register, in the address editor, type **300000\@WORD** and press the Enter key or use graphical address editor by clicking on the *Pen* button. Thus, the tag will be addressed to the first register of the Internal Registers area in the Word format
10. Click on the *New Tag* button and associate the created **Tag2** with **Device1**
11. Set address **400001.3** to **Tag2**. Thus, the tag will be addressed to the fourth bit of the second register from the Holding Registers area
12. To make your changes take effect, click on the *Sync* button (on the top panel) or press the F5 key

After the changes are synchronized with the server, the **Tag1** and **Tag2** will be associated with the specified registers and will become available to the OPC UA client.

### Testing by Third-party OPC UA client <a href="#h.gvnzwlpaxsg" id="h.gvnzwlpaxsg"></a>

In the OPC UA client, connect to the Monokot Server using the following endpoint parameters:

* Endpoint URL - **opc.tcp\://localhost:43043/MonokotOPC**
* Security Policy - **None**
* Authentication Mode - **Anonymous**

Now you can see the created tags and device in the object browser of your OPC UA client.

![](/files/dbJne3BQnLgABBv7KuXv)
