# I cannot regularly receive the value from a measuring device

**URL:** https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502
**Category:** General
**Created:** [19 October 2020 14:15 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502 "2020-10-19T14:15:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)
#### Post date: [19 October 2020 14:15 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/1 "2020-10-19T14:15:01Z")

</div>

Hello ,

I cannot regularly receive the value from a measuring device, on the other hand I receive the timestamp value on a regular .  
I need your help

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/9/19e7bc3db3c36c20013693f6ac6ecd315a595fb6.png)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 October 2020 15:11 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/2 "2020-10-19T15:11:46Z")

</div>

Add debug nodes to the outputs of the other function node and the modbus node and see where it is getting lost. If you give the debug nodes names it is easier to identify them in the debug pane.

---

<div class="post-metadata">

### Author: ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)
#### Post date: [19 October 2020 15:20 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/3 "2020-10-19T15:20:28Z")

</div>

My problem in node Mobus  
I make repeat interval 3 seconds work fine but if I make 3 minutes not working

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 October 2020 15:33 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/4 "2020-10-19T15:33:38Z")

</div>

Is there any output from the modbus node at all when it fails?  
Does the status shown against the node show anything?

Start node-red in a terminal and leave the window open until the modbus node fails. Then copy/paste the output here (from the beginning). To paste it here use the `</>` button at the top of the forum text window and paste it in.  
Also tell us what OS you are running node-red on.

---

<div class="post-metadata">

### Author: ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)
#### Post date: [19 October 2020 15:37 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/5 "2020-10-19T15:37:43Z")

</div>

It is worked after using interval length after node modbus

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5f99f9fa166c567dabb9a6b0d0e971db74077051.png)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 October 2020 15:42 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/6 "2020-10-19T15:42:58Z")

</div>

Adding the Interval Length node cannot have made a difference to whether the modbus node worked or not.

---

<div class="post-metadata">

### Author: ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)
#### Post date: [19 October 2020 15:47 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/7 "2020-10-19T15:47:21Z")

</div>

for me if I make interval length before modbus it is not working  
also if i make interval in timestamp ( 3 minutes) is not working  
but if i make interval in timestamp ( seconds) is working fine  
I not understand why  
but with the solution (interval length after modbus ) it is working fine

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 October 2020 15:49 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/8 "2020-10-19T15:49:43Z")

</div>

Ah, you mean you have found a workaround rather than actually finding the cause of the problem.

---

<div class="post-metadata">

### Author: ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)
#### Post date: [19 October 2020 15:56 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/9 "2020-10-19T15:56:05Z")

</div>

yes exactly

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 October 2020 16:08 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/10 "2020-10-19T16:08:15Z")

</div>

OK, my experience when designing a system in that way is that at some point the problem will rear its head again and bite you in the backside.

---

<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: [18 December 2020 16:08 UTC](https://discourse.nodered.org/t/i-cannot-regularly-receive-the-value-from-a-measuring-device/34502/11 "2020-12-18T16:08:17Z")

</div>

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