CN114564799A - Card wiring diagram generation method, system and storage medium - Google Patents

Card wiring diagram generation method, system and storage medium Download PDF

Info

Publication number
CN114564799A
CN114564799A CN202210123953.1A CN202210123953A CN114564799A CN 114564799 A CN114564799 A CN 114564799A CN 202210123953 A CN202210123953 A CN 202210123953A CN 114564799 A CN114564799 A CN 114564799A
Authority
CN
China
Prior art keywords
card
information
wiring diagram
wiring
clamping piece
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210123953.1A
Other languages
Chinese (zh)
Inventor
卢刚
张俊
高晓东
杨乐乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens Ltd China
Original Assignee
Siemens Ltd China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Ltd China filed Critical Siemens Ltd China
Priority to CN202210123953.1A priority Critical patent/CN114564799A/en
Publication of CN114564799A publication Critical patent/CN114564799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention discloses a card wiring diagram generation method, a system and a storage medium. The method comprises the following steps: acquiring different general wiring diagram templates drawn for different card wiring types, wherein each general wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position; the method comprises the steps that an information table comprising wiring information of at least one card is obtained, wherein the information table comprises hardware connection information between the card and field equipment; determining information conversion relations between different card wiring types and corresponding general wiring diagram templates in the information table; and adding corresponding information of the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation aiming at each clamping piece in the information table, and generating a wiring diagram of the clamping piece. According to the technical scheme in the embodiment of the invention, the wiring diagram of the clamping piece can be generated quickly.

Description

Card wiring diagram generation method, system and storage medium
Technical Field
The invention relates to the field of industry, in particular to a card wiring diagram generation method, a card wiring diagram generation system and a computer readable storage medium.
Background
In the industrial field, CAD drawings are often used. For example, an electrical diagram of a DCS cabinet or the like is designed using AutoCAD drawing software. The DCS rack is a multi-level Computer system composed of a process Control level and a process monitoring level and using a Communication network as a link, and integrates 4C technologies such as a Computer (Computer), Communication (Communication), graphic display (CRT), and Control (Control). The DCS control system is mainly divided into three layers: a bottom layer, a middle layer and an upper layer. Each layer is composed of different parts and plays an important role in a DCS control system. The bottom layer is a control layer and comprises a CPU card, an I/O card, a card cage, a cabinet and the like. The middle layer is a management layer and comprises a control station communication card, an operation station, an engineer station, a printer station, a history server and the like. The upper layer is a factory layer and comprises a file server, a network server and the like. Briefly, the DCS rack is an extended IO for process control development, collecting and controlling field instrument data.
In a DCS enclosure, various cards, such as CPU cards, I/O cards, communications cards, etc., typically involve connection to field devices and software configuration in the field. At present, when drawing an electrical diagram of a DCS cabinet, besides manually drawing each card drawing every time, information such as a connection relationship of each card and the like needs to be marked on a drawing. Because there are many similar cards in the DCS rack, and the relation of connection is more, therefore make mistakes very easily among the drawing process, and efficiency is lower.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a card wiring diagram generation method on one hand, and a card wiring diagram generation system and a computer-readable storage medium on the other hand, which are used to quickly generate a card wiring diagram.
The card wiring diagram generation method provided by the embodiment of the invention comprises the following steps: acquiring a general wiring diagram template drawn for each card wiring type, wherein each general wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position; the information marking position comprises a wiring information marking position; the method comprises the steps that an information table comprising wiring information of at least one card is obtained, wherein the information table comprises hardware connection information between the card and field equipment; determining information conversion relations between different card wiring types and corresponding general wiring diagram templates in the information table; and adding corresponding information of the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation aiming at each clamping piece in the information table, and generating a wiring diagram of the clamping piece.
In one embodiment, the information table includes some or all of the following information: the card connector comprises a label for representing card identification information, a card wiring type, a rack and a slot for representing the installation position of the card, and a port for representing the connection relation of the card.
In one embodiment, the configurable parameter interface is set in a mode of a special symbol + a keyword + the special symbol; the adding, according to the information conversion relationship, corresponding information of each card piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to a card piece wiring type to which the card piece belongs includes: and aiming at each clamping piece in the information table, searching a corresponding general wiring diagram template according to the clamping piece wiring type to which the clamping piece belongs, searching a configurable parameter interface limited by each special symbol, a keyword and the special symbol in the general wiring diagram template, and replacing the content of the configurable parameter interface by using specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface.
In one embodiment, the clip comprises: analog input card, analog output card, switching value input card, switching value output card, thermocouple card and thermal resistance card.
In one embodiment, the cartridge is a cartridge in a DCS cabinet; the method further comprises the following steps: and arranging the wiring diagrams of the cards in a DCS cabinet diagram according to the sequence of the rack and the groove numbers.
The system for generating the card wiring diagram provided by the embodiment of the invention comprises: the template library is used for storing general wiring diagram templates drawn for wiring types of each card, wherein each general wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position; the information marking position comprises a wiring information marking position; the system comprises an information table acquisition module, a data processing module and a data processing module, wherein the information table acquisition module is used for acquiring an information table comprising wiring information of at least one card, and the information table comprises hardware connection information between the card and field equipment; the conversion relation determining module is used for determining the information conversion relation between different card wiring types in the information table and the corresponding general wiring diagram template; and the wiring diagram generating module is used for adding corresponding information of the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation aiming at each clamping piece in the information table, so as to generate a wiring diagram of the clamping piece.
In one embodiment, the information table includes some or all of the following information: the card connector comprises a label for representing card identification information, a card wiring type, a rack and a slot for representing the installation position of the card, and a port for representing the connection relation of the card.
In one embodiment, the configurable parameter interface is set in a mode of a special symbol + a keyword + a special symbol; the wiring diagram generating module searches a corresponding general wiring diagram template according to the wiring type of the clamping piece to which the clamping piece belongs aiming at each clamping piece in the information table, searches a configurable parameter interface limited by each special symbol, a keyword and the special symbol in the general wiring diagram template, and replaces the content of the configurable parameter interface by using specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface.
In one embodiment, the cartridge comprises: the analog quantity input card, the analog quantity output card, the switching value input card, the switching value output card, the thermocouple card and the thermal resistance card.
In one embodiment, the cartridge is a cartridge in a DCS cabinet; the system further comprises: and the drawing arrangement module is used for arranging the wiring diagrams of the cards in a DCS cabinet diagram according to the sequence of the rack and the groove numbers.
The system for generating the card wiring diagram provided by the embodiment of the invention comprises: at least one memory and at least one processor, wherein: the at least one memory is for storing a computer program; the at least one processor is configured to invoke the computer program stored in the at least one memory to execute the card patch wiring diagram generating method according to any of the above embodiments.
A computer-readable storage medium proposed in an embodiment of the present invention has a computer program stored thereon; the computer program can be executed by a processor and realizes the card patch wiring diagram generation method according to any one of the above embodiments.
In the scheme, as the embodiment of the invention, a universal wiring diagram template is respectively drawn for each card wiring type, and a configurable parameter interface is arranged at the corresponding information marking position for each universal wiring diagram template; then, an information table comprising hardware connection information between each card and the field equipment is obtained, and an information conversion relation between the wiring type of each card in the information table and a corresponding general wiring diagram template is determined; and then, assignment can be carried out on configurable parameters of the corresponding general wiring diagram template according to the information in the information table, so that wiring diagrams of all the clamping pieces can be generated in batches, and the drawing efficiency of the wiring diagrams of the clamping pieces is improved. According to the technical scheme, a large amount of work of copying and instantiating the card connector wiring diagram on the drawing is converted into work on a file (such as an Office file), namely, card part information required on the drawing is collected into an information table. Furthermore, the clamping piece wiring diagrams generated in batches can be rapidly arranged, and the layout efficiency of the clamping piece wiring diagrams is further improved. The technical scheme replaces manual drawing drawings (such as CAD drawings) and manual layout card piece wiring drawings, greatly improves the efficiency and accuracy and reduces the cost.
In addition, this technical scheme can also convenient and fast ground update the instrument label in the information table, has solved the problem of manual update inefficiency on the fastener wiring drawing. And moreover, by arranging the universal wiring diagram template, a standardized template file can be provided, so that a standard, uniform and attractive card wiring diagram example can be generated.
Drawings
The above and other features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail preferred embodiments thereof with reference to the attached drawings in which:
FIG. 1 is an exemplary flowchart of a card wiring diagram generation method according to an embodiment of the present invention.
FIG. 2 is a schematic view of a card connector wiring diagram template in one example of the invention.
FIG. 3 is a schematic diagram of a card connector wiring diagram in one example of the invention.
Fig. 4 is a schematic structural diagram of a card wiring diagram generation system according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of a card wiring diagram generation system according to another embodiment of the present invention.
Wherein the reference numbers are as follows:
reference numerals Means of
101~104 Step (ii) of
401 Template library
402 Information table acquisition module
403 Conversion relation determination module
404 Wiring diagram generation module
405 Drawing arrangement module
51 Memory device
52 Processor with a memory for storing a plurality of data
53 Display device
54 Bus line
Detailed Description
In the embodiment of the present invention, considering that there are more types of connection in some cards, for example, the I/O card may include: analog Input (AI) cards, Analog Output (AO) cards, switching input (DI) cards, switching output (DO) cards, Thermocouple (TC) cards, and thermal Resistance (RTD) cards, among others. Some cards, in turn, include different types of cards, such as an 8-channel card, a 16-channel card, a 32-channel card, and the like. In addition, each card can have different wiring types, for example, some cards are directly connected with terminals, and some cards are connected with terminals after the safety barrier is connected, and the like. Therefore, in order to improve the drawing efficiency of the card wiring diagram, a general wiring diagram template is respectively drawn for each card wiring type, and a configurable parameter interface is arranged at the corresponding information marking position for each general wiring diagram template; then, an information table comprising hardware connection information between each card and the field device can be obtained; and assigning values to the configurable parameters of the corresponding general wiring diagram template according to the information in the information table, thereby generating the wiring diagram of each card piece.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail by referring to the following examples.
FIG. 1 is an exemplary flowchart of a card wiring diagram generation method according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
step 101, obtaining different general wiring diagram templates drawn for different card wiring types, wherein each general wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position. In this embodiment, the information labeling position includes a wiring information labeling position.
Taking a DCS cabinet as an example, assume that a wiring diagram of 100 cards needs to be drawn, if the 100 cards draw CAD drawings respectively, much time is required, the efficiency is low, and errors are easy to occur. In this embodiment, the 100 card pieces are classified first, and assuming that the 100 card pieces can be classified into 6 card piece wiring types, in this embodiment, a general wiring diagram template can be respectively drawn for each card piece wiring type, that is, different card piece wiring types correspond to different general wiring diagram templates. For example, fig. 2 shows a general wiring diagram template of a 16-channel Analog Input (AI) card in an example of the present invention, and because the pages are limited, only a part of contents are shown in fig. 2 for clearly representing the text information in the diagram, and the middle contents are omitted. In this embodiment, the general wiring diagram template is drawn by AutoCAD software. In other embodiments, the generic wiring diagram template may also be drawn by other software for different application scenarios. After the drawing of the general wiring diagram template is completed, a corresponding configurable parameter interface is arranged for each information marking position. In specific implementation, the corresponding configurable parameter interface can be set in a mode of special symbols, keywords and special symbols. For example, the information labeling position of the module information (i.e. the card information) in fig. 1 sets the configurable parameter interface of the module information through a content "module number" defined by $ symbols on both sides; the information labeling position of each channel connection relation sets a configurable parameter interface of each channel connection relation through contents of 'channel number 0', 'channel number 1', '… …' and 'channel number 15' limited by symbols $ on both sides. In addition, the configurable parameter interface of the rack information is set at the information marking position of the rack information (namely, a support frame used for installing the card in the cabinet body of the DCS cabinet) through a content 'DP _ A' limited by symbols $ on two sides, the configurable parameter interface of the slot information is set at the information marking position of the slot information (namely, a slot used for installing the card in the rack) through a content 'slot A' limited by symbols $ on two sides, and the configurable parameter interface of the safety barrier group is set at the information marking position of the safety barrier group information through a content 'safety barrier group' limited by symbols $ on two sides. The information labeling positions of the connection relation of each channel, namely, the information labeling positions of the contents of 'channel number 0', 'channel number 1', 'channel number … …' and 'channel number 15' are limited by symbols $ at two sides and are the wiring information labeling positions of the 16-channel I/O card.
The card in this embodiment may include an I/O card, and the I/O card may include: class 6 cards such as Analog Input (AI) card, Analog Output (AO) card, switching input (DI) card, switching output (DO) card, Thermocouple (TC) card, and thermal Resistance (RTD) card. Each type of card, in turn, may include a different type of card, such as an 8-channel card, a 16-channel card, a 32-channel card, and the like. In addition, each card can have different wiring types, for example, some cards are directly connected with terminals, and some cards are connected with terminals after the safety barrier is connected, and the like.
102, acquiring an information table comprising wiring information of at least one card, wherein the wiring information comprises hardware connection information between each card and the field equipment.
For example, an information table including the wiring information of the aforementioned 100 cards is acquired.
The wiring information of one card is shown in the following table 1.
Figure BDA0003499602910000061
TABLE 1
Only columns with content are shown in table 1 above, with columns without content hidden. As shown in table 1, the information table includes: the card connector comprises labels (such as identification information of card serial numbers, cabinet numbers and the like), card wiring types, a rack and a slot for representing the installation position of the card, ports for representing the connection relation of the card and the like. The above in the above table indicates that the content is the same as the above, and therefore, the writing is not performed again because the space of the paper is limited, so as not to make the form appear to be too long, the text description is adopted here, and in practical application, specific information can be filled in. In addition, in other embodiments, some of the aforementioned information and other information may be included. For example, in some embodiments, the method may further comprise: card piece description information, Terminal number (Terminal No.)/MTA Channel (MTA Channel), MTA/Terminal row identification (MTA/Terminal Trip ID), Surge Protector Tag (sub Protector Tag), Surge Protector Type (sub Protector Type), Terminal row Tag (Terminal Strip Tag), and the like. The specific value can be determined according to actual needs, and the method is not limited herein. In a specific implementation, the information table may have various implementation forms, for example, it may be an Excel table, or may be another type of table, such as a table in a database.
In specific implementation, the format of the information provided by the user may be standardized to be consistent with the format of the information table in this embodiment, for example, the information is an Office version file, and thus, the information provided by the user may be quickly imported into the information table in this embodiment.
And 103, determining information conversion relations between different card wiring types and corresponding general wiring diagram templates in the information table.
For example, for the aforementioned 6 card wiring types, the information conversion relationship between each card wiring type and the corresponding generic wiring diagram template may be determined separately. In the specific implementation, the information conversion relationship can be determined manually according to the information of each card connection type in the information table and the information required to be configured in the general connection diagram template, and correspondingly, in the step, the information conversion relationship between different card connection types in the information table and the corresponding general connection diagram template can be determined according to the configuration of a user.
An example information conversion relationship table is shown in table 2 below. The information conversion relation table shows the information conversion relation of one card wiring type.
Figure BDA0003499602910000071
TABLE 2
As shown in table 2, for the card wiring type 16AI-IS, the corresponding general wiring diagram template IS MD0112, and the information to be added to the corresponding general wiring diagram template IS information indicating "Y", such as: the position number, the cabinet number, the slot A, the module number and the safety barrier group do not need to be added to the information of the corresponding general wiring diagram template, namely the information marked with 'N'.
And 104, adding corresponding information corresponding to the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation for each clamping piece in the information table, and generating a wiring diagram of the clamping piece.
For example, a wiring diagram of 100 cards can be generated in a batch for the above-described information table including wiring information of 100 cards. And respectively filling the wiring information of each clamping piece into a configurable parameter interface of a clamping piece wiring diagram template corresponding to the wiring type of the clamping piece to which the information belongs, thereby generating a wiring diagram of the clamping piece.
During specific implementation, a corresponding general wiring diagram template is searched according to the wiring type of the card to which each card belongs, a configurable parameter interface limited by each special symbol + keyword + special symbol is searched in the general wiring diagram template, and the content of the configurable parameter interface is replaced by specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface. For example, FIG. 3 illustrates a card connector wiring diagram generated based on the generic wiring diagram template shown in FIG. 2 in one example of the invention. As shown in fig. 3, the content "module number" defined with the symbol $ on both sides in fig. 2 is instantiated as "DP 21+ AI 04"; the contents "number of channels 0", "number of channels 1", … … "and" number of channels 15 "defined on both sides by the symbol $ are exemplified as" FT34501Y35302 "," FT34501Y35303 "," FT345Y35305 "," FT345Y35304 ", … …" SPARE ", respectively. The contents "DP _ a" defined with the symbol $ on both sides are instantiated as "21", and the contents "slot a" defined with the symbol $ on both sides are instantiated as "4"; the content "security barrier group" bounded on both sides by the symbol $ is instantiated as "B2104".
In addition, for the cards in the DCS cabinet, in the embodiment of the present invention, after the wiring diagram of each card is generated, the wiring diagrams of each card may be further arranged in the DCS cabinet diagram according to the sequence of the racks and the numbers of the slots. The process can be automatically executed, and can also be manually copied to a DCS cabinet graph in batches, so that the process is convenient and fast.
In addition, for other applications, the generated card connecting piece wiring diagrams can be arranged according to corresponding requirements.
The method for generating the card connecting piece wiring diagram in the embodiment of the invention is described in detail above, and the system for generating the card connecting piece wiring diagram in the embodiment of the invention is described in detail below. The system for generating a card connector wiring diagram in the embodiment of the present invention can be used for implementing the method for generating a card connector wiring diagram in the embodiment of the present invention, and details which are not disclosed in detail in the embodiment of the system of the present invention can be referred to corresponding descriptions in the embodiment of the method of the present invention, and are not described herein again.
Fig. 4 is an exemplary block diagram of a card wiring diagram generation system according to an embodiment of the present invention. As shown in fig. 4, the system may include: the system comprises a template library 401, an information table acquisition module 402, a conversion relation determination module 403 and a wiring diagram generation module 404.
The template library 401 is used for storing different universal wiring diagram templates drawn for different card wiring types, wherein each universal wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position; the information labeling position comprises a wiring information labeling position.
The information table acquisition module 402 is configured to acquire an information table including wiring information of at least one card, where the information table includes hardware connection information between the card and a field device.
The conversion relation determining module 403 is configured to determine an information conversion relation between different patch connection types in the information table and corresponding generic wiring diagram templates.
The wiring diagram generating module 404 is configured to add, according to the information conversion relationship, corresponding information of each card in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to a card wiring type to which the card belongs, so as to generate a wiring diagram of the card.
In one embodiment, part or all of the following information may be included in the information table: the card connector comprises a label for representing card identification information, a card wiring type, a rack and a slot for representing the mounting position of the card and a port for representing the connection relation of the card.
In one embodiment, the universal wiring diagram template may be a universal wiring diagram template finished by drawing through AutoCAD software.
In one embodiment, the table of information may be an Excel table.
In one embodiment, the configurable parameter interface is set in a mode of a special symbol + a keyword + a special symbol; the wiring diagram generating module 404 searches for a corresponding general wiring diagram template according to the wiring type of the card piece to which the card piece belongs for each card piece in the information table, searches for a configurable parameter interface defined by each special symbol + keyword + special symbol in the general wiring diagram template, and replaces the content of the configurable parameter interface with the specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface.
In one embodiment, the cartridge comprises: the analog quantity input card, the analog quantity output card, the switching value input card, the switching value output card, the thermocouple card and the thermal resistance card.
In one embodiment, directed to a card in a DCS cabinet; the system may further be as shown in phantom in fig. 4, comprising: and the drawing arrangement module 405 is used for arranging the wiring diagrams of the cards in a DCS cabinet diagram according to the sequence of the rack and the slot numbers.
FIG. 5 is a schematic diagram of another card wiring diagram generation system in an embodiment of the present application, which can be used to implement the method shown in FIG. 1 or the system shown in FIG. 4. As shown in fig. 5, the system may include: at least one memory 51, at least one processor 52 and at least one display 53. In addition, some other components may be included, such as a communications port, etc. These components communicate over a bus 54.
Wherein the at least one memory 51 is adapted to store a computer program. In one embodiment, the computer program can be understood to include the various modules of the card wiring diagram generation system shown in FIG. 4. Further, the at least one memory 51 may also store an operating system and the like. Operating systems include, but are not limited to: an Android operating system, a Symbian operating system, a Windows operating system, a Linux operating system, and the like.
At least one processor 52 is used to call the computer program stored in at least one memory 51 to execute the card clip wiring diagram generation method described in the embodiments of the present application. The processor 52 may be a CPU, processing unit/module, ASIC, logic module, or programmable gate array, etc. Which can receive and transmit data through the communication port.
At least one display 53 is used for displaying a human-computer interaction interface, a card wiring diagram and a DCS mechanism wiring diagram.
It should be noted that not all steps and modules in the above flows and structures are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The division of each module is only for convenience of describing adopted functional division, and in actual implementation, one module may be divided into multiple modules, and the functions of multiple modules may also be implemented by the same module, and these modules may be located in the same device or in different devices.
It is understood that the hardware modules in the above embodiments may be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (e.g., a special purpose processor such as an FPGA or ASIC) for performing specific operations. A hardware module may also include programmable logic devices or circuits (e.g., including a general-purpose processor or other programmable processor) that are temporarily configured by software to perform certain operations. The implementation of the hardware module in a mechanical manner, or in a dedicated permanent circuit, or in a temporarily configured circuit (e.g., configured by software), may be determined based on cost and time considerations.
In addition, a computer-readable storage medium is further provided in the embodiments of the present application, where a computer program is stored, where the computer program can be executed by a processor and is used to implement the card connector wiring diagram generation method in the embodiments of the present application. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the embodiments described above are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium. Further, part or all of the actual operations may also be performed by an operating system or the like operating on the computer by instructions based on the program code. The functions of any of the above-described embodiments may also be implemented by writing the program code read out from the storage medium to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causing a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on the instructions of the program code. Examples of the storage medium for supplying the program code include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RWs, DVD-ROMs, DVD-RAMs, DVD-RWs, DVD + RWs), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer by a communications network.
In the scheme, as the embodiment of the invention respectively draws a universal wiring diagram template for each card wiring type, and the configurable parameter interface is arranged at the corresponding information marking position for each universal wiring diagram template; then, an information table comprising hardware connection information between each card and the field equipment is obtained, and an information conversion relation between the wiring type of each card in the information table and a corresponding general wiring diagram template is determined; and then, assignment can be carried out on configurable parameters of the corresponding general wiring diagram template according to the information in the information table, so that wiring diagrams of all the clamping pieces can be generated in batches, and the drawing efficiency of the wiring diagrams of the clamping pieces is improved. According to the technical scheme, the work of copying a large number of pieces of drawing paper and instantiating the card piece wiring diagram is converted into the work of a file (such as an Office file), namely the card piece part information required on the drawing paper is gathered into an information table.
Furthermore, the clamping piece wiring diagrams generated in batches can be rapidly arranged, and the layout efficiency of the clamping piece wiring diagrams is further improved. The process replaces manual drawing drawings (such as CAD drawings) and manual layout card piece wiring diagrams, greatly improves the efficiency and accuracy, and reduces the cost.
In addition, this technical scheme can also convenient and fast ground update the instrument label in the information table, has solved the problem of manual update inefficiency on the fastener wiring drawing. And moreover, by arranging the universal wiring diagram template, a standardized template file can be provided, so that a standard, uniform and attractive card wiring diagram example can be generated.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. The method for generating the card wiring diagram is characterized by comprising the following steps:
acquiring different general wiring diagram templates drawn for different card wiring types, wherein each general wiring diagram template is provided with a configurable parameter interface at a corresponding information marking position; the information marking position comprises a wiring information marking position;
acquiring an information table comprising wiring information of a card, wherein the information table comprises hardware connection information between the card and field equipment;
determining information conversion relations between different card wiring types and corresponding general wiring diagram templates in the information table;
And adding corresponding information of the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation aiming at each clamping piece in the information table, and generating a wiring diagram of the clamping piece.
2. The card connector wiring diagram generation method according to claim 1, wherein the information table includes part or all of the following information: the card connector comprises a label for representing card identification information, a card wiring type, a rack and a slot for representing the mounting position of the card and a port for representing the connection relation of the card.
3. The card connector wiring diagram generation method according to claim 1, wherein the configurable parameter interface is set in a mode of special symbols + keywords + special symbols;
the adding, according to the information conversion relationship, corresponding information of each card piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to a card piece wiring type to which the card piece belongs includes: and aiming at each clamping piece in the information table, searching a corresponding general wiring diagram template according to the clamping piece wiring type to which the clamping piece belongs, searching a configurable parameter interface limited by each special symbol, a keyword and the special symbol in the general wiring diagram template, and replacing the content of the configurable parameter interface by using specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface.
4. The card connector wiring diagram generating method according to claim 1, wherein the card connector comprises: the analog quantity input card, the analog quantity output card, the switching value input card, the switching value output card, the thermocouple card and the thermal resistance card.
5. The card connector wiring diagram generation method according to any one of claims 1 to 4, wherein the card connector is a card connector in a DCS cabinet; the method further comprises the following steps: and arranging the wiring diagrams of the cards in a DCS cabinet diagram according to the sequence of the racks and the groove numbers.
6. Fastener wiring diagram generation system, its characterized in that includes:
the template library (401) stores different general wiring diagram templates drawn for different types of card wiring types, wherein each general wiring diagram template is provided with a configurable parameter interface at the corresponding information marking position; the information marking position comprises a wiring information marking position;
the system comprises an information table acquisition module (402) for acquiring an information table comprising wiring information of a card, wherein the information table comprises hardware connection information between the card and the field device;
a conversion relation determining module (403) for determining the information conversion relation between different card patch wiring types in the information table and the corresponding general wiring diagram template;
And the wiring diagram generating module (404) is used for adding corresponding information of the clamping piece in the information table to a corresponding configurable parameter interface of a general wiring diagram template corresponding to the clamping piece wiring type to which the clamping piece belongs according to the information conversion relation aiming at each clamping piece in the information table, so as to generate a wiring diagram of the clamping piece.
7. The card connector wiring diagram generation system of claim 6, wherein the information table includes some or all of the following information: the card connector comprises a label for representing card identification information, a card wiring type, a rack and a slot for representing the mounting position of the card and a port for representing the connection relation of the card.
8. The system for generating a card connector wiring diagram according to claim 6, wherein the configurable parameter interface is set in a mode of special symbols + keywords + special symbols;
the wiring diagram generating module (404) searches a corresponding general wiring diagram template according to the wiring type of the clamping piece to which the clamping piece belongs for each clamping piece in the information table, searches a configurable parameter interface defined by each special symbol, a keyword and the special symbol in the general wiring diagram template, and replaces the content of the configurable parameter interface with the specific information corresponding to the keyword in the information table according to the keyword in the configurable parameter interface.
9. The card wiring diagram generation system of claim 6, wherein the card comprises: analog input card, analog output card, switching value input card, switching value output card, thermocouple card and thermal resistance card.
10. The card connector wiring diagram generation system of any of claims 6 to 9, wherein the card connector is a card connector in a DCS cabinet; the system further comprises: and the drawing arrangement module (405) is used for arranging the wiring diagrams of the cards in a DCS cabinet diagram according to the sequence of the rack and the slot numbers.
11. Fastener wiring diagram generation system, its characterized in that includes: at least one memory and at least one processor, wherein:
the at least one memory is for storing a computer program;
the at least one processor is configured to invoke a computer program stored in the at least one memory to perform the card deck wiring diagram generation method of any of claims 1 to 5.
12. A computer-readable storage medium having stored thereon a computer program; characterized in that the computer program is executable by a processor and implements the card connector wiring diagram generating method according to any one of claims 1 to 5.
CN202210123953.1A 2022-02-10 2022-02-10 Card wiring diagram generation method, system and storage medium Pending CN114564799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210123953.1A CN114564799A (en) 2022-02-10 2022-02-10 Card wiring diagram generation method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210123953.1A CN114564799A (en) 2022-02-10 2022-02-10 Card wiring diagram generation method, system and storage medium

Publications (1)

Publication Number Publication Date
CN114564799A true CN114564799A (en) 2022-05-31

Family

ID=81714169

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210123953.1A Pending CN114564799A (en) 2022-02-10 2022-02-10 Card wiring diagram generation method, system and storage medium

Country Status (1)

Country Link
CN (1) CN114564799A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016606A (en) * 2022-06-01 2022-09-06 国核示范电站有限责任公司 Cabinet design method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115016606A (en) * 2022-06-01 2022-09-06 国核示范电站有限责任公司 Cabinet design method and device, electronic equipment and storage medium
CN115016606B (en) * 2022-06-01 2024-03-19 国核示范电站有限责任公司 Cabinet design method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107832676A (en) Form data line feed recognition methods, electronic equipment and computer-readable recording medium
CN111159982B (en) Document editing method, device, electronic equipment and computer readable storage medium
CN114818594A (en) Automatic wiring and naming method, device, equipment and medium
CN114564799A (en) Card wiring diagram generation method, system and storage medium
CN111381142A (en) Semiconductor automatic test equipment and test method for improving test flow efficiency
CN111651397B (en) Method and equipment for accessing peripheral module of PXIe
CN116029080A (en) Chip storage device design and verification method and device and electronic equipment
CN116560697B (en) DBC database synchronization method, device, electronic equipment and readable storage medium
CN111814218A (en) Design drawing management method and system
CN110688315A (en) Interface code detection report generation method, electronic device, and storage medium
CN115758950A (en) Automatic drawing method, device and computer readable storage medium
CN113536407B (en) Method, device and storage medium for constructing project drawing based on unit equipment
CN109840080B (en) Character attribute comparison method and device, storage medium and electronic equipment
CN107766228B (en) Multi-language-based automatic testing method and device
CN116107971A (en) Model data processing method and device, electronic equipment and storage medium
CN109359384B (en) Method and device for calling silk-screen mark into printed circuit board
CN113468836A (en) Data processing method, data processing device, storage medium and electronic equipment
CN115345131A (en) Method and device for constructing hierarchical relationship tree and electronic equipment
CN111562907A (en) Conversion method and system of user-defined interface data
CN112667874A (en) Webpage data extraction method and device, electronic equipment and storage medium
CN112256574A (en) Vehicle diagnosis method and system and related equipment
CN111813474A (en) Multi-language display method and device and electronic equipment
CN117540704B (en) Data reverse perspective conversion method, device, equipment and medium of data table
CN111079378A (en) Automatic numbering method and device, electronic equipment and readable storage medium
CN115658968A (en) Service data number making method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination