# How does modbus function work?

**URL:** <https://discourse.nodered.org/t/how-does-modbus-function-work/52040>\
**Category:** General\
**Tags:** modbus\
**Created:** [9 October 2021 14:33 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040 "2021-10-09T14:33:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![denosore](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@denosore](https://discourse.nodered.org/u/denosore)\
**Post date:** [9 October 2021 14:33 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040/1 "2021-10-09T14:33:46Z")

</div>

okay so hi, i want to ask something about how does modbus function work? i have a project in internship, we're using LUX sensor and it has 3 outputs; humidity, lux, and temp. for the first node red it was all messy because we used so many function and using a lot of nodes. now in order to make it more simple, someone suggested to use **modbus flex getter**.

**how does it actually work? can we use it just so we would just need one output but will show the all 3 materials?**

---

<div class="post-metadata">

**Author:** ![grant1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/grant1/32/49890_2.png) [@grant1](https://discourse.nodered.org/u/grant1)\
**Post date:** [9 October 2021 16:04 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040/2 "2021-10-09T16:04:38Z")

</div>

Hello and welcome to the forum.

To get 3 outputs would mean you want to read 3 registers. I am pretty sure the Modbus Flex Getter allows this. I posted a similar question [here](https://discourse.nodered.org/t/help-in-understanding-output-from-modbus-node/28194/5) and once the nodes are configured, you can get the various values out of the device via Modbus without much 'mess'.

---

<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:** [8 December 2021 16:04 UTC](https://discourse.nodered.org/t/how-does-modbus-function-work/52040/3 "2021-12-08T16:04:59Z")

</div>

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