Hi, I had an interesting problem today, when I was doing the homing, the homing coordinates were equal to the coordinates of the end of each axis in a negative direction. I used the code G10 L2 P1 X-950Y-1450 to return the coordinates to zero, but then , The machine stopped without any error when engraving, but when I connected two parallel 22 microfarad capacitors with limit switchs, this problem was solved and the homing coordinates become zero without using G10 L2 P1 X-950Y-1450 code
As I explained, the homing does the right thing, but returns the wrong coordinates (in the negative direction), I designed my own PCB for machin control board and developed the GRBL on a 32-bit ARM, I have put filters for all switches and considered all the esd and emi standards, but I do not understand exactly why without external capacitors the value of the homing becomes negative but with external capacitors the value becomes zero.
Yes, it is in the same physical position, but the values are different with and without capacitors.
Maybe my machine is infected with the Delta Coronavirus
Doesn’t sound like it’s hardware. I wouldn’t expect a change in memory from a cap. All they could do is slow down the detection of the head backing off the limit.
If you wrote the software, I’d start there. I don’t know how the hard/software could tell the difference of the caps being on or off. There has to be some kind of debounce for mechanical switches, but even then, it should not change your location.
Do you pull the limit up or down for active?
If you pull it down, who pulls it up?