# REAL datatype values from s7 node

**URL:** https://discourse.nodered.org/t/real-datatype-values-from-s7-node/84513
**Category:** General
**Created:** [12 January 2024 21:15 UTC](https://discourse.nodered.org/t/real-datatype-values-from-s7-node/84513 "2024-01-12T21:15:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jupiter8](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jupiter8](https://discourse.nodered.org/u/jupiter8)
#### Post date: [12 January 2024 21:15 UTC](https://discourse.nodered.org/t/real-datatype-values-from-s7-node/84513/1 "2024-01-12T21:15:24Z")

</div>

Hi all, i'm struggling to make sense of values of type REAL (Floating point 32-bit number) coming from the contrib-s7 node. i have a siemens S7-1200 and the values i'm getting are 10 digit numbers. i tried the buffer parser node but it gives an error telling that's not a buffer (of course).  
I tried the buffer maker to make a buffer and decode using the parser but it does'nt work either.

 ![p12](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/1/417e751d8bc04c04f765758e8d34f98f8ce3477a.png)

The firs row is the analog value from IW64 address and is o.k. the others should give a 4 - 20ma value after being scaled. But i noticed that the first 2 digits never move.

 ![Capture_s7-1200](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/2/72ca3031f8b9df293612f994b22eeb3a82578414.png)

Obviously i didn't programmed that plc but i have access to the program.

Thanks for giving me a clue.

---

<div class="post-metadata">

### Author: ![KarolisL](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@KarolisL](https://discourse.nodered.org/u/KarolisL)
#### Post date: [13 January 2024 12:31 UTC](https://discourse.nodered.org/t/real-datatype-values-from-s7-node/84513/2 "2024-01-13T12:31:00Z")

</div>

Can you show your variables in S7-node?

level - should be DB1,REAL10.

> **[node-red-contrib-s7](https://flows.nodered.org/node/node-red-contrib-s7)**
>
> A Node-RED node to interact with Siemens S7 PLCs

---

<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: [13 March 2024 12:32 UTC](https://discourse.nodered.org/t/real-datatype-values-from-s7-node/84513/3 "2024-03-13T12:32:00Z")

</div>

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