question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FSM Reset On State QUEUEING

See original GitHub issue

I’m submitting a … (check one with “x”)

Support/Advice

Feature

  • ( ) feature request

What is the motivation / use case for changing the behavior?

Simple question to get some hint

  • ( ) simple question => please visit the Wiki, the YouTube tutorials and the Info tab by clicking on the node inside Node-RED before
  • ( ) help wanted => you read all information and watched relevant YouTube tutorials, but you need more help

Problem

  • ( ) bug report => please search github for a similar issue or PR and test Modbus problems with the modbus-serial package before submitting
  • (X) unexpected behavior => please visit the Wiki before

Current behavior

Frequent ‘FSM Reset On State QUEUEING’ message

Expected behavior

Minimal reproduction of the problem with instructions

Your Environment

Please tell us about your environment:

  • (X) I am using just the Node-RED package and got modbus-serial package installed with it
  • ( ) I have installed modbus-serial package global from source (using git clone)
  • ( ) I have installed modbus-serial as a global package (using npm i -g)

Yes, modbus-serial is the name but it does all, TCP and Serial. The node-modbus package is just for the Modbus Server node.

  • Device :

    • ( ) macOS: v
    • ( ) Linux: v
    • ( ) Windows: v
    • ( ) Raspbian: v
    • (X) Other:
      • Name: HassOS
      • Version: 2.10
  • Description of the connecting Modbus system:

    • Name : SDM120/SDM230 via RS485 to USB converter to Raspberry Pi3 B
    • Version:
    • Vendor :
    • Link : https://
  • node-red-contrib-modbus version: ``

4.1.3

  • Node: (min. 6.x) node --version = 9.11.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
biancodecommented, Mar 28, 2019

you could request every 2 seconds by 200 ms queue delay ( 200ms * 5values = 1000ms - serial request of 5 needs 1 sec.) - or - request poll per 1 sec by 120 ms ( 120 ms * 5 = 600ms) … and so on - you are requesting 5 serial commands per poll if you insert more nodes think about your time to handle all request between node-red and your device 😉

1reaction
PierreScerricommented, Mar 28, 2019

No errors with 30s. Readjusted to 20s. Seems to be working fine.

Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Modbus Flex Connector returns FSM Reset On State ...
Try to set queue to 10 ms (with commands queue checked), applied to all the flow. Then delete all the modbus nodes. Then...
Read more >
7.6 - FSM Reset Condition - YouTube
You learn best from this video if you have my textbook in front of you and are following along. Get the book here:...
Read more >
Debugging - node-red-contrib-modbus - serial RTU - General
Hi, I have an issue using the "Modbus Read" node of node-red-contrib-modbus. My modbus communication works on a Windows PC using CAS Modbus ......
Read more >
Reset Finite State Machine - 3.6 English - Xilinx
The reset FSM is constantly being improvised to provide a robust initialization and reset scheme. The FSM is to demonstrate the right methodology...
Read more >
Design and Implementation of a Finite State Machine Queuing ...
(called Finite State machine Queuing Tool or FSQT) and we discuss its design and its advantages using a new implementation of our test...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found