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

How to read INT64 data type of PM5350 into 3rd party system?

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
  • How to read INT64 data type of PM5350 into 3rd party system?
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
Solved Go to Solution
Back to Metering & Power Quality
Solved
Anonymous user
Not applicable

Posted: ‎2014-12-01 05:10 PM

0 Likes
6
5469
  • 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.

‎2014-12-01 05:10 PM

How to read INT64 data type of PM5350 into 3rd party system?

Hi, All

I have a simple question.

Energy data type of pm5350 are 64bit. Does it have a formula how to read for 64 bit data type?

5344

For example, PM870 has a formula how to read it.

5351

Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
sesa186702
sesa186702 Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2014-12-04 03:31 AM

0 Likes
0
5341
  • 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.

‎2014-12-04 03:31 AM

There are 02 option for you.

1. If you're using a SCADA with PLC ( M340, Premium, Quantum...) as a Slave and PLS 7.2 is a Master, you can implement this Structure Text code in Unity Pro as below

(* Use register from communication with pm5350 or iEM *)

Word_1 := INT_TO_WORD (INT_1);

Word_2 := INT_TO_WORD (INT_2);

Word_3 := INT_TO_WORD (INT_3);

Word_4 := INT_TO_WORD (INT_4);

(* udint1 is the low parts 64 bits value *)

(* udint2 is the high parts 64 bits value *)

udint_1 := WORD_AS_UDINT (WORD_2, WORD_1);

udint_2 := WORD_AS_UDINT (WORD_4, WORD_3);

real_1:=udint_to_real(udint_2);

real_2:=udint_to_real(udint_1);

(* Energy value from represented as kVh real value *)

real_kWh:= real_2 * 4294967.296 + (real_1 / 1000.0)

2. If you're using SCADA as a Master and Power Meter as Slave ( connect via Gateway or Serial port ), you can implement Cicode as below

REAL FUNCTION

ENERGY(INT E1, INT E2, INT E3, INT E4)

REAL E;

E=(E1)*(2E0) + (E2)*(2E16/1000) + (E3)*(2E32/1000) + (E4)*(2E64/1000);

RETURN E;

END

////tag1,2,3,4 is 4 INT for Energy

FUNCTION CALC_ENERGY()

kwh_power_meter_a=ENERGY(tag 1, tag 2, tag3, tag4);

end

The limit is all will be calculated as Kwh. I think it's accepted

Regards

See Answer In Context

Reply
Replies 6
sesa186702
sesa186702 Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2014-12-02 06:29 AM

0 Likes
3
5341
  • 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.

‎2014-12-02 06:29 AM

Dear Yeo-Pyyoung Yoon,

Please refer this article:

By the same way, you can do it by other software...I think it will work

Regards

Reply
Hal_Etheridge
Janeway Hal_Etheridge Janeway
Janeway

Posted: ‎2014-12-02 11:09 AM

0 Likes
0
5341
  • 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.

‎2014-12-02 11:09 AM

For PME modbus devices check out the Mod10k formats.  There are different variants depending on the number of modbus registers used and the byte ordering.

The little endian versions of the 64 bit Mod10k format seems to be missing (it will be added soon) but versions are already available for all other sizes and byte swap variants.

Reply
dborle
Lt. Commander dborle
Lt. Commander

Posted: ‎2014-12-03 11:16 PM

0 Likes
0
5341
  • 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.

‎2014-12-03 11:16 PM

Hi Yeo-Pyoung,

Be careful: INT64 is not the same as MOD10000 is. For INT64 you will have to use 4 registers in sequence to give you one number and for MOD10000 you will have to do a calculation as in your description. For exemple you have 4 consecutive registers containing the following values in HEX (DEC):

Register 0: '0B1A'     (2842)

Register 1: '033A'     (826)

Register 2: '14DD'     (5341)

Register 3: '0001'     (0001)

This gives 153,418,262,842 for a MOD10000 value and '000114DD033A0B1A' HEX or 304,414,451,174,170 DEC for an INT64 value.

Here the examples from MDI (for unsigned values):

MOD10000

5361

And INT64 (big and little endian formats -> depends on the order the registers will have to be interpreted):

5367

5366

I hope, that I could clarify a little bit the difference of these two formats.

Daniel

Reply
Anonymous user
Not applicable

Posted: ‎2014-12-03 11:42 PM

0 Likes
1
5341
  • 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.

‎2014-12-03 11:42 PM


Good day, Dang-Minh Tri.

I can't access link.

5368

Thanks!

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

Posted: ‎2014-12-04 03:31 AM

0 Likes
0
5342
  • 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.

‎2014-12-04 03:31 AM

There are 02 option for you.

1. If you're using a SCADA with PLC ( M340, Premium, Quantum...) as a Slave and PLS 7.2 is a Master, you can implement this Structure Text code in Unity Pro as below

(* Use register from communication with pm5350 or iEM *)

Word_1 := INT_TO_WORD (INT_1);

Word_2 := INT_TO_WORD (INT_2);

Word_3 := INT_TO_WORD (INT_3);

Word_4 := INT_TO_WORD (INT_4);

(* udint1 is the low parts 64 bits value *)

(* udint2 is the high parts 64 bits value *)

udint_1 := WORD_AS_UDINT (WORD_2, WORD_1);

udint_2 := WORD_AS_UDINT (WORD_4, WORD_3);

real_1:=udint_to_real(udint_2);

real_2:=udint_to_real(udint_1);

(* Energy value from represented as kVh real value *)

real_kWh:= real_2 * 4294967.296 + (real_1 / 1000.0)

2. If you're using SCADA as a Master and Power Meter as Slave ( connect via Gateway or Serial port ), you can implement Cicode as below

REAL FUNCTION

ENERGY(INT E1, INT E2, INT E3, INT E4)

REAL E;

E=(E1)*(2E0) + (E2)*(2E16/1000) + (E3)*(2E32/1000) + (E4)*(2E64/1000);

RETURN E;

END

////tag1,2,3,4 is 4 INT for Energy

FUNCTION CALC_ENERGY()

kwh_power_meter_a=ENERGY(tag 1, tag 2, tag3, tag4);

end

The limit is all will be calculated as Kwh. I think it's accepted

Regards

Reply
Kamal
Lieutenant JG Kamal Lieutenant JG
Lieutenant JG

Posted: ‎2015-01-15 09:02 PM

3 Likes
0
5341
  • 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.

‎2015-01-15 09:02 PM

Correct Answer :

Hi Yeo-Pyoung Yoon,

Energy Formula for 64bit INT :

Energy starting register is : 3204

You need to read register 3204 and 3206 in UINT32

Formula :

For  lower 32 bit value =  register value of 3206

For Higher 32 bit value=  register value of 3204

( lower 32bit value )+( Higher 32bit value *4294967296)= Energy in 64bit

This formula is working fine in customer BMS system also.

Kamal Kumar

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
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