Computing device and PLC system including the same

By introducing computing devices and information management modules into the PLC system, and using the shared area mechanism to reduce the repeated operations of the PLC, the problem of PLC speed reduction during information processing is solved, and more efficient operations and system efficiency are achieved.

CN118689159APending Publication Date: 2024-09-24SAMSUNG DISPLAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410340822.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-06-07
Filing Date
2024-03-25
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the production site, when PLC performs excessive information processing or calculation processing, the calculation speed decreases, and the problem of repeated work cannot be effectively prevented.

Method used

By introducing a computing device into the PLC system, using the information management module and the shared area mechanism, information is received and stored from the object device, reducing the amount of repeated operations of the PLC. The information processing module requests and loads the required information, and performs specific operations.

Benefits of technology

It effectively prevents repeated operations of the PLC, improves the computing speed and system efficiency of the PLC, and reduces the computing load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689159A_ABST
    Figure CN118689159A_ABST
Patent Text Reader

Abstract

The invention provides a computing device for preventing repetitive operation of a programmable logic controller (PLC) and a PLC system including the same. The PLC system includes: a PLC that receives and stores information from a plurality of target devices; and a calculation device that stores or computes information in accordance with a pre-stored instruction, the PLC comprising: a (1-1) th information management module that stores first information for a first target device; and a (1-2) th information management module storing second information for a second object device, the computing apparatus including: a (2-1) th information management module storing the first information in a pre-allocated sharing area; the (2-2) th information management module is used for storing the second information in a pre-allocated sharing area; and the information processing module is used for requesting required information from the (2-1) th information management module or the (2-2) th information management module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to a computing device and a programmable logic controller (PLC) system including the computing device, and more particularly to a computing device for preventing duplicate operations of a PLC and a PLC system including the computing device. Background Art

[0002] Generally speaking, in the production site of display devices and the like, input raw materials are transformed into finished products through multiple steps, and the collection and management of information on each step is very important.

[0003] PLC is mainly used for starting and controlling equipment at the production site. However, when excessive information processing or calculation processing is performed by the PLC, there is a problem that the calculation speed required for starting or controlling equipment at the production site by the PLC decreases. Summary of the invention

[0004] The present invention aims to solve many problems including the above problems, and its purpose is to provide a calculation device for preventing duplicate operations of PLC and a PLC system including the calculation device. However, this subject is exemplary and the scope of the present invention is not limited thereto.

[0005] In order to solve the above problems, a PLC system of an embodiment of the present invention may include: a PLC, which receives and stores information from multiple object devices; and a computing device, which stores or calculates the information according to pre-stored instructions, the PLC includes: a 1-1 information management module, which stores first information for a first object device; and a 1-2 information management module, which stores second information for a second object device; the computing device includes: a 2-1 information management module, which stores the first information in a pre-allocated shared area; a 2-2 information management module, which stores the second information in a pre-allocated shared area; and an information processing module, which requests the required information from the 2-1 information management module or the 2-2 information management module.

[0006] According to an embodiment, the information processing module may request the required information from the 2-1st information management module based on the instruction corresponding to the first target device, and request the required information from the 2-2nd information management module based on the instruction corresponding to the second target device.

[0007] According to one embodiment, the 2-1 information management module may include: a 2-1A information management module, which stores the first information in a pre-allocated shared area of ​​the 2-1 information management module; and a 2-1B information management module, which loads the first information from the 2-1A information management module according to a request of the information processing module, and transmits the loaded first information to the information processing module.

[0008] According to one embodiment, the 2-2 information management module may include: a 2-2A information management module, which stores the second information in a pre-allocated shared area of ​​the 2-2 information management module; and a 2-2B information management module, which loads the second information from the 2-2A information management module according to a request of the information processing module, and transmits the loaded second information to the information processing module.

[0009] According to one embodiment, the 1-1 information management module may include: a 1-1A information management module, which receives and stores first information from a first object device; and a 1-1B information management module, which loads the first information from the 1-1A information management module according to a request of a computing device, and stores the loaded first information in a pre-allocated shared area.

[0010] According to one embodiment, the 1-2 information management module may include: a 1-2A information management module, which receives and stores the second information from the second object device; and a 1-2B information management module, which loads the second information from the 1-2A information management module according to the request of the computing device, and stores the loaded second information in a pre-allocated shared area.

[0011] According to an embodiment, the first information may include driving instruction information, driving state information, and position information of the first object device.

[0012] According to an embodiment, the second information may include driving instruction information, driving state information, and position information of the second object device.

[0013] According to one embodiment, the 1-1 information management module may include a reserved area pre-allocated for storing the additional information of the first target device.

[0014] According to an embodiment, the 2-1st information management module may include a second reserved area pre-allocated corresponding to the reserved area included in the 1-1st information management module.

[0015] In order to solve the above problems, a computing device included in a PLC system according to an embodiment of the present invention may include: a memory; a communication module for sending and receiving data with an external device; and a processor for performing operations based on instructions and data stored in the memory, the communication module receiving first information for a first object device and second information for a second object device from the external device, the memory including: a 2-1 information management module including a shared area pre-allocated corresponding to the first object device; a 2-2 information management module including a shared area pre-allocated corresponding to the second object device; and an information processing module for requesting required information from the 2-1 information management module or the 2-2 information management module.

[0016] According to an embodiment, the information processing module may request the required information from the 2-1st information management module based on the instruction corresponding to the first target device, and request the required information from the 2-2nd information management module based on the instruction corresponding to the second target device.

[0017] According to one embodiment, the 2-1 information management module may include: a 2-1A information management module, which stores the first information in a pre-allocated shared area; and a 2-1B information management module, which loads the first information from the 2-1A information management module according to the request of the information processing module, and transmits the loaded first information to the information processing module.

[0018] According to one embodiment, the 2-2 information management module may include: a 2-2A information management module, which stores the second information in a pre-allocated shared area; and a 2-2B information management module, which loads the second information from the 2-2A information management module according to the request of the information processing module, and transmits the loaded second information to the information processing module.

[0019] According to an embodiment, the first information may include driving instruction information, driving state information, and position information of the first object device.

[0020] According to an embodiment, the second information may include driving instruction information, driving state information, and position information of the second object device.

[0021] In order to solve the above problems, a PLC system of one embodiment of the present invention may include: a PLC, including a first memory for storing information for multiple object devices; and a computing device, which receives information from the PLC and includes a second memory, the first memory stores the information in a pre-allocated first shared area, the second memory stores the information in a pre-allocated second shared area, and the computing device loads specific information from the information stored in the second shared area and performs operations based on the specific information.

[0022] According to an embodiment, the PLC may include function blocks respectively corresponding to a plurality of object devices, and the first shared area is divided into first separate shared areas respectively corresponding to the function blocks.

[0023] According to an embodiment, the second sharing area may include second individual sharing areas respectively corresponding to the first individual sharing areas.

[0024] According to an embodiment, the computing device may include an information processing module, which loads specific information from the information stored in the second shared area and performs a preset operation based on the specific information.

[0025] According to an embodiment of the present invention implemented in the above manner, a computing device for preventing duplicate operations of a PLC and a PLC system including the computing device can be implemented. Of course, the scope of the present invention is not limited to this effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 FIG. 1 is a schematic diagram schematically showing a PLC system according to an embodiment of the present invention.

[0027] Figure 2 It is schematically shown Figure 1 Schematic diagram of the transmission and reception of data or signals in a PLC system.

[0028] Figure 3 It is schematically shown Figure 1 Schematic diagram of sensing data input to the analog input part in a PLC system.

[0029] Figure 4 It is schematically shown Figure 1 Schematic diagram of various data input to the digital input unit in a PLC system.

[0030] Figure 5 It is schematically shown Figure 1 Schematic diagram of various data input to the relay output unit in a PLC system.

[0031] Figure 6 is a schematic diagram showing the storage Figure 1 A schematic diagram of a module of a first memory included in a PLC.

[0032] Figure 7 is a schematic diagram showing the storage Figure 1 A schematic diagram of a module in a second memory included in a computing device.

[0033] Figure 8 FIG. 1 is a diagram schematically showing an example of a PLC system that implements an embodiment of the present invention.

[0034] Fig. 9 is a diagram schematically showing one example of a PLC system realizing a comparative example.

[0035] Description of Reference Numerals

[0036] 2: PLC

[0037] 3: Computing device

[0038] 211: No. 1-1 Information Management Module

[0039] 212: 1st-2nd Information Management Module

[0040] 311: 2-1 Information Management Module

[0041] 312: 2-2 Information Management Module

[0042] 313: Information processing module DETAILED DESCRIPTION

[0043] The present invention is susceptible of numerous modifications and may have various embodiments, specific embodiments of which are illustrated in the drawings and described in detail in the detailed description. The effects and features of the present invention and methods of achieving these effects and features will be apparent with reference to the drawings and the embodiments described in detail below. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various forms.

[0044] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. When describing with reference to the accompanying drawings, the same or corresponding components are given the same reference numerals, and repeated description of the components is omitted.

[0045] In the following embodiments, when it is mentioned that various structural elements such as layers, films, regions, and plates are located "on" other structural elements, this includes not only the case where they are "directly" located "on" other structural elements, but also the case where other structural elements exist between them. In addition, for the convenience of explanation, the size of the structural elements may be exaggerated or reduced in the drawings. For example, for the convenience of explanation, the size and thickness of each structure shown in the drawings are arbitrarily shown, and therefore the present invention is not necessarily limited to the illustrated content.

[0046] In the following embodiments, the x-axis, y-axis and z-axis are not limited to the three axes on the rectangular coordinate system, and can be interpreted in a broad sense including the three axes. For example, the x-axis, y-axis and z-axis can be orthogonal to each other, but can also refer to different directions that are not orthogonal to each other.

[0047] Next, based on the above contents, a calculation device 3 and a PLC system including the calculation device 3 according to a preferred embodiment of the present invention are described in detail as follows.

[0048] Figure 1 FIG. 1 is a schematic diagram schematically showing a PLC system according to an embodiment of the present invention.

[0049] like Figure 1 As shown in FIG. 1 , a PLC system according to an embodiment of the present invention may include a PLC 2 , a computing device 3 , and an object device 4 .

[0050] The programmable logic controller (PLC) 2 may include a PLC control unit 21, a first communication unit 22, an analog input unit 23, a digital input unit 24, a relay output unit 25, and a power supply control unit 26. The PLC 2 may receive information or data from a plurality of target devices 4 or at least one target device 4 and store the information or data.

[0051] The PLC control unit 21 can comprehensively control the operation of the PLC 2. The PLC control unit 21 can control the first communication unit 22, the analog input unit 23, the digital input unit 24, the relay output unit 25, and the power control unit 26. The PLC control unit 21 may include a first memory 210, a first processor 220, and a first user operation unit 230.

[0052] Below, it can be understood in this specification that the operations, instructions, controls, etc. performed by the PLC control unit 21 or PLC 2 are executed by the first processor 220 for executing instructions stored in the first memory 210 described later, and the data or information generated by the first processor 220 is transmitted to the external device (the object device 4 or the computing device 3) through the first communication unit 22 described later.

[0053] The first processor 220 may control other structures of the PLC 2 by executing instructions stored in the first memory 210. The first processor 220 may execute instructions stored in the first memory 210.

[0054] The first processor 220 is a structure that can perform operations and control other devices. The first processor 220 can mainly refer to a central processing unit (CPU), an application processor (AP), a graphics processing unit (GPU), etc. In addition, the CPU, AP, or GPU may include one or more cores therein, and the CPU, AP, or GPU may operate using an operating voltage and a clock signal. However, the CPU or AP may be composed of several cores optimized for serial processing, whereas the GPU may be composed of thousands of smaller and more efficient cores designed for parallel processing.

[0055] The first processor 220 can process input or output signals, data, information, etc. through the structural elements discussed above or drive the application program stored in the first memory 210 to provide or process appropriate information or functions for the user.

[0056] The first memory 210 stores data for supporting various functions of the PLC control unit 21. The first memory 210 may store a plurality of application programs (or applications) driven in the PLC control unit 21, data and instructions for the operation of the PLC control unit 21. At least a portion of such application programs may be downloaded from an external server via wireless communication. In addition, the application programs may be stored in the first memory 210 and installed in the PLC control unit 21, so that they may be driven by the first processor 220 to perform the operation (or function) of the PLC control unit 21.

[0057] The first memory 210 may include at least one type of storage medium among a flash memory type, a hard disk type, a solid state drive (SSD) type, a silicon disk drive (SDD) type, a multimedia card micro, a card-type memory (such as an SD or XD memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magneto-optical disk, and an optical disk. Alternatively, the first memory 210 may also include a network storage that performs a storage function on the Internet.

[0058] The first communication unit 22 can send and receive information or data with an external device (target device 4 or computing device 3). The first communication unit 22 may include a modulation unit, a demodulation unit, a signal processing unit, etc. for wireless communication. For the convenience of explanation, the first communication unit 22 is shown in the structure diagram separated from the PLC control unit 21. Figure 1 However, depending on the situation, the PLC control unit 21 may also include the first communication unit 22 therein.

[0059] Alternatively, the first communication unit 22 may perform a wired communication function. The first communication unit 22 may transmit and receive bidirectional data by serial communication such as RS using a port, LAN communication, or the like.

[0060] Wireless communication refers to communication using a wireless communication network that uses the communication facilities and frequencies of the communication facilities currently set up by the operator. At this time, the first communication unit 22 can be used for a variety of wireless communication systems such as code division multiple access (CDMA), frequency division multiple access (FDMA), time division multiple access (TDMA), orthogonal frequency division multiple access (OFDMA), single carrier frequency division multiple access (SC-FDMA), etc., and the first communication unit 22 can also use the third generation partnership project (3GPP) long term evolution (LTE), 5G communication, 6G communication, etc. Alternatively, the first communication unit 22 can use a short-range wireless communication network. As a short-range communication technology, Bluetooth, Bluetooth low energy (BLE), beacon, radio frequency identification (RFID), near field communication (NFC), infrared communication (Infrared Data Association; IrDA), ultra-wideband (UWB), ZigBee, etc. can be used.

[0061] The first user operation unit 230 can receive user input. For example, the first user operation unit 230 can be implemented in various forms such as a button unit, a keyboard, a mouse, a touch panel, a display device including a touch panel, etc. For example, the first user operation unit 230 may include a plurality of buttons, and one button may correspond to one of the functions of the PLC 2. For convenience of explanation, the PLC control unit 21 Figure 1 Although the first user operation unit 230 is shown in the figure, the first user operation unit 230 may be a structure separated from the PLC control unit 21 according to circumstances.

[0062] The analog input unit 23 can receive analog data from the target device 4. The analog data can be data in an analog format such as sensing data. The analog input unit 23 can receive sensing data generated by the target device 4, and the sensing data can be input to the PLC 2 through the analog input unit 23.

[0063] The digital input unit 24 can convert the sensing data etc. input in the form of analog data into digital data. The digital input unit 24 can convert the sensing data etc. input in the form of analog data into digital data, and transmit the sensing data etc. converted into digital data to the PLC control unit 21 .

[0064] The relay output unit 25 can output the control command of the PLC control unit 21 to the target device 4. As a result, the operation of the target device 4 can be controlled by the control command. That is, the relay output unit 25 can output the control command received from the PLC control unit 21 to the target device 4.

[0065] The power supply control unit 26 can control the power supply of the PLC 2. The power supply control unit 26 can be a DC power supply or an AC power supply. Alternatively, the power supply control unit 26 may include an AC / DC inverter to convert an AC power supply input from the outside into a DC power supply. Alternatively, conversely, the power supply control unit 26 may include a DC / AC inverter to convert a DC power supply input from the outside into an AC power supply.

[0066] The computing device 3 may store or calculate the information received and stored by the PLC 2 according to pre-stored instructions. The computing device 3 may include a second memory 310, a second processor 320, a second communication unit 330, and a second user operation unit 340.

[0067] Below, in this specification, it can be understood that the operations, instructions, controls, etc. performed by the computing device 3 are executed by the second processor 320 described later that executes the instructions stored in the second memory 310, and the data or information generated by the second processor 320 is transmitted to the external device (PLC 2) via the second communication unit 330 described later.

[0068] The second processor 320 can control other structures of the computing device 3 by running instructions stored in the second memory 310. The second processor 320 can execute instructions stored in the second memory 310. The second processor 320 can be a structure that can control other structures of the computing device 3 by executing and running operations. Since the description of the second processor 320 is the same as or repeated with the description of the first processor 220, it can be omitted. The second memory 310 can store data that supports various functions of the computing device 3. The description of the second memory 310 is the same as or repeated with the description of the first memory 210, so it can be omitted.

[0069] The second communication unit 330 can send and receive information or data with the PLC 2 or the like. Since the description of the second communication unit 330 is the same as or repeated with the description of the first communication unit 22, it can be omitted. The second user operation unit 340 can receive user input. For example, the second user operation unit 340 can be implemented in various forms such as a button unit, a keyboard, a mouse, a touch pad, a display device including a touch panel, etc.

[0070] Figure 2 It is schematically shown Figure 1 Schematic diagram of the transmission and reception of data or signals in a PLC system. Figure 3 It is schematically shown Figure 1 A schematic diagram of sensing data input to the analog input unit 23 in the PLC system, Figure 4 It is schematically shown Figure 1 A schematic diagram of various data input to the digital input unit 24 in the PLC system, and Figure 5 It is schematically shown Figure 1 Schematic diagram of various data input to the relay output unit 25 in the PLC system.

[0071] When data is generated by the target device 4, the PLC 2 collects the data and transmits it to the PLC control unit 21. The PLC control unit 21 can generate a control command for controlling the PLC 2 or register the status information of the target device 4 by determining the type of the transmitted data. For example, the target device 4 may include various devices, sensors, etc. that become the control objects of the PLC 2.

[0072] For example, the object device 4 can generate sensing data counted by item, startup information indicating whether the object device 4 is started / not started, a control signal for overall control of the object device 4, sensing data detected from the object device 4, and status information indicating normal operation / error status of the object device 4, etc. through the operation of the object device 4.

[0073] For example, the sensing data input or transmitted to the analog input part 23 may include temperature data, humidity data, voltage / current data, speed data, and the like.

[0074] For example, data input or transmitted to the digital input portion 24 may include sensing data, startup information, status information, and the like.

[0075] For example, the relay output unit 25 can control the operation of the target device 4 by outputting the control command of the PLC control unit 21 to the target device 4. The relay output unit 25 can output the control command to the target device 4. For example, the relay output unit 25 can divide the control command such as the operation stop / restart of the target device 4 into the channels CH1, CH2, CH3, and CH4 of each contact point and transmit it to the target device 4, or can receive specific data according to the channels CH1, CH2, CH3, and CH4 of each contact point.

[0076] Figure 6 is a schematic diagram showing the storage Figure 1 Schematic diagram of modules in the first memory 210 included in the PLC 2.

[0077] like Figure 6 As shown in the figure, the PLC 2 can use the 1-1 information management module 211 to store and manage the first information for the first target device. For example, the 1-1 information management module 211 of the PLC 2 can be a functional module corresponding to the first target device. That is, the 1-1 information management module 211 can be a functional module customized to correspond to the first target device.

[0078] The 1-1st information management module 211 may store and manage the first information for the first target device. The 1-1st information management module 211 may allocate a portion of the area in the first memory 210 as a regular area and allocate another portion of the area in the first memory 210 as a shared area in order to store and manage the first information. The allocated shared area may be driven as a shared memory.

[0079] The 1-1st information management module 211 may include a 1-1A information management module 211A and a 1-1B information management module 211B. The 1-1A information management module 211A may be a structure that stores and manages the first information in the above-mentioned regular area in the first memory 210. The 1-1B information management module 211B may be a structure that stores and manages the first information in the above-mentioned shared area in the first memory 210. That is, the 1-1B information management module 211B may store and manage the first information in the above-mentioned shared memory.

[0080] For example, the 1-1 information management module 211 may include: a 1-1A information management module 211A, which receives and stores the first information from the first object device; and a 1-1B information management module 211B, which calls the first information from the 1-1A information management module 211A according to the request of the computing device 3, and stores the called first information in a pre-allocated shared area.

[0081] For example, the 1-1B information management module 211B may further include a 1-1 reserved area. The 1-1 reserved area is an area in the pre-allocated shared area, and may store data related to data backup or program driving. The data stored in the reserved area may be referred to as reserved data hereinafter.

[0082] Figure 7 is a schematic diagram showing the storage Figure 1 Schematic diagram of modules in the second memory 310 included in the computing device 3.

[0083] like Figure 7 As shown in the figure, the computing device 3 can use the 2-1st information management module 311 to store and manage the first information for the first target device. For example, the 2-1st information management module 311 of the computing device 3 can be an information management application for managing the first information. Therefore, the application implemented by the computing device 3 can call the first information for the first target device from the 2-1st information management module 311.

[0084] Thus, the application implemented by the computing device 3 can call the first information from the 2-1st information management module 311, instead of calling the first information from the PLC 2 or the first memory 210. Therefore, the amount of calculation performed by the PLC 2 can be reduced, thereby minimizing the duplication of operations performed by the PLC 2.

[0085] The computing device 3 may include an information processing module 313. The information processing module 313 may be the above-mentioned application. For example, the information processing module 313 may be at least one application for calling the first information from the 2-1st information management module 311 and performing a specific function based on the called first information. For example, the information processing module 313 may be an application such as an A program, a B program, a C program, etc. included in the information processing module 313.

[0086] The 2-1st information management module 311 may store and manage the first information for the first target device. The 2-1st information management module 311 may allocate a portion of the second memory 310 as a regular area and allocate another portion of the second memory 310 as a shared area in order to store and manage the first information. The allocated shared area may be driven as a shared memory.

[0087] like Figure 7 As shown in the figure, the 2-1st information management module 311 may include a 2-1A information management module 311A ​​and a 2-1B information management module 311B. The 2-1A information management module 311A ​​may be a structure that stores and manages the first information in a shared area in the second memory 310. That is, the 2-1A information management module 311A ​​may store and manage the first information in the above-mentioned shared memory.

[0088] The 2-1B information management module 311B may be a structure that stores and manages the first information in the above-mentioned general area in the second memory 310. That is, the 2-1B information management module 311B may receive a request for the first information from the information processing module 313, and request the first information from the 2-1A information management module 311A ​​according to the request of the information processing module 313. As a result, the first information may be transmitted from the 2-1A information management module 311A ​​to the 2-1B information management module 311B, and from the 2-1B information management module 311B to the specific application requesting the first information in the information processing module 313. In other words, the specific application requesting the first information in the information processing module 313 may access the first information stored in the 2-1B information management module 311B.

[0089] Figure 8 is a schematic diagram schematically showing an example of a PLC system implementing an embodiment of the present invention. Figure 8 The same or repeated contents as above may be omitted in the description.

[0090] like Figure 8 As shown in FIG. 1 , a PLC system according to an embodiment of the present invention may include a 1-1 information management module 211 and a 1-2 information management module 212. As described above, the 1-1 information management module 211 may be a functional module corresponding to a first target device. The 1-2 information management module 212 may be a functional module corresponding to a second target device. For convenience of explanation, Figure 8 Two information management modules are illustrated in the figure, but this is only an example. The PLC system of one embodiment of the present invention may further include 1-n information management modules as functional modules corresponding to the n-th object device, where n is a natural number greater than 3.

[0091] For example, the first object device corresponding to the 1-1st information management module 211 may be an actuator. The first information may include drive instruction information, drive state information, sensor information, etc. of the actuator. Each of the first information may be moved to a pre-assigned shared area and stored. As a result, each of the first information may be accessed by the computing device 3 or the 2-1st information management module 311 of the computing device 3.

[0092] For example, the 1-1B information management module 211B may further include a 1-1 reserved area for storing actuator reserved data used for actuator driving, etc. The 1-1 reserved area is an area in the pre-allocated shared area, and can store backup of data used for actuator driving, etc. or reserved data related to a program used for actuator driving, etc.

[0093] like Figure 8As shown in the figure, PLC 2 can use the 1-2 information management module 212 to store and manage the second information for the second object device. For example, the 1-2 information management module 212 of PLC 2 can be a functional module corresponding to the second object device. That is, the 1-2 information management module 212 can be a functional module customized to correspond to the second object device.

[0094] The 1-2 information management module 212 may store and manage the second information for the second target device. The 1-2 information management module 212 may allocate a portion of the area in the first memory 210 as a regular area and allocate another portion of the area in the first memory 210 as a shared area in order to store and manage the second information. The allocated shared area may be driven as a shared memory.

[0095] The 1-2nd information management module 212 may include a 1-2A information management module 212A and a 1-2B information management module 212B. The 1-2A information management module 212A may be a structure that stores and manages the second information in the above-mentioned regular area in the first memory 210. The 1-2B information management module 212B may be a structure that stores and manages the second information in the above-mentioned shared area in the first memory 210. That is, the 1-2B information management module 212B may store and manage the second information in the above-mentioned shared memory.

[0096] For example, the 1-2 information management module 212 may include: a 1-2A information management module 212A, which receives and stores the second information from the second object device; and a 1-2B information management module 212B, which calls the second information from the 1-2A information management module 212A according to the request of the computing device 3, and stores the called second information in a pre-allocated shared area.

[0097] For example, the second object device corresponding to the 1-2 information management module 212 may be a servo system. The second information may include drive instruction information, drive status information, sensor information, etc. of the servo system. Each of the second information may be moved to a pre-assigned shared area and stored. As a result, each of the second information may be accessed by the computing device 3 or the 2-2 information management module 312 of the computing device 3.

[0098] For example, the 1-2B information management module 212B may further include a 1-2 reserved area for storing reserved data for a servo system, the reserved data for a servo system driver, etc. The 1-2 reserved area is an area in the pre-allocated shared area, and can store reserved data related to a backup of data for a servo system driver, etc. or a program for a servo system driver, etc.

[0099] like Figure 8As shown in FIG. 1 , the computing device 3 may store and manage the first information for the first target device using the 2-1st information management module 311. For example, the 2-1st information management module 311 of the computing device 3 may be an information management application for managing the first information of the actuator.

[0100] For example, the 2-1st information management module 311 may further include a 2-1st reserved area that receives reserved data by accessing the reserved data stored in the 1-1st reserved area of ​​the 1-1B information management module 211B and stores the received reserved data. The 2-1st reserved area may be an area in the shared area pre-allocated in the second memory 310.

[0101] like Figure 8 As shown in the figure, the computing device 3 can use the 2-2 information management module 312 to store and manage the second information for the second object device. For example, the 2-2 information management module 312 of the computing device 3 can be an information management application for managing the second information of the servo system. Therefore, the second information for the servo system can be called from the 2-2 information management module 312 in the computing device 3.

[0102] For example, the 2-2nd information management module 312 may further include a 2-2nd reserved area that receives reserved data by accessing the reserved data stored in the 1-2nd reserved area of ​​the 1-2B information management module 212B and stores the received reserved data. The 2-2nd reserved area may be an area in the shared area pre-allocated in the second memory 310.

[0103] Thus, the application implemented by the computing device 3 can call the second information from the 2-2 information management module 312 without calling the second information from the PLC 2 or the first memory 210. Therefore, the amount of calculation performed by the PLC 2 can be reduced, thereby minimizing the repeated operation execution of the PLC 2.

[0104] The computing device 3 may include an information processing module 313. The information processing module 313 may be the above-mentioned application. For example, the information processing module 313 may be at least one application for calling the second information from the 2-2 information management module 312 and performing a specific function based on the called second information.

[0105] The 2-2 information management module 312 may store and manage the second information for the second target device. The 2-2 information management module 312 may allocate a portion of the second memory 310 as a regular area and allocate another portion of the second memory 310 as a shared area in order to store and manage the second information. The allocated shared area may be driven as a shared memory.

[0106] like Figure 8 As shown in the figure, the 2-2 information management module 312 may include a 2-2A information management module 312A and a 2-2B information management module 312B. The 2-2A information management module 312A may be a structure that stores and manages the second information in a shared area in the second memory 310. That is, the 2-2A information management module 312A may store and manage the second information in the above-mentioned shared memory.

[0107] The 2-2B information management module 312B may be a structure that stores and manages the second information in the above-mentioned general area in the second memory 310. That is, the 2-2B information management module 312B may receive a request for the second information from the information processing module 313, and request the second information from the 2-2A information management module 312A according to the request of the information processing module 313. As a result, the second information may be transmitted from the 2-2A information management module 312A to the 2-2B information management module 312B, and from the 2-2B information management module 312B to the specific application requesting the second information in the information processing module 313. In other words, the specific application requesting the second information in the information processing module 313 may access the second information stored in the 2-2B information management module 312B.

[0108] like Figure 8 As shown in the figure, the specific program included in the information processing module 313 can process information for the first object device. In addition, other specific programs can process information for the first object device and the second object device. To this end, the information processing module 313 can request the first information from the 2-1 information management module 311 or the 2-1B information management module 311B. Based on the request, the first information or specific information in the first information can be transmitted from the 2-1 information management module 311 or the 2-1B information management module 311B to the information processing module 313 or the specific program. Alternatively, based on the request, the information processing module 313 or the specific program can access the shared area in order to call the first information or specific information in the first information.

[0109] For example, the A program may request the driving state information and sensor information of the actuator which is the first target device, and load the driving state information and sensor information of the actuator from the 2-1B-th information management module 311B or access the information.

[0110] For example, program B may request driving status information of an actuator of a first object device and position information of a servo system of a second object device, and load the driving status information of the actuator from the 2-1B information management module 311B and load the position information of the servo system from the 2-2B information management module 312B or access the information.

[0111] For example, the C program may request driving instruction information of an actuator of the first target device and driving status information of a servo system of the second target device, and load or access the information from the 2-1B information management module 311B and the 2-2B information management module 312B.

[0112] For example, the C program may also request secondary processing for specific information. In this case, the computing device 3 may perform secondary processing on the specific information (here, the position information of the actuator of the first object device) according to the secondary processing request to generate processing information. The generated processing information may be transmitted to the C program, or the C program may access the processing information.

[0113] In this way, the PLC system of one embodiment of the present invention can execute the calculation required for information processing such as loading or secondary processing of information in the computing device 3 according to the information request of the information processing module 313. As a result, compared with the case where the calculation required for information processing such as loading or secondary processing of information is processed in the PLC 2, the repetitive operation execution of the PLC 2 can be reduced and the calculation load of the PLC 2 can be reduced.

[0114] Specifically, a PLC system of an embodiment of the present invention may include: a PLC 2 that receives and stores information from a plurality of object devices 4; and a computing device 3 that stores or computes information according to pre-stored instructions. At this time, the PLC 2 may include a 1-1 information management module 211 that stores first information for a first object device and a 1-2 information management module 212 that stores second information for a second object device. In addition, the computing device 3 may include a 2-1 information management module 311 for storing the first information in a pre-allocated shared area and a 2-2 information management module 312 for storing the second information in a pre-allocated shared area. In addition, the computing device 3 may include an information processing module 313 that requests the 2-1 information management module 311 or the 2-2 information management module 312 for the required information.

[0115] According to an embodiment, the information processing module 313 may request the 2-1st information management module 311 for required information based on the instruction corresponding to the first target device, and request the 2-2nd information management module 312 for required information based on the instruction corresponding to the second target device.

[0116] According to one embodiment, the 2-1st information management module 311 may include: a 2-1A information management module 311A, which stores the first information in a pre-allocated shared area; and a 2-1B information management module 311B, which loads the first information from the 2-1A information management module 311A ​​according to the request of the information processing module 313, and transmits the loaded first information to the information processing module 313.

[0117] According to one embodiment, the 2-2 information management module 312 may include: a 2-2A information management module 312A, which stores the second information in a pre-allocated shared area; and a 2-2B information management module 312B, which loads the second information from the 2-2A information management module 312A according to the request of the information processing module 313, and transmits the loaded second information to the information processing module 313.

[0118] According to one embodiment, the 1-1 information management module 211 may include: a 1-1A information management module 211A, which receives and stores the first information from the first object device; and a 1-1B information management module 211B, which loads the first information from the 1-1A information management module 211A according to the request of the computing device 3, and stores the loaded first information in a pre-allocated shared area.

[0119] According to one embodiment, the 1-2 information management module 212 may include: a 1-2A information management module 212A, which receives and stores the second information from the second object device; and a 1-2B information management module 212B, which loads the second information from the 1-2A information management module 212A according to the request of the computing device 3, and stores the loaded second information in a pre-allocated shared area.

[0120] According to an embodiment, the first information may include driving instruction information, driving state information, and position information of the first object device.

[0121] According to an embodiment, the second information may include driving instruction information, driving state information, and position information of the second object device.

[0122] According to an embodiment, the 1-1st information management module 211 may include a 1-1st reserved area pre-allocated for storing additional information (eg, reserved data) of the first object device.

[0123] According to an embodiment, the 2-1st information management module 311 may include a 2-1st reserved area pre-allocated corresponding to the 1-1st reserved area included in the 1-1st information management module 211 .

[0124] According to an embodiment, the 1-2nd information management module 212 may include a 1-2nd reserved area pre-allocated for storing additional information (eg, reserved data) of the second object device.

[0125] According to an embodiment, the 2-2 th information management module 312 may include a 2-2 th reserved area pre-allocated corresponding to the 1-2 th reserved area included in the 1-2 th information management module 212 .

[0126] Specifically, the PLC system of an embodiment of the present invention may include a PLC 2, which includes a first memory 210 for storing information for a plurality of object devices. At this time, the first memory 210 may store the information in a pre-allocated first shared area (e.g., the 1-1B information management module 211B). The PLC system may further include a computing device 3, which receives information from the PLC 2 and includes a second memory 310. At this time, the second memory 310 may store the information in a pre-allocated second shared area (e.g., the 2-1A information management module 311A).

[0127] According to an embodiment, the computing device 3 may load specific information from among the information stored in the second shared area, and perform a calculation based on the specific information.

[0128] According to one embodiment, PLC 2 may include functional modules corresponding to multiple object devices 4 respectively (for example, 1-1 information management module 211, 1-2 information management module 212, etc.), and the first shared area (for example, 1-1B information management module 211B) may be divided into first separate shared areas corresponding to the functional modules respectively (for example, a shared area allocated corresponding to one information).

[0129] According to an embodiment, the second sharing area may include second individual sharing areas respectively corresponding to the first individual sharing areas.

[0130] According to an embodiment, the computing device 3 may include an information processing module 313 , which loads specific information from the information stored in the second shared area and performs a preset operation based on the specific information.

[0131] Specifically, the computing device 3 included in the PLC system of one embodiment of the present invention may include a memory ( Figure 1 The second memory 310, the same below), the communication module ( Figure 1 The second communication unit 330, the same below) and the processor ( Figure 1 The communication module may receive and send data with an external device (e.g., PLC 2). The processor may perform operations based on instructions and data stored in the memory. At this time, the communication module may receive first information for a first object device and second information for a second object device from an external device. At this time, the memory may include: a 2-1 information management module 311, including a shared area pre-allocated corresponding to the first object device; and a 2-2 information management module 312, including a shared area pre-allocated corresponding to the second object device. In addition, the memory may include an information processing module 313 that requests the required information from the 2-1 information management module 311 or the 2-2 information management module 312.

[0132] According to an embodiment, the information processing module 313 may request the 2-1st information management module 311 for required information based on the instruction corresponding to the first target device. In addition, the information processing module 313 may request the 2-2nd information management module 312 for required information based on the instruction corresponding to the second target device.

[0133] According to one embodiment, the 2-1st information management module 311 may include: a 2-1A information management module 311A, which stores the first information in a pre-allocated shared area; and a 2-1B information management module 311B, which loads the first information from the 2-1A information management module 311A ​​according to the request of the information processing module 313, and transmits the loaded first information to the information processing module 313.

[0134] According to one embodiment, the 2-2 information management module 312 may include: a 2-2A information management module 312A, which stores the second information in a pre-allocated shared area; and a 2-2B information management module 312B, which loads the second information from the 2-2A information management module 312A according to the request of the information processing module 313, and transmits the loaded second information to the information processing module 313.

[0135] According to an embodiment, the first information may include driving instruction information, driving state information, and position information of the first object device.

[0136] According to an embodiment, the second information may include driving instruction information, driving state information, and position information of the second object device.

[0137] Fig. 9 is a diagram schematically showing one example of a PLC system realizing a comparative example.

[0138] like Fig. 9 As shown in the figure, the PLC system of the comparative example may include PLC2 and computing device 3 as the PLC system of one embodiment of the present invention. However, the PLC system of the comparative example performs operations for information requests for programs included (or installed) in computing device 3 in PLC 2. Therefore, whenever there is a request for each program included in computing device 3, the PLC system of the comparative example allocates a memory area to provide each information. Therefore, PLC 2 of the PLC system of the comparative example repeatedly allocates multiple memory areas for the same information. As a result, PLC 2 of the PLC system of the comparative example needs to perform repeated operations for the same information and excessive memory allocation, thereby having a problem of reduced system efficiency.

[0139] Furthermore, the computing device 3 of the comparative example PLC system can also directly access PLC 2 through the PLC address. In this case, PLC 2 of the comparative example PLC system performs additional operations on the same information. As a result, the comparative example PLC system may have a problem of reduced system efficiency.

[0140] Therefore, by allocating a shared area in the computing device 3 as in the PLC system of one embodiment of the present invention, the information processing operation according to the information request of each program can be executed in the computing device 3 instead of being executed in the PLC 2, and as a result, the system efficiency can be higher than that of the PLC system of the comparative example. In addition, the PLC system of one embodiment of the present invention can manage the memory more efficiently because there is no need to repeatedly allocate a shared area according to the same information.

[0141] Thus, the present invention is described with reference to the embodiments illustrated in the accompanying drawings, but this is only for illustration, and those skilled in the art will understand that based on the above embodiments, various modifications and other equivalent embodiments are feasible. Therefore, the true technical protection scope of the present invention should be determined by the technical ideas of the claims.

Claims

1. A computing device, include: Memory; A communication module for transmitting and receiving data with an external device; as well as a processor that performs operations based on instructions and data stored in the memory, The communication module receives first information for a first target device and second information for a second target device from the external device, The memory comprises: The 2-1 information management module includes a shared area pre-allocated corresponding to the first target device; The 2-2 information management module includes a shared area pre-allocated corresponding to the second target device; and The information processing module requests the required information from the 2-1st information management module or the 2-2nd information management module.

2. The computing device according to claim 1, in, The information processing module requests the required information from the 2-1st information management module based on a command corresponding to the first target device, and requests the required information from the 2-2nd information management module based on a command corresponding to the second target device.

3. The computing device according to claim 2, in, The 2-1 information management module includes: The 2-1A information management module stores the first information in the shared area pre-allocated by the 2-1 information management module; and The 2-1B information management module loads the first information from the 2-1A information management module according to the request of the information processing module, and transmits the loaded first information to the information processing module.

4. The computing device according to claim 3, in, The 2-2 information management module includes: The 2-2A information management module stores the second information in the shared area pre-allocated by the 2-2 information management module; and The 2-2B information management module loads the second information from the 2-2A information management module according to the request of the information processing module, and transmits the loaded second information to the information processing module.

5. The computing device according to any one of claims 1 to 4, in, The first information includes driving instruction information, driving state information, and position information of the first target device.

6. The computing device according to claim 5, in, The second information includes driving instruction information, driving state information, and position information of the second target device.

7. A programmable logic controller system, include: A programmable logic controller, comprising a first memory for storing information for a plurality of object devices, wherein the first memory stores the information in a pre-allocated first shared area; as well as a computing device that receives the information from the programmable logic controller and includes a second memory that stores the information in a pre-allocated second shared area, The computing device loads specific information among the information stored in the second shared area and performs a calculation based on the specific information.

8. The programmable logic controller system according to claim 7, in, The programmable logic controller includes functional blocks respectively corresponding to the plurality of target devices, and the first shared area is divided into first individual shared areas respectively corresponding to the functional blocks.

9. The programmable logic controller system according to claim 8, in, The second sharing area includes second individual sharing areas respectively corresponding to the first individual sharing areas.

10. The programmable logic controller system according to claim 9, in, The computing device includes an information processing module that loads the specific information among the information stored in the second shared area and performs the preset operation based on the specific information.