> For the complete documentation index, see [llms.txt](https://docs.lorric.com/qr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lorric.com/qr/fu-es-echosense-instruction-manual/communication/modbus-rtu-protocol/read-write-memory-ram.md).

# Read-Write Memory (RAM)

<table data-header-hidden><thead><tr><th width="123.6923828125"></th><th width="137.8948974609375"></th><th width="126.61181640625"></th><th></th></tr></thead><tbody><tr><td><strong>Function Code</strong></td><td><strong>Name</strong></td><td><strong>Data Length</strong></td><td><strong>Core Purpose</strong></td></tr><tr><td>03</td><td>Read/Write Memory (RAM) – Read Command</td><td>1~125 Registers</td><td>Read Command – Single or Multiple Holding Registers. Used to read any desired configuration parameters.</td></tr><tr><td>06</td><td>Read/Write Memory (RAM) – Single Register Write Command</td><td><p>1 Registers</p><p>(16 bit)</p></td><td>Write Command – Single Int16 Parameter. Used to write a simple single Int16 value, suitable for setting options, codes, or small-range integers. Example: Set A08 Pipe Material to PVC (code 2).</td></tr><tr><td>30</td><td>Read/Write Memory (RAM) – Dual Register Write Command</td><td><p>2 Registers</p><p>(32 bit)</p></td><td>Write Command – Float32 / Int32 (32-bit values). Used to write 32-bit values, such as floating-point numbers, supporting positive, negative, and fractional values approximately in the range 10⁻³⁸ to 10³⁸. Example: Set A18 Low Flow Cutoff to +5.5, or A23 Zero Offset to −0.08.</td></tr><tr><td>31 </td><td>Read/Write Memory (RAM) – Four Register Write Command</td><td><p>4 Registers</p><p>(64 bit)</p></td><td>Write Command – Int64 (64-bit values). Used to write 64-bit values, suitable for integer parameters exceeding the 32-bit range (~4.3 billion). Example: Set D11 Total Target (64-bit) or C04 Dosing Target (64-bit) to values exceeding the 32-bit limit.</td></tr></tbody></table>


---

# 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://docs.lorric.com/qr/fu-es-echosense-instruction-manual/communication/modbus-rtu-protocol/read-write-memory-ram.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.
