Solved

Modbus Conversion for Schneider Analyzer

Posted on 2010-08-18
7
1,715 Views
Last Modified: 2013-11-13
I try to get data from a PM710 energy analyzer but I couldn't convert the hexadecimal value to original data.

In the document the parameter type is mentioned as Mod10. What is the Mod10 data format?

The hex value is: 010818D4002B0000
The original data should be 4363476800 after conversion.
0
Comment
Question by:emresamisuzer
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:grepll
Comment Utility
Which register are you trying to read?
0
 

Author Comment

by:emresamisuzer
Comment Utility
1700, Active Energy Total
0
 
LVL 3

Expert Comment

by:grepll
Comment Utility
Can you please post (link to) your document with register list?
I am looking in http://www.powerlogic.com/literature/63230-501-209.pdf and cannot find it there.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:emresamisuzer
Comment Utility
My device has an older firmware version so the latest register list doesn't match.
pm710.PDF
0
 
LVL 3

Accepted Solution

by:
grepll earned 500 total points
Comment Utility
Thank you, another fw version explains my confusion.

Generally, Mod10 (or Modulus-10000) is format, where you split your decimal number into four number groups and convert this groups independently to series of 16-bit registers. You have to figure out (from manual) which order of registers (high-first or low-first) it uses.

Conversion from hex to decimal is then straightforward: you convert each 16-bit register to decimal and put together the four-number groups.

I tried to convert the numbers you provided. I didn't manage to match them together, but I will put it here for reference:

your hex number: 010818D4002B0000
split into 16bit groups: 0108 18D4 002B 0000
convert to decimal: 0264 6356 0043 0000
put together (apparently in reverse order):
4363560264

Your number was 4363476800 which is different, but that difference is not that big, maybe you read the numbers in slightly different times.
0
 

Author Closing Comment

by:emresamisuzer
Comment Utility
Thank you. The conversion is correct
0
 
LVL 3

Expert Comment

by:grepll
Comment Utility
You're welcome.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now