> For the complete documentation index, see [llms.txt](https://inscada.gitbook.io/ins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inscada.gitbook.io/ins/master/communication-protocols/modbus/modbus-tcp-server.md).

# Modbus TCP Server

Modbus TCP Server, genel olarak cihaz tarafında kullanılan, Master/Client tarafından gelen sorgulara cevap veren protokoldür. Bu protokolün inSCADA tarafında kullanılabilmesi çok büyük bir esneklik kazandır. inSCADA artık bu protokolle cihazlarla benzer role geçmiş olur.

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

Resim 1'de görüldüğü gibi artık inSCADA bu protokolle ağda bulunan diğer cihazlarla veri paylaşabilmektedir.

{% hint style="info" %}
inSCADA'nın value expression özelliğini hatırlayalım. Modbus TCP Server protokol ile birlikte, value expression'ı kullanarak, istediğiniz cihazın bir simülatörünü inSCADA içerisinde yapabilirsiniz.
{% endhint %}

{% hint style="info" %}
inSCADA platformunda diğer SCADA yazılımlarında olduğu gibi alışıla gelmiş şekilde sanal/internal değişkenler oluşturmanıza gerek yoktur. Şayet böyle bir ihtiyacınız var ise Modbus TCP Server protokol kullanan bir cihaz oluşturmanız yeterlidir. Ayrıca inSCADA platformunda bellekte veri tutmak için çok daha güçlü bir yapı vardır. Bakınız [getGlobalObject ](https://inscada.gitbook.io/ins/programing/apis/in-memmory-db-functions#object-ins-getglobalobject-string-name)ve [setGlobalObject](https://inscada.gitbook.io/ins/programing/apis/in-memmory-db-functions#object-ins-setglobalobject-string-name).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://inscada.gitbook.io/ins/master/communication-protocols/modbus/modbus-tcp-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
