Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1839
  • Last Modified:

Modbus Conversion for Schneider Analyzer

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
emresamisuzer
Asked:
emresamisuzer
  • 4
  • 3
1 Solution
 
grepllCommented:
Which register are you trying to read?
0
 
emresamisuzerAuthor Commented:
1700, Active Energy Total
0
 
grepllCommented:
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!

 
emresamisuzerAuthor Commented:
My device has an older firmware version so the latest register list doesn't match.
pm710.PDF
0
 
grepllCommented:
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
 
emresamisuzerAuthor Commented:
Thank you. The conversion is correct
0
 
grepllCommented:
You're welcome.
0

Featured Post

Industry Leaders: 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!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now