Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      • Protection & Control
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
    • EcoStruxure IT Help Center
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Important Announcement: Protecting our Community from Spam Events

Dear Members, we apologize for any disruption or inconvenience caused by the recent spam incidents, and we want to assure you that our dedicated team is actively investigating each reported instance of spam and implementing robust measures to mitigate the impact. Learn more on Spams Mitigation Guidelines

Thank you,

Schneider Electric Community Team

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
  • Communities
  • 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
292
Ramasamy_N
Commander Ramasamy_N Commander
75
DanL
Captain DanL Captain
71
Robert_Lee
Captain Robert_Lee Captain
67
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
422
  • 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
355
  • 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
355
  • 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
355
  • 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
356
  • 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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc