ANET DIY Printer with Smoothieboard V1.1 X5

Hey Guys, just a starter question for advanced users.
I’m printing on an Anet A6 Ctc DIY Printer. With Ramps, Marlin 1.1.9 an 3D Touch it was working fine, not Z (gamma) endstop was needed, but on smoothie I couldn’t get it to work. What is needed to make 3D Touch probe z0?

If I install the gamma endstop, and probe the bed, it starts printing below the bed.

Best regards and many thanks in advance

There are many ways of configuring probing, you really need to read the zprobe page, and understand what the various options are, how they work, and which is most adapted to your setup. Once you have that knowledge, it should be easy for you to set things up in your prefered way.