Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.35k stars 548 forks source link

When removing the height map, the machine stops #579

Closed RuslanLLLLL closed 1 year ago

RuslanLLLLL commented 1 year ago

Hello everyone! Error unknown to science!

Versions

Windows10

When removing the height map, the machine stops each time at the last point of the first pass along the X axis. The result is repeated over and over again. All other machine functions work. I reinstalled the Candle program, the Arduino firmware too. Nothing changed.

Help me please

изображение_viber_2022-10-16_14-05-28-612 изображение_viber_2022-10-16_14-05-28-831 изображение_viber_2022-10-16_14-05-29-222 изображение_viber_2022-10-16_14-05-29-287

изображение_viber_2022-10-16_14-05-29-335

mar0x commented 1 year ago

Hello,

Please describe sequence of operation step-by-step, share your gcode program and produced heightmap (if any).

It would be good to have an information regarding "error: 9" (you probably have seen) at the issue description as well.

P.S. As for me, textual copy of console output is much more convenient than screenshots.

mar0x commented 1 year ago

According to the screenshot 2: "ALARM: 2" - most likely triggered from grbl/protocol.c:224 which is in turn caused by grbl/limits.c:426.

Soft limit is reached and triggered this alarm. I would suggest to check the limit settings.

This is definitely NOT the grbl issue.

RuslanLLLLL commented 1 year ago

Hi, Thanks for the answer. The sequence of actions is this.

  1. Turned on the car
  2. Starting position.
  3. Opened the G-code file
  4. Clicked "Create" in the "Heightmap" window.
  5. Map settings: 3 points in X, 2 points in Y.
  6. Press "Probe", scanning will begin.
  7. At the last point of the first pass after the sensor is triggered, the machine stops. In this case, the "Status" window remains green and says "Running".
  8. The message [ MSG :Reset to continue ] appears in the console.
  9. Nothing happens....

Second try:

  1. Turned on the car
  2. Starting position.
  3. Opened the G-code file
  4. Clicked "Create" in the "Heightmap" window.
  5. Map settings: 3 points in X, 2 points in Y.
  6. Press "Probe", scanning will begin.
  7. At the last point of the first pass after the sensor is triggered, the machine stops. In this case, the "Status" window remains green and says "Running".
  8. The message [ MSG :Reset to continue ] appears in the console.
  9. Entered "?" - no reaction.
  10. Entered "$G" - no answer.
  11. Entered "$#" - no answer.
  12. Pressed "Reset" - the working and machine coordinates of the machine take on some arbitrary value, and the "Status" changes to "Alarm". [ CTRL + X ] < ALARM :2 appears in the console

Also forgot to say: For half a year, several machines have been working quite successfully according to this algorithm. The problem is with this machine.

mar0x commented 1 year ago

It is hard to guess what's going on without complete information about coordinates, send commands and received responses.

Try to record the communication between Candle and CNC serial port using serial port monitor.

RuslanLLLLL commented 1 year ago

Hi, I did some work here... Look please. step by step Остановка0 Остановка1 Остановка2 Остановка3

mar0x commented 1 year ago

Could you please provide serial port communication dump file instead of comics.

RuslanLLLLL commented 1 year ago

The problem is solved by changing the parameter $20=1 to $20=0. I wish you all success!