It is copied [almost] directly from the example given in the user guide on pages 97,98 (see my first post for more info) I had searched around at the time (last week) and there was mention of config bits or something for those 3.
First off, if you are going to use the examples in the manual, you have to complete ALL of the steps shown in order for it to work. I think you probably failed to notice the instructions on Page 7-21, and did not insert your Analog Input Module Configuration Word in N7:0. Without that, this procedure will not work, and will be worse than nothing at all.
The problem with the Allen Bradley manual is that they are not written for beginners, but are written to cause beginners to have to go to their local AB distributer for help, or even better, to sign up for one of the expensive AB training classes.
If you add a paralled branch on your Rung 000, and insert a MOV command between the FLL and the COP, and Move the value "-16192" to memory location N7:0, then your error-detecting procedure might have a chance to work.
Why do you need this fancy error-detection procedure anyway? Do you know that the analog module will work just fine without this fancy-pants procedure that only detects whether or not it is working? Normally, you will know if it is not working!