Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Is there a way to read 32 bit floating point 3110 & 3111 as 2 seperate 16 Bit values (PM5110)

Metering & Power Quality

Schneider Electric support forum about Power Meters (ION, PowerTag, PowerLogic) and Power Quality from design, implementation to troubleshooting and more.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Power & Grid
  • Metering & Power Quality
  • Is there a way to read 32 bit floating point 3110 & 3111 as 2 seperate 16 Bit values (PM5110)
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Charles_Murison
Picard Charles_Murison Picard
477
Ramasamy_N
Captain Ramasamy_N Captain
113
Robert_Lee
Admiral Robert_Lee Admiral
92
Mehran_Mehrnia
Captain Mehran_Mehrnia Captain
85
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Metering & Power Quality
casey_skillen_s
casey_skillen_s Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2015-09-15 05:21 AM

0 Likes
6
2222
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-15 05:21 AM

Is there a way to read 32 bit floating point 3110 & 3111 as 2 seperate 16 Bit values (PM5110)

I am using looking at ION setup using the Modbus Tester Interface and pulling back the below values for Frequency

3110 - 16967 or 4247 in Hex

3111 - 60918 or EDF6 in Hex

I know that you can use a IEEE 754 converter to convert the Hex to a useful decimal value however i was looking for a formula to do this or another way around,

We come across a lot of problems in Technical Support where customers are using Modscan or other Freeware tools and the figures appear to them to be in correct because they would see 16967 & 60918 instead of 50 Hz so looking for a way of simplifying this

Could anyone comment?

Regards

Casey

Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 6
sesa186702
sesa186702 Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2015-09-15 06:22 AM

0 Likes
5
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-15 06:22 AM

Hi Jon,

Please describe more detail what you want . I don't understand what you're saying although I read many times your post

Sorry for this

Reply
casey_skillen_s
casey_skillen_s Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2015-09-16 12:26 AM

0 Likes
4
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-16 12:26 AM

register 3110 on the PM5000 meters is for Frequency in 32 Bit Float

When reading on ION setup you get

3110 -16967

3111 - 60918

Is there a way to convert these numbers to display 50 which is what it should read?

Reply
sesa186702
sesa186702 Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2015-09-16 06:48 AM

0 Likes
2
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-16 06:48 AM

Hi Jon,

For reading Float32 Bit, you can choose it easily as below

ReadFloat.jpg

But unfortunately, Floating point in PM5000 is Most Significant Register First, but the Modbus Interface Testing in IONSetup doesn't support this display, so, you also can not display 50 Hz .

You can use Modscan or some Software which support this

2.jpg

3.jpg

Finally, I just recommend that Modbus Tester Interface just a tool for testing the Healthy of Communication, not to view real Data of Power Meter

If you would like to view Data, yoiu can choose View/ Data Screen, click on Real time item on the left window to view

4.jpg

5.jpg

Thanks and Best Regards

Reply
casey_skillen_s
casey_skillen_s Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2015-09-16 07:30 AM

0 Likes
1
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-16 07:30 AM

Thanks for your reply Tri DANG , very helpful

Have you ever heard of having to input the register before the one you are using?

For example 3026 which is L-L Avg Voltage? i have had to input 3025 to get the figure to work

Is this something you have come across before?

Regards

Casey

Reply
Robert_Lee
Admiral Robert_Lee Admiral
Admiral

Posted: ‎2015-09-16 09:27 AM

0 Likes
0
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-16 09:27 AM

The register offset is defined in the Modbus Application Protocol specification (available from www.modbus.org) and states for the Read Holding Register function code (0x03):

6.3 03 (0x03) Read Holding Registers

This function code is used to read the contents of a contiguous block of holding registers in a remote device. The Request PDU specifies the starting register address and the number of registers. In the PDU Registers are addressed starting at zero. Therefore registers numbered 1-16 are addressed as 0-15.


MODBUS Application Protocol Specification V1.1b3 Modbus

April 26, 2012 http://www.modbus.org 15/50

Reply
Robert_Lee
Admiral Robert_Lee Admiral
Admiral

Posted: ‎2015-09-16 09:47 AM

0 Likes
0
2145
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2015-09-16 09:47 AM

A very simple (and slightly inaccurate) way to do the conversion is to use the following formula (from Wikipedia on single precision):

n = (-1)^s \times           (1+m*2^{-23})\times           2^{x - 127}

where

S = the sign bit (i.e. whether the first register is greater than 32767, then it is negative)

m = the fractional portion

x = the exponent

First take the first register and remove the sign bit (if its > 32767, subtract 32768, otherwise proceed) and then divide by 128.  This will give you a decimal number (let's call it x.B where x is the exponent and B is the decimal portion).  Next you would  take the decimal portion (B) and then multiple by 8388608 and add the value of the second register to obtain the fractional portion.

So given you example of the first register having 16967 and the second 60918, we get:

s = 0 since the first register is not greater than 32767 (thus the value is positive)

next we take the first register and divide by 128 to yield: 16967 / 128 = 132.5546875

thus x = 132

we then take the decimal portion (.5546875) and multiply by 8388608 and get 4653056 and then add the second register to get the fractional portion (m): 4653056 + 60918 = 4713974

Finally putting everything thru the formula yields:

1 x (1 + 4713974 x 2^-23) x 2 ^ (132-127)

which solves to

1 x (1 + 0.561949491) x 2 ^ 5

1 x (1.561949491) x 32 =  49.98238373

Reply
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of