The automatism theory is used as a basis to interpret the operating pattern of automated sale machine. In view of the inconvenience for the customers to buy more than one commodity and the disadvanges of the conventional management system of the automated sale machine, some optimization and extension for the operating mode by use of software development are proposed to enhance the function of management and to make the automated sale more quick, accurate and efficient.