Nothing fancy is needed, just a flat conductive plate for the tool to touch.
The underside of the plate should be insulated so that it cannot touch
any metal parts of your machine. You will need a wire connection from
the plate to one of the inputs on pins 1, 2, 3, or 4 of the green screw
terminal strip on the back of the G540 and a wire from the the power
Gnd on pin 12 of this same terminal strip to a clip that can be attached
to the cutting tool while probing. Note that this wire will share the
connection from your power supply for the G540.
You will need to configure your software to monitor parallel port pin
10, 11, 12, or 13 to see a "digitize" input. You will also need to know
the thickness of the touch plate so that your touch-off macro can
correct for this offset.
See the MachSupport forums for information about a tool length
touch-off macro.