The invention discloses a plc protocol based data collection optimized method, and belongs to the technical field of data collection optimization. The method comprises the following steps that S1) a power supply is switched on, and different parts are connected to the network; S2) communication protocols of a PLC are used, an instruction is sent, a data collector identifies the instruction and then collects data, and obtained data is encrypted; S3) the obtained data is preprocessed and divided into multiple parts; S4) the different parts are found, and analyzed and processed, and the parts after processing and optimization are recovered to a main body; and S5) the processed data is reported to an Internet server via PLC communication protocols, stored in a data memory and then output. Thedata collection optimized method can be used to improve the reliability and operation speed of the system, can be conveniently mastered and operated by a user, and can be used to enhance the safety ofdata file storage.