Information processing device and computer-readable storage medium
By pre-creating and storing summary requests, the system addresses inefficiencies in repeated request creation, reducing communication processing loads and improving data acquisition speed.
Patent Information
- Application Number
- JP2023502384
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-24
- Filing Date
- 2022-02-21
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2042-02-21
AI Technical Summary
The existing control systems face increased communication processing loads due to repeated creation of summary requests for acquiring multiple types of information, which is inefficient and burdensome for information processing devices.
A mechanism is introduced where a summary request is created once and stored, reducing the load of creation processing by reading the stored request during data acquisition, utilizing a summary request storage unit and associated management units.
This approach reduces the communication processing load by minimizing the need for repeated creation of summary requests, thereby shortening the time required for data acquisition and enhancing efficiency.
Smart Images

Figure 0007538322000002 
Figure 0007538322000001 
Figure 0007538322000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device that acquires information from a control device based on a command from an application program, and a computer-readable storage medium that stores a program executed by the information processing device. [Background technology]
[0002] A typical control system is composed of information processing devices such as operation monitoring devices and production planning devices, and control devices such as numerical control devices that control machine tools and processing machines, robot controllers that control robots, and PLCs (Programmable Logic Controllers), which are connected to a communication network such as Ethernet via a communication interface. Information related to control is exchanged between these information processing devices and control devices. When the amount of information related to control exchanged in this way increases, the load on the communication processing in the control devices increases, and it also takes longer for applications running on the information processing devices to obtain data, which in turn increases the load on the network, creating problems.
[0003] In order to solve such problems, a technology has been disclosed that reduces the number of communications between each information processing device that communicates with the control device and consolidates the transfer of data requests and control data (for example, Patent Document 1, etc.). Conventionally, different types of information acquisition, such as acquisition of coordinate values, acquisition of modal information, and acquisition of speed information, were performed using different communication processes. By using the technology described in Patent Document 1, etc., it has become possible to acquire multiple types of information with a single communication process, thereby reducing the load on the communication process. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-87208 A Summary of the Invention [Problem to be solved by the invention]
[0005] When attempting to acquire multiple types of information collectively, it is necessary to create a "combination request" for acquiring the information collectively. Creating this combination request places a certain load on the information processing device. Here, the information processing device needs to sequentially acquire the control status of the machine by the control device. For example, if it is necessary to sequentially display the axis positions of the machine and the execution status of the control program on the display screen of the management device, the creation of the combination request and the acquisition of multiple types of information are constantly repeated. As a result, the information processing device will be constantly and repeatedly executing the process of creating the combination request, and the load will become non-negligible. In a system in which such a process of creating a grouping request is repeatedly performed, a technical mechanism is required that can create the grouping request efficiently. [Means for solving the problem]
[0006] In the present invention, a consolidation request is created once in advance and stored, and when data is acquired, the stored consolidation request is read out, thereby reducing the communication processing load (load of consolidation request creation processing) of the application that was imposed each time data was acquired, thereby solving the above problem.
[0007] According to one aspect of the present invention, in an information processing device that acquires multiple types of information from a control device that controls a machine based on an instruction from an application program, the information processing device includes: a summary request storage unit for storing at least one summary request associated with summary request identification information; a summary request management unit that receives a request to acquire a summary request, reads from the summary request storage unit a summary request associated with the summary request identification information included in the summary request acquisition request, and provides the read summary request; a command execution unit that executes the command read from the application program; and, when the command is a summary request execution command, a summary request execution unit that requests the summary request associated with the summary request identification information included in the summary request execution command from the summary request management unit, and executes the summary request acquired in response to the request. a program analysis unit that analyzes a command read from the application program and notifies the command execution unit to execute the analyzed command, and when the command analyzed by the program analysis unit is a command related to the creation of a consolidation request, the consolidation request management unit creates a consolidation request associated with consolidation request identification information specified in the command and stores the request in the consolidation request storage unit. It is an information processing device.
[0008] Another aspect of the present invention is a program executed in an information processing device that acquires multiple types of information collectively from a control device that controls a machine based on an instruction from an application program, and when the instruction read from the application program is an instruction for executing a consolidation request, the program includes a process of acquiring a consolidation request associated with a consolidation request identification information included in the instruction from a consolidation request storage unit that stores at least one consolidation request associated with the consolidation request identification information, and a process of collectively acquiring multiple types of information from the control device based on the consolidation request associated with the acquired consolidation request identification information. a process of analyzing a command read from the application program and executing the analyzed command, and a process of creating and storing a consolidation request associated with consolidation request identification information designated in the command when the analyzed command is a command related to the creation of a consolidation request; A computer-readable storage medium storing a program for executing the above. Effect of the Invention
[0009] According to the present invention, a consolidation request is created once at the beginning of a program and stored, and when data is acquired, the stored consolidation request is read out, thereby reducing the communication processing load (the load of the consolidation request creation process) on the application that was imposed each time data was acquired. [Brief description of the drawings]
[0010] [Figure 1] 1 is a schematic hardware configuration diagram showing a main part of a control system according to an embodiment. [Diagram 2] FIG. 1 is a schematic functional block diagram of a control system according to a first embodiment. [Diagram 3] FIG. 4 is a diagram illustrating a flow of creating a combined request in the control system according to the first embodiment. [Figure 4] FIG. 11 is a diagram illustrating another example of the flow of creating a combined request in the control system according to the first embodiment. [Diagram 5] FIG. 11 is a schematic functional block diagram of a control system according to a second embodiment. [Figure 6] FIG. 13 is a diagram illustrating an example of a grouping request definition file. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] An example of the configuration of a control system for implementing the present invention is shown below. FIG. 1 is a schematic hardware configuration diagram showing the main part of a control system according to an embodiment. The control system 1 according to this embodiment is configured by connecting at least one control device 3 and an information processing device 2 that receives information from the control device 3 via a wired / wireless network 27. In the control system 1 according to this embodiment, the control device 3 controls machines (not shown) such as manufacturing equipment and robots. While the control device 3 is controlling the machine, a huge amount of information related to the control is generated as data and stored in a memory or the like as necessary. Also, in the control system 1, the information processing device 2 acquires the data generated by the control device 3 as necessary and uses it for managing the entire control system 1.
[0012] The information processing device 2 according to this embodiment can be implemented, for example, as a personal computer attached to the control device 3, or as a computer such as a fog computer or cloud server connected to the control device 3 via a network 27.
[0013] The information processing device 2 is configured with a CPU 10 as its core. Each component of the information processing device 2 is connected via a bus 17, and exchanges data with each other via the bus 17. The CPU 10 controls the entire information processing device 2 in accordance with a system program stored in a ROM 11. An EPROM, an EEPROM, or the like is used for the ROM 11.
[0014] The RAM 12 uses a DRAM or the like, and stores temporary calculation data, display data, etc. The non-volatile memory 13 uses a memory backed up by a battery (not shown) or an SSD (Solid State Drive), etc., and retains the stored state even when the power supply of the information processing device 2 is turned off.
[0015] The user interface device 18 is used to display data and graphics required for the operation of the information processing device 2, and to accept manual operation inputs and data inputs from an operator. The graphics control circuit 19 converts digital signals such as numerical data and graphic data into raster signals for display, and sends them to the display device 20. The display device 20 displays these numerical values and graphics. A liquid crystal display device is mainly used as the display device 20.
[0016] The input device 21 is composed of a keyboard equipped with key switches, rotary switches, numeric keys, symbolic keys, character keys and function keys, and a pointing device such as a mouse. The touch panel 22 has a function of detecting operations such as touching and dragging by an operator. The touch panel 22 is arranged so as to be superimposed on the screen of the display device 20, and can detect operations performed by the operator on software keys, software buttons, and software switches displayed on the screen of the display device 20. The touch panel 22 and the display device 20 may be combined into one device.
[0017] The communication interface 23 performs data communication with the control device 3 and the like connected to the network 27 via the wired / wireless network 27. The control program executed by the control device 3 to be managed, information on the execution results of the program, information on signals acquired during the execution of the program, and the like can be acquired via this communication interface 23.
[0018] On the other hand, the control device 3 is mainly composed of a CPU 30. Each component of the control device 3 is connected via a bus 37, and exchanges data with each other via the bus 37. The CPU 30 controls the entire control device 3 in accordance with a system program stored in a ROM 31. An EPROM, an EEPROM, or the like is used for this ROM 31.
[0019] The RAM 32 uses a DRAM or the like, and stores temporary calculation data, display data, etc. The non-volatile memory 33 uses a CMOS or SRAM backed up by a battery (not shown), and stores parameters that should be retained even after the power is turned off.
[0020] The control interface 35 is connected to various machines such as machine tools and robots, and the control device 3 controls the various machines via the control interface 35. The control interface 35 is composed of, for example, an axis control circuit and a PLC (Programmable Logic Controller), etc. When controlling a machine, the control interface 35 acquires information on each part of the machine and also detects and acquires the operating status of the machine using a sensor (not shown). The communication interface 34 performs data communication via the wired / wireless network 27 with the information processing device 2 and the like connected to the network 27 .
[0021] FIG. 2 is a schematic block diagram showing functions of the control system 1 according to the first embodiment of the present invention. Each function of the control system 1 according to the present embodiment is realized by the CPU 10 of the information processing device 2 and the CPU 30 of the control device 3 in the control system 1 shown in Fig. 1 executing a system program and controlling the operation of each part of the information processing device 2 and the control device 3. These system programs can be provided by being stored in a storage medium such as a magnetic disk or an optical disk, or can be provided using a wired or wireless network as a medium.
[0022] The information processing device 2 constituting the control system 1 of this embodiment includes a program analysis unit 100, a summary request management unit 110, a command execution unit 120, a summary request execution unit 130, a result acquisition unit 140, and a communication unit 150. In addition, an application program 200 executed by the information processing device 2 is stored in advance in the RAM 12 to the non-volatile memory 13 of the information processing device 2, and further includes a summary request storage unit 210 which is an area for storing a summary request, and a result storage unit 220 which is an area for storing data acquired from the control device 3. In addition to the above-mentioned functions, the information processing device 2 of this embodiment includes functions for realizing functions provided in a general information processing device, but the description of these functions will be omitted in this specification.
[0023] The program analysis unit 100 is realized by the CPU 10 included in the information processing device 2 shown in Fig. 1 executing a system program read from the ROM 11, and the CPU 10 mainly performing arithmetic processing using the RAM 12 and the non-volatile memory 13. The program analysis unit 100 analyzes the application program 200, extracts commands related to the management of the consolidation request included in the application program 200, and notifies the extracted commands to the consolidation request management unit 110. In addition, it notifies the command execution unit 120 of commands other than the commands related to the management of the consolidation request. In the information processing device 2 according to this embodiment, the commands related to the management of the consolidation request include, for example, a command for creating a consolidation request.
[0024] The summary request management unit 110 is realized by the CPU 10 included in the information processing device 2 shown in Fig. 1 executing a system program read from the ROM 11, and the CPU 10 mainly performing arithmetic processing using the RAM 12 and the non-volatile memory 13. The summary request management unit 110 creates a summary request (one data packet including multiple data acquisition requests) based on a command for creating a summary request notified from the program analysis unit 100, and stores the created summary request in the summary request storage unit 210. The summary request management unit 110 stores the summary request in association with summary request identification information specified in the command related to the summary request. The summary request identification information is information composed of, for example, numerical values and English letters, and is information for uniquely identifying the summary request. In addition, in response to a request from the summary request execution unit 130, the summary request management unit 110 reads out a summary request associated with the summary request identification information included in the request from the summary request storage unit 210, and provides the read summary request to the summary request execution unit 130.
[0025] The command execution unit 120 is realized by the CPU 10 included in the information processing device 2 shown in Fig. 1 executing a system program read from the ROM 11, and the CPU 10 mainly performing arithmetic processing using the RAM 12 and the non-volatile memory 13. The command execution unit 120 controls each unit of the information processing device 2 based on a command included in the application program 200 notified from the program analysis unit 100. On the other hand, when the command notified from the program analysis unit 100 is an execution command for a consolidation request, the command execution unit 120 requests the consolidation request execution unit 130 to execute the consolidation request together with the consolidation request identification information specified in the execution command. The execution command for the consolidation request includes at least the consolidation request identification information and identification information of the control device 3 that is the destination of the data acquisition request for the consolidation request.
[0026] 1 executes a system program read from the ROM 11, and the CPU 10 performs calculation processing mainly using the RAM 12 and the non-volatile memory 13. The summary request execution unit 130 requests the summary request management unit to acquire a summary request associated with the summary request identification information included in the request from the command execution unit 120. Then, the summary request execution unit 130 notifies the communication unit 150 to transmit the summary request acquired from the summary request management unit 110 to the control device 3 that is the destination of the data acquisition request.
[0027] The result acquisition unit 140 is realized by the CPU 10 included in the information processing device 2 shown in FIG. 1 executing a system program read from the ROM 11, and the CPU 10 mainly performing arithmetic processing using the RAM 12 and the non-volatile memory 13. The result acquisition unit 140 receives a summary result as a response to a summary request to the control device 3 of the data acquisition request destination via the communication unit 150, and stores it in the result storage unit 220. When the result acquisition unit 140 receives the summary result from the data acquisition request destination, it extracts each result data from the summary result and stores each extracted result data in a predetermined area of the result storage unit 220. Each result data stored in the result storage unit 220 is used, for example, by displaying it on the display device 20 or recording it in an external storage device (not shown) according to a command from the application program 200.
[0028] 1 executes a system program read from the ROM 11, and is realized by the CPU 10 mainly performing arithmetic processing using the RAM 12 and non-volatile memory 13, and input / output processing using the communication interface 23. The communication unit 150 executes data transmission / reception processing between the CPU 10 and other devices via the network 27, based on commands from other functional means and communication from the network 27.
[0029] Meanwhile, the control device 3 constituting the control system 1 of this embodiment includes a control unit 300, a request analysis unit 310, a data acquisition unit 320, a summary result creation unit 330, and a communication unit 340. In addition to the above-mentioned functional means, the control device 3 of this embodiment also includes functional means for realizing functions provided in a general control device, but a description of these will be omitted in this specification.
[0030] The control unit 300 is realized by executing a system program read from ROM 31 by the CPU 30 included in the control device 3 shown in Fig. 1, and mainly performing calculation processing by the CPU 30 using the RAM 32 and non-volatile memory 33, and input / output processing using a control interface 35. The control unit 300 controls the machine according to a machine control program, etc. The control unit 300 issues commands to the machine to operate, while acquiring information on each part of the machine and the operating status of the machine.
[0031] The request analysis unit 310 is realized by the CPU 30 included in the control device 3 shown in Fig. 1 executing a system program read from the ROM 31, and the CPU 30 mainly performing arithmetic processing using the RAM 32 and the non-volatile memory 33. The request analysis unit 310 analyzes a data acquisition request or a compilation request received via the communication unit 340, and commands the data acquisition unit 320 to acquire necessary data based on the analysis result. When the request analysis unit 310 receives a normal data acquisition request based on the conventional technology, it commands the data acquisition unit 320 to acquire the requested data in the same manner as the conventional technology. On the other hand, when the request analysis unit 310 receives a compilation request, it extracts each data acquisition request from the compilation request, and commands the data acquisition unit 320 to acquire each data requested by each data acquisition request.
[0032] 1 executes a system program read from ROM 31, and the CPU 30 performs calculation processing mainly using the RAM 32 and non-volatile memory 33. The data acquisition unit 320 acquires each piece of data related to control from the control unit 300 based on a request from the request analysis unit 310, and summarizes the acquired data to notify the result creation unit 330.
[0033] The summary result creation unit 330 is realized by the CPU 30 included in the control device 3 shown in FIG. 1 executing a system program read from the ROM 31, and the CPU 30 mainly performing arithmetic processing using the RAM 32 and the non-volatile memory 33. The summary result creation unit 330 creates data as a response to the information processing device 2 based on the data acquired by the data acquisition unit 320, and commands the communication unit 340 to transmit the created data to the information processing device 2. When the summary result creation unit 330 receives a normal data acquisition request according to the conventional technology, it commands the communication unit 340 to respond with the requested data as in the conventional technology. On the other hand, when the summary request is received, it creates a summary result that summarizes the data requested by each data acquisition request included in the summary request, and commands the communication unit 340 to respond with the created summary result to the data acquisition request source. The summary result creation unit 330 creates one summary result (one data packet including multiple data) that summarizes multiple pieces of data requested by each data acquisition request included in the summary result.
[0034] 1 executes a system program read from ROM 31, and is realized by the CPU 30 performing calculation processing mainly using the RAM 32 and non-volatile memory 33 by the CPU 30, and input / output processing using the communication interface 34. The communication unit 340 executes data transmission / reception processing between the CPU 30 and other devices via the network 27, based on commands from other functions and communication via the network 27.
[0035] The operation flow of each function of the information processing device 2 will be described with reference to Fig. 3 and Fig. 4. Fig. 3 and Fig. 4 show the flow from the creation of a summary request to the execution of the summary request. 3 shows an example in which a command "PACK_ON" for starting the creation of a consolidated request and a command "PACK_OFF" for ending the creation of a consolidated request are used as commands for creating a "consolidated request." The command "PACK_ON" for starting the creation of a consolidated request takes as an argument consolidated request identification information ("pack_no" in FIG. 3) for uniquely identifying the consolidated request. The command "PACK_ON(pack_no)" for starting the creation of a consolidated request and the command "PACK_OFF" for ending the creation of a consolidated request are used to create a consolidated request that consolidates the data acquisition commands issued between them.
[0036] In the example of Fig. 3, first (1) the program analysis unit 100 reads a packing request creation command from the program. Next, (2) the program analysis unit 100 notifies the packing request management unit 110 to create a packing request identified by packing request identification information (pack_no) specified in the packing request creation command. The packing request is instructed to include GET_COORDINATE (a coordinate value data acquisition command to acquire the coordinate values of each axis of the machine), GET_MODAL (a modal information acquisition command to acquire modal information), and GET_FEED (a speed information acquisition command to acquire the moving speed of the driving part of the machine).
[0037] Upon receiving a notification from the program analysis unit 100, (3) the summary request management unit 110 creates a summary request for collectively acquiring the coordinate value data acquisition command, the modal information acquisition command, and the velocity information acquisition command, and stores the summary request in association with the summary information identification information pack_no in the summary request storage unit 210. In this manner, each time a command to create a summary request is issued, a summary request associated with each summary information identification information is created and stored in the summary request storage unit 210.
[0038] Thereafter, the commands included in the application program 200 are read out and analyzed one by one, and the commands are executed by the command execution unit 120. Then, (4) when the program analysis unit 100 reads the summary request execution command, (5) it notifies the command execution unit 120 of the summary request execution command. (6) When the command execution unit 120 is notified of the summary request execution command, it notifies the summary request execution unit 130 to execute the summary request associated with the summary request identification information specified by the summary request execution command. Upon receiving this notification, (7) the summary request execution unit 130 requests the summary request management unit 110 for the summary request associated with the summary request identification information specified by the summary request execution command. (8) Upon receiving the request, the summary request management unit 110 reads out the summary request associated with the summary request identification information from the summary request storage unit 210, and transfers it to the summary request execution unit 130. Finally, (9) the summary request execution unit 130 executes the acquired summary request.
[0039] FIG. 4 shows an example in which a command for creating a "combination request" corresponding to each data acquisition command is prepared as a command for creating a "combination request." In the example of Fig. 4, commands (PACK_GET_xxx, xxx differs depending on the type of data) are prepared to be registered in the grouping request for each type of data to be acquired. For example, PACK_GET_COORDINATE is prepared as a grouping request creation command corresponding to the coordinate value data acquisition command GET_COORDINATE, PACK_GET_MODAL is prepared as a grouping request creation command corresponding to the modal information acquisition command GET_MODAL, and PACK_GET_FEED is prepared as a grouping request creation command corresponding to the speed information acquisition command GET_FEED. Each of these commands takes grouping request identification information ("pack_no" in Fig. 3) for uniquely identifying the grouping request as an argument, and is used to create a grouping request associated with the specified grouping request identification information (when a grouping request associated with the grouping request identification information has not been created) or to add data to be acquired (when a grouping request associated with the grouping request identification information has already been created).
[0040] In the example of Fig. 4, first (1) the program analysis unit 100 sequentially reads the consolidation request creation command from the program. Next, (2) the program analysis unit 100 notifies the consolidation request management unit 110 to create a consolidation request identified by the consolidation request identification information (pack_no) specified in the consolidation request creation command.
[0041] Upon receiving a notification from the program analysis unit 100, (3) the consolidation request management unit 110 first creates a consolidation request including a coordinate value data acquisition command at the time when PACK_GET_COORDINATE is notified. At this time, the created consolidation request is associated with pack_no and stored in the consolidation request storage unit 210. Next, when PACK_GET_MODAL is notified, the consolidation request management unit 110 adds a modal information acquisition command to the consolidation request associated with pack_no. Also, when PACK_GET_FEED is notified, the consolidation request management unit 110 adds a speed information acquisition command to the consolidation request associated with pack_no. Subsequent processing is the same as that described in FIG. 3.
[0042] 3 and 4 show an example of acquiring three pieces of data, namely, coordinate value data, modal information, and speed information, but the type of data to be acquired may be any data that can be acquired from a general control device 3. For example, various data can be acquired, such as data related to the control axis / spindle (coordinate value, feed rate, spindle speed, etc.), data related to the control program (registered program list, information on the program currently being executed, information on the command currently being executed, information on the block currently being executed, etc.), data related to numerical control (parameter information, offset information, etc.), data related to history (warning history, operation history, etc.), data related to PLC (PLC signal, timer information, etc.), and other data (system information, modal information, etc.). The number of pieces of data to be acquired is not limited to three, and a request to acquire a desired number of pieces of data can be made together as necessary, and the results can be received.
[0043] In the control system 1 according to the present embodiment described above, a consolidation request is created once at the beginning of a program and stored, and when data is acquired, the stored consolidation request is read out, thereby reducing the communication processing load (load of consolidation request creation processing) of the application that is imposed each time data is acquired. As a result, the time required to acquire control data from the control device can be shortened. Also, by storing the consolidation request, it can be reused in other processes (threads, functions, etc.), reducing the amount of code in the execution program and facilitating programming.
[0044] As a modified example of the control system 1 according to this embodiment, the grouping request management unit 110 may be configured to delete a predetermined data acquisition command from the grouping request stored in the grouping request storage unit 210. For example, a deletion command from the grouping request (for example, UNPACK_GET_xxx, where xxx is different for each type of data) is prepared in response to a command to be registered in the grouping request for each type of data described in the example of FIG. 4. Then, when a deletion command from the grouping request with grouping request identification information as an argument is notified, the grouping request management unit 110 identifies the grouping request associated with the grouping request identification information from the grouping request storage unit 210, and deletes the data acquisition command of the specified type from the identified grouping request. For example, in the example of FIG. 4, when UNPACK_GET_COORDINATE(pack_no) is notified, a command (GET_COORDINATE) to acquire coordinate value data is deleted from the grouping request associated with the grouping request identification information pack_no stored in the grouping request storage unit 210.
[0045] Providing such a function makes it possible to change the data requested in a summary according to the purpose of monitoring the control state of the machine in the control device 3, enabling flexible data acquisition. For example, when a specific control state of the machine is being monitored by the control device 3, if the spindle load information indicates that a large load has been applied to the spindle for a specific period of time or more, a data acquisition command for acquiring temperature information of the machine, etc., is added to the summary request, thereby monitoring the operating status of the machine in more detail. Then, once the operating state has stabilized, the added data acquisition command is deleted and the monitoring state is returned to normal, enabling flexible control.
[0046] FIG. 5 is a schematic block diagram showing functions of a control system 1 according to a second embodiment of the present invention. Each function of the control system 1 according to this embodiment is realized by the CPU 10 of the information processing device 2 and the CPU 30 of the control device 3 in the control system 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the information processing device 2 and the control device 3.
[0047] The information processing device 2 constituting the control system 1 of this embodiment includes a program analysis unit 100, a summary request management unit 110, a command execution unit 120, a summary request execution unit 130, a result acquisition unit 140, and a communication unit 150, as well as a summary request registration unit 160. In addition, an application program 200 executed by the information processing device 2 is stored in advance in the RAM 12 to the non-volatile memory 13 of the information processing device 2, and further includes a summary request storage unit 210 which is an area for storing a summary request, and a result storage unit 220 which is an area for storing data acquired from the control device 3. In addition to the above-mentioned functions, the information processing device 2 of this embodiment includes functions for realizing functions provided in a general information processing device, but description of these functions will be omitted in this specification.
[0048] The program analysis unit 100, summary request management unit 110, command execution unit 120, summary request execution unit 130, result acquisition unit 140, and communication unit 150 provided in the information processing device 2 of this embodiment have the same functions as those provided in the information processing device 2 of the first embodiment. The summary request registration unit 160 according to the present embodiment is realized by the CPU 30 included in the control device 3 shown in FIG. 1 executing a system program read from the ROM 31, and the CPU 30 mainly performing arithmetic processing using the RAM 32 and the non-volatile memory 33. The summary request registration unit 160 creates a summary request based on a summary request definition file created in advance, and stores the created summary request in the summary request storage unit 210. The summary request registration unit 160 reads a summary request definition file designated in response to, for example, an operator's operation, and creates one or more summary requests defined by the read file. The summary request definition file may be stored in the non-volatile memory 13 of the information processing device 2 in advance and read out, or may be read out from an external storage device (not shown). Also, it may be read out from another device via the network 27.
[0049] FIG. 6 shows an example of a definition file of a grouping request. The grouping request definition file is a file that defines, for at least one grouping request, a data acquisition command to be included in the grouping request and grouping request identification information in association with each other. In the example of FIG. 6, three grouping requests are defined using a grouping request creation start command PACK_ON and a grouping request creation end command PACK_OFF. When the grouping request registration unit 160 reads out this grouping request definition file, three grouping requests, pack_no1, pack_no2, and pack_no3, are created and stored in the grouping request storage unit 210. The stored grouping requests can be used by a grouping request execution command as described in the first embodiment.
[0050] In the control system 1 according to the present embodiment described above, a consolidation request can be created in advance using a consolidation request definition file. In an operation monitoring device or a production planning device, the set of data that must be acquired from the control device may be roughly determined. In such a case, by creating a consolidation request in advance using a consolidation request definition file, it becomes unnecessary to create a consolidation request for each application program, and the burden of creating a program is further reduced.
[0051] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described examples of the embodiments, and can be embodied in various forms by making appropriate modifications. [Explanation of symbols]
[0052] 1. Control System 2. Information processing equipment 3. Control device 10 CPU 11 ROM 12 RAM 13 Non-volatile memory 17 Bus 18 User Interface Devices 19 Graphics control circuit 20 Display device 21 Input Devices 22 Touch Panel 23 Communication Interface 27 Network 30 CPU 31 ROM 32 RAM 33 Non-volatile memory 34 Communication Interface 35 Control Interface 37 Bus 100 Program Analysis Unit 110 Summary Request Management Department 120 Command Execution Department 130 Summary Request Execution Department 140 Result acquisition part 150 Communications Department 160 Summary Request Registration Department 200 Application Programs 210 Summary Request Storage Unit 220 Result storage section 300 Control section 310 Request Analysis Department 320 Data Acquisition Department 330 Summary Results Creation Department 340 Communications Department
Claims
1. An information processing device that acquires a plurality of types of information from a control device that controls a machine based on a command from an application program, a summary request storage unit for storing at least one summary request associated with the summary request identification information; a summary request management unit that receives a request for acquiring a summary request, reads out a summary request associated with summary request identification information included in the request for acquiring a summary request from the summary request storage unit, and provides the read summary request; a command execution unit that executes a command read from the application program; a grouping request execution unit that, when the command is a grouping request execution command, requests the grouping request management unit for a grouping request associated with grouping request identification information included in the grouping request execution command, and executes the grouping request acquired as a response to the request; Equipped with a program analysis unit that analyzes a command read from the application program and notifies the command execution unit to execute the analyzed command, An information processing device in which, when the instruction analyzed by the program analysis unit is an instruction related to creating a summary request, the summary request management unit creates a summary request associated with the summary request identification information specified in the instruction and stores it in the summary request storage unit.
2. Further comprising a summary request registration unit that reads a summary request definition file, creates at least one summary request associated with summary request identification information based on the summary request definition file, and stores the created summary request in the summary request storage unit. The information processing device according to claim 1 .
3. further comprising a program analysis unit that analyzes an instruction read from the application program and notifies the instruction execution unit to execute the analyzed instruction, the grouping request management unit, when the command analyzed by the program analysis unit is a command for adding a predetermined data acquisition command to the grouping request, adds the predetermined data acquisition command to the grouping request in association with grouping request identification information designated by the command. The information processing device according to claim 1 .
4. further comprising a program analysis unit that analyzes an instruction read from the application program and notifies the instruction execution unit to execute the analyzed instruction, the summary request management unit, when the command analyzed by the program analysis unit is a command related to deleting a predetermined data acquisition command from the summary request, associates the command with summary request identification information designated in the command and deletes the predetermined data acquisition command from the summary request; The information processing device according to claim 1 .
5. A program executed on an information processing device that acquires multiple types of information collectively from a control device that controls a machine based on a command from an application program, comprising: When the command read from the application program is a command for executing a consolidation request, a process of acquiring a consolidation request associated with the consolidation request identification information included in the command from a consolidation request storage unit in which at least one consolidation request associated with the consolidation request identification information is stored; A process of collectively acquiring a plurality of types of information from the control device based on a consolidation request associated with the acquired consolidation request identification information; A process of analyzing a command read from the application program and executing the analyzed command; a process of creating and storing a consolidation request associated with consolidation request identification information designated in the command when the analyzed command is a command related to the creation of the consolidation request; A computer-readable storage medium storing a program for executing the above.
Citation Information
Patent Citations
Process monitor system for programmable controller
JP1986090211A
Control system
JP2019087208A
