The invention discloses a network communication control method and system for an industrial personal computer. The method comprises: when the system is started, ID information of a communication module at the bottom layer of system software is read to detect the communication module; after detection success, reading an equipment list in a system software hardware abstraction layer; obtaining a matching item in the equipment list according to the ID information of the communication module, setting an AT command interface according to the AT command interface information in the matching item, setting a data communication interface according to the data communication interface information in the matching item, and setting an environment variable Pro according to the name of the communicationmodule in the matching item; when the system prepares to add the wireless interface layer driver, loading a corresponding wireless interface layer driver file according to the name of the communication module; and when the system runs to a system application, reading the environment variable Pro, and setting a communication protocol required to be used by the system according to the environment variable Pro. According to the method, the problem of different maintenance versions of different operator networks is solved, the universality of industrial personal computer software is improved, andthe maintenance cost is reduced.