The automatic pig-feeding system gains more and more attention on the urgent need of improving pig-feeding efficiency and reducing labor intensity. An integrated automatic pig-feeding system is presented. It includes two sets of feeding-mechanisms and feeding-tanks which can work together so as to improving feeding efficiency. A drug-tank is integrated to complete the task of pig diseases control and prevention. And a buffer-tank is also integrated to save the remaining diet in the pipeline after feeding process. The whole system has a compact structure as well as fully functions. In addition, the fully automatic pig-feeding process is implemented using PLC and monitoring software. The experiment results show that this system can improve feed efficiency and reducing labor intensity greatly.