I have been using modbus in Node-Red for a long time, and always had small connection and reliability issues. Until I found out that I was doing it the wrong way. But know I know how to do it the right way, I am sharing my findings with you here.
Example flow: github.com/nygma2004/km/wiki/...
Chapters:
0:00 Intro
1:14 What is the problem?
4:53 Easy solution
7:21 Bespoke queueing
15:40 Simulate how it works
20:36 Review the code
25:09 How you should implement this
29:10 Final thoughts
31:20 Outro
20 июл 2024