Page 1 of 1

Help with touch sensor

Posted: Thu May 21, 2020 5:48 am
by R0BlN
I have added a touch sensor to my new I3 Pro B and there is one extrange thing i cannot solve
I have followed the manual and downloaded the new firmawe.
I test the sensor with M280 P0 S10, and everything is ok.
When I moved X axis, i realized the movement has changed direction, so i changed this line in the code from false to true
#define INVERT_X_DIR true

So now everything is ok
If i home search X and Y manually from Repetier, it works fine (using the symbol of the house and X)
If i home search Z, Nothing happens...
I dont know if that is normal or not... I suppose yes...

Then I use G28 from manual G-Code and all the 3 axis are referenced ok.
Z goes down, sensor touches, goes up, and everything ok

My problem comes now.
I was happy, and i tryed to move the Z axis manually to Z + and the axis moved and crashed with the table...
I stopped it removing the power...

I though i may have pressed Z - and that was my mistake.
I repeated, and same happened...

The extrange thing, is that after crashisng and removing power... I apply power again, move manually up, and use Z + and then it goes ok to up.

Why after G28, the first movement always goes down.
I press Z+ 1mm and goes down. I press Z+ 1mm again, and second time goes up. and all next work fine,

It seems that there is an error in the process.
Do you know, what can i do to solve this or at least find a workaround?
Maybe the problem is the way i am testing
But i am afraid of using it after some crashes..
Is there a way, that after G28 the machine moves to Z 10mm for example?

Re: Help with touch sensor

Posted: Thu May 21, 2020 10:33 am
by William
Hello my friend, can you provide a video? This way we can better analyze for you.
You can upload compressed files here.

Re: Help with touch sensor

Posted: Fri May 22, 2020 5:14 am
by R0BlN
I am processing the video. It is too big. In some time i will post it.
I have done some tests and i think there is a software problem, but it is not so important because i have found one workaround.

You will see in the video.

1) If I run G28 from manual. It works fine. But the first movement after G28 is allways in Z negative direction (I think the last movement of the G28 command)
After G28, I press Z +1 and it goes 1mm down. But I press again the same Z +1 and it goes up. And next movements are all good.
But the first one, makes my printer crash with the table.

2) My workaround is make G28 and then G29, and after G29 everything works fine...

But i think that G28 command finish in a bad state.

Re: Help with touch sensor

Posted: Fri May 22, 2020 10:23 am
by William
Hi,the start code in the slicer should contain the sequence G28, then G29 for automatic bed leveling.