The invention relates to a digital platform design method for automatically generating a PLC and terminal box diagram, and belongs to the technical field of electrical
automation design, and the method comprises the following steps: S1, obtaining PLC IO and terminal box
project design parameters and configuration parameters; s2, creating a standard
macro design scheme, and storing the standard
macro design scheme in a standard
macro scheme
database; s3, establishing an element
type selection library; s4, constructing a program
processing module which is used for performing hardware configuration according to the
project design parameters, selecting a control scheme matched with the program
processing module from a standard macro scheme
database, matching
entity type selection models in an element
type selection library according to a configurable
type selection module, automatically generating a power supply configuration table according to the control scheme and the type selection, and performing power supply configuration according to the power supply configuration table. Generating an in-cabinet
layout scheme according to the
component type selection information and the standard cabinet body scheme; and S5, constructing a drawing generation module which is used for reading PLC and terminal box
design data and automatically generating a PLC and terminal box
electrical equipment drawing.