# Sumar variables de dos contadores modbus

**URL:** <https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087>\
**Category:** General\
**Created:** [16 February 2021 12:11 UTC](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087 "2021-02-16T12:11:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [16 February 2021 13:09 UTC](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087/2 "2021-02-16T13:09:27Z")

</div>

Hi first welcome.

The flow you posted is corrupt you need to follow these instructions to post code. [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

To access your 2 modbus readings you will need to join the messages, so both readings are in the same message. There is an example in the node-red cookbook [Create a single message from separate streams of messages : Node-RED](https://cookbook.nodered.org/basic/join-streams)

---

_[View the full topic](https://discourse.nodered.org/t/sumar-variables-de-dos-contadores-modbus/41087)._
