This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2021-067476 filed on Apr. 13, 2021, the contents of which are incorporated herein by reference.
The present invention relates to a controller provided in an injection molding machine and including a display device on which various screens are displayed, and an injection molding machine including such a controller.
An injection molding machine is provided with a controller that controls each of devices constituting the injection molding machine. A display device is provided in the controller, and displays a setting screen on which setting, value data necessary for controlling each of the devices is displayed and set, an operation screen through which the injection molding machine is operated and on which measurement value data measured by each sensor is displayed, and the like. The screen displays a character string describing contents of the screen and a character string describing contents of various kinds of data to be displayed. For example, a character string “injection speed” is displayed for data indicating a speed of a screw driven in an injection process.
Many injection molding machines exported to various countries are compatible with many languages, and when a display language is switched, the character strings displayed on each of the screens are switched to each of the languages,.However, a display width of an object for displaying the character string, that is, a character string display field, allocated to the screen is fixed according to a design of the screen. Then, when the language is switched, the character string may not be appropriately displayed.
PTL 1 (JP-A-2017-24381) proposes a method of displaying a character string of a language in a character string display field even when the language is switched. Specifically, when the character string to be displayed exceeds a display width of the character string display field, the character string to be displayed is displayed in the character string display field by reducing a vertical width and a horizontal width, that is, bye reducing a font size.
In the method described in PTL 1, the entire character string can be displayed in the character string, display field, but there is a problem that it is difficult to read if the font size is too small.
The present disclosure provides a controller for an injection molding machine that includes a display device that displays a screen and displays a character string in a character string display field of the screen in an easily readable manner, and an injection molding machine.
Other problems and novel features will become apparent from the description of this specification and the accompanying drawings.
A controller for an infection molding machine includes a display device that displays various screens. In a case of displaying various screens, the controller is configured to, in a case where it is determined that a display character string to be displayed in a character string display field provided on the screen exceeds a display width in a standard font size, cause the display device to display the various screens in a font with only a horizontal width ratio of the font reduced and a vertical width ratio thereof maintained.
The present disclosure has an advantage of displaying a display character string on a screen in an easily readable manner.
Hereinafter, illustrative embodiments will be described in detail with reference to the drawings. However, the present invention is not limited to the following illustrative embodiments. In order to clarify the description, the following description and the drawings are simplified as appropriate. In the drawings, the same elements are denoted by the same reference numerals, and repeated description thereof is omitted as necessary. In addition, hatching may be omitted to avoid complicating the drawings.
The present illustrative embodiment will be described.
{Injection Molding Machine}
As shown in
{Mold Clamping Device}
The mold champing device 2 includes a fixed platen 5 fixed on a bed B, a mold clamping housing 6 that slides on the bed B, and a movable platen 7 that slides on the bed Bin the same manner. The fixed platen 5 and the mold clamping housing 6 are connected by a plurality of, for example, tour tie bars 9. The movable platen 7 is slidable between the fixed platen 5 and the mold clamping housing 6. A mold clamping mechanism 11 is provided between the mold clamping housing 6 and the movable platen 7. The mold clamping mechanism 11 may include a direct pressure type mold clamping mechanism, that is, a mold clamping cylinder, and in the present illustrative embodiment, the mold clamping mechanism 11 includes a toggle mechanism. The fixed platen 5 and the movable platen 7 are respectively provided with molds 13 and 14, and when the mold clamping mechanism 11 is driven, the molds 1 and 14 are opened and closed.
{Injection Device}
The injection device 3 includes a heating cylinder 16, a screw 17 housed in the heating cylinder 16, and a screw drive device 18 that drives the screw 17. A hopper 20 is provided in the vicinity of a rear end portion of the heating cylinder 16, and an injection nozzle 22 is provided at a front end of the heating cylinder 16.
{Controller}
As shown in
The controller 4 according to the present illustrative embodiment is a so-called multilingual controller, and a language to be displayed on the screen can be selected. As will be described in detail later, a character string to be displayed is selected based on the selected language on the various screens displayed on the display device 25. The controller 4 according to the present illustrative embodiment has a function of appropriately adjusting a length of the selected character string such that the selected character string can be easily seen even when the length of the selected character string is larger than a display width of the character string display field allocated to the screen. In order to implement this, the controller 4 is provided with a character string management database 27 which will be described later.
{Setting: Screen Based on Japanese Display}
A character string ID is allocated in advance as an attribute to each of the objects in the character string display fields SD1, SD2, and so on. The character string ID is an ID for specifying the character string to be displayed. For example, the same character string ID is allocated to the character string display fields SD1 and SD3, and the corresponding character string “ (Compression)” is displayed. Further, different character string IDs are allocated to the character string display fields SD6 and SD7, respectively, and corresponding character strings “
(initial clamping force)” and “
(compression start position)” are displayed. A correspondence between the character string IDs and the character strings to be displayed is defined in the character string management database 27 (see
{Character String Management Database}
A plurality of character string management databases 27 according to the present illustrative embodiment are prepared for each language. In the present illustrative embodiment, the character string management databases 27 are prepared for each of Japanese, English, German, French, and Chinese, and the English character string management database 27 is shown in
The character string management database 27 manages the following information.
Character string ID is an ID for associating with the character string, and is associated with the following display character string and shortened character string.
Display character string is a character string preferentially displayed in the character string display fields SD2, and so on, and is a character string including a format expression that is not shortened.
Shortened character string is a character string displayed when the display character strings in the character string display fields SD1, SD2, and so on cannot be displayed and including a shortened expression. In the present illustrative embodiment, a plurality of shortened character strings can be allocated to the character string ID.
When there are the plurality of shortened character strings, the user can select and display the shortened character strings to be displayed in the character string display fields SD1, SD2, and so on. The user selection information is information for specifying the shortened character string selected last time.
{Character String Display Processing}
Character string display processing 28 performed in the screen display by the controller 4 according, to the present illustrative embodiment shown in
First, the display language is checked (step S1). When English is selected in the controller 4, the processing is performed based on the English character string management database 27 shown in
Next, the character string display field allocated to the screen is searched for, and the character string display field is obtained (step S2). That is, the character string display fields SD1, SD2, and so on (see
Subsequently, it is checked whether the display character string can be displayed in the character string display field, that is, whether the display character string fits within the display width in the standard font size (step S5). When it is determined in step S5 that the display character string can be displayed (YES) the character string display processing 28 displays the display character string in the character string display field SD6 (step S6). When it is determined in step S5 that the character string cannot be displayed (NO), the character string display processing 28 checks whether the display character string can be displayed in the character string display field with the horizontal width ratio of the display character string reducing in a state where the vertical width ratio of the font is maintained (step S7). Whether the display is possible is determined in step S7 is determined by a minimum ratio defined in advance. For example, assuming that the minimum ratio is 50%, when the display character string cannot be displayed in the character string display field unless the display character string is reduced to the horizontal width ratio of 50% or less, it is determined in step S7 that the display character string cannot be displayed.
When it is determined in step S7 that the display character string can be displayed (YES), the display character string is reduced and displayed (step S8). That is, the horizontal width ratio is reduced and the display character string is displayed in the character string display field as indicated by a reference numeral 53 in
Following step S6, step S8, and step S9, it is determined whether the display of all the character string display fields is completed (step S10), in step S10, when the display of all the character string display fields is completed (YES), the processing is ended, and when the display of all the character string display fields is not completed (NO), the processing returns to step 52.
Here, the character string display processing 28 will be described with a specific example. In step S2, it is assumed that the character string display field SD6 (see (initial clamping force)” is displayed when Japanese is selected as the display language as shown in
When the character string ID allocated to the character string display field SD6 is “STR035”, “STR035” is obtained in the step S3. Then, in step S4, for the character string ID “STR035”, “Initial Clamping Force” as the display character string, “Init CLP-F” as the shortened character string (1), and “0” as the user selection information are obtained from the character string management database 27 (see
It is checked in step S5 whether the display character string “Initial Clamping Force” in the character siring display field 506 fits within the display width in the standard font size. However, actually, as indicated by a reference numeral 52 in
In step S7, as shown in
{Shortened Character String Display Processing}
Hereinafter, a flow of the shortened character string display processing that is the sub-processing of the processing of step S9 in
In step S11, when there are a plurality of shortened character strings (NO), it is checked whether the user selection information is registered (step S13). In step S13, when the user selection information is not registered (NO), a first shortened character string is selected (step S14), and the processing proceeds to step S12 to be described later. In step S13, when the user selection information is registered (YES), the shortened character string selected by the user is selected (step S15), and the processing proceeds to step S12 to be described later. As will be described later, when there are the plurality of shortened character strings, the user can select the shortened character string to be displayed.
When it is determined in step S11 that there is one shortened character string (YES), it is determined Whether the shortened character string can be displayed in the display width (step S12). That is, it is checked whether the shortened character string exceeds the display width in the standard font size, in step S12, when the shortened character string can be displayed in the display width (YES), the shortened character string is displayed (step S16), In step S12, when the shortened character string cannot be displayed in the display width (NO). the shortened character string is reduced and displayed (step S16). Following step S16 and step S17, the shortened character suing is underlined as a character decoration (step S18), and the shortened character string display processing is ended.
Here, the shortened character string display processing will be described with a specific example. As shown in
In step S13, when the user selection information is a numerical value “0” in the character string management database 27 shown in
On the other hand, in step S13, when the user selection information is numerical value other than “0” in the character string management database 27 shown in
In step S12, it is checked whether the selected shortened character string can be displayed in the character string display field SD6. When the shortened character string does not exceed the display width, step S16 is performed to display the shortened character string in the character string display field SD6 as indicated by a reference numeral 54 in
When the shortened character string is displayed in the character string display field SD6, the character decoration is applied in step S18 in order to indicate that the character string is the shortened character string. For example, the shortened character string can be an italic. form or a bold form. In the present illustrative embodiment, as indicated by a reference numeral 59 in
{Other Functions of Character String Display Processing}
In the present illustrative embodiment, various functions are prepared for the character string display processing 28. As shown in
Further, when the plurality of shortened character strings are prepared, the user can select the desired shortened character string. As shown in
In the shortened character string sub-window 63, a display character string field 64 in which the display character string is displayed, a list box 66 in which the plurality of shortened character strings are displayed in a list, an execution button 67, and a cancel button 68 are displayed. When the user presses the cancel button 68, the shortened character string sub-window 63 disappears. When the user selects the desired shortened character string and presses the execution button 67, the user selection information of the corresponding character string ID, for example, “STR042” is rewritten in the character string management database 27 shown in
{Other Illustrative Embodiments}
The character string display processing 28 in the controller 4 according to the present illustrative embodiment can be variously modified. For example, the shortened character string may be edited by the user,
The user can freely edit the shortened character string in the shortened character string editing text box 70. When the execution button 67 is pressed, the shortened character string edited by the user is written in the character stringy, management database 27 shown in
{Other Modifications}
Although the present illustrative embodiment describes that the plurality of shortened character strings can be registered for the character string. ID, the number of characters that can be registered may be only one. Further, the present illustrative embodiment describes that the user selection information is managed for the character string ID in the character string management database 27. However, the user selection information may be managed corresponding to the character string display field SDx on the screen. Then, it is possible to cope with a case where the user wants to select a specific shortened character string only in the character string display field SDx of a certain screen and to select another shortened character string on another screen. This is because the shortened character string to be displayed can be changed for each screen. Further, although the above-described illustrative embodiments have been explained for the case where the display language is switched from Japanese to English, the present invention can also be applied to various modifications (e.g., for a case where the display language is switched from Japanese to German, from Chinese to English, from English to German).
Although the invention made by the present inventor has been specifically described above based on the illustrative embodiment, it is needless to say that the present invention is not limited to the illustrative embodiment described above, and various modifications can be made without departing from the scope of the present invention. The plurality of examples described above can be implemented in combination as appropriate.
Number | Date | Country | Kind |
---|---|---|---|
2021-067476 | Apr 2021 | JP | national |