Aiming at the demand against report angle of azimuth and pitch of current target in the air by photoeletricity search information system detected to rear-end weapon PLSS,establishing of coordinate system of earth was preferable method to resolve openstream questions in photoeletricity search information system and rear-end weapon PLSS for rear-end weapon PLSS to point to target in the air by system detected. Interface characteristic of HMR3000 e-compass was introduced in the paper, control programming of HMR3000 and interface circuit between DSP and HMR3000 were given.Acquisition process of photoeletricity search information system platform azimuth axis relative to earth due north by HMR3000 e-compass obtained and realization method in programming and related program in dsp-end were given. Conclusions indicate precision of established coordinate system is in zero point five degree,repetition precision is in zero point one degree,and can steadily operate.