Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

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
Death is God's way of telling you not to be such a wise guy.
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 Automation department...
Analog values in Modbus protocol
Sensor technologies. topic
Posted by jinson on 3 July, 2008 - 12:28 am
How to calculate the actual analog input value in Modbus protocol?


Posted by Romulo Rodriguez on 5 July, 2008 - 11:00 am
You have to convert the byte array of the reply from the plc to an analog number. Make sure the number the plc is sending is an integer value or a real floating point value. If what you get is a floating point value it seems that you have to use the IEEE 754-1985 algorithm to make the conversion. Google it or take a look on what the wikipedia says:

http://en.wikipedia.org/wiki/IEEE_754

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
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-2008 Control Technology Corporation. All rights reserved.

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

Internet Explorer 6.0 Fix

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