I whant to connect Z probe tool for CNC milling to have 0 in

I whant to connect Z probe tool for CNC milling to have 0 in Zmin
But i have problem all probe i have have only 2 pin one is common and one is probe. So i can’t connect like endstop common always on “0” when not push and “Vcc” when touch

Have fonction like marlin firmware to overcome this problem a intern resistor can activate to pull down or pull up when can connect only 2 wire for endstop ?

I don’t see example of wiring with this page
http://smoothieware.org/pin-configuration
Someone can help me to wiring 2 wire for probe cnc tools and smoothieboard config ?

Just invert the pin :

gamma_min 1.21 becomes
gamma_min 1.21!

if you need a pull-down you can do

gamma_min 1.21!v

Thanks Arthur