The first thing I suggest is that you review the Sensor Manual.
http://usfirst.org/uploadedFiles/Com...ual%20RevA.doc
How did you determine you received an R117 in the KOP?
The HiTechnic compass should work out of the box. If it isn't working please post details of how you connected and programed the compass.
If you still have questions, please post again.