The present invention relates to a screen-data editing device for a programmable display device.
When some trouble occurs in a programmable display device or in a device or a system using the programmable display device, a person who checks the cause of the trouble assumes and analyzing the cause by manually obtaining several kinds of information himself, such as programmable-display-device operation-history information and project data of a display device, from the programmable display device or a computer and comparing the obtained information to each other, in order to detect the cause of the trouble and consider a preventive measure against the trouble.
Due to this fact, it usually takes time to obtain a position where the trouble has occurred and detailed information regarding parts in project data related to the trouble, so that speedy searching for the cause has been prevented.
Patent Literature 1 discloses a technique that enables to register comments and the like regarding parts as related information and display the information together with the parts.
Patent Literature 1: Japanese Patent Application Laid-open No. 2011-086118
When some trouble occurs in a main unit of the programmable display device or in a device or a system using the programmable display device, how quickly the trouble can be solved becomes an important issue.
Under these circumstances, to diagnose the cause of a trouble, programmable-display-device main-unit information is obtained manually, then the project data or related design materials are searched for information related to the trouble, and the cause of the trouble is analyzed based on the obtained information. However, persons other than the designer involved in that system cannot speedily cope with the quest for the information because they have little knowledge of the system and a project data configuration. Particularly, in a case of a device or a system that has been running for a long time, information is often insufficient because its designer is no longer present or related design materials have been lost, which disadvantageously requires a lot of time and labor to collect information for searching the cause.
According to the invention disclosed in Patent Literature 1, persons other than the designer also can easily detect the cause by referring to comments; however, when a program itself is long, a user him/herself needs to find out information related to the trouble from randomly enumerated comments. Therefore, the problem that it takes a lot of time and labor to collect the information for searching the cause is not entirely solved.
The present invention has been achieved in consideration of these problems, and an object of the present invention is to obtain a screen-data editing device for a programmable display device that can easily acquire a trouble occurring position and detailed information regarding related parts.
In order to solve the aforementioned problems, a screen-data editing device for a programmable display device that edits screen data of a programmable display device according to one aspect of the present invention is constructed in such a manner that it includes: a display unit that displays information; a display-device-information management unit that reads from the programmable display device, display-device main-unit information indicating a history of information externally output from the programmable display device and display-device operation-history information indicating a history of operations performed with respect to the programmable display device, extracts a reserved word contained in the display-device main-unit information and the display-device operation-history information read from the programmable display device, and creates a display-device main-unit information database and a display-device operation-history information database that have a plurality of records each containing a field for a search key corresponding to the reserved word; a display-device-information search unit that extracts, from the display-device operation-history information database, a record containing a same search key as that contained in a record specified from the display-device main-unit information database through a user's operation; and a search-result display unit that causes the display unit to display as an operation history list, a list of the records extracted from the display-device operation-history information database by the display-device-information search unit.
The screen-data editing device for a programmable display device according to the present invention can easily acquire a trouble occurring position and detailed information regarding related parts.
Exemplary embodiments of a screen-data editing device for a programmable display device according to the present invention will be explained below in detail with reference to the accompanying drawings. These embodiments do not limit the present invention.
FIG. 1—depicts a configuration of a screen-data editing device for a programmable display device according to an embodiment of the present invention. The screen-data editing device for a programmable display device is formed as a computer 110 having drawing software 101 incorporated therein. The computer 110 contains a data storage unit 102, a control unit 103, a memory unit 104, a display unit 105, an input unit 106 and an interface (I/F) 107. The function as the screen-data editing device for a programmable display device is realized when the control unit 103 executes the drawing software 101. The drawing software 101 has a function of editing data of screen (screen data) displayed on a programmable display device 120 or 130 that controls an external device 150 connected thereto via a network 160 and displays statuses of the external device 150.
The data storage unit 102 has data such as a project file 102a, and a hard disk drive or a semiconductor storage device can be used for the data storage unit. The control unit 103 is an arithmetic unit that executes the drawing software 101. The memory unit 104 is used as a work area when the control unit 103 executes the drawing software 101. The display unit 105 is a display such as an LCD. The input unit 106 is an input device such as a keyboard or a pointing device. The I/F 107 is a communication interface for communicating with the programmable display device 120 or 130 via a bus 140.
As the drawing software 101 is executed, a project-data management unit 101h that creates and manages project data and a main-unit-information management unit 101d that obtains information from the programmable display device 120 or 130 and manages the information are configured in the control unit 103. The project-data management unit 101h has a screen display/creation unit 101a, a jump mechanism unit 101b, and a project-data search unit 101c. The project-data management unit 101h reads the project file 102a stored in the data storage unit 102, deploys the thus read file into the project data, and edits and manages the project data. Operation, display, compilation, and management of the screen data in the project data are performed by the screen display/creation unit 101a. The jump mechanism unit 101b and the project-data search unit 101c are described later. The main-unit-information management unit 101d has a search-result display unit 101e, a display-device-information search unit 101f and a display-device-information management unit 101g.
By connecting the computer 110 to the programmable display device 120 or 130 via the bus 140, the display-device main-unit information 202 and the display-device operation-history information 207 are read from the programmable display device 120 or 130 by the display-device-information management unit 101g.
The display-device-information management unit 101g extracts time information and search key information from each item of the read display-device main-unit information 202 (the error information 203 and the alarm information 204), associates a information source type (indicating from which of the error information 203 and the alarm information 204 the information is extracted) with an information-source item number indicating a data location in an extraction source, and then stores the associated information in a display-device main-unit information format 205 having fields corresponding to the information. That is, the display-device-information management unit 101g handles the display-device main-unit information format 205 thus created as one record, and manages on the memory unit 104 a display-device main-unit information database (DB) 206 containing a plurality of the records each having fields for the time information, the search key information, the information source type and the information-source item number.
The display-device-information management unit 101g extracts operation time information, search key information, detailed information about parts (image number and ID information) from each item of the read display-device operation-history information 207, associates the extracted information with an information-source item number indicating a data location in an extraction source, and stores the associated information in a display-device operation-history information format 208 having fields corresponding to the information. That is, the display-device-information management unit 101g handles the display-device operation-history information format 208 thus created as one record, and manages on the memory unit 104 a display-device operation-history information database (DB) 209 containing a plurality of the records each having the fields for the operation time information, the search key information, the information-source item number, and the detailed information regarding parts.
A process of extracting the search key information from the display-device main-unit information 202 or the display-device operation-history information 207 is explained next.
In the reserved-word search-key map 214, one or plural search keys are allocated to each of the reserved words (names of parts used by the drawing software 101). If the reserved-word search-key map 214 has a form in which data can be added or updated afterwards, searching accuracy can be enhanced.
Operations for obtaining information from the display-device main-unit information database 206 and the display-device operation-history information database 209 managed by the display-device-information management unit 101g and for displaying the obtained information on the display unit 105 are explained next.
Selection is performed in the following order. A predetermined number of records temporally close to the record selected by the user are first extracted from the error/alarm list 301, and then records having the same search key are further extracted from the extracted records. The search-result display unit 101e displays this extraction result on the display unit 105 as an operation history list 310 independently from the error/alarm list 301. When there are records more than the predetermined number, they are rearranged according to a priority order that is recorded in the reserved-word search-key map 214, so that the operation history list 310 that contains more accurate operation histories that have (quite possibly) caused a specified error or alarm can be displayed on the display unit 105.
A jump from the operation history list 310 to a corresponding part in the project data is explained next.
The project data includes configuration information, image information, and part information of a project. The project configuration information contains the screen information, and the screen information contains the part information. The jump mechanism unit 101b checks whether the detailed information (image number and ID information) of a part is valid (whether data exists) when executing the jump. At this time, the project-data search unit 101c checks existence of the data based on the project configuration information (Step S403). When the existence is confirmed, the jump mechanism unit 101b causes the display unit 105 to display thereon a screen 406 including the part, thereby executing the jump (S404). At this time, the jump mechanism unit 101b places a focus 405 on the corresponding part to be displayed on the display unit 105.
When there is no project data edited and managed by the project-data management unit 101h (when no project file 102a is stored in the data storage unit 102, for example), the jump mechanism unit 101b reads project data directly from the programmable display device 120 or 130 connected to the computer 110, and jumps to corresponding part data.
An operation for embedding the display-device main-unit information database 206 and the display-device operation-history information database 209 managed by the display-device-information management unit 101g in the project data to store the databases is explained next.
The display-device main-unit information database 206 and the display-device operation-history information database 209, which are read out from the programmable display device 120 or 130 and created, are converted to files and managed as one of project data in the drawing software 101. That is, each database is converted to a file and embedded in the project data when it is stored. At that time, current time information is also acquired and embedded in the project data together with the files. Embedding (storing) of the display-device main-unit information database 206 and the display-device operation-history information database 209 in the project data is executed when a store button 501 is pressed by a user's operation through the input unit 106.
From the next reading of information from the programmable display device 120 or 130 using the drawing software 101, when there is embedded data, the error/alarm list 301 or the operation history list 310 is displayed based on the embedded data without having communication with the programmable display device 120 or 130 via the I/F 107. By doing so, the cause of a trouble can be analyzed even when the programmable display device 120 or 130 has been removed or is not activated, thereby enabling to perform an efficient analysis of the cause.
When the programmable display device 120 or 130 is connected, the display-device-information management unit 101g may check, based on the current time information embedded in the project data, whether the display-device main-unit information or the display-device operation-history information in the programmable display device 120 or 130 has been updated, and obtain the display-device main-unit information and the display-device operation-history information only when the information has been updated. Furthermore, the display-device-information management unit 101g may obtain only data corresponding to a difference modified by the update, from the programmable display device 120 or 130.
The screen-data editing device for a programmable display device according to the present embodiment can establish a connection with a programmable display device having a trouble, read therefrom the display-device main-unit information and the display-device operation-history information, and display a list of events that are likely to be related to the trouble in such a manner that the events can be easily selected. When a user selects one of records in the displayed list to be examined, related (strongly related) information is extracted from the display-device operation-history information based on data generation time or search key information of the selected information. Furthermore, operations for obtaining location information of related part data in the project data from the extracted display-device operation-history information, reading data about the related part on the drawing software based on the obtained location information, and then placing a focus on (jumping to) the read data can be realized by a single action, and therefore it is possible to easily and quickly obtain detailed information of data regarding a record to be examined.
The display-device main-unit information and the display-device operation-history information are each managed by the drawing software as the database, and thus can be rearranged or searched by using the search key information. Therefore, the records can be rearranged or extracted according to what the user wishes to examine, so that intended target information can be easily found.
As described above, according to the present embodiment, it is possible to easily reach the related data in the project data based on the error information and the alarm information and obtain more detailed information, which reduces time required to discover the cause of a trouble.
While the example mentioned above has handled the case in which the error information and the alarm information is contained in the display-device main-unit information, data-logging information or the like can also be contained.
As described above, the screen-data editing device for a programmable display device according to the present invention is useful in that, when some trouble occurs in a programmable display device or a device or a system using the programmable display device, the cause of the trouble can be easily detected.
101 DRAWING SOFTWARE
101
a SCREEN DISPLAY/CREATION UNIT
101
b JUMP MECHANISM UNIT
101
c PROJECT-DATA SEARCH UNIT
101
d MAIN-UNIT-INFORMATION MANAGEMENT UNIT
101
e SEARCH-RESULT DISPLAY UNIT
101
f DISPLAY-DEVICE-INFORMATION SEARCH UNIT
101
g DISPLAY-DEVICE-INFORMATION MANAGEMENT UNIT
101
h PROJECT-DATA MANAGEMENT UNIT
102 DATA STORAGE UNIT
102
a PROJECT FILE
103 CONTROL UNIT
104 MEMORY UNIT
105 DISPLAY UNIT
106 INPUT UNIT
107 I/F
110 COMPUTER
120, 130 PROGRAMMABLE DISPLAY DEVICE
140 BUS
150 EXTERNAL DEVICE
160 NETWORK
202 DISPLAY-DEVICE MAIN-UNIT INFORMATION
203 ERROR INFORMATION
204 ALARM INFORMATION
205 DISPLAY-DEVICE MAIN-UNIT INFORMATION FORMAT
206 DISPLAY-DEVICE MAIN-UNIT INFORMATION DATABASE
207 DISPLAY-DEVICE OPERATION-HISTORY INFORMATION
208 DISPLAY-DEVICE OPERATION-HISTORY INFORMATION FORMAT
209 DISPLAY-DEVICE OPERATION-HISTORY INFORMATION DATABASE
214 RESERVED-WORD SEARCH-KEY MAP
301 ERROR/ALARM LIST
302 SEARCH KEY INFORMATION
303 RECORD
310 OPERATION HISTORY LIST
405 FOCUS
406 SCREEN
501 STORE BUTTON
601 JUMP BUTTON
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2011/078338 | 12/7/2011 | WO | 00 | 7/11/2012 |