CN114488927A - PLC hardware configuration method, system, device and storage medium - Google Patents

PLC hardware configuration method, system, device and storage medium Download PDF

Info

Publication number
CN114488927A
CN114488927A CN202111675455.XA CN202111675455A CN114488927A CN 114488927 A CN114488927 A CN 114488927A CN 202111675455 A CN202111675455 A CN 202111675455A CN 114488927 A CN114488927 A CN 114488927A
Authority
CN
China
Prior art keywords
hardware
plc
equipment
hardware configuration
information
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
CN202111675455.XA
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.)
Guangdong Discrete Zhizao Technology Innovation Co ltd
Guangzhou Mino Equipment Co Ltd
Original Assignee
Guangdong Discrete Zhizao Technology Innovation Co ltd
Guangzhou Mino Equipment Co Ltd
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 Guangdong Discrete Zhizao Technology Innovation Co ltd, Guangzhou Mino Equipment Co Ltd filed Critical Guangdong Discrete Zhizao Technology Innovation Co ltd
Priority to CN202111675455.XA priority Critical patent/CN114488927A/en
Publication of CN114488927A publication Critical patent/CN114488927A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1122Program address module after installation, connect programmer into module

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a PLC hardware configuration method, a system, a device and a storage medium. The method comprises the following steps: acquiring a hardware list, wherein the hardware list is used for storing index information of hardware equipment to be configured; acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing information of the hardware equipment and a corresponding PLC hardware configuration source file; and importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured. According to the method and the device, the index information of the hardware equipment in the hardware list is utilized, the information of the hardware equipment to be configured is obtained in the equipment library, and the information of the hardware equipment to be configured is led into the PLC hardware configuration source file corresponding to the hardware equipment to be configured, so that the PLC hardware configuration is not required to be manually performed, the PLC hardware configuration has the characteristics of high speed and high efficiency, and the PLC programming efficiency is improved. The invention can be widely applied to the technical field of electrical control.

Description

PLC hardware configuration method, system, device and storage medium
Technical Field
The invention relates to the technical field of electrical control, in particular to a PLC hardware configuration method, a system, a device and a storage medium.
Background
Programmable Logic Controllers (PLCs) employ a type of Programmable memory for storing programs therein, executing user-oriented instructions such as logic operations, sequence control, timing, counting, and arithmetic operations, and controlling various types of machinery or manufacturing processes via digital or analog input/output.
The PLC hardware configuration is an important part of PLC program design and is used for configuring the attributes of hardware equipment for communicating with the PLC, wherein the attributes mainly comprise the name, the equipment model, the number, the IP address, the input and output address and the like of the hardware equipment.
At present, in the process of programming PLC hardware configuration, usually one project needs to perform hardware configuration on dozens of hardware devices, and the process of performing hardware configuration on hardware devices is manually completed by a PLC engineer, the PLC engineer needs to select a device model, call a device, set device attributes and the like in programming software, the process is mechanically repeated, and errors and omissions are easy to occur, so that the manual PLC hardware configuration has the defect of low working efficiency.
Disclosure of Invention
The embodiment of the application provides a PLC hardware configuration method, a system, a device and a storage medium, so that the PLC hardware configuration has the characteristics of high speed and high efficiency, and the PLC programming efficiency is improved.
In one aspect, an object of an embodiment of the present invention is to provide a PLC hardware configuration method, including the following steps:
the method comprises the following steps:
acquiring a hardware list, wherein the hardware list is used for storing index information of hardware equipment to be configured;
acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing information of the hardware equipment and a corresponding PLC hardware configuration source file;
and importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured.
Further, the PLC hardware configuration method further includes the steps of:
the hardware inventory is derived from third party mapping software.
Further, the PLC hardware configuration method further includes the steps of:
and constructing the hardware list.
Further, the PLC hardware configuration method further includes the steps of:
and constructing the equipment library.
Further, the step of obtaining the hardware device to be configured from the device library according to the hardware list includes the following steps:
acquiring the incidence relation between the hardware list and the equipment library;
and matching the hardware equipment in the equipment library according to the association relation.
Further, the step of constructing the device library includes:
the device library is constructed using a spreadsheet.
Further, the PLC hardware configuration method further includes a step of obtaining the PLC hardware configuration source file, where the step of obtaining the PLC hardware configuration source file includes the following steps:
further, the PLC hardware configuration method further includes the steps of:
and compiling the PLC hardware configuration source file by utilizing PLC programming software to obtain a PLC program.
In another aspect, an embodiment of the present invention provides a PLC hardware configuration system, including:
the hardware configuration module is used for configuring hardware equipment to be configured according to the index information of the hardware equipment to be configured;
the equipment acquisition module is used for acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing the information of the hardware equipment and a corresponding PLC hardware configuration source file;
the data processing module is used for importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured.
In another aspect, an embodiment of the present invention provides a PLC hardware configuration device, including:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, the at least one program causes the at least one processor to implement the PLC hardware configuration method.
In another aspect, an embodiment of the present invention provides a storage medium, in which a processor-executable program is stored, and the processor-executable program is used to implement the PLC hardware configuration method when executed by a processor.
Advantages and benefits of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention:
according to the method and the device, the index information of the hardware equipment in the hardware list is utilized, the information of the hardware equipment to be configured is obtained in the equipment library, and the information of the hardware equipment to be configured is led into the PLC hardware configuration source file corresponding to the hardware equipment to be configured, so that the PLC hardware configuration is not required to be manually performed, the PLC hardware configuration has the characteristics of high speed and high efficiency, and the PLC programming efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description is made on the drawings of the embodiments of the present invention or the related technical solutions in the prior art, and it should be understood that the drawings in the following description are only for convenience and clarity of describing some embodiments in the technical solutions of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a PLC hardware configuration method according to an embodiment of the present invention;
FIG. 2 is a diagram of a hardware list of an embodiment of a PLC hardware configuration method of the present invention;
FIG. 3 is a diagram of an equipment library according to an embodiment of the PLC hardware configuration method of the present invention;
FIG. 4 is a schematic structural diagram of a PLC hardware configuration system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a PLC hardware configuration device according to the present invention.
Detailed Description
The present application is further described with reference to the following figures and specific examples. The described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person skilled in the art without making any inventive step are within the scope of protection of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
At present, the design of the hardware configuration of the PLC is carried out based on manual work, and the main process is as follows: the method comprises the steps that a PLC engineer firstly obtains information of hardware equipment needing hardware configuration from an electrical schematic diagram, such as equipment name, equipment model, IP address and the like, then searches the equipment model of the hardware equipment in PLC programming software, and adds the hardware equipment of the current equipment model into a PLC network.
In the above description, only the process of hardware configuration of one hardware device is introduced, in actual operation, hardware configurations of a plurality of hardware devices are often involved in one project, so a PLC engineer needs to add the hardware devices to a network of a PLC one by one, and there are disadvantages of tedious and repeated operation and low working efficiency.
A PLC hardware configuration method, a system, an apparatus, and a storage medium according to embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a PLC hardware configuration method in an embodiment of the present invention includes the following steps:
s1, acquiring a hardware list, wherein the hardware list is used for storing index information of the hardware equipment to be configured;
specifically, the hardware list is used to store index information of the hardware device to be configured, where the index information includes information such as a configuration name, a device type, a device model, a device name, an IP address, and a device number of the hardware device to be configured.
S2, acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing the information of the hardware equipment and the corresponding PLC hardware configuration source file;
specifically, the device library is used for storing information of various hardware devices, including information such as a hardware code, a library name, a class, an applicable standard, and the like, and information such as a PLC hardware configuration source file corresponding to the hardware device. The PLC hardware configuration source file can be downloaded from an official website of a corresponding brand manufacturer and then is imported into the equipment library; of course, the PLC hardware configuration file may also be copied from other project files and then imported into the device library.
And matching the information of the corresponding hardware equipment to be configured in the equipment library according to the index information of the hardware equipment in the hardware list.
S3, importing the information of the hardware equipment to be configured into the PLC hardware configuration source file corresponding to the hardware equipment to be configured.
Specifically, in the foregoing step, the information of the hardware device that needs to be configured in the hardware configuration is already acquired, so that the information of the hardware device to be configured is imported into the PLC hardware configuration source file corresponding to the hardware device to be configured, and the purpose of the PLC hardware configuration can be achieved.
To sum up, according to the method and the device for configuring the hardware device, the index information of the hardware device in the hardware list is used for obtaining the information of the hardware device to be configured in the device library, and the information of the hardware device to be configured is led into the PLC hardware configuration source file corresponding to the hardware device to be configured, so that the PLC hardware configuration is not required to be manually configured, the PLC hardware configuration has the characteristics of being fast and efficient, and the PLC programming efficiency is improved.
As a further optional implementation manner, the PLC hardware configuration method further includes the following steps:
and S4, deriving a hardware list from the third party drawing software.
Specifically, the hardware list is obtained, a hardware list in a specified format may be derived from third party mapping software, such as Eplan, and after the hardware list is obtained, device parameters, such as a device name, a device type, an IP address, an input address, an output address, and the like, are read from the hardware list.
As a further optional implementation manner, the PLC hardware configuration method further includes the following steps:
and S5, constructing a hardware list.
Specifically, in addition to deriving the hardware inventory from the third-party mapping software, the present application also provides another embodiment of the hardware inventory, which may utilize a database or an electronic form, etc. to construct and store the hardware inventory, it should be noted that the electronic form may include an Excel form, a WPS form, a CCED form, etc., for example, referring to fig. 2, information such as a device name, an IP address, an input address, an output address, etc. may be entered in the Excel form according to project requirements, thereby constructing the hardware inventory. Moreover, the content of the constructed hardware list can be flexibly modified and adjusted according to the change of the project requirement in the later period.
As a further optional implementation manner, the PLC hardware configuration method further includes the following steps:
and S6, constructing an equipment library.
Specifically, the device library is used for storing information of the hardware device, and may be constructed by using an electronic form, where the electronic form may include an Excel form, a WPS form, a CCED form, and the like, and referring to fig. 3, the present application provides an implementation manner of the device library, where the Excel form is used to construct the device library, and in the device library, information of various hardware devices (information corresponding to part a in fig. 3) and a PLC hardware configuration source file corresponding to the hardware device are stored, and the hardware device is displayed in a device library navigator (information corresponding to part B in fig. 3) according to a device type.
Further as an alternative embodiment, step S2 includes steps S21-S22:
s21, determining the association relationship between the hardware list and the equipment library according to the index information;
and S22, matching the hardware equipment in the equipment library according to the association relation.
Specifically, the hardware list provides an index information, and the corresponding hardware device is found in the device library by using the index information in the hardware list.
In this embodiment, the incidence relation between the hardware list and the device library is determined by obtaining the index information of the hardware device to be configured in the hardware list, where the incidence relation is a mapping matching relation between the hardware list and the device library.
In one embodiment, the device type and the device model may be used as an association relationship, and the association relationship is used to match and screen out the hardware devices of the corresponding device type and the device model in the device library.
As a further optional implementation manner, the PLC hardware configuration method further includes the following steps:
and S7, compiling the PLC hardware configuration source file by utilizing the PLC programming software to obtain a PLC program.
Specifically, the PLC hardware configuration source file is imported into PLC programming software, such as TIA Portal, and the PLC programming software identifies the PLC hardware configuration source file and then compiles the PLC hardware configuration source file to obtain a PLC program.
In order to more clearly illustrate the implementation principle of the technical solution of the present application, the present application further provides another embodiment, in which the PLC hardware configuration method includes the following steps:
step 1: the method comprises the steps of obtaining a hardware list, wherein the hardware list stores index information of hardware equipment to be subjected to hardware configuration, and the index information comprises information such as configuration name, equipment type, equipment model, equipment name, IP address and equipment number. The hardware list can be obtained from third-party drawing software, and can also be constructed according to project requirements.
Step 2: and acquiring the information of the hardware equipment to be configured from an equipment library by using the index information of the hardware equipment in the hardware list, wherein the information of various hardware equipment and the PLC hardware configuration source file corresponding to the hardware equipment are stored in the equipment library.
By obtaining the association relationship between the device information in the hardware list and the device library, in one embodiment, the device type and the device model may be used as the association relationship, and the association relationship is used to match and screen out the hardware devices of the corresponding device type and the device model in the device library.
Step 3: the information of the hardware equipment to be configured is led into a PLC hardware configuration source file of the hardware equipment to be configured, and the PLC hardware configuration source file is compiled by utilizing PLC programming software to obtain a PLC program, so that the PLC hardware configuration has the characteristics of high speed and high efficiency.
Therefore, the method has the following characteristics:
1. by acquiring the hardware list and importing the information of the hardware equipment acquired by the hardware list into the PLC hardware configuration source file, the PLC hardware configuration has the characteristics of rapidness and high efficiency, and especially when more hardware equipment needs to be configured, the PLC hardware configuration efficiency is more obvious;
2. the hardware equipment of the PLC program can be quickly adjusted by flexibly adjusting the content of the constructed hardware list, and the method has the characteristic of high programming efficiency.
Next, a PLC hardware configuration system according to an embodiment of the present invention will be described with reference to the accompanying drawings.
Fig. 4 is a schematic structural diagram of a PLC hardware configuration system according to an embodiment of the present invention.
The system specifically comprises:
a list obtaining module 201, configured to obtain a hardware list, where the hardware list is used to store index information of a hardware device to be configured;
the device obtaining module 202 is configured to obtain a hardware device to be configured from a device library according to a hardware list, where the device library is used to store information of the hardware device and a corresponding PLC hardware configuration source file;
the data processing module 203 is used for acquiring a hardware list;
and importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured.
It can be seen that the contents in the foregoing method embodiments are all applicable to this system embodiment, the functions specifically implemented by this system embodiment are the same as those in the foregoing method embodiment, and the advantageous effects achieved by this system embodiment are also the same as those achieved by the foregoing method embodiment.
Referring to fig. 5, an embodiment of the present invention provides a PLC hardware configuration apparatus 300, including:
at least one processor 380;
at least one memory 320 for storing at least one program;
when the at least one program is executed by the at least one processor 380, the at least one processor 380 is enabled to implement the embodiment of the PLC hardware configuration method described above.
Specifically, the apparatus 300 may be a user terminal or a server.
The embodiment of the present application takes a device as a user terminal as an example, and specifically includes the following steps:
the apparatus 300 may include RF (Radio Frequency) circuitry 310, memory 320 including one or more computer-readable storage media, input unit 330, display unit 340, sensor 350, audio circuitry 360, short-range wireless transmission module 370, processor 380 including one or more processing cores, and power supply 390, among other components. Those skilled in the art will appreciate that the device architecture shown in fig. 5 does not constitute a limitation of electronic devices and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The RF circuit 310 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information by one or more processors 380; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 310 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuit 310 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
Memory 320 may be used to store software programs and modules. The processor 380 executes various functional applications and data processing by executing software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the device 300, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 320 may also include a memory controller to provide the processor 380 and the input unit 330 access to the memory 320. Although fig. 5 shows the RF circuit 310, it is understood that it does not belong to the essential constitution of the device 300 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user, as well as various graphical user interfaces of the control 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlie display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, it is passed to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The device 300 may also include at least one sensor 350, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for the other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configured to the device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signals into electrical signals, which are received by the audio circuit 360 and converted into audio data, which are then processed by the audio data output processor 380 and then transmitted to another control device via the RF circuit 310, or output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the device 300.
The short-distance wireless transmission module 370 may be a WIFI (wireless fidelity) module, a bluetooth module, an infrared module, or the like. The device 300 can perform information transmission with a wireless transmission module provided on another device through the short-range wireless transmission module 370.
The processor 380 is the control center of the device 300, connects various portions of the overall control device using various interfaces and lines, and performs various functions of the device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling up data stored in the memory 320, thereby performing overall monitoring of the control device. Optionally, processor 380 may include one or more processing cores; optionally, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 350.
The device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the device 300 may also include a camera, a bluetooth module, etc., which are not described in detail herein.
The embodiment of the present application further provides a storage medium, where the storage medium stores a program, and the program, when executed by a processor, implements the embodiment of the PLC hardware configuration method.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the step numbers in the above method embodiments, they are set for convenience of illustration only, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
While the present application has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A PLC hardware configuration method is characterized by comprising the following steps:
acquiring a hardware list, wherein the hardware list is used for storing index information of hardware equipment to be configured;
acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing information of the hardware equipment and a corresponding PLC hardware configuration source file;
and importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured.
2. The PLC hardware configuration method of claim 1, further comprising:
the hardware inventory is derived from third party mapping software.
3. The PLC hardware configuration method of claim 1, further comprising:
and constructing the equipment library.
4. The PLC hardware configuration method of claim 1, further comprising:
and constructing the hardware list.
5. The PLC hardware configuration method according to claim 1, wherein the step of obtaining the hardware device to be configured from a device library according to the index information includes the steps of:
acquiring the incidence relation between the hardware list and the equipment library according to the index information;
and matching the hardware equipment in the equipment library according to the association relation.
6. The PLC hardware configuration method of claim 3, wherein the step of constructing the device library comprises:
the device library is constructed using a spreadsheet.
7. The PLC hardware configuration method of claim 1, further comprising:
and compiling the PLC hardware configuration source file by utilizing PLC programming software to obtain a PLC program.
8. A PLC hardware configuration system, comprising:
the hardware configuration module is used for configuring hardware equipment to be configured according to the index information of the hardware equipment to be configured;
the equipment acquisition module is used for acquiring the hardware equipment to be configured from an equipment library according to the index information, wherein the equipment library is used for storing the information of the hardware equipment and a corresponding PLC hardware configuration source file;
the data processing module is used for importing the information of the hardware equipment to be configured into a PLC hardware configuration source file corresponding to the hardware equipment to be configured.
9. A PLC hardware configuration device, comprising:
at least one processor;
at least one memory for storing at least one program;
when executed by the at least one processor, cause the at least one processor to implement a PLC hardware configuration method as recited in any of claims 1-7.
10. A storage medium having stored therein a program executable by a processor, characterized in that: the processor executable program when executed by a processor is for implementing a PLC hardware configuration method as claimed in any one of claims 1 to 7.
CN202111675455.XA 2021-12-31 2021-12-31 PLC hardware configuration method, system, device and storage medium Pending CN114488927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111675455.XA CN114488927A (en) 2021-12-31 2021-12-31 PLC hardware configuration method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111675455.XA CN114488927A (en) 2021-12-31 2021-12-31 PLC hardware configuration method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN114488927A true CN114488927A (en) 2022-05-13

Family

ID=81508164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111675455.XA Pending CN114488927A (en) 2021-12-31 2021-12-31 PLC hardware configuration method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN114488927A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090023006A (en) * 2007-08-27 2009-03-04 삼성전자주식회사 Method for reconfiguring hardware and hardware reconfigurable system using it
US20120226368A1 (en) * 2011-03-01 2012-09-06 FLOW DATA, INC. A Delaware Corporation. Configuration based programmable logic controller (plc) programming
US20140136155A1 (en) * 2012-11-13 2014-05-15 International Business Machines Corporation Analyzing hardware designs based on component re-use
EP2985662A1 (en) * 2014-08-11 2016-02-17 Siemens Aktiengesellschaft Automatic creation of hardware configuration in a distributed control system
EP3032362A1 (en) * 2014-12-08 2016-06-15 Siemens Aktiengesellschaft Automatic generation of hardware configuration for an automation system
KR20180019001A (en) * 2016-08-12 2018-02-22 주식회사 유디엠텍 Apparatus and method for transforming PLC control program into structured data
US10203967B1 (en) * 2017-04-18 2019-02-12 Amazon Technologies, Inc. Client configurable hardware logic and corresponding data
CN109765836A (en) * 2019-02-02 2019-05-17 宁波吉利汽车研究开发有限公司 Automatic generation method, device and the realization device of PLC program
CN112241141A (en) * 2020-11-12 2021-01-19 上海电气风电集团股份有限公司 Hardware configuration method, system, device and medium of PLC control system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090023006A (en) * 2007-08-27 2009-03-04 삼성전자주식회사 Method for reconfiguring hardware and hardware reconfigurable system using it
US20120226368A1 (en) * 2011-03-01 2012-09-06 FLOW DATA, INC. A Delaware Corporation. Configuration based programmable logic controller (plc) programming
US20140136155A1 (en) * 2012-11-13 2014-05-15 International Business Machines Corporation Analyzing hardware designs based on component re-use
EP2985662A1 (en) * 2014-08-11 2016-02-17 Siemens Aktiengesellschaft Automatic creation of hardware configuration in a distributed control system
EP3032362A1 (en) * 2014-12-08 2016-06-15 Siemens Aktiengesellschaft Automatic generation of hardware configuration for an automation system
KR20180019001A (en) * 2016-08-12 2018-02-22 주식회사 유디엠텍 Apparatus and method for transforming PLC control program into structured data
US10203967B1 (en) * 2017-04-18 2019-02-12 Amazon Technologies, Inc. Client configurable hardware logic and corresponding data
CN109765836A (en) * 2019-02-02 2019-05-17 宁波吉利汽车研究开发有限公司 Automatic generation method, device and the realization device of PLC program
CN112241141A (en) * 2020-11-12 2021-01-19 上海电气风电集团股份有限公司 Hardware configuration method, system, device and medium of PLC control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
向健;: "基于PROFIBUS-DP现场总线控制的西门子产品软硬件组态设计", 通信电源技术, no. 04, 25 July 2016 (2016-07-25), pages 138 - 139 *
赵况;余文铮;汉俊梅;: "OVERHEAD控制系统的研究", 汽车工艺与材料, no. 08, 20 August 2018 (2018-08-20), pages 60 - 68 *

Similar Documents

Publication Publication Date Title
CN110941750B (en) Data linkage method and related device
CN107908407B (en) Compiling method and device and terminal equipment
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CN107656754B (en) Method for restoring set parameters and user equipment thereof
CN106413070B (en) A kind of power regulating method, mobile terminal and computer readable storage medium
CN103455330A (en) Application program management method, terminal, equipment and system
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
CN110597793A (en) Data management method and device, electronic equipment and computer readable storage medium
CN107153576A (en) The distribution method and terminal device of a kind of memory source
CN110597973A (en) Man-machine conversation method, device, terminal equipment and readable storage medium
CN107220073A (en) A kind of information updating method and user equipment
CN116303646A (en) Cross-database data comparison method, device, equipment and storage medium
CN106201536A (en) The replacing options of a kind of application icon and terminal unit
CN106777383B (en) File sorting method and intelligent terminal
CN106851023B (en) Method and equipment for quickly making call and mobile terminal
CN115794654A (en) Test case distribution processing method, system, equipment and storage medium
CN114488927A (en) PLC hardware configuration method, system, device and storage medium
CN115113950A (en) Method and device for outputting prompt information of application product
CN106657278B (en) Data transmission method and device and computer equipment
CN106776041A (en) A kind of data processing method and device
CN111954193B (en) Bluetooth equipment connection detection method and device and mobile terminal
CN114488928A (en) PLC program framework generation method, system, device and storage medium
CN110457180B (en) Method and device for loading mobile terminal software package and storage medium
CN117970881A (en) Flexible workshop job scheduling method, system, equipment and medium
CN108073508B (en) Compatibility detection method and device

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