# Addressing in nodes S7

**URL:** <https://discourse.nodered.org/t/addressing-in-nodes-s7/79042>\
**Category:** General\
**Created:** [8 June 2023 05:55 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042 "2023-06-08T05:55:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loveflowersx](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Loveflowersx](https://discourse.nodered.org/u/Loveflowersx)\
**Post date:** [8 June 2023 05:55 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/1 "2023-06-08T05:55:19Z")

</div>

Hi everyone,

In the data block I have addresses with USInt (Unsigned Short Int) and I don't know how to put that addressing in the s7 node for the Node-RED board.

Here is all the addressing

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

I tried this one but nothing

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

What can I do?

Best regards!

---

<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:** [8 June 2023 06:32 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/2 "2023-06-08T06:32:34Z")

</div>

Strange, what did you receive at node output and what was supposed to be a result?

---

<div class="post-metadata">

**Author:** ![Loveflowersx](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Loveflowersx](https://discourse.nodered.org/u/Loveflowersx)\
**Post date:** [8 June 2023 06:59 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/3 "2023-06-08T06:59:33Z")

</div>

At the end USInt works with DB1,B0 for example

Thank you very much for the answer!

---

<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:** [8 June 2023 08:02 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/4 "2023-06-08T08:02:39Z")

</div>

Maybe you have your DB optimized? if address is existing, you should be able to point in the middle of the tags. For example:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/63d31351caa55194a7ddda40ad89466e18dae5d3.png)  
if you point into DB300.B0 you should still get something without error

---

<div class="post-metadata">

**Author:** ![Loveflowersx](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Loveflowersx](https://discourse.nodered.org/u/Loveflowersx)\
**Post date:** [8 June 2023 08:19 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/5 "2023-06-08T08:19:19Z")

</div>

It is working! USInt works with DB1,B0 for example. I had the wrong address to call. Sorry for the inconvenience 🙏, I didn't notice it because of a letter.

Thank you very much

---

<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:** [7 August 2023 08:19 UTC](https://discourse.nodered.org/t/addressing-in-nodes-s7/79042/6 "2023-08-07T08:19:55Z")

</div>

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