The invention discloses an intelligent digital generation method and device for a
control system program, equipment and a medium, relates to the field of
automation, and aims to obtain measuring point
list data and perform comprehensive inspection through preset
verification items such as a bit number, a measuring range, a rack slot number, alarm
interlocking, Boolean quantity and a starting condition. And classifying and counting the number of the qualified
test point data according to types of AI analog input and the like, and calculating the number of picture pages required by each type by combining the number of single-page display lines to generate a distribution table. Calling pre-stored
standard program templates according to the types of the measuring points,
copying the templates in batches according to the number of the distribution tables, and generating prefabricated picture pages corresponding to the types of the measuring points; and finally, filling the
measurement point data into a corresponding control of the prefabricated picture page, generating a mark name dictionary, generating a function program script file based on the complete picture page, and integrating the complete picture page, the mark name dictionary and the function program script file into a
control system program file, thereby realizing efficient, accurate and standardized program generation.