Closed qrstu closed 1 year ago
Are you using auto reporting?
http://wiki.fluidnc.com/en/support/interface/automatic_reporting
@bdring If it's disabled by default, then I'm not using auto reporting. The application despenser.exe generates GRBL 0.9 code. Unfortuantly I can't see the debug messages in WebUI when I'm connected with the despenser-App to the MKS DLC32. Does that mean I have to activate auto reporting, I'm going to test. For me it's strange that Gcode is running as expected during one of the endstops has been triggered. I don't receive any <Run|MPos:6.175,18.163,1.021|FS:500,0>,<Idle|MPos:6.175,18.163,2.000|FS:0,0> Messages. Regards qrstu
Auto reporting is off by default. FluidNC will only send messages when requested in normal mode.
Your application is probably hiding the responses. Does it have a verbose mode that shows all responses?
You do not have hard limits enabled, so touching the limit switches will not generate an alarm. The pin state is not shown in the responses, so that is a problem. Have you tested the switch responses using FluidTerm?
http://wiki.fluidnc.com/en/support/help_with_switch_problems
Auto reporting is per-sender, so one user interface can turn it on but another will leave it off. Very few - perhaps no - third-party senders know about auto-reporting yet, so it is unlikely that the despenser app uses auto reporting.
WebUI does use auto-reporting by default, so you will see automatic status reports when you are using WebUI - but WebUI's use of auto reports should not affect the despenser app.
Another debugging technique for switch problems is to send $message/level=debug . If you do that then [MSG:DEBUG ...] messages will be sent to the sender console when switch states change.
@bdring The switch (Endstop) responses I can see in fluidterm. They are all ok. But I don't have a verbose mode in my application to see what will be sent. As long I don't have the possibility to log the hole communication between FluidNC and an Application I can't figure out what's going wrong :-( (Telnet, WebUI, Fluidterm) ex. App Connected by COM9 and Logging by Telnet Port23 --> The workaround for me is to push on "Endstop" then everything is working as expected. Or probably a future request for Logging that the hole communication on a specific COM-Port can be logged by Telnet/Fluidterm/WebGUI. Thank you for your help. I think you can close the issues Regards qrstu
There are some comm port spy programs you can search the Internet for. They allow you to see the comm port communications.
@bdring Could monitor traffic with Serial Analizer :-) --> App is sending --> ? --> In undefineded sequences after sending gcode which produces breaks. Pushed Endstop suppress sending "?"
We cannot solve problems with incomplete information. Please attach logs from Serial Analyzer, showing especially the messages around the time that you press the endstop. Make sure that FluidNC is in debug mode, by sending $message/level=debug before the run.
The ? characters from the app is normal behavior - it is how the app requests status reports so the app knows the current position.
I looked at the source code for the Dispenser app. It will not work with FluidNC because it depends on the ancient Grbl 0.9 status report format. Grbl 1.1, released in 2016, has a slightly different status report. FluidNC status reports are compatible with Grbl 1.1. In addition to the status report format incompatibility, I saw several aspects of the Dispenser code that look suspicious. I think that there are a lot of valid situations that will make that code stop working. If you need to use that app, you will either have to use an old controller that runs Grbl 0.9, or convince the app's author to make it support the Grbl 1.1 protocol.
@MitchBradley Thank you for your review. I will stay on FluidNC and let it run with EndStop pressed, then it's running for me. Not nice but working :-) I know that the Jogging in the App isn't compatible with GRBL 1.1
Controller Board
MKS DLC32
Machine Description
I'm using my SculpfunLaser also as SolderPast despenser. Added Z-Axis
Input Circuits
No response
Configuration file
Startup Messages
User Interface Software
WebUI,Despenser.exe (https://github.com/MakeMagazinDE/Solder-Paste-Dispenser)
What happened?
GCode runes with brackes. Each Bracke takes about 2-5 seconds. Marked Bold
If I push any of the endstops during the run of the Gcode, maschine doesn't generate and 'Run'-, 'Idle'-Messages anymore. and speed of execution is as expected. No stops occure. I have no glue why that is happening. I recognized this by accident that pushing endstop solves the issue ;-) Is it a bug or miss configuration ? Regards qrstu
Other Information
No response