Memory Description
Last updated
Last updated
The IS4310 is organized internally as a single page containing 504 registers, with addresses ranging from 0 to 503. These registers can be accessed individually or in blocks. Each register is 16 bits long, and there are two types: Holding Registers and Configuration Registers. Both types are readable and writable and can be accessed by the Microcontroller via I2C or by the Modbus Master through a field bus (RS485, RS422, RS232, etc.).
The Holding Registers consist of 500 volatile RAM registers, with addresses ranging from 0 to 499.
The Holding Registers (HOLDx) are available for your application. For example, if you are developing a gas sensor, these registers can store data such as gas concentration and the total operating hours of the sensor. The Microcontroller will continuously write to these registers, while the Modbus Master will read from them.
If you are developing an actuator, such as a relay module, these registers can store the state of the relays. In this case, the Microcontroller will continuously read from the registers, while the Modbus Master will write to them as needed.
You can also combine reading and writing operations within the same application. For example, when developing a Modbus motor controller, the Modbus Master can write the motor's speed and read its power consumption. In this case, the Microcontroller will continuously read from the registers assigned to the speed and write to the registers related to power consumption.
The Configuration Registers consist of four registers, with addresses ranging from 500 to 503. Any modifications to these registers are stored in the internal non-volatile memory. Upon power-up, the IS4310 retrieves the last saved configuration.
Four configuration registers are used to set the Modbus communication parameters: Modbus Address ID (MBADR), Baud Rate (MBBDR), Parity Bit (MBPAR), and Stop Bit (MBSTP).
Both the Modbus Master and the Microcontroller can write to these registers, and the changes take effect immediately.
Important Remark:
In a Modbus network, two slaves cannot have the same Address ID. Doing so will cause both devices to become unresponsive.