> For the complete documentation index, see [llms.txt](https://enless.gitbook.io/centre-aide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enless.gitbook.io/centre-aide/guides-installation/documentation-en/products/rx-lorawan/installation/modbus-wiring.md).

# Modbus wiring

The *gateway* is designed to integrate natively into your BMS architecture, whether via a traditional serial link or on a local network.

## Serial Link: Modbus RS485 (RTU)

For connection to the field bus, the *gateway* uses a detachable screw terminal block located on its upper side. This format makes pre-wiring and maintenance easier.

The markings must be strictly followed to ensure communication:

* **A** : Non-inverting signal (Data +)
* **B** : Inverting signal (Data -)
* **GND** : Ground reference (shielding or common ground)

{% hint style="info" %}
In the event of a**communication failure** (COM LED off, controller error), **check** the possible **reversal** of wires A and B, which is the most common cause of error in RS485.
{% endhint %}

## Network Link: Modbus TCP/IP

The Modbus IP protocol requires no additional wiring.

* **Support** : Communication passes directly through the Ethernet cable (RJ45 port).
* **Configuration** : Make sure that the IP address of the *gateway* is accessible by your Modbus TCP client (Controller, Supervisor, BMS) and that the standard port (502) is not blocked.


---

# 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://enless.gitbook.io/centre-aide/guides-installation/documentation-en/products/rx-lorawan/installation/modbus-wiring.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.
