# Netvar-sender node

**URL:** <https://discourse.nodered.org/t/netvar-sender-node/50897>\
**Category:** Industrial\
**Created:** [11 September 2021 19:01 UTC](https://discourse.nodered.org/t/netvar-sender-node/50897 "2021-09-11T19:01:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baste](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@Baste](https://discourse.nodered.org/u/Baste)\
**Post date:** [11 September 2021 19:01 UTC](https://discourse.nodered.org/t/netvar-sender-node/50897/1 "2021-09-11T19:01:51Z")

</div>

Hi there,

I'm using netvar-sender node to send network variable list to my Wago PLC. I have about 145 variables at this moment. When I add one more, the variable don’t arrive at the PLC anymore.  
At first I thought a syntax error but then I deleted other (working) variables and it worked again. So I guess I reached a limit somewhere. I put a debug node behind the function that formats the array for sending it and everything looks ok and complete. PLC shouldn’t be the problem either so I’m guessing that the netvar-sender has reached his limit? Does anyone experienced this before? Anybody a suggestion for solution? There will be a lot of variables to add in the future so I’m kind of in trouble…

Thanks in advance!

Greets

David

---

<div class="post-metadata">

**Author:** ![Hopperpop](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hopperpop/32/42533_2.png) [@Hopperpop](https://discourse.nodered.org/u/Hopperpop)\
**Post date:** [28 September 2021 15:11 UTC](https://discourse.nodered.org/t/netvar-sender-node/50897/2 "2021-09-28T15:11:38Z")

</div>

If you read this [https://forge.codesys.com/forum/en/124/genmed-Network\_Functionality\_V23.pdf](https://forge.codesys.com/forum/en/124/genmed-Network_Functionality_V23.pdf), you will see that the used udp package is limited to 256 bytes.  
If I read correctly it could be possible to send more by splitting it up in multiple packages, but the Netvar-sender node doesn't support it. The easiest way for now is to use multiple list with different id's.

---

<div class="post-metadata">

**Author:** ![Hopperpop](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hopperpop/32/42533_2.png) [@Hopperpop](https://discourse.nodered.org/u/Hopperpop)\
**Post date:** [5 October 2021 20:05 UTC](https://discourse.nodered.org/t/netvar-sender-node/50897/3 "2021-10-05T20:05:16Z")

</div>

I started building my own version [node-red-contrib-nvl](https://flows.nodered.org/node/node-red-contrib-nvl), because the other node had some issues with negative real values. If you are interested, you can create an issue on the [github page](https://github.com/Hopperpop/node-red-contrib-nvl) to dive deeper into the 256 byte limit. I could use some help in collecting sample data as I don't have a spare plc to play with at the moment.

---

<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:** [4 December 2021 20:06 UTC](https://discourse.nodered.org/t/netvar-sender-node/50897/4 "2021-12-04T20:06:13Z")

</div>

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