Hi Armadus,
If I read the schematic correctly, from the data sheet, this PIR is supposed to sink the current when switched on, and so should be connected to the pic pin directly. As it is wired, it wil merely reduce the voltage to the calculated divider voltage, roughly 1/5 of the 24v supply, the rest of the time the pin will be somewhere between that value and 24v depending upon how much current the pic is sinking through the resistors.
JS