Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
"355/113 -- Not the famous irrational number PI, but an incredible
simulation!"
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Development department...
Help Me with Modbus Addressing
Software, including programming, OS issues, etc. topic
Posted by ParagonIndore on 5 November, 2009 - 6:07 am
The relationship between the start address specified in a request from the master device and the value shown by "Modbus-address for registers" in the address assignment table is as follows:

* For Coil
Start address = (Value of Modbus-address for registers) - 1

* For Discrete input
Start address = (Value of Modbus-address for registers) - 10001

* For Input register
Start address = (Value of Modbus-address for registers) - 30001

* For Holding register
Start address = (Value of Modbus-address for registers) - 40001

Help me..to understand this....pls its urgent


Posted by pvbrowser on 5 November, 2009 - 9:59 am
The assignment of information is done by the manufacturer of your hardware. They can choose what they want.

Imagine a piece of memory starting with address 0. Now the manufacturer of your hardware can assign information to any address.

You will have to look into the specifications of your hardware provider in order to find out which information is behind a specific address.


Posted by M Griffin on 5 November, 2009 - 12:48 pm
The first digit is not the address. It is a code to indicate the address type (coil, discrete input, etc.). This is just like IEC addresses use I, Q, M, etc. and Japanese addresses use X, Y, C, etc.

Coils, discrete inputs, input registers, and holding registers are 4 different data table areas. These might be 4 different data tables, or they may be overlaid on each other (e.g. coils and discrete inputs can be the same data table).

So for each address type, addresses go from 1 to 65536 (or 0 to 65535, depending on how you want to look at it).

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!