WO2024134714A1 - Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system - Google Patents

Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system Download PDF

Info

Publication number
WO2024134714A1
WO2024134714A1 PCT/JP2022/046636 JP2022046636W WO2024134714A1 WO 2024134714 A1 WO2024134714 A1 WO 2024134714A1 JP 2022046636 W JP2022046636 W JP 2022046636W WO 2024134714 A1 WO2024134714 A1 WO 2024134714A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
project data
property data
functional element
project
Prior art date
Application number
PCT/JP2022/046636
Other languages
French (fr)
Japanese (ja)
Inventor
元彰 橋川
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2022/046636 priority Critical patent/WO2024134714A1/en
Priority to JP2023547459A priority patent/JP7456557B1/en
Publication of WO2024134714A1 publication Critical patent/WO2024134714A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports

Definitions

  • This disclosure relates to a drawing support program, a drawing support method, a drawing support device, and a drawing support system.
  • the programmable display is connected to a control device such as a PLC (Programmable Logic Controller) and is used to display and operate the status of the device itself and the connected control device.
  • Project data for example, is used as a data set that constitutes the content displayed on the programmable display.
  • Project data is data for displaying and operating the status of the control device, and is created using a drawing support device, which is a computer on which drawing software is installed. The created project data is transferred from the drawing support device to the programmable display.
  • Project data does not usually have a data format that can be read and written by general-purpose editors such as text editors and spreadsheet applications, so if it is desired to make changes to the content after its creation, the content is changed, for example, via a GUI (Graphical User Interface) provided by the drawing software.
  • GUI Graphic User Interface
  • the new project data created by the drawing software generally does not correspond to the required specifications of each programmable display device.
  • the user who creates the project data usually edits the contents via a GUI or the like provided by the drawing software, for example, to change the specifications to the desired specifications.
  • the user may edit the project data via a GUI or the like in order to reuse project data that was previously created to match certain required specifications.
  • a user who edits the project data may prepare information for editing the project data in advance as property data in preparation for editing the project data via a GUI or the like.
  • property data has a data format that can be read and written by a general-purpose editor.
  • Patent Document 1 discloses a technique for creating project data that corresponds to the required specifications of each programmable display by reflecting the contents of project property data, which includes individual setting information that matches the required specifications of each programmable display, in project data that serves as a commonly used template.
  • the individual setting information is managed, for example, by setting IDs that are set for each of the objects and background functions included in the drawing data that constitutes the project data.
  • Patent Document 1 when a specific element managed by a setting ID is added to or deleted from project property data for editing template project data, this edit content cannot be reflected in the project data. In this case, the user must manually edit the project data to reflect the addition or deletion of the specific element, for example, via a GUI provided in the drawing software, resulting in a problem of poor efficiency in editing the project data.
  • the present disclosure has been made in consideration of the above circumstances, and aims to provide a drawing support program, a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
  • the drawing support program disclosed herein provides a computer with an acquisition function for acquiring property data for editing project data created to control the display of a screen displayed on a programmable display device, a difference extraction function for comparing the property data with project data and extracting the differences, and an editing function for editing the project data based on the differences.
  • a drawing support program a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
  • FIG. 1 is a diagram showing an example of the configuration of a drawing support system according to an embodiment
  • FIG. 1 is a diagram showing an example of the configuration of a drawing support device according to an embodiment
  • FIG. 1 is a diagram for explaining a data structure of project data according to an embodiment
  • FIG. 1 is a diagram for explaining a data structure of property data according to an embodiment
  • FIG. 1 is a diagram showing an example of the operation of a drawing support device according to an embodiment
  • FIG. 1 is a diagram showing an example of a difference extraction process executed by the drawing support device according to the embodiment
  • FIG. 13 is a diagram showing an example of difference extraction result data according to the embodiment
  • FIG. 1 is a diagram for explaining the relationship between a general-purpose editor, property data, and project data before editing according to an embodiment
  • FIG. 1 is a diagram for explaining the relationship between a general-purpose editor, property data, and project data after editing according to an embodiment
  • FIG. 13 is a diagram showing a configuration example of a drawing support system according to a modified example.
  • Configuration example of drawing support device according to modified example FIG. 11 is a diagram showing an example of a state monitoring process executed by a drawing support device according to a modified example;
  • FIG. 13 is a diagram for explaining state monitoring of property data according to a modified example.
  • FIG. 13 is a diagram showing an example of a notification method when a change in property data is detected according to a modified example.
  • FIG. 13 is a diagram for explaining a property data complementation process according to a modified example;
  • FIG. 13 is a diagram for explaining a property data reflection process in a case where there is no project data being edited according to a modified example;
  • FIG. 1 is a diagram showing an example of the configuration of a drawing support system 1 according to an embodiment.
  • the drawing support system 1 is a system including a drawing support device 10 and a programmable display device 20.
  • the drawing support device 10 and the programmable display device 20 are connected to each other so as to be able to communicate with each other.
  • the drawing support device 10 is a device that supports drawing of a display screen to be displayed on the programmable display device 20.
  • drawing software for drawing the display screen to be displayed on the programmable display device 20 is installed in the drawing support device 10.
  • a user who uses the drawing software can edit various screens to be displayed on the programmable display device 20 via a GUI (Graphic User Interface).
  • GUI Graphic User Interface
  • the programmable display 20 displays, for example, information about the state of an external device connected to the programmable display 20.
  • the programmable display 20 also accepts a specific operation and controls the external device in accordance with the accepted operation.
  • the external device is, for example, a PLC (Programmable Logic Controller).
  • FIG. 2 is a diagram showing an example of the configuration of the drawing support device 10 according to the embodiment.
  • the drawing support device 10 has a processing circuitry 11 , an input interface 12 , an output interface 13 , a communication interface 14 , and a memory circuitry 15 .
  • the processing circuitry 11 is a processor that functions as the core of the drawing support device 10. For example, the processing circuitry 11 executes a program stored in the memory circuitry 15, thereby realizing a function corresponding to the executed program.
  • the processing circuitry 11 may also be provided with a memory area that stores at least a portion of the data stored in the memory circuitry 15.
  • the input interface 12 accepts various operations input by the operator to the drawing support device 10.
  • the input interface 12 is realized by, for example, a mouse, a keyboard, and a touch panel where instructions are input by touching the operation surface.
  • the input interface 12 is connected to the processing circuit 11, converts the operation instructions input by the operator into electrical signals, and outputs the electrical signals to the processing circuit 11.
  • the input interface 12 is not limited to those equipped with physical operation parts such as a mouse and a keyboard.
  • an electrical signal processing circuit that receives an electrical signal corresponding to an operation instruction input from an external input device provided separately from the drawing support device 10 and outputs this electrical signal to the processing circuit 11 is also included as an example of the input interface 12.
  • the output interface 13 is connected to the processing circuit 11 and outputs a signal supplied from the processing circuit 11.
  • the output interface 13 is realized, for example, by a display circuit and an audio device.
  • the display circuit includes, for example, a CRT display, a liquid crystal display, an organic EL display, an LED display, and a plasma display.
  • the audio device includes, for example, a speaker.
  • the audio device may also include an output circuit that outputs an audio signal to the outside.
  • the output interface 13 may be realized as a touch panel or a touch screen together with the input interface 12.
  • the communication interface 14 transmits and receives data to and from an external device. Any communication standard can be used between the communication interface 14 and the external device. Specifically, the communication interface 14 transmits and receives various types of data to and from, for example, the programmable display device 20.
  • the memory circuit 15 includes a processor-readable recording medium, such as a magnetic or optical recording medium, or a semiconductor memory.
  • the memory circuit 15 may also be a drive device that reads and writes various information to and from a portable storage medium, such as a CD-ROM drive, a DVD drive, or a flash memory.
  • the memory circuit 15 does not necessarily have to be realized by a single storage device.
  • the memory circuit 15 may be realized by multiple storage devices.
  • the memory circuit 15 stores, for example, project data 16 and property data 17 shown in FIG. 2.
  • the project data 16 is data for controlling the display of a screen displayed on the programmable display.
  • the project data 16 includes, for example, information on project settings, information on the screen to be displayed, information on background functions, and the like.
  • the project data 16 is created, for example, by drawing software installed in the drawing support device 10.
  • the created project data 16 is transferred from the drawing support device 10 to the programmable display device 20.
  • the project data 16 transferred to the programmable display device 20 is read and expanded, for example, by a display program included in the programmable display device 20, and is directly involved in the display control of the screen displayed on the programmable display device 20.
  • the created project data 16 is stored in the memory circuit 15, and can be, for example, imported again by the drawing software and reused.
  • the project data 16 imported into the drawing software is displayed on the screen, for example, via the output interface 13.
  • the project data 16 does not have a data format that can be read and written by a general-purpose editor such as a text editor or a spreadsheet application, and is, for example, data that can be edited on a GUI included in the drawing software.
  • Project data 16 shown in FIG. 3 is composed of elements (hereinafter referred to as functional elements) related to various functions for controlling screen display.
  • functional elements 161 related to project settings for controlling screen display.
  • functional element 162 related to screen groups for controlling screen display.
  • functional element 163 related to background functions are included.
  • the functional elements are hierarchically structured.
  • functional element 161 includes functional element 1611 related to monitoring destination information.
  • functional element 162 includes functional elements 1621 and 1622 related to screens.
  • functional element 163 includes functional element 1631 related to an alarm function and functional element 1632 related to a recipe function.
  • functional element 1621 includes functional element 1623 related to screen settings and functional element 1624 related to object groups.
  • functional element 1624 includes functional elements 1625 and 1626 related to individual objects.
  • functional elements 1622, 1631, and 1632 also have a similar hierarchical structure.
  • Each functional element is associated with image data, various setting information, and the like, depending on its role, function, and the like.
  • each functional element is assigned a "function name” and a "number.”
  • the functional element is identified, for example, by an identifier that is a combination of the "function name” and "number.”
  • the name of the object i.e., the "function name” is "Lamp” and the "number” is "10001,” resulting in an identifier "Lamp 10001.”
  • this identifier represented by "function name + number indicating the serial number within the function” will be referred to as the functional element ID.
  • the functional element ID may consist of only numerical values, for example, or may include other symbols.
  • a functional element is a data set to be edited in the project data 16.
  • Editing the project data is a process on a functional element basis, and includes at least adding a functional element to the project data, updating the contents of the functional elements included in the project data, and deleting a functional element included in the project data.
  • the property data 17 is data for editing the project data 16.
  • the property data 17 includes text data from among the data sets constituting the project data 16, excluding, for example, image data and template data such as design themes.
  • the property data 17 has a data format that can be read and written by a general-purpose editor.
  • the property data 17 has information in a record format that associates, for example, a functional element ID, an attribute name that indicates an editable attribute of the functional element identified by the functional element ID, and an attribute value set for the attribute.
  • the file format of the property data 17 is, for example, text, CSV, XML, HTML, JSON, etc.
  • the file format of the property data 17 is not limited as long as the correspondence between the functional element, the attribute name, and the attribute value can be recognized by the drawing software.
  • the property data 17 can include target range information.
  • the target range information can limit the range of project data that is edited by importing the property data. Note that the target range information is optional.
  • FIG. 4 is a diagram for explaining the data structure of property data 17 according to an embodiment.
  • property data 17 has text data.
  • the target range of editing for project data 16 is limited by the target range information.
  • Range R1 shown in FIG. 4 includes target range information.
  • Range R1 shown in FIG. 4 indicates that the population to be edited is the functional element with identifier "screen 101.” It also indicates that the function names of the functions to be edited are "lamp” and "numeric display.”
  • Range R2 shown in FIG. 4 includes information representing a record set related to functional elements.
  • range R2 shown in FIG. 4 includes information representing a record set in which, for example, function names, numbers, attribute names, and attribute values representing the items constituting a record are linked.
  • the functional element ID of this record is "lamp 10001", which is the function name plus number.
  • the memory circuitry 15 reads out stored data in response to control from the processing circuitry 11. For example, the memory circuitry 15 reads out stored programs in response to control from the processing circuitry 11. The memory circuitry 15 also reads out project data 16, property data 17, and various other stored data in response to control from the processing circuitry 11.
  • the processing circuitry 11 executes the program according to this embodiment to, for example, edit the project data 16 shown in FIG. 3. Specifically, the processing circuitry 11 executes, for example, a program stored in the memory circuitry 15 to realize an acquisition function 111, a difference extraction function 112, and an editing function 113.
  • the acquisition function 111 is a function for acquiring property data 17 for editing project data.
  • the processing circuit 11 acquires the property data 17, for example, starting from a user operation. Specifically, the user creates the property data 17 by any method, such as using a general-purpose editor or a tool for converting a design document into the format of property data, and executes an operation to input the created property data 17 into the drawing support device 10.
  • the project data 16 in which the contents of the property data 17 are reflected is, for example, loaded into drawing software and can be referenced by the processing circuit 11.
  • the processing circuit 11 acquires the input property data 17.
  • the difference extraction function 112 is a function that compares the project data 16 with the corresponding property data 17 and extracts the differences.
  • the processing circuit 11 extracts the differences between the two data, for example, by using an ID that can be commonly recognized by the project data 16 and the property data 17.
  • the ID is, for example, a functional element ID.
  • the editing function 113 is a function that edits the project data 16 based on the difference between the project data 16 and the property data 17 extracted by executing the difference extraction function 112.
  • the processing circuit 11 adds the functional element to the project data 16.
  • the processing circuit 11 reflects, for example, record information related to the specific functional element contained in the property data 17 in the project data 16 by linking it to image data, various setting information, etc. as necessary. This adds the content of the specific functional element to the project data 16.
  • the processing circuit 11 updates the content of the project data 16 with the content of the property data 17.
  • the processing circuit 11 deletes the functional element from the project data 16.
  • FIG. 5 is a diagram showing an example of the operation of the drawing support device 10 according to the embodiment.
  • FIG. 6 is a diagram showing an example of the difference extraction process executed by the drawing support device 10 according to the embodiment. The following explanation will be given with reference to the flowcharts of FIG. 5 and FIG. 6.
  • project data 16 created at a specific time is loaded into the drawing software, and the contents of the corresponding property data 17 are reflected in this project data 16.
  • the property data 17 is taken into the drawing software, for example, starting from a user operation.
  • the user creates the property data 17 in advance using a method of their choice, and reflects the contents in the project data 16 once.
  • the user After reflecting the contents in the project data 16, the user then performs a specific editing process on the property data 17.
  • the user executes an operation to input the edited property data 17 into the drawing software.
  • the processing circuit 11 executes the acquisition function 111.
  • the target range information included in the edited property data 17 indicates that the population to be edited is "screen 101" and the function to be edited is "lamp.”
  • the target range information is, for example, information indicating which group of functional elements among the functional elements included in the project data 16 are to be edited.
  • the information representing the record set related to the functional elements included in the edited property data 17 includes a record having "function name: lamp”, “No.: 10001”, “attribute name: screen”, and “attribute value: screen 101", a record having "function name: lamp”, “No.: 10001”, “attribute name: device”, and “attribute value: Y1", a record having "function name: lamp”, “No.: 10001”, “attribute name: color”, and “attribute value: red”, a record having "function name: lamp”, “No.: 10002”, “attribute name: screen”, and “attribute value: screen 101”, a record having "function name: lamp”, “No.: 10002”, “attribute name: device”, and “attribute value: Y2", and a record having "function name: lamp”, “No.: 10002”, “attribute name: color”, and “attribute value: red”.
  • the information contained in the pre-edited property data 17, i.e., the project data 16 reflecting the contents of the property data 17 newly created by the user as described above includes only the functional elements with functional element IDs "Screen 101" corresponding to the population to be edited and with the function "Lamp”, namely, functional elements with functional element IDs "Lamp 10001" and "Lamp 10003".
  • the information representing the record set related to the functional elements contained in the property data 17 before editing includes a record with "function name: lamp”, “No.: 10001”, “attribute name: screen”, and “attribute value: screen 101", a record with "function name: lamp”, “No.: 10001”, “attribute name: device”, and “attribute value: Y1", a record with "function name: lamp”, “No.: 10001”, “attribute name: color”, and “attribute value: red”, a record with "function name: lamp”, “No.: 10003", “attribute name: screen”, and “attribute value: screen 101”, a record with "function name: lamp”, “No.: 10003”, “attribute name: device”, and “attribute value: Y3", and a record with "function name: lamp”, “No.: 10003”, “attribute name: color”, and “attribute value: red”.
  • the processing circuit 11 executes the acquisition function 111 and acquires the input property data 17 (step S1). At this time, the processing circuit 11 extracts, for example, functional elements within a range that corresponds to the target range information of the property data 17 from the project data 16. Specifically, it extracts functional elements having a functional element ID including the function name "lamp” from among the functional elements included in the functional element having the functional element ID "screen 101" as the population.
  • the processing circuit 11 When the processing circuit 11 acquires the property data 17, it executes the difference extraction function 112, compares the project data 16 with the property data 17, and extracts the differences (step S2). Specifically, the processing circuit 11 compares the project data 16 with the property data 17 based on an identifier that identifies the functional element that constitutes the project data 16, i.e., a functional element ID, and extracts the differences.
  • a functional element ID an identifier that identifies the functional element that constitutes the project data 16
  • the processing circuit 11 reads one functional element from the property data 17 based on the functional element ID (step S21). Specifically, the processing circuit 11 reads, for example, a record with "Function name: Lamp", “No.: 10001", “Attribute name: Screen”, and "Attribute value: Screen 101".
  • the processing circuit 11 When the processing circuit 11 reads out the record with "Function Name: Lamp”, “No.: 10001", “Attribute Name: Screen”, and “Attribute Value: Screen 101", it searches the project data 16 for a functional element that corresponds to the functional element identified from the read out record (step S22). Specifically, the processing circuit 11 searches the project data 16 for a functional element with a functional element ID of "Lamp 10001".
  • the processing circuit 11 determines whether or not there is a functional element corresponding to the project data 16 (step S23). At this time, since a functional element with functional element ID "lamp 10001" exists in the project data 16 (Yes in step S23), the processing circuit 11 stores that the functional element read from the property data 17 "exists in both data" (step S24). Specifically, the processing circuit 11 creates difference extraction result data and sets the functional element ID and comparison result as items that constitute the record. For example, the processing circuit 11 stores a record with "functional element ID: lamp 10001" and "comparison result: exists in both data” in the difference extraction result data. Note that the difference extraction result data is created, for example, for each difference extraction process.
  • the processing circuit 11 determines whether there is an unconfirmed functional element in the property data 17 (step S26). At this time, since an unconfirmed record corresponding to a functional element with functional element ID "Lamp 10002" remains in the property data 17, the processing circuit 11 determines that there is an unconfirmed functional element in the property data 17 (Yes in step S26), and reads out one unconfirmed functional element in the property data 17 based on the functional element ID (step S21). Specifically, the processing circuit 11 reads out a record with, for example, "Function name: Lamp", "No.: 10002", "Attribute name: Screen”, and "Attribute value: Screen 101".
  • the processing circuit 11 When the processing circuit 11 reads out the record with "Function Name: Lamp”, “No.: 10002", “Attribute Name: Screen”, and “Attribute Value: Screen 101", it searches the project data 16 for a functional element that corresponds to the functional element identified from the read out record (step S22). Specifically, the processing circuit 11 searches the project data 16 for a functional element with a functional element ID of "Lamp 10002".
  • the processing circuit 11 determines whether or not there is a functional element corresponding to the project data 16 (step S23). At this time, since the functional element with the functional element ID "lamp 10002" does not exist in the project data 16 (No in step S23), the processing circuit 11 stores that the functional element read from the property data 17 "exists only in the property data" (step S25). Specifically, the processing circuit 11 stores, for example, a record with "functional element ID: lamp 10002" and "comparison result: exists only in the property data" in the difference extraction result data.
  • the processing circuit 11 determines whether there is an unconfirmed functional element in the property data 17 (step S26). At this time, since there are no unconfirmed records remaining in the property data 17, the processing circuit 11 determines that there is no unconfirmed functional element in the property data 17 (No in step S26), and reads out one functional element in the project data 16 based on the functional element ID (step S27). Specifically, the processing circuit 11 reads out from the project data 16 the functional element with the functional element ID "lamp 10001" within the population to be edited in the project data 16, "screen 101,” and the editing range of the function to be edited, "lamp.”
  • the processing circuit 11 determines whether the functional element read from the project data 16 also exists in the property data 17 (step S28). Specifically, the processing circuit 11 determines, for example, whether the read functional element was determined to "exist in both data” in step S23. At this time, since the functional element with functional element ID "lamp 10001" was determined to "exist in both data” in step S23, the processing circuit 11 determines that the functional element with functional element ID "lamp 10001" also exists in the property data 17 (Yes in step S28) and determines whether there is an unconfirmed functional element in the project data 16 (step S30).
  • the processing circuit 11 determines that there is an unconfirmed functional element in the project data 16 (Yes in step S30), and reads out one unconfirmed functional element in the project data 16 based on the functional element ID (step S27). Specifically, the processing circuit 11 reads out from the project data 16 the functional element with functional element ID "Lamp 10003" within the population to be edited in the project data 16, "Screen 101", and the editing range of the function to be edited, "Lamp".
  • the processing circuit 11 determines whether the functional element read from the project data 16 also exists in the property data 17 (step S28). Specifically, the processing circuit 11 determines whether the read functional element was determined to "exist in both data" in step S23, for example. At this time, since the functional element with the functional element ID "lamp 10003" was not determined to "exist in both data” in step S23, the processing circuit 11 determines that the functional element with the functional element ID "lamp 10003” does not exist in the property data 17 (No in step S28), and stores that the read functional element "exists only in the project data” (step S29). Specifically, the processing circuit 11 stores, for example, a record with "functional element ID: lamp 10003" and "comparison result: exists only in project data” in the difference extraction result data.
  • step S30 the processing circuit 11 determines whether or not there are any unconfirmed functional elements in the project data 16 (step S30). At this time, since there are no unconfirmed functional elements remaining in the project data 16, the processing circuit 11 determines that there are no unconfirmed functional elements in the project data 16 (No in step S30) and ends the difference extraction process.
  • FIG. 7 is a diagram showing an example of difference extraction result data according to an embodiment. From FIG. 7, it can be seen that the functional element with functional element ID "Lamp 10001" "exists in both data”. It can also be seen that the functional element with functional element ID “Lamp 10002” "exists only in the property data”. It can also be seen that the functional element with functional element ID "Lamp 10003" "exists only in the project data”.
  • step S3 the processing circuit 11 executes the editing function 113 and edits the project data 16 based on the created difference extraction result data, for example.
  • the processing circuit 11 reads one record from the difference extraction result data shown in FIG. 7 that was created in the difference extraction process in step S2 (step S3). Specifically, the processing circuit 11 reads the record with the functional element ID "lamp 10001" from the difference extraction result data.
  • the processing circuit 11 refers to the comparison result item of the read record (step S4). Specifically, the processing circuit 11 refers to the contents of the comparison result item of the record with the functional element ID "lamp 10001".
  • the processing circuit 11 updates the functional element of the project data 16 with the content of the functional element of the property data 17 (step S6). Specifically, for the functional element with functional element ID "Lamp 10001", the processing circuit 11 updates the content of the functional element included in the project data 16 with the content of the property data 17. Note that the processing circuit 11 may check in advance whether there is any change in the content of the functional element to be updated, and if there is no change, skip the update process.
  • the processing circuit 11 determines whether there are any unconfirmed records in the differential extraction result data (step S8). At this time, because unconfirmed records with functional element IDs "Lamp 10002" and “Lamp 10001" remain in the differential extraction result data, the processing circuit 11 determines that there are unconfirmed functional elements in the differential extraction result data (Yes in step S8), and reads one unconfirmed record from the differential extraction result data (step S3). Specifically, the processing circuit 11 reads, for example, a record with functional element ID "Lamp 10002" from the differential extraction result data.
  • the processing circuit 11 references the comparison result item of the read record (step S4). Specifically, the processing circuit 11 references the contents of the comparison result item of the record with the functional element ID "lamp 10002".
  • the processing circuit 11 adds the functional element corresponding to functional element ID "Lamp 10002" to the project data 16 (step S5). Specifically, the processing circuit 11 newly reflects the content of the record with "Function name: Lamp”, “No.: 10002", “Attribute name: Screen”, and "Attribute value: Screen 101" included in the property data 17 to the project data 16.
  • step S5 the processing circuit 11 determines whether or not there is an unconfirmed record in the difference extraction result data (step S8). At this time, since an unconfirmed record with functional element ID "lamp 10001" remains in the difference extraction result data, the processing circuit 11 determines that there is an unconfirmed functional element in the difference extraction result data (Yes in step S8), and reads one unconfirmed record from the difference extraction result data (step S3). Specifically, the processing circuit 11 reads a record with functional element ID "lamp 10003" from the difference extraction result data.
  • the processing circuit 11 refers to the comparison result item of the read record (step S4). Specifically, the processing circuit 11 refers to the contents of the comparison result item of the record with the functional element ID "lamp 10003".
  • the processing circuit 11 deletes the functional element corresponding to functional element ID "Lamp 10003" from the project data 16 (step S7). Specifically, the processing circuit 11 deletes from the project data 16 the associated information such as attribute names and attribute values that are associated with functional element ID "Lamp 10003" included in the project data 16.
  • step S5 the processing circuit 11 determines whether there are any unconfirmed records in the differential extraction result data (step S8). At this time, since there are no unconfirmed records remaining in the differential extraction result data, the processing circuit 11 determines that there are no unconfirmed functional elements in the differential extraction result data (No in step S8), and ends the process.
  • the population to be edited in the project data 16 is "screen 101" and the function to be edited is "lamp.” Furthermore, it is assumed that the information representing the record set related to the functional elements contained in the property data 17 before editing and the information representing the record set related to the functional elements contained in the property data 17 after editing are the same as those described above as the premise of the operation example and the explanation of the difference extraction process.
  • FIG. 8 is a diagram for explaining the relationship between pre-edited property data 17 and project data 16 according to an embodiment.
  • FIG. 8 shows a screen showing the contents of property data 17 displayed via a general-purpose editor, a csv file output as property data 17, and a screen showing the contents of project data 16 displayed via drawing software.
  • the information to be output to the property data 17 is edited by a general-purpose editor, and the property data 17 is newly created.
  • the timestamp when the property data 17 was created is "2022/8/1 13:00”
  • the file path of the saved property data is "D: ⁇ Work ⁇ HMIDesign ⁇ PD.csv”.
  • the newly created property data 17 is imported into the drawing software by, for example, the processing circuit 11.
  • the contents of the imported property data 17 are reflected in the project data 16 by, for example, the processing shown in FIG. 5 and FIG. 6.
  • two images are displayed, which represent functional elements included in the functional element with functional element ID "Screen 101", a functional element related to a "red” lamp display for device "Y1", and a functional element related to a "red” lamp display for device "Y3".
  • the "No.” of the two functional elements related to lamp display are "10001" and "10003"
  • the functional element IDs are "Lamp 10001" and "Lamp 10003".
  • FIG. 9 is a diagram for explaining the relationship between edited property data and project data according to an embodiment.
  • FIG. 9 shows a screen showing the contents of property data 17 displayed via a general-purpose editor, a csv file output as property data 17, and a screen showing the contents of project data 16 displayed via drawing software.
  • the contents of the property data 17 newly created in FIG. 8 are edited on a general-purpose editor.
  • the edited contents are the addition of a record related to functional element ID "Lamp 10002" and the deletion of a record related to functional element ID "Lamp 10003”.
  • This edit result is output to property data 17, and edited property data 17 is created.
  • the timestamp when edited property data 17 was created is "2022/8/2 14:00”
  • the file path of the saved property data is "D: ⁇ Work ⁇ HMIDEsign ⁇ PD.csv”.
  • the newly created property data 17 in FIG. 8 is overwritten with the edited property data 17.
  • the newly created property data 17 is imported into the drawing software by the processing circuit 11, for example.
  • the contents of the imported property data 17 are reflected in the project data 16 by the processes shown in FIG. 5 and FIG. 6, for example.
  • FIG. 9 as a result of the edited contents of the property data 17 being reflected in the project data 16, one image representing a functional element (functional element ID "lamp 10002") related to a "red” lamp display for device "Y2" that is included in the functional element with functional element ID "screen 101" is added.
  • a functional element functional element ID "lamp 10002”
  • the processing circuit 11 acquires property data 17 for editing project data 16 created to control the display of a screen displayed on the programmable display device 20.
  • the processing circuit 11 compares the property data 17 with the project data 16 and extracts the differences.
  • the processing circuit 11 edits the project data 16 based on the extracted differences.
  • FIG. 10 is a diagram showing an example of the configuration of a drawing support system 1A according to a modified example.
  • the drawing support system 1A is a system including a drawing support device 10A and a programmable display device 20.
  • the drawing support device 10A and the programmable display device 20 are connected to each other so as to be able to communicate with each other.
  • FIG. 11 is a diagram showing an example of the configuration of a drawing support device 10A according to a modified example.
  • the drawing support device 10A has a processing circuitry 11A, an input interface 12, an output interface 13, a communication interface 14, and a memory circuitry 15.
  • the processing circuit 11A executes the program according to the modified example to, for example, edit the project data 16 shown in FIG. 3. Specifically, the processing circuit 11A executes, for example, a program stored in the memory circuit 15 to realize an acquisition function 111, a difference extraction function 112, an editing function 113, a monitoring function 114, a complement function 115, and a new creation function 116.
  • the acquisition function 111, difference extraction function 112, and editing function 113 are the same as in the above embodiment, so their explanation will be omitted.
  • the monitoring function 114 is a function that, for example, periodically monitors the property data 17, and if the state of the property data 17 has changed, notifies the outside of the change.
  • the processing circuit 11A refers to the property data 17 at a predetermined time interval stored in the memory circuit 15. At this time, the processing circuit 11A, for example, stores in advance the information of the monitoring destination linked to the project data 16 to be edited.
  • the information of the monitoring destination is, for example, the file path of the property data 17 and the timestamp of the last update date and time.
  • the processing circuit 11A refers to the file path in which the property data 17 is stored at a predetermined interval. Then, the processing circuit 11A acquires, for example, timestamp information of the property data 17. If the acquired timestamp information has been updated, the processing circuit 11A notifies the user of the change, for example, via the output interface 13, etc.
  • the processing circuit 11A notifies the user, for example, via the output interface 13, that the property data 17 has been deleted.
  • the processing circuit 11A may notify the change to, for example, the acquisition function 111, the difference extraction function 112, and the editing function 113, and have the change reflected in the project data 16 to be edited.
  • the complement function 115 is a function that complements missing information when, for example, when updating the contents of project data, some information contained in the property data is missing.
  • the processing circuit 11A accepts the input of the property data 17, for example, via the input interface 12 or the like.
  • the processing circuit 11A acquires the contents of the input property data 17. At this time, if the processing circuit 11A determines that some information in the acquired property data 17 is missing, it complements the missing information using a predetermined method and updates the contents of the property data 17.
  • the new creation function 116 is a function that creates new project data and reflects the contents of the property data in the newly created project data even when the project data to be edited does not exist, for example when the input of property data is accepted.
  • the processing circuit 11A accepts the input of property data 17, for example, via the input interface 12.
  • the processing circuit 11A refers to, for example, the memory circuit 15 or a memory reserved for the drawing software, and determines whether or not there is project data 16 to be edited. If the processing circuit 11A determines that there is no project data 16 to be edited, it creates new project data 16.
  • the processing circuit 11A reflects the contents of the property data 17 that was accepted in the newly created project data 16.
  • FIG. 12 is a diagram showing an example of a state monitoring process executed by the drawing support device 10A according to a modified example.
  • the processing circuit 11A in the monitoring function 114 refers to the property data 17, for example, at multiple preset times or at predetermined time intervals from a predetermined time.
  • a timestamp is assigned to the property data 17, and each time the contents of the property data 17 are updated, the value of the timestamp is updated to the time when the contents were updated.
  • the processing circuit 11A refers to the property data 17 stored in the memory circuit 15 (step S1A).
  • the processing circuit 11A determines whether or not there has been a change in the state of the property data 17 (step S2A). Specifically, the processing circuit 11A, for example, obtains the timestamp assigned to the property data 17, compares the value of the stored timestamp with the value of the obtained timestamp, and determines whether or not there is a difference.
  • step S2A determines that there is a difference between the stored timestamp value and the acquired timestamp value, and that there has been a change in the state of the property data 17 (Yes in step S2A), it notifies the user of the change in the property data 17, for example, via the output interface 13 (step S3A). Then, the processing circuit 11A ends the processing and waits until the next preset time arrives. When the next preset time arrives, the processing circuit 11A executes step S1A again.
  • step S2A If the processing circuit 11A determines that there is no difference between the stored timestamp value and the acquired timestamp value, and that there is no change in the state of the property data 17 (No in step S2A), it ends the processing and waits until the next preset time arrives. When the next preset time arrives, the processing circuit 11A executes step S1A again.
  • FIG. 13 is a diagram for explaining the monitoring of the state of property data 17 according to a modified example.
  • the processing circuit 11A When a preset third time arrives, the processing circuit 11A refers to the property data 17. At this time, since the property data 17 has been changed, the processing circuit 11A detects this change in the property data 17 and notifies the user, for example, via the output interface 13.
  • FIG. 14 is a diagram showing an example of a notification method when a change in property data 17 according to a modified example is detected.
  • An example of notification to the user will be described below with reference to FIG. 14.
  • FIG. 14 shows an example of an editing window for drawing software displayed on a display, which is an example of the output interface 13.
  • the message "There are changes in the property data that have not been reflected" is displayed on the screen 101.
  • Examples of the display form include a badge display and a pop-up window.
  • the processing circuit 11A may be configured to notify the result of the difference extraction.
  • the user can notice that there has been a change in the property data 17, specifically, that there has been a change in the settings of the screen 101.
  • the user can notice that an inconsistency has occurred between the property data 17 and the project data 16 due to the re-editing of the property data 17 after the contents of the property data 17 have been reflected in the project data 16. This makes it possible to prevent the changes in the re-edited property data 17 from being missed and reflected in the project data 16.
  • FIG. 15 is a diagram for explaining the complementation process of property data 17 relating to a modified example.
  • FIG. 15 shows an example in which, for example, there is project data 16 that does not use the number "10001" for the "numeric display” function, and a "numeric display” function for which no number is set is added to the project data 16.
  • the processing circuit 11A in the complementation function 115 complements the record for the function name "numeric display” by assuming that "10001" is set as the number value, and reflects the information of the record related to the functional element ID "numeric display 10001" in the project data 16.
  • the processing circuit 11A complements a record in the input property data 17, for example, "Function name: Lamp,” “No.: 10001,” “Attribute name: Color,” and “Attribute value: Blank,” by assuming that "red” is set as the attribute value, and reflects the information of the record related to the functional element ID "Lamp 10001" in the project data 16.
  • the processing circuit 11A considers that although there is no record with "attribute name: color”, there is a record with "function name: lamp”, “No.: 10002", “attribute name: color”, and “attribute value: red”, and complements it, reflecting the information of the record related to the functional element ID "lamp 10002" in the project data 16.
  • FIG. 16 is a diagram for explaining the reflection process of property data 17 when there is no project data 16 being edited according to a modified example.
  • FIG. 16 shows how the property data 17 is input by the user through a drag-and-drop operation into a drawing window W1 in which there is no project data 16 being edited.
  • the processing circuit 11A creates new project data 16 corresponding to the input property data 17 and reflects the contents of the property data 17 in the newly created project data 16. This reduces the effort required by the user to prepare project data 16 corresponding to the edited property data 17, for example, when the user edits already created property data 17, even if there is no project data 16 reflecting the pre-edited property data 17.
  • the drawing support device 10 includes the output interface 13, but this is not limited to the above. Specifically, the output interface 13 may be externally attached to the drawing support device 10, and the drawing support device 10 may not include the output interface 13.
  • the project data 16 before changes are made by the edited property data 17 is the property data 17 that the user has created in advance using a method of his choice, and the content of the property data is reflected in the project data 16; however, this is not limited to the above.
  • the project data 16 before changes are made may be something like template data created using a specified method, or may be project data 16 that was created in the past using a method of his choice.
  • Such programs may be distributed in any manner; for example, they may be stored on a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card and distributed, or they may be distributed via a communications network such as the Internet.
  • a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card and distributed, or they may be distributed via a communications network such as the Internet.
  • a drawing support program a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

A drawing assistance program according to the present disclosure causes a computer to implement: an acquisition function (111) for acquiring property data (117) for editing project data (116) for controlling display of a screen displayed on a programmable display device; a difference extraction function (112) for comparing the property data (117) with the project data (116) and extracting a difference therebetween; and an editing function (113) for editing the project data (116) on the basis of the extracted difference.

Description

作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムDrawing support program, drawing support method, drawing support device, and drawing support system
 本開示は、作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムに関する。 This disclosure relates to a drawing support program, a drawing support method, a drawing support device, and a drawing support system.
 プログラマブル表示器は、例えば、PLC(Programmable Logic Controller)等の制御装置と接続され、自装置及び接続された制御装置の状態を表示し、操作することに用いられる。プログラマブル表示器に表示されるコンテンツを構成するデータセットとして、例えば、プロジェクトデータが用いられる。プロジェクトデータは、制御装置の状態表示及び操作のためのデータであって、作画ソフトウェアをインストールしたコンピュータである作画支援装置を用いて作成される。作成されたプロジェクトデータは、作画支援装置からプログラマブル表示器に転送される。プロジェクトデータは、通常、テキストエディタやスプレッドシートアプリケーション等の汎用エディタで読み書き可能なデータ形式を有していないため、その作成後に内容に変更を加えたい場合には、例えば、作画ソフトウェアが備えるGUI(Graphical User Interface)等を介してその内容が変更される。 The programmable display is connected to a control device such as a PLC (Programmable Logic Controller) and is used to display and operate the status of the device itself and the connected control device. Project data, for example, is used as a data set that constitutes the content displayed on the programmable display. Project data is data for displaying and operating the status of the control device, and is created using a drawing support device, which is a computer on which drawing software is installed. The created project data is transferred from the drawing support device to the programmable display. Project data does not usually have a data format that can be read and written by general-purpose editors such as text editors and spreadsheet applications, so if it is desired to make changes to the content after its creation, the content is changed, for example, via a GUI (Graphical User Interface) provided by the drawing software.
 このとき、一般的に、作画ソフトウェアにより新規作成されたプロジェクトデータは、個々のプログラマブル表示器の要求仕様に対応する内容になっていない。このため、プロジェクトデータを作成するユーザは、例えば、所望の仕様に変更する等の目的で、通常、作画ソフトウェアが備えるGUI等を介してその内容を編集する。また、ユーザは、過去に所定の要求仕様に合わせて作成されたプロジェクトデータを流用する目的で、GUI等を介してプロジェクトデータを編集する場合がある。 In this case, the new project data created by the drawing software generally does not correspond to the required specifications of each programmable display device. For this reason, the user who creates the project data usually edits the contents via a GUI or the like provided by the drawing software, for example, to change the specifications to the desired specifications. In addition, the user may edit the project data via a GUI or the like in order to reuse project data that was previously created to match certain required specifications.
 ここで、プロジェクトデータを編集するユーザは、GUI等を介したプロジェクトデータの編集に備えて、プロジェクトデータを編集するための情報を、プロパティデータとして予め作成している場合がある。プロパティデータは、プロジェクトデータとは異なり汎用エディタで読み書き可能なデータ形式を有する。 In this case, a user who edits the project data may prepare information for editing the project data in advance as property data in preparation for editing the project data via a GUI or the like. Unlike project data, property data has a data format that can be read and written by a general-purpose editor.
 プロジェクトデータの編集については、種々の技術が提案されている。例えば、特許文献1では、共通で用いられる雛形となるプロジェクトデータに対して、個々のプログラマブル表示器の要求仕様に合わせた個別設定情報を含むプロジェクトプロパティデータの内容を反映させることにより、個々のプログラマブル表示器の要求仕様に対応したプロジェクトデータが作成される技術が開示されている。このとき、個別設定情報は、例えば、プロジェクトデータを構成する作画データに含まれるオブジェクト及びバックグラウンド機能それぞれに設定される設定IDで管理されている。 Various techniques have been proposed for editing project data. For example, Patent Document 1 discloses a technique for creating project data that corresponds to the required specifications of each programmable display by reflecting the contents of project property data, which includes individual setting information that matches the required specifications of each programmable display, in project data that serves as a commonly used template. At this time, the individual setting information is managed, for example, by setting IDs that are set for each of the objects and background functions included in the drawing data that constitutes the project data.
国際公開第2013/080332号International Publication No. 2013/080332
 しかしながら、上記の特許文献1では、例えば、雛形となるプロジェクトデータを編集するためのプロジェクトプロパティデータに対して設定IDで管理される特定の要素の追加、又は、削除が行われた場合、この編集内容をプロジェクトデータに反映することはできない。このとき、ユーザは、特定の要素が追加又は削除されたことについて、例えば、作画ソフトウェアが備えるGUI等を介してプロジェクトデータを手動で編集して反映させる必要があり、プロジェクトデータの編集効率が悪いという問題があった。 However, in the above-mentioned Patent Document 1, for example, when a specific element managed by a setting ID is added to or deleted from project property data for editing template project data, this edit content cannot be reflected in the project data. In this case, the user must manually edit the project data to reflect the addition or deletion of the specific element, for example, via a GUI provided in the drawing software, resulting in a problem of poor efficiency in editing the project data.
 本開示は、上記事情に鑑みてなされたものであり、プログラマブル表示器に表示される画面の表示を制御するためのプロジェクトデータの編集効率を向上させることが可能な作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムを提供することを目的とする。 The present disclosure has been made in consideration of the above circumstances, and aims to provide a drawing support program, a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
 上記目的を達成するために、本開示に係る作画支援プログラムは、コンピュータに、プログラマブル表示器に表示される画面の表示を制御するために作成されたプロジェクトデータを編集するためのプロパティデータを取得する取得機能と、プロパティデータとプロジェクトデータとを比較し、その差分を抽出する差分抽出機能と、差分に基づいて、プロジェクトデータを編集する編集機能と、を実現させる。 In order to achieve the above objective, the drawing support program disclosed herein provides a computer with an acquisition function for acquiring property data for editing project data created to control the display of a screen displayed on a programmable display device, a difference extraction function for comparing the property data with project data and extracting the differences, and an editing function for editing the project data based on the differences.
 本開示によれば、プログラマブル表示器に表示される画面の表示を制御するためのプロジェクトデータの編集効率を向上させることが可能な作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムを提供することができる。 According to the present disclosure, it is possible to provide a drawing support program, a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
実施形態に係る作画支援システムの構成例を示す図FIG. 1 is a diagram showing an example of the configuration of a drawing support system according to an embodiment; 実施形態に係る作画支援装置の構成例を示す図FIG. 1 is a diagram showing an example of the configuration of a drawing support device according to an embodiment; 実施形態に係るプロジェクトデータのデータ構造を説明するための図FIG. 1 is a diagram for explaining a data structure of project data according to an embodiment; 実施形態に係るプロパティデータのデータ構造を説明するための図FIG. 1 is a diagram for explaining a data structure of property data according to an embodiment; 実施形態に係る作画支援装置の動作例を示す図FIG. 1 is a diagram showing an example of the operation of a drawing support device according to an embodiment; 実施形態に係る作画支援装置が実行する差分抽出処理の例を示す図FIG. 1 is a diagram showing an example of a difference extraction process executed by the drawing support device according to the embodiment; 実施形態に係る差分抽出結果データの例を示す図FIG. 13 is a diagram showing an example of difference extraction result data according to the embodiment; 実施形態に係る編集前の汎用エディタ、プロパティデータ、プロジェクトデータの関係を説明するための図FIG. 1 is a diagram for explaining the relationship between a general-purpose editor, property data, and project data before editing according to an embodiment; 実施形態に係る編集後の汎用エディタ、プロパティデータ、プロジェクトデータの関係を説明するための図FIG. 1 is a diagram for explaining the relationship between a general-purpose editor, property data, and project data after editing according to an embodiment; 変形例に係る作画支援システムの構成例を示す図FIG. 13 is a diagram showing a configuration example of a drawing support system according to a modified example. 変形例に係る作画支援装置の構成例Configuration example of drawing support device according to modified example 変形例に係る作画支援装置が実行する状態監視処理の例を示す図FIG. 11 is a diagram showing an example of a state monitoring process executed by a drawing support device according to a modified example; 変形例に係るプロパティデータの状態監視を説明するための図FIG. 13 is a diagram for explaining state monitoring of property data according to a modified example. 変形例に係るプロパティデータの変更が検知された際の通知方法の例を示す図FIG. 13 is a diagram showing an example of a notification method when a change in property data is detected according to a modified example. 変形例に係るプロパティデータの補完処理を説明するための図FIG. 13 is a diagram for explaining a property data complementation process according to a modified example; 変形例に係る編集中のプロジェクトデータがない場合のプロパティデータ反映処理を説明するための図FIG. 13 is a diagram for explaining a property data reflection process in a case where there is no project data being edited according to a modified example;
 以下、図面を参照しながら実施の形態に係る作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムについて説明する。以下の実施形態では、同一の参照符号を付した部分は同様の動作をおこなうものとして、重複する説明を適宜省略する。 The following describes the drawing support program, drawing support method, drawing support device, and drawing support system according to the embodiments, with reference to the drawings. In the following embodiments, parts with the same reference numerals perform similar operations, and duplicated descriptions will be omitted as appropriate.
(実施形態)
 図1は、実施形態に係る作画支援システム1の構成例を示す図である。
 作画支援システム1は、作画支援装置10、及びプログラマブル表示器20を含むシステムである。作画支援装置10とプログラマブル表示器20とは、通信可能に接続されている。
 作画支援装置10は、プログラマブル表示器20において表示される表示画面の作画を支援する装置である。作画支援装置10には、例えば、プログラマブル表示器20において表示される表示画面の作画を行うための作画ソフトウェアがインストールされている。例えば、作画ソフトウェアを使用するユーザは、プログラマブル表示器20で表示される様々な画面を、GUI(Graphic User Interface)を介して編集可能である。
(Embodiment)
FIG. 1 is a diagram showing an example of the configuration of a drawing support system 1 according to an embodiment.
The drawing support system 1 is a system including a drawing support device 10 and a programmable display device 20. The drawing support device 10 and the programmable display device 20 are connected to each other so as to be able to communicate with each other.
The drawing support device 10 is a device that supports drawing of a display screen to be displayed on the programmable display device 20. For example, drawing software for drawing the display screen to be displayed on the programmable display device 20 is installed in the drawing support device 10. For example, a user who uses the drawing software can edit various screens to be displayed on the programmable display device 20 via a GUI (Graphic User Interface).
 プログラマブル表示器20は、例えば、プログラマブル表示器20に接続される外部機器の状態についての情報を表示する。また、プログラマブル表示器20は、所定の操作を受け付け、受け付けた操作に従って外部機器を制御する。外部機器は、例えば、PLC(Programmable Logic Controller)である。 The programmable display 20 displays, for example, information about the state of an external device connected to the programmable display 20. The programmable display 20 also accepts a specific operation and controls the external device in accordance with the accepted operation. The external device is, for example, a PLC (Programmable Logic Controller).
 図2は、実施形態に係る作画支援装置10の構成例を示す図である。
 作画支援装置10は、処理回路11、入力インタフェース12、出力インタフェース13、通信インタフェース14、及び記憶回路15を有する。
FIG. 2 is a diagram showing an example of the configuration of the drawing support device 10 according to the embodiment.
The drawing support device 10 has a processing circuitry 11 , an input interface 12 , an output interface 13 , a communication interface 14 , and a memory circuitry 15 .
 処理回路11は、作画支援装置10の中枢として機能するプロセッサである。処理回路11は、例えば、記憶回路15に記憶されているプログラムを実行することで、実行したプログラムに対応する機能を実現する。なお、処理回路11は、記憶回路15で記憶されているデータの少なくとも一部を記憶する記憶領域を備えていても構わない。 The processing circuitry 11 is a processor that functions as the core of the drawing support device 10. For example, the processing circuitry 11 executes a program stored in the memory circuitry 15, thereby realizing a function corresponding to the executed program. The processing circuitry 11 may also be provided with a memory area that stores at least a portion of the data stored in the memory circuitry 15.
 入力インタフェース12は、作画支援装置10に対して操作者から入力される各種操作を受け付ける。入力インタフェース12は、例えば、マウス、キーボード、及び操作面へ触れることで指示が入力されるタッチパネル等により実現される。入力インタフェース12は、処理回路11に接続され、操作者から入力される操作指示を電気信号へ変換し、電気信号を処理回路11へ出力する。なお、本明細書において入力インタフェース12はマウス、及びキーボード等の物理的な操作部品を備えるものだけに限られない。例えば、作画支援装置10とは別体に設けられた外部の入力機器から入力される操作指示に対応する電気信号を受け取り、この電気信号を処理回路11へ出力する電気信号の処理回路も入力インタフェース12の例に含まれる。 The input interface 12 accepts various operations input by the operator to the drawing support device 10. The input interface 12 is realized by, for example, a mouse, a keyboard, and a touch panel where instructions are input by touching the operation surface. The input interface 12 is connected to the processing circuit 11, converts the operation instructions input by the operator into electrical signals, and outputs the electrical signals to the processing circuit 11. Note that in this specification, the input interface 12 is not limited to those equipped with physical operation parts such as a mouse and a keyboard. For example, an electrical signal processing circuit that receives an electrical signal corresponding to an operation instruction input from an external input device provided separately from the drawing support device 10 and outputs this electrical signal to the processing circuit 11 is also included as an example of the input interface 12.
 出力インタフェース13は、処理回路11に接続され、処理回路11から供給される信号を出力する。出力インタフェース13は、例えば、表示回路、及び音声デバイス等により実現される。表示回路には、例えば、CRTディスプレイ、液晶ディスプレイ、有機ELディスプレイ、LEDディスプレイ、及びプラズマディスプレイ等が含まれる。音声デバイスには、例えば、スピーカ等を含む。また、音声デバイスには、音声信号を外部へ出力する出力回路が含まれていてもよい。なお、出力インタフェース13は、入力インタフェース12と共にタッチパネル、あるいはタッチスクリーンとして実現されてもよい。 The output interface 13 is connected to the processing circuit 11 and outputs a signal supplied from the processing circuit 11. The output interface 13 is realized, for example, by a display circuit and an audio device. The display circuit includes, for example, a CRT display, a liquid crystal display, an organic EL display, an LED display, and a plasma display. The audio device includes, for example, a speaker. The audio device may also include an output circuit that outputs an audio signal to the outside. The output interface 13 may be realized as a touch panel or a touch screen together with the input interface 12.
 通信インタフェース14は、外部装置との間でデータを送受信する。通信インタフェース14と外部装置との間では任意の通信規格が使用可能である。具体的には、通信インタフェース14は、例えば、プログラマブル表示器20との間で種々のデータを送受信する。 The communication interface 14 transmits and receives data to and from an external device. Any communication standard can be used between the communication interface 14 and the external device. Specifically, the communication interface 14 transmits and receives various types of data to and from, for example, the programmable display device 20.
 記憶回路15は、磁気的、若しくは光学的記録媒体、又は半導体メモリ等の、プロセッサにより読み取り可能な記録媒体等を含む。また、記憶回路15は、CD-ROMドライブ、DVDドライブ、及びフラッシュメモリ等の可搬性記憶媒体との間で種々の情報を読み書きする駆動装置等であっても良い。なお、記憶回路15は、必ずしも単一の記憶装置により実現される必要は無い。例えば、記憶回路15は、複数の記憶装置により実現されても構わない。 The memory circuit 15 includes a processor-readable recording medium, such as a magnetic or optical recording medium, or a semiconductor memory. The memory circuit 15 may also be a drive device that reads and writes various information to and from a portable storage medium, such as a CD-ROM drive, a DVD drive, or a flash memory. The memory circuit 15 does not necessarily have to be realized by a single storage device. For example, the memory circuit 15 may be realized by multiple storage devices.
 記憶回路15は、例えば、図2に示されるプロジェクトデータ16、及び、プロパティデータ17を記憶している。 The memory circuit 15 stores, for example, project data 16 and property data 17 shown in FIG. 2.
 プロジェクトデータ16は、プログラマブル表示器に表示される画面の表示を制御するためのデータである。プロジェクトデータ16には、例えば、プロジェクト設定に関する情報、表示される画面に関する情報、バックグラウンド機能に関する情報等が含まれている。プロジェクトデータ16は、例えば、作画支援装置10にインストールされた作画ソフトウェアにより作成される。作成されたプロジェクトデータ16は、作画支援装置10からプログラマブル表示器20に転送される。プログラマブル表示器20に転送されたプロジェクトデータ16は、例えば、プログラマブル表示器20が備える表示プログラムにより読み込まれて展開され、プログラマブル表示器20に表示される画面の表示制御に直接関与する。また、作成されたプロジェクトデータ16は、記憶回路15に記憶され、例えば、再び作画ソフトウェアで取り込み再利用することが可能である。作画ソフトウェア上に取り込まれたプロジェクトデータ16は、例えば、出力インタフェース13を介してその内容が画面表示される。なお、プロジェクトデータ16は、テキストエディタやスプレッドシートアプリケーション等の汎用エディタで読み書き可能なデータ形式を有しておらず、例えば、作画ソフトウェアが備えるGUI上で編集可能なデータである。 The project data 16 is data for controlling the display of a screen displayed on the programmable display. The project data 16 includes, for example, information on project settings, information on the screen to be displayed, information on background functions, and the like. The project data 16 is created, for example, by drawing software installed in the drawing support device 10. The created project data 16 is transferred from the drawing support device 10 to the programmable display device 20. The project data 16 transferred to the programmable display device 20 is read and expanded, for example, by a display program included in the programmable display device 20, and is directly involved in the display control of the screen displayed on the programmable display device 20. The created project data 16 is stored in the memory circuit 15, and can be, for example, imported again by the drawing software and reused. The project data 16 imported into the drawing software is displayed on the screen, for example, via the output interface 13. Note that the project data 16 does not have a data format that can be read and written by a general-purpose editor such as a text editor or a spreadsheet application, and is, for example, data that can be edited on a GUI included in the drawing software.
 図3は、実施形態に係るプロジェクトデータ16のデータ構造を説明するための図である。図3に示されるプロジェクトデータ16は、画面表示を制御するための各種機能に関する要素(以下、機能要素と称する)で構成されている。具体的には、例えば、プロジェクト設定に関する機能要素161、画面群に関する機能要素162、バックグラウンド機能に関する機能要素163が挙げられる。また、機能要素は、階層的に構成されている。例えば、機能要素161には、監視先情報に関する機能要素1611が含まれている。また、機能要素162には、画面に関する機能要素1621、1622が含まれている。また、機能要素163には、アラーム機能に関する機能要素1631、レシピ機能に関する機能要素1632が含まれている。さらに、機能要素1621には、画面設定に関する機能要素1623、オブジェクト群に関する機能要素1624が含まれている。さらに、機能要素1624には、個々のオブジェクトに関する機能要素1625、1626が含まれている。図3において、機能要素1622、1631、1632についても同様の階層構造を有していることが分かる。そして、各機能要素には、例えば、その役割・機能等に応じて、画像データ、各種設定情報等が紐づけられている。 3 is a diagram for explaining the data structure of project data 16 according to an embodiment. Project data 16 shown in FIG. 3 is composed of elements (hereinafter referred to as functional elements) related to various functions for controlling screen display. Specifically, for example, functional element 161 related to project settings, functional element 162 related to screen groups, and functional element 163 related to background functions are included. Furthermore, the functional elements are hierarchically structured. For example, functional element 161 includes functional element 1611 related to monitoring destination information. Furthermore, functional element 162 includes functional elements 1621 and 1622 related to screens. Furthermore, functional element 163 includes functional element 1631 related to an alarm function and functional element 1632 related to a recipe function. Furthermore, functional element 1621 includes functional element 1623 related to screen settings and functional element 1624 related to object groups. Furthermore, functional element 1624 includes functional elements 1625 and 1626 related to individual objects. In FIG. 3, it can be seen that functional elements 1622, 1631, and 1632 also have a similar hierarchical structure. Each functional element is associated with image data, various setting information, and the like, depending on its role, function, and the like.
 また、図3に示されるように、各機能要素には、機能要素毎に「機能名」及び「No.」が付されている。そして、機能要素は、例えば、「機能名」及び「No.」の組合せを識別子として識別される。具体的には、図3に示される機能要素1624について、オブジェクトの名称、すなわち「機能名」が「ランプ」、「No.」が「10001」で示され、識別子は「ランプ10001」となる。以下、この「機能名+機能中の整理番号を示すNo.」で表される識別子を機能要素IDと称する。なお、機能要素IDは、文字列と数値の組合せからなる例を示したがこれに限定されない。機能要素IDは、例えば、数値のみからなっていてもよいし、その他記号が含まれていてもよい。 Furthermore, as shown in FIG. 3, each functional element is assigned a "function name" and a "number." The functional element is identified, for example, by an identifier that is a combination of the "function name" and "number." Specifically, for the functional element 1624 shown in FIG. 3, the name of the object, i.e., the "function name" is "Lamp" and the "number" is "10001," resulting in an identifier "Lamp 10001." Hereinafter, this identifier represented by "function name + number indicating the serial number within the function" will be referred to as the functional element ID. Note that, although an example of the functional element ID consisting of a combination of a character string and a numerical value has been shown, this is not limiting. The functional element ID may consist of only numerical values, for example, or may include other symbols.
 また、プロジェクトデータ16に対しては、機能要素毎に情報の追加、更新、及び削除が実行される。すなわち、機能要素は、プロジェクトデータ16において編集対象となるデータセットである。また、プロジェクトデータの編集とは、機能要素単位の処理であって、少なくとも、プロジェクトデータへ機能要素を追加すること、プロジェクトデータに含まれる機能要素の内容を更新すること、及び、プロジェクトデータに含まれる機能要素を削除することが含まれる。 In addition, information is added, updated, and deleted for each functional element in the project data 16. That is, a functional element is a data set to be edited in the project data 16. Editing the project data is a process on a functional element basis, and includes at least adding a functional element to the project data, updating the contents of the functional elements included in the project data, and deleting a functional element included in the project data.
 プロパティデータ17は、プロジェクトデータ16を編集するためのデータである。プロパティデータ17には、プロジェクトデータ16を構成するデータセットのうち、例えば、画像データ、及びデザインテーマのようなテンプレートデータ等を除くテキストデータが含まれている。プロパティデータ17は、プロジェクトデータ16とは異なり汎用エディタで読み書き可能なデータ形式を有している。具体的には、プロパティデータ17は、例えば、機能要素IDと、機能要素IDで特定される機能要素が有する編集可能な属性を表す属性名称と、その属性に設定された属性値とが関連付けられたレコード形式の情報を有する。プロパティデータ17のファイル形式は、例えば、テキスト、CSV、XML、HTML、JSON等である。なお、プロパティデータ17のファイル形式は、機能要素、属性名称、属性値との対応関係が作画ソフトウェアが認識できるものであれば形式を問わない。 The property data 17 is data for editing the project data 16. The property data 17 includes text data from among the data sets constituting the project data 16, excluding, for example, image data and template data such as design themes. Unlike the project data 16, the property data 17 has a data format that can be read and written by a general-purpose editor. Specifically, the property data 17 has information in a record format that associates, for example, a functional element ID, an attribute name that indicates an editable attribute of the functional element identified by the functional element ID, and an attribute value set for the attribute. The file format of the property data 17 is, for example, text, CSV, XML, HTML, JSON, etc. The file format of the property data 17 is not limited as long as the correspondence between the functional element, the attribute name, and the attribute value can be recognized by the drawing software.
 また、プロパティデータ17には対象範囲情報を含めることができる。対象範囲情報により、プロパティデータのインポートによって編集されるプロジェクトデータの範囲を限定することが出来る。なお、対象範囲情報は、省略可能である。 In addition, the property data 17 can include target range information. The target range information can limit the range of project data that is edited by importing the property data. Note that the target range information is optional.
 図4は、実施形態に係るプロパティデータ17のデータ構造を説明するための図である。図4に示されるように、プロパティデータ17は、テキストデータを有している。図4に示されるプロパティデータ17では、対象範囲情報によりプロジェクトデータ16に対する編集の対象範囲が限定されている。 FIG. 4 is a diagram for explaining the data structure of property data 17 according to an embodiment. As shown in FIG. 4, property data 17 has text data. In the property data 17 shown in FIG. 4, the target range of editing for project data 16 is limited by the target range information.
 図4に示される範囲R1には、対象範囲情報が含まれている。図4に示される範囲R1では、編集対象となる母集団が識別子「画面101」の機能要素であることが示されている。また、編集対象となる機能の機能名が「ランプ」、「数値表示」であることが示されている。 Range R1 shown in FIG. 4 includes target range information. Range R1 shown in FIG. 4 indicates that the population to be edited is the functional element with identifier "screen 101." It also indicates that the function names of the functions to be edited are "lamp" and "numeric display."
 図4に示される範囲R2には、機能要素に関するレコードセットを表す情報が含まれている。具体的には、図4に示される範囲R2には、例えば、レコードを構成する項目を表す機能名、No.、属性名称、属性値が紐づけられたレコードセットを表す情報が含まれている。具体的には、例えば、「機能名:ランプ」、「No.:10001」、「属性名称:画面」、及び「属性値:画面101」であるレコードが含まれている。なお、このレコードの機能要素IDは、機能名にNo.を加えた「ランプ10001」となる。また、プロパティデータ17において、1つの機能要素IDに対応するレコードは複数であってもよく、例えば、図4によれば、機能要素ID「ランプ10001」に対応する2つ目のレコードとして、「機能名:ランプ」、「No.:10001」、「属性名称:デバイス」、及び「属性値:Y1」であるレコードが含まれている。他のレコードについては同様のデータ構造であるため、説明を省略する。 Range R2 shown in FIG. 4 includes information representing a record set related to functional elements. Specifically, range R2 shown in FIG. 4 includes information representing a record set in which, for example, function names, numbers, attribute names, and attribute values representing the items constituting a record are linked. Specifically, for example, records with "function name: lamp", "number: 10001", "attribute name: screen", and "attribute value: screen 101" are included. The functional element ID of this record is "lamp 10001", which is the function name plus number. In addition, in property data 17, there may be multiple records corresponding to one functional element ID. For example, according to FIG. 4, a record with "function name: lamp", "number: 10001", "attribute name: device", and "attribute value: Y1" is included as the second record corresponding to functional element ID "lamp 10001". The other records have a similar data structure, so their explanations are omitted.
 記憶回路15は、処理回路11からの制御に応じ、記憶しているデータを読み出す。例えば、記憶回路15は、処理回路11からの制御に応じ、記憶しているプログラムを読み出す。また、記憶回路15は、処理回路11からの制御に応じ、プロジェクトデータ16、プロパティデータ17、及びその他記憶している各種データを読み出す。 The memory circuitry 15 reads out stored data in response to control from the processing circuitry 11. For example, the memory circuitry 15 reads out stored programs in response to control from the processing circuitry 11. The memory circuitry 15 also reads out project data 16, property data 17, and various other stored data in response to control from the processing circuitry 11.
 本実施形態に係る処理回路11は、本実施形態に係るプログラムを実行することにより、例えば、図3に示されるプロジェクトデータ16を編集する。具体的には、処理回路11は、例えば、記憶回路15に記憶されるプログラムを実行することで、取得機能111、差分抽出機能112、及び編集機能113を実現する。 The processing circuitry 11 according to this embodiment executes the program according to this embodiment to, for example, edit the project data 16 shown in FIG. 3. Specifically, the processing circuitry 11 executes, for example, a program stored in the memory circuitry 15 to realize an acquisition function 111, a difference extraction function 112, and an editing function 113.
 取得機能111は、プロジェクトデータを編集するためのプロパティデータ17を取得する機能である。取得機能111において処理回路11は、例えば、ユーザの操作を起点としてプロパティデータ17を取得する。具体的には、ユーザは、汎用エディタ、又は設計書をプロパティデータの形式に変換するツールの利用等の任意の方法でプロパティデータ17を作成し、作成されたプロパティデータ17を作画支援装置10に入力する操作を実行する。このとき、プロパティデータ17の内容が反映される対象となるプロジェクトデータ16は、例えば、作画ソフトウェアに読み込まれており、処理回路11が参照可能である。処理回路11は、プロパティデータ17の入力操作がなされると、入力されたプロパティデータ17を取得する。 The acquisition function 111 is a function for acquiring property data 17 for editing project data. In the acquisition function 111, the processing circuit 11 acquires the property data 17, for example, starting from a user operation. Specifically, the user creates the property data 17 by any method, such as using a general-purpose editor or a tool for converting a design document into the format of property data, and executes an operation to input the created property data 17 into the drawing support device 10. At this time, the project data 16 in which the contents of the property data 17 are reflected is, for example, loaded into drawing software and can be referenced by the processing circuit 11. When an input operation for the property data 17 is performed, the processing circuit 11 acquires the input property data 17.
 差分抽出機能112は、プロジェクトデータ16と対応するプロパティデータ17とを比較し、その差分を抽出する機能である。差分抽出機能112において処理回路11は、例えば、プロジェクトデータ16及びプロパティデータ17とで共通に認識可能なIDを用いて、両データの差分を抽出する。IDは、例えば、機能要素IDである。 The difference extraction function 112 is a function that compares the project data 16 with the corresponding property data 17 and extracts the differences. In the difference extraction function 112, the processing circuit 11 extracts the differences between the two data, for example, by using an ID that can be commonly recognized by the project data 16 and the property data 17. The ID is, for example, a functional element ID.
 編集機能113は、差分抽出機能112の実行により抽出されたプロジェクトデータ16とプロパティデータ17との差分に基づいて、プロジェクトデータ16を編集する機能である。編集機能113において処理回路11は、例えば、プロパティデータ17のみに所定の機能要素が含まれていた場合、当該機能要素をプロジェクトデータ16に追加する。具体的には、処理回路11は、例えば、プロパティデータ17に含まれる所定の機能要素に関するレコードの情報を、必要に応じて画像データ、各種設定情報等を紐づけてプロジェクトデータ16に反映させる。これにより、プロジェクトデータ16に所定の機能要素の内容が追加される。また、処理回路11は、例えば、プロジェクトデータ16及びプロパティデータ17の両方に所定の機能要素が含まれていた場合、プロパティデータ17の内容でプロジェクトデータ16の内容を更新する。また、処理回路11は、例えば、プロジェクトデータ16のみに特定のIDを有する機能要素が含まれていた場合、当該機能要素をプロジェクトデータ16から削除する。 The editing function 113 is a function that edits the project data 16 based on the difference between the project data 16 and the property data 17 extracted by executing the difference extraction function 112. In the editing function 113, for example, if only the property data 17 contains a specific functional element, the processing circuit 11 adds the functional element to the project data 16. Specifically, the processing circuit 11 reflects, for example, record information related to the specific functional element contained in the property data 17 in the project data 16 by linking it to image data, various setting information, etc. as necessary. This adds the content of the specific functional element to the project data 16. Also, for example, if both the project data 16 and the property data 17 contain a specific functional element, the processing circuit 11 updates the content of the project data 16 with the content of the property data 17. Also, for example, if only the project data 16 contains a functional element with a specific ID, the processing circuit 11 deletes the functional element from the project data 16.
 以上のように構成された作画支援装置10による動作を、処理回路11の処理手順に従って説明する。図5は、実施形態に係る作画支援装置10の動作例を示す図である。図6は、実施形態に係る作画支援装置10が実行する差分抽出処理の例を示す図である。以降では、図5のフローチャート、図6のフローチャートを参照しながら説明する。 The operation of the drawing support device 10 configured as above will be explained in accordance with the processing procedure of the processing circuit 11. FIG. 5 is a diagram showing an example of the operation of the drawing support device 10 according to the embodiment. FIG. 6 is a diagram showing an example of the difference extraction process executed by the drawing support device 10 according to the embodiment. The following explanation will be given with reference to the flowcharts of FIG. 5 and FIG. 6.
 本動作例では、所定の時点で作成されたプロジェクトデータ16が作画ソフトウェア上に読み込まれており、このプロジェクトデータ16に対して、対応するプロパティデータ17の内容が反映されるものとする。このとき、プロパティデータ17は、例えば、ユーザの操作を起点として作画ソフトウェアに取り入れられるものとする。なお、ユーザは、事前に、任意の方法でプロパティデータ17を作成し、一度プロジェクトデータ16にその内容を反映するものとする。そして、ユーザは、プロジェクトデータ16への反映後、プロパティデータ17に対して所定の編集処理を行うものとする。そして、ユーザは、作画ソフトウェアに編集後のプロパティデータ17を入力する操作を実行するものとする。そして、処理回路11は、編集後のプロパティデータ17の入力操作がなされると、取得機能111を実行するものとする。 In this operation example, project data 16 created at a specific time is loaded into the drawing software, and the contents of the corresponding property data 17 are reflected in this project data 16. At this time, the property data 17 is taken into the drawing software, for example, starting from a user operation. Note that the user creates the property data 17 in advance using a method of their choice, and reflects the contents in the project data 16 once. After reflecting the contents in the project data 16, the user then performs a specific editing process on the property data 17. The user then executes an operation to input the edited property data 17 into the drawing software. When the edited property data 17 is input, the processing circuit 11 executes the acquisition function 111.
 また、編集後のプロパティデータ17に含まれる対象範囲情報として、編集対象となる母集団は「画面101」、編集対象となる機能は「ランプ」であるものとする。対象範囲情報は、例えば、プロジェクトデータ16に含まれる機能要素のうちどの機能要素群を編集対象とするかを示す情報である。また、編集後のプロパティデータ17に含まれる機能要素に関するレコードセットを表す情報として、「機能名:ランプ」、「No.:10001」、「属性名称:画面」、及び「属性値:画面101」であるレコード、「機能名:ランプ」、「No.:10001」、「属性名称:デバイス」、及び「属性値:Y1」であるレコード、「機能名:ランプ」、「No.:10001」、「属性名称:色」、及び「属性値:赤」であるレコード、「機能名:ランプ」、「No.:10002」、「属性名称:画面」、及び「属性値:画面101」であるレコード、「機能名:ランプ」、「No.:10002」、「属性名称:デバイス」、及び「属性値:Y2」であるレコード、並びに、「機能名:ランプ」、「No.:10002」、「属性名称:色」、及び「属性値:赤」であるレコードが含まれているものとする。
 なお、母集団「画面101」の下層には、例えば、図3に示される機能要素ID「オブジェクト群3001」である機能要素が存在するが、対象機能を「ランプ」とすることで、機能要素ID「オブジェクト群3001」である機能要素の1つ下層である機能要素について限定して指定することが可能となる。
In addition, the target range information included in the edited property data 17 indicates that the population to be edited is "screen 101" and the function to be edited is "lamp." The target range information is, for example, information indicating which group of functional elements among the functional elements included in the project data 16 are to be edited. In addition, the information representing the record set related to the functional elements included in the edited property data 17 includes a record having "function name: lamp", "No.: 10001", "attribute name: screen", and "attribute value: screen 101", a record having "function name: lamp", "No.: 10001", "attribute name: device", and "attribute value: Y1", a record having "function name: lamp", "No.: 10001", "attribute name: color", and "attribute value: red", a record having "function name: lamp", "No.: 10002", "attribute name: screen", and "attribute value: screen 101", a record having "function name: lamp", "No.: 10002", "attribute name: device", and "attribute value: Y2", and a record having "function name: lamp", "No.: 10002", "attribute name: color", and "attribute value: red".
In addition, at the lower layer of the population "screen 101", for example, there exists a functional element with functional element ID "object group 3001" shown in FIG. 3. However, by setting the target function to "lamp", it is possible to limit and specify the functional element that is one layer lower than the functional element with functional element ID "object group 3001".
 また、編集前のプロパティデータ17、すなわち上記のようにユーザにより新規作成されたプロパティデータ17の内容が反映されたプロジェクトデータ16に含まれる情報として、編集対象となる母集団に対応する機能要素ID「画面101」、かつ、機能が「ランプ」である機能要素には、機能要素ID「ランプ10001」、「ランプ10003」の機能要素のみが含まれているものとする。 In addition, the information contained in the pre-edited property data 17, i.e., the project data 16 reflecting the contents of the property data 17 newly created by the user as described above, includes only the functional elements with functional element IDs "Screen 101" corresponding to the population to be edited and with the function "Lamp", namely, functional elements with functional element IDs "Lamp 10001" and "Lamp 10003".
 すなわち、編集前のプロパティデータ17に含まれる機能要素に関するレコードセットを表す情報として、「機能名:ランプ」、「No.:10001」、「属性名称:画面」、及び「属性値:画面101」であるレコード、「機能名:ランプ」、「No.:10001」、「属性名称:デバイス」、及び「属性値:Y1」であるレコード、「機能名:ランプ」、「No.:10001」、「属性名称:色」、及び「属性値:赤」であるレコード、「機能名:ランプ」、「No.:10003」、「属性名称:画面」、及び「属性値:画面101」であるレコード、「機能名:ランプ」、「No.:10003」、「属性名称:デバイス」、及び「属性値:Y3」であるレコード、並びに、「機能名:ランプ」、「No.:10003」、「属性名称:色」、及び「属性値:赤」であるレコードが含まれているものとする。 In other words, the information representing the record set related to the functional elements contained in the property data 17 before editing includes a record with "function name: lamp", "No.: 10001", "attribute name: screen", and "attribute value: screen 101", a record with "function name: lamp", "No.: 10001", "attribute name: device", and "attribute value: Y1", a record with "function name: lamp", "No.: 10001", "attribute name: color", and "attribute value: red", a record with "function name: lamp", "No.: 10003", "attribute name: screen", and "attribute value: screen 101", a record with "function name: lamp", "No.: 10003", "attribute name: device", and "attribute value: Y3", and a record with "function name: lamp", "No.: 10003", "attribute name: color", and "attribute value: red".
 図5において、処理回路11は、編集後のプロパティデータ17の入力操作がなされると、取得機能111を実行し、入力されたプロパティデータ17を取得する(ステップS1)。このとき、処理回路11は、例えば、プロパティデータ17の対象範囲情報に該当する範囲の機能要素を、プロジェクトデータ16から抽出する。具体的には、母集団として機能要素IDが「画面101」である機能要素に含まれる機能要素のうち、機能名「ランプ」を含む機能要素IDを有する機能要素を抽出する。 In FIG. 5, when an input operation of edited property data 17 is performed, the processing circuit 11 executes the acquisition function 111 and acquires the input property data 17 (step S1). At this time, the processing circuit 11 extracts, for example, functional elements within a range that corresponds to the target range information of the property data 17 from the project data 16. Specifically, it extracts functional elements having a functional element ID including the function name "lamp" from among the functional elements included in the functional element having the functional element ID "screen 101" as the population.
 処理回路11は、プロパティデータ17を取得すると、差分抽出機能112を実行し、プロジェクトデータ16と、プロパティデータ17とを比較し、その差分を抽出する(ステップS2)。具体的には、処理回路11は、プロジェクトデータ16を構成する機能要素を特定する識別子、すなわち機能要素IDに基づいて、プロジェクトデータ16と、プロパティデータ17とを比較し、その差分を抽出する。以後、この差分抽出処理の具体的フローについて、図6を参照しながら説明する。 When the processing circuit 11 acquires the property data 17, it executes the difference extraction function 112, compares the project data 16 with the property data 17, and extracts the differences (step S2). Specifically, the processing circuit 11 compares the project data 16 with the property data 17 based on an identifier that identifies the functional element that constitutes the project data 16, i.e., a functional element ID, and extracts the differences. Hereinafter, the specific flow of this difference extraction process will be described with reference to FIG. 6.
 図6において、処理回路11は、機能要素IDに基づいて、プロパティデータ17内の機能要素を1つ読み出す(ステップS21)。具体的には、処理回路11は、例えば、「機能名:ランプ」、「No.:10001」、「属性名称:画面」、及び「属性値:画面101」であるレコードを読み出す。なお、「機能名:ランプ」、「No.:10001」、「属性名称:デバイス」、及び「属性値:Y1」であるレコード、並びに、「機能名:ランプ」、「No.:10001」、「属性名称:色」、及び「属性値:赤」であるレコードについては、「機能名」及び「No.」が同一、すなわち機能要素IDが同一であるため、その後の処理においては、確認済のレコードとして取り扱われる。 6, the processing circuit 11 reads one functional element from the property data 17 based on the functional element ID (step S21). Specifically, the processing circuit 11 reads, for example, a record with "Function name: Lamp", "No.: 10001", "Attribute name: Screen", and "Attribute value: Screen 101". Note that for the record with "Function name: Lamp", "No.: 10001", "Attribute name: Device", and "Attribute value: Y1", as well as the record with "Function name: Lamp", "No.: 10001", "Attribute name: Color", and "Attribute value: Red", the "Function name" and "No." are the same, i.e., the functional element ID is the same, and therefore in subsequent processing, they are treated as confirmed records.
 処理回路11は、「機能名:ランプ」、「No.:10001」、「属性名称:画面」、及び「属性値:画面101」であるレコードを読み出すと、読み出したレコードから特定される機能要素に対応する機能要素をプロジェクトデータ16において検索する(ステップS22)。具体的には、処理回路11は、機能要素IDが「ランプ10001」である機能要素をプロジェクトデータ16において検索する。 When the processing circuit 11 reads out the record with "Function Name: Lamp", "No.: 10001", "Attribute Name: Screen", and "Attribute Value: Screen 101", it searches the project data 16 for a functional element that corresponds to the functional element identified from the read out record (step S22). Specifically, the processing circuit 11 searches the project data 16 for a functional element with a functional element ID of "Lamp 10001".
 そして、処理回路11は、プロジェクトデータ16に対応する機能要素があるか否か判定する(ステップS23)。このとき、処理回路11は、機能要素ID「ランプ10001」である機能要素がプロジェクトデータ16に存在するため(ステップS23のYes)、プロパティデータ17から読み出した機能要素が「両データに存在」することを記憶する(ステップS24)。具体的には、処理回路11は、差分抽出結果データを作成し、レコードを構成する項目として機能要素ID、比較結果を設定する。処理回路11は、例えば、差分抽出結果データに、「機能要素ID:ランプ10001」、及び「比較結果:両データに存在」であるレコードを記憶する。なお、差分抽出結果データは、例えば、差分抽出処理毎に作成される。 Then, the processing circuit 11 determines whether or not there is a functional element corresponding to the project data 16 (step S23). At this time, since a functional element with functional element ID "lamp 10001" exists in the project data 16 (Yes in step S23), the processing circuit 11 stores that the functional element read from the property data 17 "exists in both data" (step S24). Specifically, the processing circuit 11 creates difference extraction result data and sets the functional element ID and comparison result as items that constitute the record. For example, the processing circuit 11 stores a record with "functional element ID: lamp 10001" and "comparison result: exists in both data" in the difference extraction result data. Note that the difference extraction result data is created, for example, for each difference extraction process.
 処理回路11は、ステップS24を実行した後、プロパティデータ17に未確認の機能要素があるか否か判定する(ステップS26)。このとき、処理回路11は、プロパティデータ17に機能要素ID「ランプ10002」の機能要素に対応する未確認レコードが残っているため、プロパティデータ17に未確認の機能要素があると判定し(ステップS26のYes)、機能要素IDに基づいて、プロパティデータ17内の未確認の機能要素を1つ読み出す(ステップS21)。具体的には、処理回路11は、例えば、「機能名:ランプ」、「No.:10002」、「属性名称:画面」、及び「属性値:画面101」であるレコードを読み出す。なお、「機能名:ランプ」、「No.:10002」、「属性名称:デバイス」、及び「属性値:Y2」であるレコード、並びに、「機能名:ランプ」、「No.:10002」、「属性名称:色」、及び「属性値:赤」であるレコードについては、「機能名」及び「No.」が同一、すなわち機能要素IDが同一であるため、その後の処理においては、確認済のレコードとして取り扱われる。 After executing step S24, the processing circuit 11 determines whether there is an unconfirmed functional element in the property data 17 (step S26). At this time, since an unconfirmed record corresponding to a functional element with functional element ID "Lamp 10002" remains in the property data 17, the processing circuit 11 determines that there is an unconfirmed functional element in the property data 17 (Yes in step S26), and reads out one unconfirmed functional element in the property data 17 based on the functional element ID (step S21). Specifically, the processing circuit 11 reads out a record with, for example, "Function name: Lamp", "No.: 10002", "Attribute name: Screen", and "Attribute value: Screen 101". In addition, for the record with "Function name: Lamp", "No.: 10002", "Attribute name: Device", and "Attribute value: Y2", as well as the record with "Function name: Lamp", "No.: 10002", "Attribute name: Color", and "Attribute value: Red", the "Function name" and "No." are the same, i.e., the functional element IDs are the same, so in subsequent processing, they are treated as confirmed records.
 処理回路11は、「機能名:ランプ」、「No.:10002」、「属性名称:画面」、及び「属性値:画面101」であるレコードを読み出すと、読み出したレコードから特定される機能要素に対応する機能要素をプロジェクトデータ16において検索する(ステップS22)。具体的には、処理回路11は、機能要素IDが「ランプ10002」である機能要素をプロジェクトデータ16において検索する。 When the processing circuit 11 reads out the record with "Function Name: Lamp", "No.: 10002", "Attribute Name: Screen", and "Attribute Value: Screen 101", it searches the project data 16 for a functional element that corresponds to the functional element identified from the read out record (step S22). Specifically, the processing circuit 11 searches the project data 16 for a functional element with a functional element ID of "Lamp 10002".
 そして、処理回路11は、プロジェクトデータ16に対応する機能要素があるか否か判定する(ステップS23)。このとき、処理回路11は、機能要素ID「ランプ10002」である機能要素がプロジェクトデータ16に存在しないため(ステップS23のNo)、プロパティデータ17から読み出した機能要素が「プロパティデータのみに存在」することを記憶する(ステップS25)。具体的には、処理回路11は、例えば、差分抽出結果データに、「機能要素ID:ランプ10002」、及び「比較結果:プロパティデータのみに存在」であるレコードを記憶する Then, the processing circuit 11 determines whether or not there is a functional element corresponding to the project data 16 (step S23). At this time, since the functional element with the functional element ID "lamp 10002" does not exist in the project data 16 (No in step S23), the processing circuit 11 stores that the functional element read from the property data 17 "exists only in the property data" (step S25). Specifically, the processing circuit 11 stores, for example, a record with "functional element ID: lamp 10002" and "comparison result: exists only in the property data" in the difference extraction result data.
 処理回路11は、ステップS25を実行した後、プロパティデータ17に未確認の機能要素があるか否か判定する(ステップS26)。このとき、処理回路11は、プロパティデータ17には未確認レコードは残っていないため、プロパティデータ17に未確認の機能要素がないと判定し(ステップS26のNo)、機能要素IDに基づいて、プロジェクトデータ16内の機能要素を1つ読み出す(ステップS27)。具体的には、処理回路11は、プロジェクトデータ16において編集対象となる母集団「画面101」、及び編集対象となる機能「ランプ」の編集対象範囲のうち、機能要素ID「ランプ10001」である機能要素をプロジェクトデータ16から読み出す。 After executing step S25, the processing circuit 11 determines whether there is an unconfirmed functional element in the property data 17 (step S26). At this time, since there are no unconfirmed records remaining in the property data 17, the processing circuit 11 determines that there is no unconfirmed functional element in the property data 17 (No in step S26), and reads out one functional element in the project data 16 based on the functional element ID (step S27). Specifically, the processing circuit 11 reads out from the project data 16 the functional element with the functional element ID "lamp 10001" within the population to be edited in the project data 16, "screen 101," and the editing range of the function to be edited, "lamp."
 処理回路11は、プロジェクトデータ16から読み出した機能要素がプロパティデータ17にも存在するか否か判定する(ステップS28)。具体的には、処理回路11は、例えば、読み出した機能要素がステップS23において「両データに存在」すると判定されたか否かで判断する。このとき、機能要素ID「ランプ10001」である機能要素はステップS23で「両データに存在」すると判定されているため、処理回路11は、機能要素ID「ランプ10001」である機能要素はプロパティデータ17にも存在すると判定し(ステップS28のYes)、プロジェクトデータ16に未確認の機能要素があるか否か判定する(ステップS30)。 The processing circuit 11 determines whether the functional element read from the project data 16 also exists in the property data 17 (step S28). Specifically, the processing circuit 11 determines, for example, whether the read functional element was determined to "exist in both data" in step S23. At this time, since the functional element with functional element ID "lamp 10001" was determined to "exist in both data" in step S23, the processing circuit 11 determines that the functional element with functional element ID "lamp 10001" also exists in the property data 17 (Yes in step S28) and determines whether there is an unconfirmed functional element in the project data 16 (step S30).
 このとき、処理回路11は、プロジェクトデータ16に機能要素ID「ランプ10003」である未確認の機能要素が残っているため、プロジェクトデータ16に未確認の機能要素があると判定し(ステップS30のYes)、機能要素IDに基づいて、プロジェクトデータ16内の未確認の機能要素を1つ読み出す(ステップS27)。具体的には、処理回路11は、プロジェクトデータ16において編集対象となる母集団「画面101」、及び編集対象となる機能「ランプ」の編集対象範囲のうち、機能要素ID「ランプ10003」である機能要素をプロジェクトデータ16から読み出す。 At this time, because an unconfirmed functional element with functional element ID "Lamp 10003" remains in the project data 16, the processing circuit 11 determines that there is an unconfirmed functional element in the project data 16 (Yes in step S30), and reads out one unconfirmed functional element in the project data 16 based on the functional element ID (step S27). Specifically, the processing circuit 11 reads out from the project data 16 the functional element with functional element ID "Lamp 10003" within the population to be edited in the project data 16, "Screen 101", and the editing range of the function to be edited, "Lamp".
 処理回路11は、プロジェクトデータ16から読み出した機能要素がプロパティデータ17にも存在するか否か判定する(ステップS28)。具体的には、処理回路11は、例えば、読み出した機能要素がステップS23において「両データに存在」すると判定されたか否かで判断する。このとき、機能要素ID「ランプ10003」である機能要素はステップS23で「両データに存在」すると判定されていないため、処理回路11は、機能要素ID「ランプ10003」である機能要素はプロパティデータ17に存在しないと判定し(ステップS28のNo)、読み出した機能要素が「プロジェクトデータのみに存在」することを記憶する(ステップS29)。具体的には、処理回路11は、例えば、差分抽出結果データに、「機能要素ID:ランプ10003」、及び「比較結果:プロジェクトデータのみに存在」であるレコードを記憶する。 The processing circuit 11 determines whether the functional element read from the project data 16 also exists in the property data 17 (step S28). Specifically, the processing circuit 11 determines whether the read functional element was determined to "exist in both data" in step S23, for example. At this time, since the functional element with the functional element ID "lamp 10003" was not determined to "exist in both data" in step S23, the processing circuit 11 determines that the functional element with the functional element ID "lamp 10003" does not exist in the property data 17 (No in step S28), and stores that the read functional element "exists only in the project data" (step S29). Specifically, the processing circuit 11 stores, for example, a record with "functional element ID: lamp 10003" and "comparison result: exists only in project data" in the difference extraction result data.
 処理回路11は、ステップS29を実行した後、プロジェクトデータ16に未確認の機能要素があるか否か判定する(ステップS30)。このとき、処理回路11は、プロジェクトデータ16に未確認の機能要素は残っていないため、プロジェクトデータ16に未確認の機能要素がないと判定し(ステップS30のNo)、差分抽出処理を終了する。 After executing step S29, the processing circuit 11 determines whether or not there are any unconfirmed functional elements in the project data 16 (step S30). At this time, since there are no unconfirmed functional elements remaining in the project data 16, the processing circuit 11 determines that there are no unconfirmed functional elements in the project data 16 (No in step S30) and ends the difference extraction process.
 図7は、実施形態に係る差分抽出結果データの例を示す図である。図7によれば、機能要素ID「ランプ10001」の機能要素は、「両データに存在」していたことが分かる。また、機能要素ID「ランプ10002」の機能要素は、「プロパティデータのみに存在」していたことが分かる。また、機能要素ID「ランプ10003」の機能要素は、「プロジェクトデータのみに存在」していたことが分かる。 FIG. 7 is a diagram showing an example of difference extraction result data according to an embodiment. From FIG. 7, it can be seen that the functional element with functional element ID "Lamp 10001" "exists in both data". It can also be seen that the functional element with functional element ID "Lamp 10002" "exists only in the property data". It can also be seen that the functional element with functional element ID "Lamp 10003" "exists only in the project data".
 以後、図5に戻ってステップS3から説明する。
 図5において、処理回路11は、差分抽出処理を実行した後、編集機能113を実行し、例えば、作成された差分抽出結果データに基づいて、プロジェクトデータ16を編集する。
Returning to FIG. 5, the process will be explained from step S3.
In FIG. 5, after executing the difference extraction process, the processing circuit 11 executes the editing function 113 and edits the project data 16 based on the created difference extraction result data, for example.
 処理回路11は、例えば、ステップS2の差分抽出処理で作成した図7に示される差分抽出結果データから1レコード読み出す(ステップS3)。具体的には、処理回路11は、機能要素ID「ランプ10001」であるレコードを差分抽出結果データから読み出す。 The processing circuit 11, for example, reads one record from the difference extraction result data shown in FIG. 7 that was created in the difference extraction process in step S2 (step S3). Specifically, the processing circuit 11 reads the record with the functional element ID "lamp 10001" from the difference extraction result data.
 処理回路11は、読み出したレコードの比較結果項目を参照する(ステップS4)。具体的には、処理回路11は、機能要素ID「ランプ10001」であるレコードの比較結果項目の内容を参照する。 The processing circuit 11 refers to the comparison result item of the read record (step S4). Specifically, the processing circuit 11 refers to the contents of the comparison result item of the record with the functional element ID "lamp 10001".
 処理回路11は、機能要素ID「ランプ10001」であるレコードの比較結果項目の内容は「両データに存在」であるため(ステップS4の「両データに存在」)、プロジェクトデータ16の機能要素をプロパティデータ17の機能要素の内容で更新する(ステップS6)。具体的には、処理回路11は、機能要素ID「ランプ10001」である機能要素について、プロパティデータ17の内容でプロジェクトデータ16に含まれる機能要素の内容を更新する。なお、処理回路11は、更新対象となる機能要素の内容に変更があるか否かを事前にチェックし、変更がない場合は、更新処理をスキップするようにしてもよい。 Because the content of the comparison result item of the record with functional element ID "Lamp 10001" is "present in both data" ("present in both data" in step S4), the processing circuit 11 updates the functional element of the project data 16 with the content of the functional element of the property data 17 (step S6). Specifically, for the functional element with functional element ID "Lamp 10001", the processing circuit 11 updates the content of the functional element included in the project data 16 with the content of the property data 17. Note that the processing circuit 11 may check in advance whether there is any change in the content of the functional element to be updated, and if there is no change, skip the update process.
 処理回路11は、ステップS6を実行した後、差分抽出結果データに未確認のレコードがあるか否か判定する(ステップS8)。このとき、処理回路11は、差分抽出結果データに機能要素ID「ランプ10002」、及び「ランプ10001」である未確認のレコードが残っているため、差分抽出結果データに未確認の機能要素があると判定し(ステップS8のYes)、差分抽出結果データから未確認のレコードを1レコード読み出す(ステップS3)。具体的には、処理回路11は、例えば、機能要素ID「ランプ10002」であるレコードを差分抽出結果データから読み出す。 After executing step S6, the processing circuit 11 determines whether there are any unconfirmed records in the differential extraction result data (step S8). At this time, because unconfirmed records with functional element IDs "Lamp 10002" and "Lamp 10001" remain in the differential extraction result data, the processing circuit 11 determines that there are unconfirmed functional elements in the differential extraction result data (Yes in step S8), and reads one unconfirmed record from the differential extraction result data (step S3). Specifically, the processing circuit 11 reads, for example, a record with functional element ID "Lamp 10002" from the differential extraction result data.
 処理回路11は、読み出したレコードの比較結果項目を参照する(ステップS4)。具体的には、処理回路11は、機能要素ID「ランプ10002」であるレコードの比較結果項目の内容を参照する。 The processing circuit 11 references the comparison result item of the read record (step S4). Specifically, the processing circuit 11 references the contents of the comparison result item of the record with the functional element ID "lamp 10002".
 処理回路11は、機能要素ID「ランプ10002」であるレコードの比較結果項目の内容は「プロパティデータのみに存在」であるため(ステップS4の「プロパティデータのみに存在」)、機能要素ID「ランプ10002」に対応する機能要素をプロジェクトデータ16へ追加する(ステップS5)。具体的には、処理回路11は、プロパティデータ17に含まれる「機能名:ランプ」、「No.:10002」、「属性名称:画面」、及び「属性値:画面101」であるレコードの内容をプロジェクトデータ16に新規反映する。 Because the content of the comparison result item of the record with functional element ID "Lamp 10002" is "existent only in property data" ("existent only in property data" in step S4), the processing circuit 11 adds the functional element corresponding to functional element ID "Lamp 10002" to the project data 16 (step S5). Specifically, the processing circuit 11 newly reflects the content of the record with "Function name: Lamp", "No.: 10002", "Attribute name: Screen", and "Attribute value: Screen 101" included in the property data 17 to the project data 16.
 処理回路11は、ステップS5を実行した後、差分抽出結果データに未確認のレコードがあるか否か判定する(ステップS8)。
 このとき、処理回路11は、差分抽出結果データに機能要素ID「ランプ10001」である未確認のレコードが残っているため、差分抽出結果データに未確認の機能要素があると判定し(ステップS8のYes)、差分抽出結果データから未確認のレコードを1レコード読み出す(ステップS3)。具体的には、処理回路11は、機能要素ID「ランプ10003」であるレコードを差分抽出結果データから読み出す。
After executing step S5, the processing circuit 11 determines whether or not there is an unconfirmed record in the difference extraction result data (step S8).
At this time, since an unconfirmed record with functional element ID "lamp 10001" remains in the difference extraction result data, the processing circuit 11 determines that there is an unconfirmed functional element in the difference extraction result data (Yes in step S8), and reads one unconfirmed record from the difference extraction result data (step S3). Specifically, the processing circuit 11 reads a record with functional element ID "lamp 10003" from the difference extraction result data.
 処理回路11は、読み出したレコードの比較結果項目を参照する(ステップS4)。具体的には、処理回路11は、機能要素ID「ランプ10003」であるレコードの比較結果項目の内容を参照する。 The processing circuit 11 refers to the comparison result item of the read record (step S4). Specifically, the processing circuit 11 refers to the contents of the comparison result item of the record with the functional element ID "lamp 10003".
 処理回路11は、機能要素ID「ランプ10003」であるレコードの比較結果項目の内容は「プロジェクトデータのみに存在」であるため(ステップS4の「プロジェクトデータのみに存在」)、機能要素ID「ランプ10003」に対応する機能要素をプロジェクトデータ16から削除する(ステップS7)。具体的には、処理回路11は、プロジェクトデータ16に含まれる機能要素ID「ランプ10003」に関連する属性名称、属性値等の関連情報をプロジェクトデータ16から削除する。 Because the content of the comparison result item of the record with functional element ID "Lamp 10003" is "existent only in project data" ("existent only in project data" in step S4), the processing circuit 11 deletes the functional element corresponding to functional element ID "Lamp 10003" from the project data 16 (step S7). Specifically, the processing circuit 11 deletes from the project data 16 the associated information such as attribute names and attribute values that are associated with functional element ID "Lamp 10003" included in the project data 16.
 処理回路11は、ステップS5を実行した後、差分抽出結果データに未確認のレコードがあるか否か判定する(ステップS8)。このとき、処理回路11は、差分抽出結果データに未確認のレコードは残っていないため、差分抽出結果データに未確認の機能要素がないと判定し(ステップS8のNo)、処理を終了する。 After executing step S5, the processing circuit 11 determines whether there are any unconfirmed records in the differential extraction result data (step S8). At this time, since there are no unconfirmed records remaining in the differential extraction result data, the processing circuit 11 determines that there are no unconfirmed functional elements in the differential extraction result data (No in step S8), and ends the process.
 次に、新規作成されたプロパティデータの内容がプロジェクトデータに反映され、その後、新規作成されたプロパティデータの内容が変更され、その変更内容がプロジェクトデータに反映される流れについて説明する。 Next, we will explain how the contents of the newly created property data are reflected in the project data, and then the contents of the newly created property data are changed, and the changes are reflected in the project data.
 以下の説明では、プロジェクトデータ16において編集対象となる母集団は「画面101」、編集対象となる機能は「ランプ」であるものとする。また、編集前のプロパティデータ17に含まれる機能要素に関するレコードセットを表す情報、及び、編集後のプロパティデータ17に含まれる機能要素に関するレコードセットを表す情報については、上記動作例、差分抽出処理の説明の前提として述べたものと同様であるものとする。 In the following explanation, it is assumed that the population to be edited in the project data 16 is "screen 101" and the function to be edited is "lamp." Furthermore, it is assumed that the information representing the record set related to the functional elements contained in the property data 17 before editing and the information representing the record set related to the functional elements contained in the property data 17 after editing are the same as those described above as the premise of the operation example and the explanation of the difference extraction process.
 図8は、実施形態に係る編集前のプロパティデータ17、プロジェクトデータ16の関係を説明するための図である。図8では、汎用エディタを介して表示されるプロパティデータ17の内容を表す画面、プロパティデータ17として出力されたcsvファイル、及び作画ソフトウェアを介して表示されるプロジェクトデータ16の内容を表す画面が示されている。 FIG. 8 is a diagram for explaining the relationship between pre-edited property data 17 and project data 16 according to an embodiment. FIG. 8 shows a screen showing the contents of property data 17 displayed via a general-purpose editor, a csv file output as property data 17, and a screen showing the contents of project data 16 displayed via drawing software.
 図8によれば、汎用エディタによりプロパティデータ17に出力するための情報が編集され、プロパティデータ17が新規作成される。図8に示されるように、例えば、プロパティデータ17が作成されたタイムスタンプは「2022/8/1 13:00」であり、保存されたプロパティデータのファイルパスは「D:¥Work¥HMIDesign¥PD.csv」である。 As shown in FIG. 8, the information to be output to the property data 17 is edited by a general-purpose editor, and the property data 17 is newly created. As shown in FIG. 8, for example, the timestamp when the property data 17 was created is "2022/8/1 13:00", and the file path of the saved property data is "D:\Work\HMIDesign\PD.csv".
 また、図8によれば、新規作成されたプロパティデータ17は、例えば、処理回路11により作画ソフトウェアに取り込まれる。取り込まれたプロパティデータ17の内容は、例えば、図5及び図6に示されるような処理によりプロジェクトデータ16に反映される。図8によれば、新規作成されたプロパティデータ17の内容がプロジェクトデータ16に反映された結果、機能要素ID「画面101」の機能要素に含まれる機能要素であって、デバイス「Y1」に関する「赤」色のランプ表示に関する機能要素、及び、デバイス「Y3」に関する「赤」色のランプ表示に関する機能要素を表す画像が2つ表示されている。このランプ表示に関する2つの機能要素の「No.」は、図8に示されるように、「10001」、及び「10003」であり、機能要素IDは「ランプ10001」、「ランプ10003」であることが分かる。 Also, according to FIG. 8, the newly created property data 17 is imported into the drawing software by, for example, the processing circuit 11. The contents of the imported property data 17 are reflected in the project data 16 by, for example, the processing shown in FIG. 5 and FIG. 6. According to FIG. 8, as a result of the contents of the newly created property data 17 being reflected in the project data 16, two images are displayed, which represent functional elements included in the functional element with functional element ID "Screen 101", a functional element related to a "red" lamp display for device "Y1", and a functional element related to a "red" lamp display for device "Y3". As shown in FIG. 8, the "No." of the two functional elements related to lamp display are "10001" and "10003", and it can be seen that the functional element IDs are "Lamp 10001" and "Lamp 10003".
 図9は、実施形態に係る編集後のプロパティデータ、プロジェクトデータの関係を説明するための図である。図9では、汎用エディタを介して表示されるプロパティデータ17の内容を表す画面、プロパティデータ17として出力されたcsvファイル、及び作画ソフトウェアを介して表示されるプロジェクトデータ16の内容を表す画面が示されている。 FIG. 9 is a diagram for explaining the relationship between edited property data and project data according to an embodiment. FIG. 9 shows a screen showing the contents of property data 17 displayed via a general-purpose editor, a csv file output as property data 17, and a screen showing the contents of project data 16 displayed via drawing software.
 図9によれば、まず、図8において新規作成されたプロパティデータ17の内容が汎用エディタ上で編集される。編集の内容は、機能要素ID「ランプ10002」に関するレコードの追加、及び、機能要素ID「ランプ10003」に関するレコードの削除である。この編集結果は、プロパティデータ17に出力され、編集後のプロパティデータ17が作成される。図9に示されるように、例えば、編集後のプロパティデータ17が作成されたタイムスタンプは「2022/8/2 14:00」であり、保存されたプロパティデータのファイルパスは「D:¥Work¥HMIDesign¥PD.csv」である。これにより、図8において新規作成されたプロパティデータ17は、編集後のプロパティデータ17で上書きされる。 According to FIG. 9, first, the contents of the property data 17 newly created in FIG. 8 are edited on a general-purpose editor. The edited contents are the addition of a record related to functional element ID "Lamp 10002" and the deletion of a record related to functional element ID "Lamp 10003". This edit result is output to property data 17, and edited property data 17 is created. As shown in FIG. 9, for example, the timestamp when edited property data 17 was created is "2022/8/2 14:00", and the file path of the saved property data is "D:\Work\HMIDEsign\PD.csv". As a result, the newly created property data 17 in FIG. 8 is overwritten with the edited property data 17.
 また、図9によれば、新規作成されたプロパティデータ17は、例えば、処理回路11により作画ソフトウェアに取り込まれる。取り込まれたプロパティデータ17の内容は、例えば、図5及び図6に示されるような処理によりプロジェクトデータ16に反映される。図9によれば、編集後のプロパティデータ17の内容がプロジェクトデータ16に反映された結果、機能要素ID「画面101」の機能要素に含まれる機能要素であって、デバイス「Y2」に関する「赤」色のランプ表示に関する機能要素(機能要素ID「ランプ10002」)を表す画像が1つ追加されている。また、図9によれば、編集後のプロパティデータ17の内容がプロジェクトデータ16に反映された結果、機能要素ID「画面101」の機能要素に含まれる機能要素であって、デバイス「Y3」に関する「赤」色のランプ表示に関する機能要素(機能要素ID「ランプ10003」)を表す画像が1つ削除されている。 9, the newly created property data 17 is imported into the drawing software by the processing circuit 11, for example. The contents of the imported property data 17 are reflected in the project data 16 by the processes shown in FIG. 5 and FIG. 6, for example. According to FIG. 9, as a result of the edited contents of the property data 17 being reflected in the project data 16, one image representing a functional element (functional element ID "lamp 10002") related to a "red" lamp display for device "Y2" that is included in the functional element with functional element ID "screen 101" is added. According to FIG. 9, as a result of the edited contents of the property data 17 being reflected in the project data 16, one image representing a functional element (functional element ID "lamp 10003") related to a "red" lamp display for device "Y3" that is included in the functional element with functional element ID "screen 101" is deleted.
 このように、新規作成されたプロパティデータ17の内容がその後編集されて一部の機能要素が削除された場合であっても、図5及び図6に示されるような処理を実行することにより、ユーザの手を介さずに、その編集内容をプロジェクトデータ16に反映することが可能となる。 In this way, even if the contents of the newly created property data 17 are subsequently edited and some functional elements are deleted, it is possible to reflect the edited contents in the project data 16 without user intervention by executing the processes shown in Figures 5 and 6.
 上記実施形態によれば、処理回路11は、プログラマブル表示器20に表示される画面の表示を制御するために作成されたプロジェクトデータ16を編集するためのプロパティデータ17を取得する。処理回路11は、プロパティデータ17とプロジェクトデータ16とを比較し、その差分を抽出する。処理回路11は、抽出した差分に基づいて、プロジェクトデータ16を編集する。 According to the above embodiment, the processing circuit 11 acquires property data 17 for editing project data 16 created to control the display of a screen displayed on the programmable display device 20. The processing circuit 11 compares the property data 17 with the project data 16 and extracts the differences. The processing circuit 11 edits the project data 16 based on the extracted differences.
 これにより、例えば、プロパティデータ17の内容をプロジェクトデータ16に一度反映させた後、プロパティデータ17に機能要素を追加、又は、削除されるような変更を加えた場合でも、ユーザの手を介さずに、その変更内容をプロジェクトデータ16に反映させることが可能となる。 As a result, even if, for example, the contents of property data 17 are reflected once in project data 16 and then changes are made to property data 17, such as adding or deleting a functional element, it is possible to reflect the changes in project data 16 without user intervention.
 したがって、本実施形態によれば、プログラマブル表示器に表示される画面の表示を制御するためのプロジェクトデータの編集効率を向上させることが可能となる。 Therefore, according to this embodiment, it is possible to improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
(変形例)
 以上、本開示の実施形態を説明したが、本開示を実施するにあたっては、種々の形態による変形及び応用が可能である。具体的には、上記実施形態では、編集後のプロパティデータとプロジェクトデータとの差分が抽出され、抽出された差分に基づいてプロジェクトデータが編集される場合について説明した。変形例では、プロパティデータが定期的に監視され、プロパティデータの状態が変更されていた場合に、その変更が外部に通知される場合について説明する。また、変形例では、プロパティデータに含まれる情報が一部不足していた場合に、当該不足している情報が補完される場合について説明する。また、変形例では、編集対象となるプロジェクトデータが存在しない場合でも、プロパティデータの入力が受付られた場合に、プロジェクトデータが新規作成され、新規作成されたプロジェクトデータにプロパティデータの内容が反映される場合について説明する。
(Modification)
Although the embodiment of the present disclosure has been described above, various modifications and applications are possible when implementing the present disclosure. Specifically, in the above embodiment, a case has been described in which a difference between edited property data and project data is extracted, and the project data is edited based on the extracted difference. In the modified example, a case will be described in which property data is periodically monitored, and when the state of the property data has changed, the change is notified to the outside. In addition, in the modified example, a case will be described in which when information contained in the property data is partially missing, the missing information is complemented. In addition, in the modified example, a case will be described in which, even if there is no project data to be edited, when input of property data is received, new project data is created, and the content of the property data is reflected in the newly created project data.
 図10は、変形例に係る作画支援システム1Aの構成例を示す図である。
 作画支援システム1Aは、作画支援装置10A、及びプログラマブル表示器20を含むシステムである。作画支援装置10Aとプログラマブル表示器20とは、通信可能に接続されている。
FIG. 10 is a diagram showing an example of the configuration of a drawing support system 1A according to a modified example.
The drawing support system 1A is a system including a drawing support device 10A and a programmable display device 20. The drawing support device 10A and the programmable display device 20 are connected to each other so as to be able to communicate with each other.
 図11は、変形例に係る作画支援装置10Aの構成例を示す図である。
 作画支援装置10Aは、処理回路11A、入力インタフェース12、出力インタフェース13、通信インタフェース14、及び記憶回路15を有する。
FIG. 11 is a diagram showing an example of the configuration of a drawing support device 10A according to a modified example.
The drawing support device 10A has a processing circuitry 11A, an input interface 12, an output interface 13, a communication interface 14, and a memory circuitry 15.
 変形例に係る処理回路11Aは、変形例に係るプログラムを実行することにより、例えば、図3に示されるプロジェクトデータ16を編集する。具体的には、処理回路11Aは、例えば、記憶回路15に記憶されるプログラムを実行することで、取得機能111、差分抽出機能112、編集機能113、監視機能114、補完機能115、及び新規作成機能116を実現する。 The processing circuit 11A according to the modified example executes the program according to the modified example to, for example, edit the project data 16 shown in FIG. 3. Specifically, the processing circuit 11A executes, for example, a program stored in the memory circuit 15 to realize an acquisition function 111, a difference extraction function 112, an editing function 113, a monitoring function 114, a complement function 115, and a new creation function 116.
 取得機能111、差分抽出機能112、及び編集機能113については、上記実施形態と同様であるため説明を省略する。 The acquisition function 111, difference extraction function 112, and editing function 113 are the same as in the above embodiment, so their explanation will be omitted.
 監視機能114は、例えば、プロパティデータ17を定期的に監視し、プロパティデータ17の状態が変更されていた場合に、その変更を外部に通知する機能である。監視機能114において処理回路11Aは、記憶回路15に記憶されている所定の時間間隔でプロパティデータ17を参照する。このとき、処理回路11Aは、例えば、監視先の情報を編集対象となるプロジェクトデータ16に紐づけて予め記憶しておく。監視先の情報は、例えば、プロパティデータ17のファイルパスや最終更新日時のタイムスタンプである。 The monitoring function 114 is a function that, for example, periodically monitors the property data 17, and if the state of the property data 17 has changed, notifies the outside of the change. In the monitoring function 114, the processing circuit 11A refers to the property data 17 at a predetermined time interval stored in the memory circuit 15. At this time, the processing circuit 11A, for example, stores in advance the information of the monitoring destination linked to the project data 16 to be edited. The information of the monitoring destination is, for example, the file path of the property data 17 and the timestamp of the last update date and time.
 処理回路11Aは、例えば、プロパティデータ17が格納されているファイルパスを所定の間隔で参照する。そして、処理回路11Aは、例えば、プロパティデータ17のタイムスタンプの情報を取得する。処理回路11Aは、取得したタイムスタンプの情報が更新されている場合、その変更を、例えば、出力インタフェース13等を介してユーザに通知する。 For example, the processing circuit 11A refers to the file path in which the property data 17 is stored at a predetermined interval. Then, the processing circuit 11A acquires, for example, timestamp information of the property data 17. If the acquired timestamp information has been updated, the processing circuit 11A notifies the user of the change, for example, via the output interface 13, etc.
 また、処理回路11Aは、例えば、プロパティデータ17が削除されていた場合、プロパティデータ17が削除された旨を、例えば、出力インタフェース13等を介してユーザに通知する。 In addition, for example, if the property data 17 has been deleted, the processing circuit 11A notifies the user, for example, via the output interface 13, that the property data 17 has been deleted.
 また、監視機能114において処理回路11Aは、プロパティデータ17の状態が変更されていた場合に、その変更内容を、例えば、取得機能111、差分抽出機能112、及び編集機能113に通知し、編集対象となるプロジェクトデータ16に反映させるようにしてもよい。 In addition, in the monitoring function 114, when the state of the property data 17 has been changed, the processing circuit 11A may notify the change to, for example, the acquisition function 111, the difference extraction function 112, and the editing function 113, and have the change reflected in the project data 16 to be edited.
 補完機能115は、例えば、プロジェクトデータの内容を更新する際に、プロパティデータに含まれる情報が一部不足していた場合に、当該不足している情報を補完する機能である。補完機能115において処理回路11Aは、例えば、入力インタフェース12等を介してプロパティデータ17の入力を受け付ける。処理回路11Aは、入力されたプロパティデータ17の内容を取得する。このとき、処理回路11Aは、取得したプロパティデータ17の情報が一部不足していると判定した場合は、所定の方法により当該不足している情報を補完し、プロパティデータ17の内容を更新する。 The complement function 115 is a function that complements missing information when, for example, when updating the contents of project data, some information contained in the property data is missing. In the complement function 115, the processing circuit 11A accepts the input of the property data 17, for example, via the input interface 12 or the like. The processing circuit 11A acquires the contents of the input property data 17. At this time, if the processing circuit 11A determines that some information in the acquired property data 17 is missing, it complements the missing information using a predetermined method and updates the contents of the property data 17.
 新規作成機能116は、編集対象となるプロジェクトデータが存在しない場合でも、例えば、プロパティデータの入力が受付られた場合に、プロジェクトデータを新規作成し、新規作成したプロジェクトデータにプロパティデータの内容を反映する機能である。新規作成機能116において処理回路11Aは、例えば、入力インタフェース12等を介してプロパティデータ17の入力を受け付ける。このとき、処理回路11Aは、例えば、記憶回路15、又は、作画ソフトウェア用に確保されたメモリを参照し、編集対象となるプロジェクトデータ16があるか否か判定する。処理回路11Aは、編集対象となるプロジェクトデータ16がないと判定した場合、プロジェクトデータ16を新規作成する。処理回路11Aは、新規作成されたプロジェクトデータ16に対して、入力を受け付けたプロパティデータ17の内容を反映させる。 The new creation function 116 is a function that creates new project data and reflects the contents of the property data in the newly created project data even when the project data to be edited does not exist, for example when the input of property data is accepted. In the new creation function 116, the processing circuit 11A accepts the input of property data 17, for example, via the input interface 12. At this time, the processing circuit 11A refers to, for example, the memory circuit 15 or a memory reserved for the drawing software, and determines whether or not there is project data 16 to be edited. If the processing circuit 11A determines that there is no project data 16 to be edited, it creates new project data 16. The processing circuit 11A reflects the contents of the property data 17 that was accepted in the newly created project data 16.
 以上のように構成された作画支援装置10Aによる動作を、処理回路11Aの処理手順に従って説明する。図12は、変形例に係る作画支援装置10Aが実行する状態監視処理の例を示す図である。以降では、図12のフローチャートを参照しながら説明する。なお、本動作例では、監視機能114において処理回路11Aは、例えば、予め設定された複数の時刻において、又は、所定の時刻から所定の時間間隔で、プロパティデータ17を参照するものとする。また、プロパティデータ17にはタイムスタンプが付与され、プロパティデータ17の内容が更新されるごとに内容が更新されたときの時刻でタイムスタンプの値は更新されるものとする。 The operation of the drawing support device 10A configured as above will be explained in accordance with the processing procedure of the processing circuit 11A. FIG. 12 is a diagram showing an example of a state monitoring process executed by the drawing support device 10A according to a modified example. The following explanation will refer to the flowchart of FIG. 12. Note that in this operation example, the processing circuit 11A in the monitoring function 114 refers to the property data 17, for example, at multiple preset times or at predetermined time intervals from a predetermined time. In addition, a timestamp is assigned to the property data 17, and each time the contents of the property data 17 are updated, the value of the timestamp is updated to the time when the contents were updated.
 図12において、処理回路11Aは、例えば、予め設定された時刻になると、記憶回路15に記憶されたプロパティデータ17を参照する(ステップS1A)。 In FIG. 12, for example, at a preset time, the processing circuit 11A refers to the property data 17 stored in the memory circuit 15 (step S1A).
 処理回路11Aは、プロパティデータ17の状態に変化の有無を判定する(ステップS2A)。具体的には、処理回路11Aは、例えば、プロパティデータ17に付与されたタイムスタンプを取得し、保持しているタイムスタンプの値と取得したタイムスタンプの値とを比較し、差異があるか否か判定する。 The processing circuit 11A determines whether or not there has been a change in the state of the property data 17 (step S2A). Specifically, the processing circuit 11A, for example, obtains the timestamp assigned to the property data 17, compares the value of the stored timestamp with the value of the obtained timestamp, and determines whether or not there is a difference.
 処理回路11Aは、保持しているタイムスタンプの値と取得したタイムスタンプの値との間に差異があり、プロパティデータ17の状態に変化があると判定した場合(ステップS2AのYes)、プロパティデータ17の変更を、例えば出力インタフェース13を介してユーザへ通知する(ステップS3A)。そして、処理回路11Aは、処理を終了し、予め設定されている次の時刻になるまで待機する。処理回路11Aは、予め設定されている次の時刻になると、再びステップS1Aを実行する。 If the processing circuit 11A determines that there is a difference between the stored timestamp value and the acquired timestamp value, and that there has been a change in the state of the property data 17 (Yes in step S2A), it notifies the user of the change in the property data 17, for example, via the output interface 13 (step S3A). Then, the processing circuit 11A ends the processing and waits until the next preset time arrives. When the next preset time arrives, the processing circuit 11A executes step S1A again.
 なお、処理回路11Aは、保持しているタイムスタンプの値と取得したタイムスタンプの値との間に差異がなく、プロパティデータ17の状態に変化がないと判定した場合(ステップS2AのNo)、処理を終了し、予め設定されている次の時刻になるまで待機する。処理回路11Aは、予め設定されている次の時刻になると、再びステップS1Aを実行する。 If the processing circuit 11A determines that there is no difference between the stored timestamp value and the acquired timestamp value, and that there is no change in the state of the property data 17 (No in step S2A), it ends the processing and waits until the next preset time arrives. When the next preset time arrives, the processing circuit 11A executes step S1A again.
 図13は、変形例に係るプロパティデータ17の状態監視を説明するための図である。図13に示される図によれば、まず、例えば、記憶回路15に記憶されたプロパティデータ17の内容が作画ソフトウェア上でプロジェクトデータ16に反映される。その後、監視機能114の実行により処理回路11Aは、例えば、予め設定された第1の時刻(t=t1)になるまで待機する。その後、処理回路11Aは、予め設定された第1の時刻になると、プロパティデータ17を参照する。このとき、プロパティデータ17は変更されていないため、処理回路11Aは、参照処理を終了し、予め設定された次の第2の時刻(t=t2>t1)になるまで待機する。 FIG. 13 is a diagram for explaining the monitoring of the state of property data 17 according to a modified example. According to the diagram shown in FIG. 13, first, for example, the contents of the property data 17 stored in the memory circuit 15 are reflected in the project data 16 on the drawing software. Thereafter, by executing the monitoring function 114, the processing circuit 11A waits, for example, until a preset first time (t=t1) arrives. Thereafter, at the preset first time, the processing circuit 11A refers to the property data 17. At this time, since the property data 17 has not been changed, the processing circuit 11A ends the reference process and waits until the next preset second time (t=t2>t1).
 その後、処理回路11Aは、予め設定された第2の時刻になると、プロパティデータ17を参照する。このとき、プロパティデータ17は変更されていないため、処理回路11Aは、参照処理を終了し、予め設定された次の第3の時刻(t=t3>t2)になるまで待機する。 After that, at a preset second time, the processing circuit 11A refers to the property data 17. At this time, since the property data 17 has not been changed, the processing circuit 11A ends the reference process and waits until the next preset third time (t = t3 > t2).
 このとき、図13に示されるように、第2の時刻と第3の時刻との間において、例えば、機能要素ID「ランプ10002」に関する機能要素に関するレコードがプロパティデータ17から削除される。 At this time, as shown in FIG. 13, between the second time and the third time, for example, a record related to a functional element with functional element ID "Lamp 10002" is deleted from property data 17.
 処理回路11Aは、予め設定された第3の時刻になると、プロパティデータ17を参照する。このとき、プロパティデータ17は変更されているため、このプロパティデータ17の変更を検知し、例えば出力インタフェース13を介してユーザへ通知する。 When a preset third time arrives, the processing circuit 11A refers to the property data 17. At this time, since the property data 17 has been changed, the processing circuit 11A detects this change in the property data 17 and notifies the user, for example, via the output interface 13.
 図14は、変形例に係るプロパティデータ17の変更が検知された際の通知方法の例を示す図である。以下、ユーザへの通知の例を図14を用いて説明する。図14は、出力インタフェース13の一例であるディスプレイに表示される作画ソフトウェアの編集用ウィンドウの例を表している。図14によれば、画面101について、「プロパティデータに未反映の変更があります」と表示されている。この表示態様としては、例えば、バッジ表示、ポップアップウィンドウ等が挙げられる。なお、このとき、処理回路11Aは、差分抽出結果を通知するようにしてもよい。 FIG. 14 is a diagram showing an example of a notification method when a change in property data 17 according to a modified example is detected. An example of notification to the user will be described below with reference to FIG. 14. FIG. 14 shows an example of an editing window for drawing software displayed on a display, which is an example of the output interface 13. According to FIG. 14, the message "There are changes in the property data that have not been reflected" is displayed on the screen 101. Examples of the display form include a badge display and a pop-up window. At this time, the processing circuit 11A may be configured to notify the result of the difference extraction.
 図14によれば、ユーザは、プロパティデータ17に変更があったこと、具体的には画面101の設定について変更があったことに気づくことができる。すなわち、一度プロパティデータ17の内容がプロジェクトデータ16に反映された後、プロパティデータ17が再編集されることによるプロパティデータ17とプロジェクトデータ16との間で不整合が発生していることに気づくことができる。したがって、再編集されたプロパティデータ17の変更内容をプロジェクトデータ16へ反映することの漏れを防ぐことができる。 As shown in FIG. 14, the user can notice that there has been a change in the property data 17, specifically, that there has been a change in the settings of the screen 101. In other words, the user can notice that an inconsistency has occurred between the property data 17 and the project data 16 due to the re-editing of the property data 17 after the contents of the property data 17 have been reflected in the project data 16. This makes it possible to prevent the changes in the re-edited property data 17 from being missed and reflected in the project data 16.
 次に、変形例において、プロパティデータ17に含まれる情報が一部不足していた場合に、当該不足している情報が補完される場合について説明する。変形例では、プロパティデータ17に含まれる機能要素に関するレコードに設定不備がある場合、作画ソフトウェアへの取り込み時に設定を補完してからプロジェクトデータ16に反映するようにしてもよい。 Next, a modified example will be described in which, when some information contained in the property data 17 is missing, the missing information is supplemented. In the modified example, when a record related to a functional element contained in the property data 17 has an incomplete setting, the setting may be supplemented when imported into the drawing software and then reflected in the project data 16.
 図15は、変形例に係るプロパティデータ17の補完処理を説明するための図である。図15では、例えば、「数値表示」機能についてNo.「10001」を使用していないプロジェクトデータ16があり、そのプロジェクトデータ16に対して、No.が設定されていない「数値表示」機能が追加される例が示されている。図15によれば、補完機能115において処理回路11Aは、プロパティデータ17が入力されると、例えば、機能名「数値表示」のレコードについて、No.の値として「10001」が設定されているとみなして補完し、機能要素ID「数値表示10001」に関するレコードの情報をプロジェクトデータ16に反映している。 FIG. 15 is a diagram for explaining the complementation process of property data 17 relating to a modified example. FIG. 15 shows an example in which, for example, there is project data 16 that does not use the number "10001" for the "numeric display" function, and a "numeric display" function for which no number is set is added to the project data 16. According to FIG. 15, when property data 17 is input, the processing circuit 11A in the complementation function 115 complements the record for the function name "numeric display" by assuming that "10001" is set as the number value, and reflects the information of the record related to the functional element ID "numeric display 10001" in the project data 16.
 また、図15では、例えば、ランプの標準設定の色が「赤」であるプロジェクトデータ16があり、そのプロジェクトデータ16に対して、色が設定されていない機能要素が追加される例が示されている。図15によれば、補完機能115において処理回路11Aは、入力されたプロパティデータ17において、例えば、「機能名:ランプ」、「No.:10001」、「属性名称:色」、及び「属性値:空欄」であるレコードについて、属性値の値として「赤」が設定されているとみなして補完し、機能要素ID「ランプ10001」に関するレコードの情報をプロジェクトデータ16に反映している。また、処理回路11Aは、例えば、「機能名:ランプ」、「No.:10002」であるレコードについて、「属性名称:色」であるレコードが存在しないが、「機能名:ランプ」、「No.:10002」、「属性名称:色」、及び「属性値:赤」であるレコードが存在するとみなして補完し、機能要素ID「ランプ10002」に関するレコードの情報をプロジェクトデータ16に反映している。 15 also shows an example in which, for example, there is project data 16 in which the default color of a lamp is "red," and a functional element with no color set is added to the project data 16. According to FIG. 15, in the complementation function 115, the processing circuit 11A complements a record in the input property data 17, for example, "Function name: Lamp," "No.: 10001," "Attribute name: Color," and "Attribute value: Blank," by assuming that "red" is set as the attribute value, and reflects the information of the record related to the functional element ID "Lamp 10001" in the project data 16. Furthermore, for example, for a record with "function name: lamp" and "No.: 10002", the processing circuit 11A considers that although there is no record with "attribute name: color", there is a record with "function name: lamp", "No.: 10002", "attribute name: color", and "attribute value: red", and complements it, reflecting the information of the record related to the functional element ID "lamp 10002" in the project data 16.
 これにより、ユーザは、例えば、プロジェクトデータ16において、どの機能のどのNo.が未使用なのかを調べて設定する手間や、機能要素の各属性に設定可能な属性値を調べて設定する手間を経ずに、機能要素の追加が行える。したがって、ユーザによるプロパティデータ17の編集作業を支援することができ、プログラマブル表示器に表示される画面の表示を制御するためのプロジェクトデータの編集効率を向上させることが可能となる。 This allows the user to add functional elements without having to go through the trouble of checking which function numbers are unused in the project data 16 and setting them, or checking and setting attribute values that can be set for each attribute of the functional elements. This can therefore assist the user in editing the property data 17, and improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
 最後に、変形例において、編集対象となるプロジェクトデータが存在しない場合でも、プロパティデータの入力が受付られた場合に、プロジェクトデータが新規作成され、新規作成されたプロジェクトデータにプロパティデータの内容が反映される場合について説明する。 Finally, in a modified example, we will explain a case where, even if there is no project data to be edited, when input of property data is accepted, new project data is created and the contents of the property data are reflected in the newly created project data.
 図16は、変形例に係る編集中のプロジェクトデータ16がない場合のプロパティデータ17の反映処理を説明するための図である。図16では、編集中のプロジェクトデータ16が存在しない作画ウィンドウW1に対して、プロパティデータ17がユーザによるドラッグアンドドロップ操作で入力される様子が示されている。 FIG. 16 is a diagram for explaining the reflection process of property data 17 when there is no project data 16 being edited according to a modified example. FIG. 16 shows how the property data 17 is input by the user through a drag-and-drop operation into a drawing window W1 in which there is no project data 16 being edited.
 このとき、新規作成機能116において処理回路11Aは、作画ソフトウェアに編集中のプロジェクトデータ16が存在しない状態であっても、プロパティデータ17の入力があった場合、入力されたプロパティデータ17に対応するプロジェクトデータ16を新規作成したうえで、新規作成したプロジェクトデータ16にプロパティデータ17の内容を反映する。これにより、例えば、ユーザが作成済みのプロパティデータ17を編集された場合、編集前のプロパティデータ17が反映されたプロジェクトデータ16がない場合であっても、編集後のプロパティデータ17に対応するプロジェクトデータ16をユーザが準備する手間を削減できる。 At this time, in the new creation function 116, when property data 17 is input, even if there is no project data 16 being edited in the drawing software, the processing circuit 11A creates new project data 16 corresponding to the input property data 17 and reflects the contents of the property data 17 in the newly created project data 16. This reduces the effort required by the user to prepare project data 16 corresponding to the edited property data 17, for example, when the user edits already created property data 17, even if there is no project data 16 reflecting the pre-edited property data 17.
 なお、上記実施形態において、作画支援装置10が出力インタフェース13を含む構成としたがこれに限られない。具体的には、出力インタフェース13が作画支援装置10に外付けされ、作画支援装置10が出力インタフェース13を含まない構成であってもよい。 In the above embodiment, the drawing support device 10 includes the output interface 13, but this is not limited to the above. Specifically, the output interface 13 may be externally attached to the drawing support device 10, and the drawing support device 10 may not include the output interface 13.
 また、上記実施形態において、編集後のプロパティデータ17によって変更が加えられる前のプロジェクトデータ16は、ユーザが事前に任意の方法でプロパティデータ17を作成し、その内容が反映されたものであるとしたがこれに限られない。変更が加えられる前のプロジェクトデータ16は、所定の方法で作成された雛形データのようなものであってもよいし、過去に任意の方法で作成されたプロジェクトデータ16であってもよい。 In the above embodiment, the project data 16 before changes are made by the edited property data 17 is the property data 17 that the user has created in advance using a method of his choice, and the content of the property data is reflected in the project data 16; however, this is not limited to the above. The project data 16 before changes are made may be something like template data created using a specified method, or may be project data 16 that was created in the past using a method of his choice.
 また、上記実施形態に係る作画支援装置10の動作を規定する動作プログラムを既存のパーソナルコンピュータ又は情報端末装置に適用することで、当該パーソナルコンピュータ又は情報端末装置を実施形態に係る作画支援装置10として機能させることも可能である。 In addition, by applying an operation program that specifies the operation of the drawing support device 10 according to the above embodiment to an existing personal computer or information terminal device, it is also possible to cause the personal computer or information terminal device to function as the drawing support device 10 according to the embodiment.
 また、このようなプログラムの配布方法は任意であり、例えば、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、メモリカード等のコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットのような通信ネットワークを介して配布してもよい。 Furthermore, such programs may be distributed in any manner; for example, they may be stored on a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card and distributed, or they may be distributed via a communications network such as the Internet.
 本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。 This disclosure allows for various embodiments and modifications without departing from the broad spirit and scope of the disclosure. Furthermore, the above-described embodiments are intended to explain the disclosure and do not limit the scope of the disclosure. In other words, the scope of the disclosure is indicated by the claims, not the embodiments. Furthermore, various modifications made within the scope of the claims and within the scope of the disclosure equivalent thereto are deemed to be within the scope of the disclosure.
 本開示によれば、プログラマブル表示器に表示される画面の表示を制御するためのプロジェクトデータの編集効率を向上させることが可能な作画支援プログラム、作画支援方法、作画支援装置、及び作画支援システムを提供することができる。 According to the present disclosure, it is possible to provide a drawing support program, a drawing support method, a drawing support device, and a drawing support system that can improve the efficiency of editing project data for controlling the display of a screen displayed on a programmable display device.
 1,1A 作画支援システム、10,10A 作画支援装置、11,11A 処理回路、111 取得機能、112 差分抽出機能、113 編集機能、114 監視機能、115 補完機能、116 新規作成機能、12 入力インタフェース、13 出力インタフェース、14 通信インタフェース、15 記憶回路、16 プロジェクトデータ、17 プロパティデータ、20 プログラマブル表示器。 1, 1A drawing support system, 10, 10A drawing support device, 11, 11A processing circuit, 111 acquisition function, 112 difference extraction function, 113 editing function, 114 monitoring function, 115 complementation function, 116 new creation function, 12 input interface, 13 output interface, 14 communication interface, 15 memory circuit, 16 project data, 17 property data, 20 programmable display.

Claims (9)

  1.  コンピュータに、
     プログラマブル表示器に表示される画面の表示を制御するために作成されたプロジェクトデータを編集するためのプロパティデータを取得する取得機能と、
     前記プロパティデータと前記プロジェクトデータとを比較し、その差分を抽出する差分抽出機能と、
     前記差分に基づいて、前記プロジェクトデータを編集する編集機能と、
     を実現させる作画支援プログラム。
    On the computer,
    An acquisition function for acquiring property data for editing project data created to control the display of a screen displayed on a programmable display unit;
    a difference extraction function for comparing the property data with the project data and extracting the differences therebetween;
    an editing function for editing the project data based on the difference;
    A drawing support program that makes this possible.
  2.  前記差分は、前記プロジェクトデータを構成する機能要素を特定する識別子に基づいて抽出される、
     請求項1に記載の作画支援プログラム。
    The difference is extracted based on an identifier that identifies a functional element that constitutes the project data.
    The drawing support program according to claim 1 .
  3.  前記編集機能は、所定の前記識別子を有する機能要素が前記プロジェクトデータのみに含まれていた場合、当該所定の前記識別子を有する機能要素をプロジェクトデータから削除する、
     請求項2に記載の作画支援プログラム。
    the editing function deletes a functional element having a predetermined identifier from the project data when the functional element having the predetermined identifier is included only in the project data;
    The drawing support program according to claim 2.
  4.  前記プロパティデータを所定の時間間隔で参照し、前記プロパティデータの内容が変更されている場合に、当該変更を外部に通知する監視機能をさらに前記コンピュータに実現させる請求項1から3のいずれか1つに記載の作画支援プログラム。 The drawing support program according to any one of claims 1 to 3, further realizing in the computer a monitoring function that refers to the property data at a predetermined time interval and, if the contents of the property data have been changed, notifies the outside of the change.
  5.  前記プロパティデータに情報の不足がある場合、当該不足した情報を補完する補完機能をさらに前記コンピュータに実現させる請求項1から4のいずれか1つに記載の作画支援プログラム。 The drawing support program according to any one of claims 1 to 4, further comprising a complementing function for complementing the missing information when the property data is lacking.
  6.  前記プロパティデータの入力を受け付けたとき、比較対象となる前記プロジェクトデータが存在しない場合に、前記プロパティデータに対応するプロジェクトデータを新規作成する新規作成機能をさらに前記コンピュータに実現させる請求項1から4のいずれか1つに記載の作画支援プログラム。 The drawing support program according to any one of claims 1 to 4, further comprising a new creation function for creating new project data corresponding to the property data when the input of the property data is received and the project data to be compared does not exist.
  7.  プログラマブル表示器に表示される画面の表示を制御するために作成されたプロジェクトデータを編集するためのプロパティデータを取得し、
     前記プロパティデータと前記プロジェクトデータとを比較し、その差分を抽出し、
     前記差分に基づいて、前記プロジェクトデータを編集する、
     作画支援方法。
    Obtain property data for editing project data that was created to control the display of the screen displayed on the programmable display unit,
    comparing the property data with the project data and extracting the differences;
    Editing the project data based on the difference.
    Drawing support methods.
  8.  プログラマブル表示器に表示される画面の表示を制御するために作成されたプロジェクトデータを編集するためのプロパティデータを取得する取得部と、
     前記プロパティデータと前記プロジェクトデータとを比較し、その差分を抽出する差分抽出部と、
     前記差分に基づいて、前記プロジェクトデータを編集する編集部と、
     を備える作画支援装置。
    an acquisition unit that acquires property data for editing project data created to control display of a screen to be displayed on a programmable display device;
    a difference extraction unit that compares the property data with the project data and extracts the differences between the property data and the project data;
    an editing unit that edits the project data based on the difference;
    A drawing support device comprising:
  9.  プログラマブル表示器と、
     請求項8に記載の作画支援装置と、
     を備える作画支援システム。
    A programmable display;
    The drawing support device according to claim 8 ;
    A drawing support system equipped with the above.
PCT/JP2022/046636 2022-12-19 2022-12-19 Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system WO2024134714A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2022/046636 WO2024134714A1 (en) 2022-12-19 2022-12-19 Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system
JP2023547459A JP7456557B1 (en) 2022-12-19 2022-12-19 Drawing support program, drawing support method, drawing support device, and drawing support system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/046636 WO2024134714A1 (en) 2022-12-19 2022-12-19 Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system

Publications (1)

Publication Number Publication Date
WO2024134714A1 true WO2024134714A1 (en) 2024-06-27

Family

ID=90366984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/046636 WO2024134714A1 (en) 2022-12-19 2022-12-19 Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system

Country Status (2)

Country Link
JP (1) JP7456557B1 (en)
WO (1) WO2024134714A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10283020A (en) * 1997-04-04 1998-10-23 Digital Electron Corp Programmable display device
JP2001209520A (en) * 2000-01-27 2001-08-03 Yokogawa Electric Corp Operating device
JP2002091558A (en) * 2000-09-12 2002-03-29 Digital Electronics Corp Editor device and recording medium with recorded editor program
JP2008217573A (en) * 2007-03-06 2008-09-18 Ricoh Co Ltd Information processor, information processing method and information processing program
KR20110076459A (en) * 2009-12-29 2011-07-06 주식회사 포스코 System and method for controlling steel processing
JP2011238079A (en) * 2010-05-12 2011-11-24 Mitsubishi Electric Corp Control program development assist device
JP2013016021A (en) * 2011-07-04 2013-01-24 Hitachi Ltd Ladder program creation device and ladder program creation method
JP2013168031A (en) * 2012-02-15 2013-08-29 Fuji Electric Co Ltd Programmable controller system, support device thereof, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4630751B2 (en) 2005-07-28 2011-02-09 キヤノン株式会社 Printing system, printing apparatus, control method therefor, and program
JP5791311B2 (en) 2011-03-02 2015-10-07 キヤノン株式会社 Information processing apparatus, print setting method, and computer program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10283020A (en) * 1997-04-04 1998-10-23 Digital Electron Corp Programmable display device
JP2001209520A (en) * 2000-01-27 2001-08-03 Yokogawa Electric Corp Operating device
JP2002091558A (en) * 2000-09-12 2002-03-29 Digital Electronics Corp Editor device and recording medium with recorded editor program
JP2008217573A (en) * 2007-03-06 2008-09-18 Ricoh Co Ltd Information processor, information processing method and information processing program
KR20110076459A (en) * 2009-12-29 2011-07-06 주식회사 포스코 System and method for controlling steel processing
JP2011238079A (en) * 2010-05-12 2011-11-24 Mitsubishi Electric Corp Control program development assist device
JP2013016021A (en) * 2011-07-04 2013-01-24 Hitachi Ltd Ladder program creation device and ladder program creation method
JP2013168031A (en) * 2012-02-15 2013-08-29 Fuji Electric Co Ltd Programmable controller system, support device thereof, and program

Also Published As

Publication number Publication date
JP7456557B1 (en) 2024-03-27

Similar Documents

Publication Publication Date Title
US9501275B2 (en) Compositing deltas when merging artifacts in a version control system
US8229576B2 (en) Field device management apparatus and field device management system
US20130135331A1 (en) Project-data creating device and programmable display device
JP5921765B2 (en) Program graph display device, program graph display method, and program graph display program
US20080040677A1 (en) HMI Development Support Apparatus, HMI Development Support Method and HMI Development Support Program
WO2024134714A1 (en) Drawing assistance program, drawing assistance method, drawing assistance device, and drawing assistance system
US20220197238A1 (en) Development support device, method for controlling development support device, and recording medium
US20150370547A1 (en) Program editing device, program editing method and program editing program
JP2011186720A (en) Information processing apparatus, processing method, and computer-readable recording medium with processing program recorded thereon
JP2003186536A (en) Alarm-monitoring device
JP2006221538A (en) Measurement device and change history acquisition method using the same
JP3754438B2 (en) Information management method, information management program, and information management apparatus
JP2007193425A (en) Screen data preparation device, screen data edition method, and screen data edition program
EP0564845A2 (en) Graphical user interface including user control of what you see is what you get (WYSIWYG) editor objects
JP2007164353A (en) Command line generation system, method, and program
JP2001273125A (en) Method and system for automatically generating source program, and program recording medium therefor
JP2010128776A (en) Apparatus and method for automatic maintenance of portable terminal
JPH0973383A (en) Hmi management system and managing method
JP2009163566A (en) Job analysis support apparatus
JP2000148232A (en) Display image data generation system of central monitor and control equipment
WO2023248478A1 (en) Information processing device
JP2001075790A (en) Editor device and recording medium recording editor program
JP7504137B2 (en) Information processing device, information processing method, and information processing program
CN117434883B (en) Visual management method and device for PLC program version
WO2024116259A1 (en) Screen creation device and screen creation method