The device operates from 12V. (Red Wire)
The output is 5V and goes low when movement is detected. The signal line is connected to 5V via a 10k-ohm pull up resistor. (Black Wire)
To save having to connect both 12V and 5V lines to the programmer, two 3-pin regulators were used.
12V for power and 5V for the pull up signal. This means just the 14V line from the programmer is needed.
Small caps were placed between input & ground and output & ground on both 3 pin regulators - (Value was what I had in stock in a suitable physical size)
Rather than use links on the top of the board, thin insulatated wires were run on the rear of the board.
The output defauts to bit 0, but a jumper allows a patch system to connect to ch1 to 5.
I have found during initial tests I got better operation by reading the output as a voltage on the ADC rather than logic levels.
But the device works as expected.

The 9pin D-Plug caused a bit of head scratching as the 2 rows of pins are stagged and wont fit veroboard.
I cut off pins 6-9 which allowed it to be soldered to the veroboard.(These channels are not required for this application, anyway).
Pin 9, ground, then had a short thin wire soldered to the stub and fed through to the solder side.
Flowcode Test File - ADC
Having tried digital detection with the completed E-Block it now works fine.
Must have been somthing to do with running initally just patched using a protoboard.
Also means a much simpler flowcode program, and can be used on a PIC without ADC.
Flowcode Test File - Digital