> For the complete documentation index, see [llms.txt](https://inacks.gitbook.io/is4310-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inacks.gitbook.io/is4310-wiki/datasheet/i2c-compatible-bus-description/multiple-word-write.md).

# Multiple Word Write

A Multiple Word Write performs a similar operation to a Single Word Write, but instead of writing to only one register, it can write to a block of up to 500 registers in a single operation.

To perform a Multiple Word Write, follow the same procedure as for a Single Word Write until the first data word is received. After receiving the first word, instead of generating a Stop Condition, the Microcontroller should continue sending data words. To conclude the write operation, after sending the last data word, the Microcontroller should generate a Stop Condition.

With each word written, the Pointer Register increments by one.

After the Stop Condition, if any of the Modbus Configuration Registers (MBADR, MBBDR, MBPAR, MBSTP) are written with a value different from the previous one, a 25 millisecond Flash Memory write cycle will begin.

**Invalid Memory Addressing**

The valid memory range of the IS4310 goes from addresses 0 to 503.

If a Write Operation is performed with a Pointer Register within the valid memory range (0 to 503) but exceeds the last memory register (503), a rollover to position 0 will occur. For example, writing a value to register 504 will result in writing the value to register 0.

If a Write Operation is performed with a Pointer Register higher than 503, the IS4310 will answer with a NACK on the first received byte of the word.

(Click to enlarge)

<figure><img src="/files/y1fjQT53zMDwNKfzns6F" alt=""><figcaption></figcaption></figure>


---

# 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://inacks.gitbook.io/is4310-wiki/datasheet/i2c-compatible-bus-description/multiple-word-write.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.
