[FluidNC Issue#1521] Problem: ‘VFD Queue Full’ Message.

未分类 bolang 4个月前 (10-14) 49次浏览

Issue #1521 | 状态: 进行中 | 作者: Monberg75 | 创建时间: 2025-07-04


Wiki Search Terms

I get this message once in a while, resulting in the VFD/Spindle not spinning up. But it doesnt stop the process, resulting in a crash.

Why is there no alarm set when this message is shown?

Im using UGS for my controller.

Controller Board

Xprov5 Controller

Machine Description

Bulkman3D Ultimate Bee 1000×1000 with high current steppers, Xprov5 controller and VFD controlled spindle

Input Circuits


Configuration file

Not needed for now I think

Startup Messages

Not needed for now I think

User Interface Software

UGS

What happened?

Crassh after starting job due to missing spindle rotation. UGS reports VFD queue full message in console. This has happened before, but not very often, and it’s been a long time since last. Main problem is that the process doesnt stop, but crashes the machine.

GCode File

No response

Other Information

No response


评论 (30)

#1 – bdring 于 2025-07-04

We need all the information you left out.


#2 – Monberg75 于 2025-07-04

I will find it when I get home from work.. So Config file and Startup message? Gcode file isn’t relevant, as it has nothing to do with the file.. It can be any file.


#3 – bdring 于 2025-07-04

Add a picture of the wiring at both ends too.


#4 – Monberg75 于 2025-07-04

What is startup messages?


#5 – Monberg75 于 2025-07-04

Here is the missing documentation.

Let me state, that I know that the link is missing the resistors to terminate the connection, but that is not the problem im trying to address.

The problem is that Fluidnc doesn’t set an alarm when this message is coming, so that the process continues. Nothing else. I will get the termination done..

config.txt

Startup.txt

!Image

!Image


#6 – MitchBradley 于 2025-07-04

> What is startup messages?

Image


#7 – MitchBradley 于 2025-07-04

We ask for complete information because problems are nearly always context-dependent. Seeing all the information lets us form a mental picture of the full situation. We need to see the forest and the trees.


#8 – Monberg75 于 2025-07-04

This is the new startup text with $ss written in the UGS console.. Didn’t give much from what I see..

Startup.txt


#9 – Monberg75 于 2025-07-04

> We ask for complete information because problems are nearly always context-dependent. Seeing all the information lets us form a mental picture of the full situation. We need to see the forest and the trees.

Yes I fully understand.. Just needed to understand what you needed :)


#10 – bdring 于 2025-07-04

Try using the terminal in the web installer.

https://installer.fluidnc.com/

The start messages should look like this.

http://wiki.fluidnc.com/en/support/troubleshootingconfigfiles#check-the-startup-messages


#11 – MitchBradley 于 2025-07-04

UGS appears to be suppressing the result from $ss. Try sending $ss from FluidTerm.

Sorry, my message collided with Bart’s. Either way will work – installer.fluidnc.com or FluidTerm.


#12 – MitchBradley 于 2025-07-04

We also need to know exactly what you mean by “crashes the machine”. It could mean that the bit slammed into the bed, or that things just stopped working with no messages, or that the firmware issued a bunch of software crash messages, or … Please be very specific and detailed about what you saw at the time of the failure.



#15 – MitchBradley 于 2025-07-04

Restart after changing the wifi mode.


#16 – Monberg75 于 2025-07-04

I will do this later, as this is not my main concern in this ticket :) But
thank you for the suggestion.


#17 – Monberg75 于 2025-07-04

The machined tried to mill out wood with a stopped spindle.
It didnt turn on the spindle as it should. Thats basically it

This is the message in got from Joacim at ugs:

Without knowing the details about what messages you are getting from the
controller, I think you should raise this with the FluidNC developers.
It sounds serious if the controller looses the ability to control the VFD,
so the appropriate message from the controller should be an alarm and not
just a “MSG: I think we just lost control of the VFD”.


#18 – MitchBradley 于 2025-07-05

It is not quite as simple as alarming on queue full. By the time that the queue fills up, the driver has already attempted to send ten other commands. The fact that they are still in the queue means that something has already gone badly wrong. For a reliable fix we need to understand that earlier sequence. We might need to issue an alarm way before the queue fills up. If you send $message/level=debug, FluidNC will report more details about the interaction with the spindle.

Another thing to try is to switch to the “Generic Modbus VFD” driver with model=Huanyang. That driver has better diagnostics than the direct Huanyang driver, especially when $message/level=debug and the section contains debug:3. You would need this in the config file, instead of the huanyang: section
“`yaml
ModbusVFD:
uart_num: 1
modbus_id: 1
model: Huanyang
debug: 3
tool_num: 0
speed_map: 0=0% 0=25% 6000=25% 24000=100%


#19 – Monberg75 于 2025-07-05

Trying the vfd settings I’m no longer able to start and stop spindle from console with m3/m5


#20 – Monberg75 于 2025-07-05

Normally ugs will clear the queue in the controller and stop the machine like when I click stop in the interface or estop button.


#21 – MitchBradley 于 2025-07-05

Are there log messages? With $message/level=debug and debug: 3, M3 and M5 should result in reports. This is on a machine with ModbusVFD:/model: Huanyang but no VFD is connected

INFO: ModbusVFD Spindle Tx:gpio.15 Rx:gpio.16 RTS:gpio.14 Baud:9600
INFO: RS485 Tx:  01 01 03 05 00 00 2C 4F
DBG: ModbusVFD: setState:5 SpindleSpeed:0
DBG: Synced speed. Requested:0 current:0
INFO: Flood coolant gpio.12
INFO: Mist coolant gpio.4
INFO: Probe gpio.32:low
DBG:  Pos Limit 0
DBG:  Pos Limit 0
DBG:  Pos Limit 0
DBG:  Pos Limit 0
DBG: ModbusVFD: setState:5 SpindleSpeed:0
DBG: Synced speed. Requested:0 current:0
INFO: RS485 Tx:  01 01 03 05 00 00 2C 4F
INFO: RS485 Rx: 
INFO: RS485 No response
INFO: RS485 Tx:  01 01 03 05 00 00 2C 4F
INFO: RS485 Rx: 
INFO: RS485 No response
...
> m3 s7000
ok
DBG: Synced speed. Requested:0 current:0
INFO: RS485 Tx:  01 01 03 05 00 00 2C 4F
INFO: RS485 Rx: 
INFO: RS485 No response


#22 – Monberg75 于 2025-07-05

This is what it shows when trying to run it. So it has connection, but doesn’t spin up the spindle

Image


#23 – Monberg75 于 2025-07-05

This is how it looks with the original config, and the spindle starts..

Image


#24 – MitchBradley 于 2025-07-05

The two images look identical to me. In particular, both say “ModbusVFD Spindle”


#25 – Monberg75 于 2025-07-05

> The two images look identical to me. In particular, both say “ModbusVFD Spindle”

Sorry about that, wrong picture.. I have updated the post with the correct picture.


#26 – MitchBradley 于 2025-07-05

I do not see any DBG messages in the log. Please send $message/level=debug


#27 – Monberg75 于 2025-07-05

Better?

Image


#28 – MitchBradley 于 2025-07-05

Yes. Now try with the ModbusVFD config. Also try M3 S9000


#29 – Monberg75 于 2025-07-05

Oki, changing back to the ModbusVFD I get this now, so it looks like that driver is not compatible with my VFD?

[MSG:INFO: ModbusVFD Spindle Tx:gpio.4 Rx:gpio.25 RTS:NO_PIN Baud:9600]
[MSG:INFO: Mist coolant gpio.21]
[MSG:INFO: Probe gpio.22:low]
[MSG:DBG: All Limit 0]
[MSG:DBG: All Limit 0]
[MSG:DBG: All Limit 0]
[MSG:DBG: All Limit 0]
[MSG:DBG: feedholdpin 0]
[MSG:DBG: macro0_pin 0]
[MSG:DBG: macro1_pin 0]
[MSG:DBG: ModbusVFD: setState:5 SpindleSpeed:0]

Grbl 3.9 [FluidNC v3.9.7 (wifi) ‘$’ for help]
[MSG:INFO: VFD RS485 Unresponsive]
[MSG:ERR: Critical VFD RS485 Unresponsive]
[MSG:INFO: ALARM: Spindle Control]
ALARM:10


#30 – MitchBradley 于 2025-07-05

Send $/modbusvfd


原始Issue: https://github.com/bdring/FluidNC/issues/1521

喜欢 (0)