Programmable display configured to store screen data for debugging into volatile memory
09595076 ยท 2017-03-14
Assignee
Inventors
Cpc classification
G06F12/0638
PHYSICS
G06F11/36
PHYSICS
G05B19/05
PHYSICS
G06F11/32
PHYSICS
G06F2212/205
PHYSICS
G06F3/1423
PHYSICS
International classification
G06F11/36
PHYSICS
G06F11/32
PHYSICS
G09G5/00
PHYSICS
G06F3/14
PHYSICS
G05B19/05
PHYSICS
Abstract
A programmable display includes a display, a volatile memory, a nonvolatile memory that stores control screen data containing screen data, and a controller that loads the control screen data from the nonvolatile memory into the volatile memory at startup and displays a screen on the display on the basis of control screen data loaded into the volatile memory. The controller has a function to store the control screen data received from a screen data creation device in the nonvolatile memory and a function to store the control screen data received from the screen data creation device directly in the volatile memory.
Claims
1. A programmable display comprising: a display; a volatile memory; a nonvolatile memory configured to store control screen data received from a screen data creation device, the control screen data containing a plurality of pieces of screen data; and a controller configured to load the control screen data from the nonvolatile memory into the volatile memory at startup and selectively display a screen corresponding to any one of the plurality of pieces of screen data on the display on a basis of the control screen data loaded into the volatile memory, wherein the controller is further configured to determine whether the control screen data is for debugging based on information included in the control screen data; in response to determining, based on the information, that the control screen data received from the screen data creation device is not for debugging, the controller stores the received control screen data in the nonvolatile memory, and in response to determining, based on the information, that the control screen data received from the screen data creation device is for debugging, the controller loads the plurality of pieces of screen data contained in the received control screen data into the volatile memory and stores the received control screen data directly in the volatile memory.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DESCRIPTION OF EMBODIMENTS
(8) Embodiments of a programmable display according to the present invention will be described in detail below with reference to the drawings. The present invention is not limited to the embodiments.
(9) Embodiment
(10)
(11) The programmable display 100 includes a controller 101, a display 102 as a display, a peripheral device communication interface (I/F) 103, a control device communication I/F 104, a nonvolatile memory 105, a volatile memory 106, and a touch panel 110 as an operation unit. The controller 101 has a function to determine whether control screen data received from the screen data creation device 300 is ordinary control screen data or control screen data for use in debugging. Ordinary control screen data and control screen data for use in debugging can be optionally distinguished from each other in such a way that an identifier indicative of being ordinary or for use in debugging is included in a header of the control screen data transmitted to the programmable display 100 and or that a flag indicative of being ordinary or for use in debugging together is transmitted to the programmable display 100 together with the control screen data.
(12) In response to the reception of ordinary control screen data created in the screen data creation device 300 through the peripheral device communication I/F 103, the controller 101 stores, as the control screen data 107, the received ordinary control screen data in the nonvolatile memory 105. The controller 101 also creates screen data information 111 and stores it in the nonvolatile memory 105. The screen data information 111 represents information for determining which address of the nonvolatile memory 105 data is to be read from and how large the data is (its size) when the control screen data 107 at startup of the programmable display 100 is loaded.
(13) The control screen data 107 is configured by multiple screen data. It is assumed here that the control screen data 107 is configured by screen data 109.sub.1 to 109.sub.n for screens 1 to N. It is also assumed that the screen data information 111 defines the storage addresses and storage sizes of the screen data 109.sub.1 to 109.sub.n on the nonvolatile memory 105.
(14) In response to the reception of control screen data for use in debugging created in the screen data creation device 300 through the peripheral device communication I/F 103, the controller 101 stores, as control screen data 113, the received control screen data for use in debugging in the volatile memory 106. The controller 101 also creates screen loading information 112 and stores it in the volatile memory 106. The screen loading information 112 represents information for determining which address of the volatile memory 106 data is to be read from and how large the data is (its size) when the controller 101 executes screen switching. The screen switching will be described hereinafter.
(15) The controller 101 also creates the screen loading information 112 and stores it in the volatile memory 106 when the control screen data 107 stored in the nonvolatile memory 105 is loaded into the volatile memory 106 as the control screen data 113.
(16) Thus, either the control screen data loaded by the controller 101 at startup of the programmable display 100 or the control screen data for use in debugging received from the screen data creation device 300 is stored in the volatile memory 106. The screen loading information 112 created by the controller 101 is also stored in the volatile memory 106 either when the controller 101 loads the control screen data 107 into the volatile memory 106 or when the controller 101 stores the control screen data for use in debugging in the volatile memory 106. The control screen data 113 is configured by screen data 114.sub.1 to 114.sub.n for screens 1 to N in a manner similar to those of the control screen data 107.
(17)
(18)
(19)
(20) Note that the switch for switching a screen to be displayed on the display 102 to a destination screen is not limited to such screen selector switches 7.sub.1 to 7.sub.4 where the destination screen is fixed. A switch for dynamically changing a destination screen may be used. For example, a switch to return to the previous screen (to switch to original screen) may be provided. When such a switch is pressed, the destination screen may be dynamically changed in accordance with which screen the current screen has been switched from.
(21)
(22) When the control screen data for use in debugging received from the screen data creation device 300 has been stored in the volatile memory 106, the control screen data 107 stored in the nonvolatile memory 105 is different from the control screen data 113 stored in the volatile memory 106. This poses no problem because the programmable display 100 according to the embodiment operates by referring only to the volatile memory 106. Additionally, since the programmable display 100 is not turned off while debugging is performed, it is not required that the control screen data 107 is stored in the nonvolatile memory 105.
(23) For comparison, screen update processing will now be described in a programmable display that stores control screen data for use in debugging, which is received from a screen data creation device, in a nonvolatile memory.
(24)
(25) According to the present embodiment, the programmable display 100 for constituting a system can refer to the changed control screen data 113 without writing or reading the control screen data 107 stored in the nonvolatile memory 105, and thus the time required for debugging can be reduced.
(26) Additionally, after the control screen data for use in debugging is received from the screen data creation device 300, the debugging work with the programmable display 100 may be performed independent of the screen data creation device 300. Therefore, the debugging work can be performed in a condition close to the actual environment.
INDUSTRIAL APPLICABILITY
(27) As described above, the programmable display according to the present invention is suitable to reduce the waiting time until a changed screen is displayed when control screen data is transferred to the programmable display during debugging of the control screen data, especially in the case of a significant amount of screen change.
REFERENCE SIGNS LIST
(28) 7.sub.1 to 7.sub.4 screen selector switch, 51, 61 index, 52, 62 storage address, 53, 63 storage size, 100 programmable display, 101 controller, 102 display, 103 peripheral device communication I/F, 104 control device communication I/F, 105 nonvolatile memory, 106 volatile memory, 107, 113 control screen data, 109.sub.1 to 109.sub.n, 114.sub.1 to 114.sub.n screen data, 110 touch panel, 111 screen data information, 112 screen loading information, 200 control device, 300 screen data creation device, 301 screen creating software.