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

ION Float32

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
  • ION Float32
Options
  • Subscribe to RSS Feed
  • 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
erik_tavares_en
Lieutenant | EcoXpert Master erik_tavares_en Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master

Posted: ‎2016-10-05 12:22 PM

1 Like
4
1113
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2016-10-05 12:22 PM

ION Float32

Hello,

The arithmetic block ION loses pressure to make a sum with large numbers, for example:

R3:= S1*1000000+S2

Sem título.png

The right answer would be

R3 := 177777777

is there any way to perform calculations with numbers in full form on the ION platform for no loss  precision caused by the use of float32?

Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
DanL
Captain DanL Captain
Captain

Posted: ‎2016-10-06 12:59 PM

1 Like
3
1046
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2016-10-06 12:59 PM

The standard Float32 format is limited to seven decimal digits of precision (24 binary bits).

see Single-precision floating-point format - Wikipedia, the free encyclopedia

The ION Arithmetic module uses Float32 for calculations and outputs.

The only technique I'm aware of is to split the value and use multiple float32 outputs to represent your answer with extended precision.

For example, the number 123456789 cannot be represented exactly in Float32 format (the closest number is approximately 123456794.7). But if the numbers 123E6, and 456789 can be kept separate, they can each be provided as separate Float32 outputs and combined later is a system capable of Float64 math to preserve the extended precision.

In your case, where S1 needs to be scaled by one million and S2 does not:

Formula3: FLOOR(S1+S2/1E6) to provide the 'millions' portion of the result in R3.

Formula4: (S1-FLOOR(S1))*1E6+MOD(S2,1E6) to provide the 'ones' portion of the result in R4.

Reply
erik_tavares_en
Lieutenant | EcoXpert Master erik_tavares_en Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master

Posted: ‎2016-10-06 02:01 PM

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

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

‎2016-10-06 02:01 PM

Thank you Dan for your reply

My problem is to need to perform calculations with a number of up to nine digits, which can be separated into two numbers 123E6 and 456789. But would like to have this number in a Data Recoder Module as a single number.

datarec.png

The number S1=123 and S2=456789 can be represented correctly by the formula S1 + S2 * 1000/1000

datarec2.png

But the number S1=999 and S2=999111

datarec3.png

is there any way to join the numbers without losing precision?

Reply
DanL
Captain DanL Captain
Captain

Posted: ‎2016-10-06 02:20 PM

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

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

‎2016-10-06 02:20 PM

The formula S1*1000 + S2/1000 may appear to work with this example, but it is just a coincidence.

You will notice that the result does not change when you subtract from the lowest digit.

123456.786, 123456.787, and 123456.788 are also represented as 123456.789 with Float32.

No, there is no way to represent more than 7 digits of precision on the output of an ION Arithmetic module becuase it uses Float32.

Reply
Hal_Etheridge
Janeway Hal_Etheridge Janeway
Janeway

Posted: ‎2016-10-06 02:22 PM

1 Like
0
1047
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2016-10-06 02:22 PM

The data recorders on-board the devices record in float32 format.  As far as I know the only float64 calculations done on-board the device (in the ION modules anyway) are inside the integrator module but the INT module outputs are still float32.  All the other ION modules always use float32 or int32 as the base numeric format for calculation purposes.

Another option is to combine the values in the VIP in the PME software.  As far as I know the majority (or all) of the VIP calculations are done using float64 values.  Once this is done then the value could be inserted into the database for historical measurements.

Remember that the device is only accurate to 4 or 5 digits at most (on the order of 0.1%) so the float32 format is more than capable of this since it handles 7 digits.  It is only when you combine large and small numbers together that the issue arises.  In this case the possible error in the large number can be of similar magnitude to the most significant digits of the small number so effectively this calculation would be producing high suspect values.

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