Solved

Modbus Conversion for Schneider Analyzer

Posted on 2010-08-18
7
1,754 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
ID: 33469333
Which register are you trying to read?
0
 

Author Comment

by:emresamisuzer
ID: 33472007
1700, Active Energy Total
0
 
LVL 3

Expert Comment

by:grepll
ID: 33472524
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:emresamisuzer
ID: 33472644
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
ID: 33472695
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
ID: 33472703
Thank you. The conversion is correct
0
 
LVL 3

Expert Comment

by:grepll
ID: 33472899
You're welcome.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

685 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