Screen definition device for operating panel

09830053 ยท 2017-11-28

Assignee

Inventors

Cpc classification

International classification

Abstract

A screen definition device includes a screen data generating unit that outputs screen data generated by combining model screen data in which section information is set, with screen definition tables for the model screen data; a screen data combining unit that combines the screen data with the other screen data based on a reference relation indicated by link information of the screen data and the link information of the other screen data; and a screen definition table setting unit that sets screen definition tables in a table form.

Claims

1. An operating panel connected to a programmable controller of operating equipment, comprising: screen data corresponding to a screen constituted by elements including a lamp indicating an operating state of a controller that controls equipment, and a button for operating the controller; a screen display unit in which the screen is displayed in a display in accordance with the screen data; a transparent touch panel disposed to overlap with the display, wherein when the touch panel is touched in the operating panel, an operation corresponding to the screen displayed in the display is performed, and the screen data includes section information indicating an arrangement of the elements constituting the screen, a screen definition table in which parameters for the elements constituting the screen are set, and link information that refers to other screen data for exclusive use in the equipment and which is designed by an equipment user; and a screen definition device comprising: a screen definition table setting unit that sets the screen definition table in a table form that correlates a plurality of parameters to an entry; a screen data generating unit that outputs the screen data generated by combining model screen data in which the section information is set, with the screen definition table for the model screen data; a screen definition table setting unit of the other screen data that sets the screen definition table of the other screen data in a table form; and a screen data combining unit that combines the screen data with the other screen data based on a reference relation indicated by link information of the screen data and link information of the other screen data.

2. The operating panel according to claim 1, further comprising: a screen definition table acquiring unit that acquires the screen definition table from the screen data.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The foregoing and further features and advantages of the invention will become apparent from the following description of example embodiments with reference to the accompanying drawings, wherein like numerals are used to represent like elements and wherein:

(2) FIG. 1 is a schematic diagram showing a configuration of a screen definition device and an operating panel according to an embodiment of the invention;

(3) FIG. 2 is a block diagram showing screen definition processing in the screen definition device according to the embodiment of the invention;

(4) FIG. 3 is an explanatory view showing model screen data for an individual operation screen that is a standard screen;

(5) FIG. 4 is an explanatory view showing a screen definition table for screen switching button elements commonly used in the standard screen;

(6) FIG. 5A is an explanatory view showing a screen definition table for lamp elements of the individual operation screen, FIG. 5B is an explanatory view showing a screen definition table for button elements of the individual operation screen, and FIG. 5C is an explanatory view showing a screen definition table for PLC addresses in FIG. 5B;

(7) FIG. 6 is an explanatory view showing the individual operation screen that is displayed;

(8) FIG. 7 is an explanatory view showing model screen data for an ID operation screen that is a user screen;

(9) FIG. 8 is an explanatory view showing a screen definition table for elements in the ID operation screen; and

(10) FIG. 9 is an explanatory view showing the ID operation screen that is displayed.

DETAILED DESCRIPTION OF EMBODIMENTS

(11) Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a schematic diagram showing a configuration of a screen definition device 30 for an operating panel that is mounted on a general-purpose personal computer (hereinafter referred to as the PC) by installing software of screen definition processing 100, and a configuration for an operating panel 20 in which a screen is displayed in a display 26 in accordance with screen data created by the screen definition device 30.

(12) As shown in FIG. 1, the operating panel 20 includes a CPU 21 that executes control for the entire operating panel 20, a ROM 22 in which a processing program to be performed by the CPU 21 is stored, and a RAM 24 in which the screen data created by the screen definition device 30 is stored. Furthermore, the CPU 21 is connected to the display 26 and a transparent touch panel 27 disposed so as to overlap with the display 26, via an interface 25. Furthermore, the CPU 21 is connected to a memory card device 28 via the interface 25, and thus, the screen data created by the screen definition device 30 can be input into the RAM 24 via a memory card. The screen data can be transmitted and received through connection via an interface 23 of the operating panel 20 and an interface 37 of the screen definition device 30. The operating panel 20 is connected to a controller PLC 10 that controls equipment 40 via an interface 29.

(13) The screen definition device 30 includes a CPU 31 that executes control for the entire screen definition device 30, a ROM 32 in which a processing program to be performed by the CPU 31 is stored, and a RAM 36. A display 34 and a keyboard 35 are connected to the CPU 31 via an interface 33. A memory card device 38 is connected to the CPU 31 via the interface 33, and thus, the screen data can be output to the memory card.

(14) The RAM 36 includes an area 36a where model screen data for a standard screen is stored, an area 36b where a screen definition table corresponding to the model screen data is stored, an area 36c where model screen data for a user screen is stored, an area 36d where a screen definition table corresponding to the model screen data is stored, an area 36e where screen data created by the screen definition device 30 is stored, and an area 36f where screen data management information is stored.

(15) The screen definition processing 100 executed by the screen definition device 30 having the above-mentioned configuration will be described with reference to a block diagram of FIG. 2.

(16) As shown in FIG. 2, the screen definition processing 100 includes, as processing programs, a screen definition table setting unit 110, a screen data generating unit 120, and a screen data combining unit 130. Furthermore, the screen definition processing 100 includes model screen data 210a that becomes a model screen of a standard screen of the operating panel 20, model screen data 210b that becomes a model screen of a user screen, and screen definition tables 111a and 111b corresponding to the model screen data 210a and 210b, respectively. The model screen data 210a and 210b are screen data created in advance by drawing software 200.

(17) When the screen definition processing 100 is started, the model screen data 210a for the standard screen stored in the area 36a of the RAM 36 of FIG. 1 is read.

(18) Examples of the standard screen include an operation display screen in which lamps and the like indicating an operating state are defined, an individual operation screen in which buttons for individual operations are defined, and an abnormality display screen in which lamps and the like indicating abnormalities are defined. The screen definition device 30 includes the model screen data 210a for the standard screen, and the screen definition table 111a corresponding to the model screen data 210a.

(19) As shown in FIG. 3, the model screen data 210a is image data that has section information indicating an arrangement of elements constituting the screen. FIG. 3 shows the model screen data for the individual operation screen that is the standard screen. The individual operation screen has a section configuration in which lamp elements are disposed in the upper side of the screen and button elements are disposed in the lower side of the screen. An identifying symbol (e.g., LP01) and an element type (e.g., the lamp) are allocated to each of these sections. A blank section at the right end of the screen is a special section in which screen switching button elements are to be disposed. The button elements constitute a portion corresponding to a menu of the operating panel, and the button elements are commonly displayed in the standard screen.

(20) The screen definition table setting unit 110 in FIG. 2 reads the screen definition table 111a for the standard screen stored in the area 36b of the RAM 36 in FIG. 1, and displays the data in a table form in the display 34. An attribute value of each element of the screen definition table 111a is undefined in an initial state.

(21) FIG. 4 is an explanatory view showing a screen definition table for the screen switching button elements common to the standard screen. The screen definition table setting unit 110 inputs a set value from the keyboard 35 into each of parameters such as a name of a button to be displayed and a name of a switching destination screen to which switching is to be performed, in the screen definition table in FIG. 4.

(22) FIG. 5A is an explanatory view showing a screen definition table for the lamp elements of the individual operation screen in FIG. 3, and FIG. 5B is an explanatory view showing a screen definition table for the button elements of the individual operation screen. FIG. 5C is an explanatory view showing a screen definition table for PLC addresses in FIG. 5B. As shown in FIG. 5A, FIG. 5B and FIG. 5C, the screen definition table is constituted by a plurality of table parts set for respective elements. Symbols in the screen definition table correspond to the sections (e.g., LP01, and BT1) set in the model screen data for the standard screen shown in FIG. 3.

(23) The screen definition table setting unit 110 inputs a set value from the keyboard 35 into each of parameters such as a name of a lamp to be displayed in each section, a character size of the name, a color of the lamp when the lamp is ON, and a color of the lamp when the lamp is OFF, in the screen definition table in FIG. 5A. For example, with regard to the parameter of the color, the set value is input in accordance with a rule in which, for example, white is indicated by W, black is indicated by BL, and orange is indicated by O.

(24) Subsequently, the screen definition table for the button elements in FIG. 5B is set. The screen definition table setting unit 110 inputs a set value from the keyboard 35 into each of parameters such as a name of a button to be displayed in each section, the number of lines of characters of the name, a character scaling factor, a color of the button when the button is ON, a color of the button when the button is OFF, a frame color of the button when the button is ON, and a frame color of the button when the button is OFF, in the screen definition table in FIG. 5B.

(25) Subsequently, the screen definition table for PLC addresses in FIG. 5C is set. The screen definition table setting unit 110 inputs an address in the PLC 10 from the keyboard 35 into each of parameters that are addresses in the PLC 10 for lamp blinking of a button to be displayed in each section, lamp lighting of the button, an output of the button, an operation condition, and the like, in the screen definition table in FIG. 5C.

(26) The screen data generating unit 120 in FIG. 2 combines the screen definition table 111a input by the screen definition table setting unit 110 with the model screen data 210a for the standard screen to generate screen data 120a, and displays this screen in the display 34.

(27) When the screen, which is set in accordance with the screen definition table 111a in FIG. 5A, FIG. 5B and FIG. 5C for the model screen data 210a for the individual operation screen of the standard screen in FIG. 3, is displayed in the display 34, the screen is displayed as shown in FIG. 6.

(28) Next, in the screen definition processing 100 in FIG. 2, the model screen data 210b for the user screen stored in the area 36a of the RAM 36 in FIG. 1 is read. The user screen is, for example, a screen for exclusive use in equipment, which is designed by an equipment user. The screen definition device 30 includes the model screen data 210b corresponding to the user screen, and the screen definition table 111b corresponding to the model screen data 210b.

(29) As shown in FIG. 7, the model screen data 210b is image data that has section information indicating an arrangement of elements constituting the screen. FIG. 7 shows the model screen data for an ID operation screen of the user screen. The ID operation screen has a section configuration in which ID elements are disposed in the upper side of the screen, and soft keyboard elements and button elements for setting IDs are disposed in the lower side of the screen. A blank section at the right end of the screen is a special section which is disposed in the same manner as in the standard screen and in which screen switching button elements are disposed.

(30) FIG. 8 is an explanatory view showing a screen definition table for the ID operation screen in FIG. 7. As shown in FIG. 8, the screen definition table is constituted by a plurality of table parts set for respective elements. Symbols in the screen definition table correspond to sections (e.g., BT1) set in the model screen data for the user screen shown in FIG. 7.

(31) The screen definition table setting unit 110 inputs a set value from the keyboard 35 into each of parameters such as a name of an item to be displayed in each section, a lamp color, an address where ID data is stored, and a name of a button, in the screen definition table in FIG. 8.

(32) Furthermore, a screen definition table (not shown) for the screen switching button elements of the user screen is set. The screen definition table is the same as the screen definition table in FIG. 4 except that the screen definition table corresponds to the user screen. By setting the screen definition table in the same manner as the manner in which the screen definition table in FIG. 4 is set, the common screen switching buttons are displayed in the standard screen and the user screen.

(33) The screen data generating unit 120 in FIG. 2 combines the screen definition table 111b input by the screen definition table setting unit 110 with the model screen data 210b for the user screen to generate screen data 120b, and displays the screen in the display 34.

(34) When the screen, which is set in accordance with the screen definition table in FIG. 8 for the model screen data 210b for the ID operation screen that is the user screen in FIG. 7, is displayed in the display 34, the screen is displayed as shown in FIG. 9. At this time, a screen name of the standard screen is set as a parameter for each screen switching button at the right end of the screen, and hence a reference relation indicated by link information has not been directly defined yet.

(35) As described above, all the screen data 120a, 120b including the screen data for the standard screen and the user screen are generated by the screen data generating unit 120. Furthermore, the reference relation indicated by the link information of the screen data 120a and the link information of the screen data 120b is directly defined by the screen data combining unit 130. Furthermore, screen data management information is generated, and thus, the format of the data is converted into a data format that can be handled by the operating panel 20. The screen data and the screen data management information are stored in the area 36e and the area 36f of the RAM 36 in FIG. 1, respectively.

(36) When the data stored in the RAM 36 is output to the memory card and the memory card is set in the memory card device 28 of the operating panel 20, the data of the memory card is input to the operating panel 20, and is stored in the RAM 24. Thus, the screen definition processing for the operating panel 20 is completed.

(37) As described above, in the screen definition device 30, the screen data 120a, 120b can be efficiently created by easily defining all the screens including the standard screen and the user screen in the table form. Furthermore, the user screen defined by the screen definition device 30 can be added to the existing standard screen.

(38) As shown in FIG. 2, a screen definition device 30 according to another embodiment may include a screen definition table acquiring unit 140 that is able to acquire a corresponding screen definition table 111b from existing screen data 120c. Thus, the screen definition table 111b can be acquired even from the screen data 120c for a user screen, which has been defined by drawing software 200, and the screen definition table 111b can be easily changed by a screen definition table setting unit 110. Furthermore, a screen data generating unit 120 regenerates the screen data 120c, and thus, the screen data can be efficiently created by using the existing screen data.