Ignat,
Not sure if this applies to your situation, but my PR511 will frequently turn on and stay on when power is restored after a power outage.
When this happens, sending it an X10 signal to turn off seems to restore the normal motion detection functionality.