> 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/fp-as510-paddle-wheel-flowmeter-manual-chinese-v2/communication/modbus-rtu-protocol/du-xie-xing-ji-yi-ti.md).

# 讀寫型記憶體

| **功能碼** | **名稱**               | **數據長度**       | **核心用途**                                                                                                        |
| ------- | -------------------- | -------------- | --------------------------------------------------------------------------------------------------------------- |
| 03      | 讀寫型記憶體讀取指令           | 1\~125 個暫存器    | 讀取單個或多個保持暫存器，用於讀取任何想要知道的設定參數。                                                                                   |
| 06      | 讀寫型記憶體單 Register寫入指令 | 1 個暫存器(16 bit) | 用於寫入一個簡易的單個 Int16 參數的值，適用設定選項、設定代碼、設定小範圍整數。例如：將 **C02 清除累積（Del Total）** 寫入 1，觸發累積流量歸零。                          |
| 30      | 讀寫型記憶體雙 Register寫入指令 | 2 個暫存器(32 bit) | 用於寫入浮點數，Float32 或Int32 等 32 位元的數據，適用於有小數、正負數、介於約 10⁻³⁸ 到 10³⁸ 之間的參數設定。例如：設定 **A02 比例係數（Scale Factor）** 為 +1.25。 |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lorric.com/qr/fp-as510-paddle-wheel-flowmeter-manual-chinese-v2/communication/modbus-rtu-protocol/du-xie-xing-ji-yi-ti.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
