# Read UINT64 From a SE iEM3250

**URL:** https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038
**Category:** Industrial
**Created:** [26 August 2020 11:54 UTC](https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038 "2020-08-26T11:54:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ilmisu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ilmisu/32/27748_2.png) [@ilmisu](https://discourse.nodered.org/u/ilmisu)
#### Post date: [26 August 2020 11:54 UTC](https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038/1 "2020-08-26T11:54:52Z")

</div>

Hi everyone.  
I need to read the active energy counter provider by a Schneider Electric iEM3250 Modbus connected to my NR istance.

I've got to say in advance that as well the first 32bit of that value are enough, but as soon as I am a noob, I don't know how to build a buffer of 4 bytes from 2 words to build a payload as an unsigned 32bit integer.

The lovely goal is to make a function which handles 8 bytes (4 registers) and shot a 64bit unsigned integer payload to be used.

could anybody suggest me some tricks or guidelines?  
thanks.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 August 2020 13:10 UTC](https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038/2 "2020-08-26T13:10:30Z")

</div>

You could feed the buffer from the output of the modbus node into a [buffer-parser](https://flows.nodered.org/node/node-red-contrib-buffer-parser) node

Here are some of the examples built in (you access built in demos from nodered menu, import, examples)...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06273de65613aa95a83aac52bc6caac7d8a5aaf6.png)

---

<div class="post-metadata">

### Author: ![ilmisu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ilmisu/32/27748_2.png) [@ilmisu](https://discourse.nodered.org/u/ilmisu)
#### Post date: [26 August 2020 13:40 UTC](https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038/3 "2020-08-26T13:40:05Z")

</div>

Thanks Steve I try the 64bit BigInt example.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [25 October 2020 13:40 UTC](https://discourse.nodered.org/t/read-uint64-from-a-se-iem3250/32038/4 "2020-10-25T13:40:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
