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

Industrial Automation Knowledge Base

Access vast amounts of technical know-how and pro tips from our community of Industrial Automation experts.

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
  • Knowledge Center
  • Industrial Automation Knowledge Base
  • Who rated this article
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

Who rated this article

1 Like
1146 Views

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

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Double-real, Long Real, 64 bits real, Unity Pro Library for all ranges of Unity controllers

Lt. Commander Eric_Coudurier Lt. Commander
‎2020-05-28 06:32 AM

on ‎2020-05-28 06:32 AM - edited on ‎2023-11-29 04:18 AM by Lieutenant Vartika

Caution.png

Issue

EcoStruxure Control Expert doesn't provide Double length real calculation functions. 

Resolution

This library performs Long real calculation using an array type LREAL of 2 Dword, where the long real is coded using IEEE 754 format.

The zip file attached contains the library, a FBD section to test the library and a tool allowing to convert the IEEE 754 format (useful to make the test)

Be aware that all the controls are not performed when overflow happens, so use the library with care, mainly when you perform type conversions.

 

Function list

Math functions
ADD_DREAL
SUB_DREAL
MUL_DREAL
DIV_DREAL
ABS_DREAL
NEG_DREAL
POW_DREAL
SQRT_DREAL
EXP_DREAL
LN_DREAL
LOG_DREAL

Trigononmetric Functions
ACOS_DREAL
ASIN_DREAL
ATAN_DREAL
COS_DREAL
SIN_DREAL
TAN_DREAL

Logic Functions
EQ_DREAL
GE_DREAL
GT_DREAL
LE_DREAL
LT_DREAL

Convertion Functions
INT_TO_DREAL
DINT_TO_DREAL
DREAL_TO_DINT
DREAL_TO_INT
DREAL_TO_REAL
DREAL_TO_STRING
REAL_TO_DREAL

Disclaimer

The views and opinions expressed in this article are those of the author(s) and do not necessarily reflect the official policy or position of Schneider Electric.
This library is given as if. Use of the library is the responsibility of the user

 

Labels (4)
Labels:
  • Cloud Services
  • drives
  • EcoStruxure Control Expert
  • M580
Attachments
Double_real_Library.zip
Tags (3)
  • Find more articles tagged with:
  • 64 bits Real
  • Double Real
  • Long Real
Was this article helpful? Yes No
Rate this article:
(2)
100% helpful (3/3)

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

  • Back to article
Who rated this article
1
JeromeFirmin
Lieutenant JG JeromeFirmin Lieutenant JG
Lieutenant JG
Rating date: ‎2020-06-03
2
Serg
Lieutenant JG Serg Lieutenant JG
Lieutenant JG
Rating date: ‎2020-08-20
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