Expert system of the robot acquires prescription information entered by the user, based on expert knowledge stored in database, infers out syringe selection and dispensing processes of the robot, and automatically generates dispensing action sequence of the entire robot system, the framework of the expert system is shown in Figure 3.