Using Custom Modbus Adresses

When you add new blocks On Mikrodiagram, it automatically assigns some MODBUS register addresses to the block according to its output type.

If needed, you can customise these assigned addresses using the "Variable Address Table" located at "Projects" tab.

http://www.mikrodev.com/images/wiki/en/app_notes/customModbusAdr0.png Add a register to the project. http://www.mikrodev.com/images/wiki/en/app_notes/customModbusAdr1.png On Variable Address Table add an entry for that block. Select the associated Line Label. In the "Start Address Field" write the desired MODBUS address to be used for that register. http://www.mikrodev.com/images/wiki/en/app_notes/customModbusAdr2.png Now you have an entry for the block with a new MODBUS address.

http://www.mikrodev.com/images/wiki/en/app_notes/customModbusAdr3.png

The auto-assigned MODBUS address is still valid for that block. But for remote connections to the device, the added entry's start address will be matched to the auto-assigned MODBUS address of the block.