Using the pictures on the aliexpress page, connect 12Vout to brown, input+ to green and input- to PGND for the sensor, on an other input connect 12Vout to white, input+ to yellow and input- to PGND. The first will be the tool sensor, the second the overtravel signal. You can set the overtravel signal to one of the axes as limit switch, so the machine will stop if tool is pushed into the probe.