This application claims priority on Japanese patent application 2001-023641 filed Jan. 31, 2001.
The invention relates to a method of controlling a display device having a back light, as well as to such a display device. In particular, this invention relates to such a method and a device mounted to a programmable controller.
A back light is generally provided to a display device for a PLC or a so-called programmable terminal (PT) for improving the visibility of data and character arrays which are displayed on the display device.
On the other hand, programmable controllers for controlling apparatus of different kinds are being required not only to be usable for a wider variety of purposes but also to be compact. Thus, display devices having a back light are coming to be mounted to a programmable controller. Back lights which are mounted to a conventional programmable controller, however, are controlled to be switched on and off by a system program according to a preliminarily set on/off pattern. As a result, most of the controls were either for leaving it on all the time or for keeping the light on for a specified length t whenever a button is pressed, as shown in
A back light for a display device is not only for improving the visibility of data and character arrays which are displayed on the display device but also to serve to give a warning to the user. Thus, it is desirable that its on-off control be effected automatically, in the case of a programmable controller, for example, according to conditions of different kinds set by the user for providing a warning. With a back light for a conventional display device, however, such a flexible on-off control suitable to the user's purpose for use could not be effected because its on-off control was uniquely determined by a system program.
It is therefore an object of this invention to provide a method of controlling a back light of a display device such that it can be switched on and off according to its purpose of use by the user.
It is another object of this invention to provide a display device of which the on-off control of its back light can be effectively carried out according to the purpose of use by the user.
A method of controlling the back light of a display device according to this invention, by which the above and other objects can be accomplished, may be characterized as comprising the steps of providing at least one display setting data group including a message to be displayed on the display device and a control command for switching the back light on and off and specifying a parameter in a display command addressed to the display device, thereby selectively specifying one of the at least one display setting data group such that the back light is switched on and off according to the control command included in the specified display setting data group. Alternatively, the control command may be directly contained in the display command, not through a parameter. The color of the back light may be similarly controlled.
A display device with a back light according to this invention may be provided with at least one display setting data group including a message to be displayed on the display device and a control command for switching the back light on and off. It may be characterized as comprising an extracting means for selectively specifying a display setting data group by a parameter and extracting a control command from the specified display setting data group, and a control means for controlling switching of the back light on and off according to the control command extracted by the extracting means. The parameter is included in a display command addressed to the display device and serves to selectively specify a display setting data group. Instead of providing such an extracting means, the command may be directly included in the display command.
In the above, the display command may be a command for displaying a specified data item or character array in a user program of a programmable controller, and the control command may be for controlling the switching of the back light on and off. The control means may be designed so as to switch on the back light in response to the control command and then switching it off after keeping it on for a specified length of time.
The invention, together with further objects and advantages thereof, may best be understood by reference to the following description taken in conjunction with the accompanying drawings in which:
The invention is described next by way of an example with reference to
The CPU unit 100-1 of this programmable controller 100 is comprised of an MPU (micro-processing unit) 101, an internal memory 102, a data memory 103, a system program memory 104, a user program memory 105, a bus interface (I/F) 106, operating buttons 107, a back light 108 and a liquid crystal display (LCD) 109, which are connected to one another by a system bus 110. The MPU 101 is for controlling the entire operations of the programmable controller 100. The internal memory is for storing the internal data of this programmable controller 100, and the data memory 103 is for storing data of various kinds. The system program memory 104 is for storing the system program of this programmable controller 100, and the user program memory 105 is for storing a user program. The bus I/F 106 serves as an interface with the system bus 110. An I/O unit and high efficiency units (not shown) may be connected through this I/F bus 106. What is herein referred to as the operating buttons 107 may include, according to the illustrated example, cursor keys 107a, a delete (DEL) key 107b, an alternate (ALT) key 107c, an escape (ESC) key 107d and an execution (OK) key 107e which are to be operated by the user.
The LCD 109 is a display device for displaying various data related to the operations of this programmable control. The CPU unit 100-1 of the programmable controller 100 is also provided with input terminals 111a, output terminals 111b and power terminals 111c to serve as input/output and power supply parts.
With the programmable controller 100 according to this embodiment of the invention, the on-off control of the back light 108 is effected by a display command described in the user program stored in the user program memory 105 such as a diagram including display commands D, as shown in
Of the data items contained in the aforementioned display setting data group D100, data item “D1” (1) indicates that this display setting data group D100 is one of display setting data groups for the LCD 109 and is used when the display data setting group D100 is selectively specified by way of the parameter X contained in the display command D.
Data item “back light switch-on command” (2) is a control specification introduced by the present invention for switching on and off the back light 108. The back light 108 for the LCD 109 is switched on if this specification is present.
Data items “display start column number” (3) and “display line number” (4) are for specifying the display position of a message of various kinds to be displayed on the display screen of the LCD 109. Data item “display character array” (5) is for specifying a character array to be displayed on the display screen of the LCD 109. Since these data items are the same as those that used to be used in prior art display commands, they will not be described further in detail.
In addition to the data items shown above, another data item “back light switch-off command” may be additionally included for controlling the switching of the back light 108 on and off. It will be similar to the back light switch-on command except the back light 108 of the LCD 109 will be switched off when the back light switch-off command is present.
If the back light is designed to emit different colors of light, the selection of color may be carried out through the aforementioned data item “back light switch-on command”.
An example of process for carrying out a display command in the user program stored in the user program memory 105 of the programmable controller 100 shown in
When a display command is carried out, if the display command D has “D1” written in its parameter X, the display setting data group D100 which includes data with display number “D1” is selectively specified and a process is carried out for checking whether a “back light switch-on command” is included in the display setting data group D100 as a control command (Step 303). In other words, the means for carrying out the process in Step 303 may be said to function as an extracting means for selectively specifying the display setting data group D100 according to the parameter X (including “D1”) written in the display command D of the user program and extracting the “back light switch-on command” as a control command from the display setting data group D100. If the selectively specified display setting data group D100 is found not to include the “back light switch-on command” as a control command (NO in Step 303), the process is immediately ended. If the “back light switch-on command” is found to be included in the selectively specified setting data group D100 (YES in Step 303), on the other hand, the back light 108 of the LCD 109 is caused to be switched on (Step 304).
Next, a timer (not shown) is started for counting a specified time interval t (Step 305). Until this time interval t is counted up by the timer (NO in Step 306), the back light 108 remains switched on. When time t is counted up (YES in Step 306), the back light 108 is switched off (Step 307) and the process is completed.
The example of the back light switch control process shown by the flowchart of
The back light 108 remains switched on again for the same preliminarily set time interval t, starting at time t2. This, however, is not in response to the display command D but is because the user has pushed down the button 107. At time t3 when another display command D is carried out in the user program, the back light 108 is switched on again. If the user subsequently pushes down the button 107 at t4 before time t elapses since the point in time t3, the timer, which was referred to in Step 305 in the flowchart of
If the user pushes the button 107 again at time t5, the back light 108 is switched on. At time t6, in less than a time of t after time t5, still another display command D is carried out in the user program, and as the “back light switch-on command” is generated, the timer is restarted as shown in
Although the invention has been described above by way of only one example, this example is not intended to limit the scope of the invention. Many modifications and variations are possible within the scope of the invention. Although the switch-off control of the back light 108 is carried out by the system according to the example shown in
Since the on-off control of the back light 108 is effected according to the example described above not only by the pushing down of the button by the user but also by a display command in the user program, the visibility of the data or the character array displayed on the LCD 109 can be improved by the lighting from the back light 108, and it can also be used to give the user a warning. For such a purpose, it may be arranged so as to change the color of the back light 108 in order to more effectively call the attention of the user to the warning.
Although the display command D according to the example described above included only the parameter X without the contents of the parameter X such as the display setting data group D100, display setting data groups such as D100 may be directly described in the display command D.
Although the invention has been described above as the method of back light control and the displace device as used in connection with an PLC, neither is this intended to limit the scope of the invention. It goes without saying that the present invention may be applicable to any display device such as PT having a back light.
In summary, the present invention is characterized as the on-off control of a back light by a display command to the display device such that the back light can be switched on and off effectively according to the purpose of use by the user. Moreover, since the back light can be switched on and off by commands in the user program, their timing schedule can be prepared or reviewed when the user program is newly created or modified, and the back light can be switched on and off according to a prepared schedule. In particular, the back light can be prevented from being left switched on, and this means that a wasteful energy consumption can be prevented.
Number | Name | Date | Kind |
---|---|---|---|
4958915 | Okada et al. | Sep 1990 | A |
5019808 | Prince et al. | May 1991 | A |
5589848 | Shimizu | Dec 1996 | A |
5933089 | Katada | Aug 1999 | A |
6219021 | Izumi | Apr 2001 | B1 |
6452582 | Rolston | Sep 2002 | B1 |
Number | Date | Country |
---|---|---|
03-168616 | Jul 1991 | JP |
05-224713 | Sep 1993 | JP |
05-289707 | Nov 1993 | JP |
06-075610 | Mar 1994 | JP |
11-126118 | May 1999 | JP |
2000-242315 | Sep 2000 | JP |
2000-276248 | Oct 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20020122023 A1 | Sep 2002 | US |