Abstract: A method and system for producing a plc tag database is provided. The method is for use with a set of fragment types, a set of tag values for each fragment type and a collection of PLC programming logic. The collection contains a PLC programming code for each of a plurality of classes of equipment. A PLC tag database is produced for a project. The classes of equipment required for the project are selected together with a quantity required for each class of equipment selected. A PLC logic associated with the PLC programming code for said each class, and tags defined by the PLC logic, are replicated a number of times equal to the quantity of each class selected. A specific PLC card type, rack and slot is assigned to selected tags in accordance with the requirements of the project.