# Modbus TCP Server

Modbus TCP Server is a protocol used by the Master/Client that responds to queries received by the device. The ability to use this protocol in the inSCADA side provides a great deal of flexibility. inSCADA now gets a similar role as devices with the help of the protocol.

![Figure 1 : Modbus TCP Server ](/files/-LknGY7ugXVikboYOCVS)

As shown in Figure 1, inSCADA can now share data with other devices on the network using this protocol.

{% hint style="info" %}
Let's remember the Value Expression property of inSCADA. With the Modbus TCP Server protocol, you can make a simulator of any device in inSCADA using the value expression.
{% endhint %}

{% hint style="info" %}
You do not need to create virtual/internal variables in the inSCADA platform as you would do in any other SCADA software. If this is the case, you simply need to create a device using Modbus TCP Server protocol. It also has a much more powerful structure to hold data in memory in the inSCADA platform. See [getGlobalObject ](https://inscada.gitbook.io/ins/v/en-1/programing/apis/getglobalobject)and [setGlobalObject](https://inscada.gitbook.io/ins/v/en-1/programing/apis/setglobalobject).
{% endhint %}


---

# 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://inscada.gitbook.io/ins/en-1/communication-protocols/modbus/modbus-tcp-server.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.
