The design and implementation of a bagging machine was introduced. The application mode and characteristic of programmable logic controller (PLC) in bagging machine was analyzed, which used FX2N-32MR as controller. The input and output information of the bagging machine was discussed and logic relation of the bagging machine studied. Practical application showed that the system has good control result, which real1zed the control purpose of auto automatic measuring mixing packaging.