in the programming part of the thesis, we used trapezoidal chart programming. it simplifies the control demands and is convenient for code modifying. this plc control system of the multi-style fountain not only implemented the function of auto-transfering the spraying style, but also improved the safety and the reliability of the system, which has value on engineering application.