-
-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Description
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
I'm trying to develop a project for a CNC3018 machine using Marlin 2.0.
There is trouble with PCB blank sensing . Z-probe works fine. I can verify this by the M119 command.
The machine behavior is very strange. To simulate the Z-probe, I use a button that I press by myself.
I'm using a simple program. Here's just a part of it:
G90
G0 Z2
G0 X10.000 Y0.000 (point #1)
G38.2 Z-4 F40
G0 Z2
G0 X20.000 Y0.000 F100 (point #2)
G38.2 Z-4 F40
G0 Z2
G0 X40.000 Y0.000 F100 (point #3)
G38.2 Z-4 F40
G0 Z2
G0 X60.000 Y0.000 F100
G38.2 Z-4 F40 (point #4)
G0 Z2
At the point #1, the Z-axis moves down and stops correctly exactly when I press the Z-probe button. At point #2, the Z-axis movement is shorter, and sometimes I do not have time to press the button before the Z-axis moves up. At points #3 and #4, only XY movement occurs, and the Z-axis doesn't move down at all, even though the G38.2 lines are identical in the program for all points. This behavior is the same in CNCjs and when working from an SD card. It seems there's a problem with MARLIN firmware. Any help is welcome.
Bug Timeline
No response
Expected behavior
I expected it to work good and sense target with G38.2
Actual behavior
No response
Steps to Reproduce
No response
Version of Marlin Firmware
FIRMWARE_NAME: Marlin 510S 2.0.7.2
Printer model
this is CNC milling machine
Electronics
Arduino Mega 2560 R3, RAMPS 1.4
LCD/Controller
LCD12864_RepRapDiscount Full Grafics
Other add-ons
Bed Leveling
None
Your Slicer
None
Host Software
Other (explain below)
Don't forget to include
- A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.
Additional information & file uploads
No response