Based on the analysis of the structure and software of automatic stainers used in hospitals,the authors provide a new mechanical structure and a method,have improved the software control procedure and basically solved the faults of current automatic stainer .