Member Login
Search
Jump to a Date
Sponsored Communities
Cool stuff
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Two percent of zero is almost nothing.
RSS Feed
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Hello everyone,
I read data from Merlin Gerin PM9C using MODBUS protocol, but the voltage readings make no sense. I supose there is some kind of formula to convert those raw values to engineering units, but I can't find how.
I'm pretty sure that I used the correct reading function, etc. because the rest of the readings are ok.
I read data from Merlin Gerin PM9C using MODBUS protocol, but the voltage readings make no sense. I supose there is some kind of formula to convert those raw values to engineering units, but I can't find how.
I'm pretty sure that I used the correct reading function, etc. because the rest of the readings are ok.
The voltage readings are in mV so you will need to divide by 1000 to get volts. I assume it is register 1009 - 1019?
John
John
The input should be calibrated such that full scale is some known value (volts or millivolts), and there is a known relationship between volts and whatever the desired engineering units are.
You also need to find out what full scale reading for that device is. For example, if the reading is such that 10 volts full scale is 1024, then the voltage scaling factor is 1 count is 9.76 millvolts. Any additional engineering scaling can be calculated similarly (e.g. to convert metres to millvolts). You also have to add in any desired reading offset.
After that, the formula is just y = mx + b, where x is volts (or millivolts), y is the result in engineering units, m is the scale factor, and b is the offset (if any).
You also need to find out what full scale reading for that device is. For example, if the reading is such that 10 volts full scale is 1024, then the voltage scaling factor is 1 count is 9.76 millvolts. Any additional engineering scaling can be calculated similarly (e.g. to convert metres to millvolts). You also have to add in any desired reading offset.
After that, the formula is just y = mx + b, where x is volts (or millivolts), y is the result in engineering units, m is the scale factor, and b is the offset (if any).
From Control Engineering magazine...
Related articles from Control
Engineering magazine- Industrial Ethernet advantages using Profinet protocol
- Fieldbus Foundation Seminar: Chicago
- Radios for long-distance use in industrial mesh network
- Embedded: Precise Time Protocol enables new-generation Ethernet mobile networks
- Optimize field wiring with decentralized IP 67 fieldbus system
- Pack Expo: SERCOS real-time communications for packaging
- Modbus RTU master, distributed I/O in compact package: microNCS
- Cordsets meet Fieldbus Foundation H1 Type A cable requirements
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.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!




