WO2015063848A1 - Programmable display apparatus and program - Google Patents

Programmable display apparatus and program Download PDF

Info

Publication number
WO2015063848A1
WO2015063848A1 PCT/JP2013/079193 JP2013079193W WO2015063848A1 WO 2015063848 A1 WO2015063848 A1 WO 2015063848A1 JP 2013079193 W JP2013079193 W JP 2013079193W WO 2015063848 A1 WO2015063848 A1 WO 2015063848A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
display
animation
data
item
Prior art date
Application number
PCT/JP2013/079193
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/JP2013/079193 priority Critical patent/WO2015063848A1/en
Priority to JP2015544649A priority patent/JP6138269B2/en
Priority to CN201380080067.4A priority patent/CN105593925B/en
Publication of WO2015063848A1 publication Critical patent/WO2015063848A1/en

Links

Images

Classifications

    • 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/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/06Remotely controlled electronic signs other than labels

Definitions

  • the present invention relates to a programmable display and the like.
  • a programmable display is connected to various connected devices such as a PLC main body and a temperature control device, and items such as numerical displays and lamps for displaying the status of these connected devices, and for users to give arbitrary instructions. Displays an image of items such as switches. An item is also called a screen component or the like. Usually, images of a plurality of screen parts (items) are displayed on the screen of the programmable display.
  • the screen of the programmable display is called an operation display screen.
  • Screen data or the like Data or the like for displaying such an operation display screen (referred to as screen data or the like) is arbitrarily created in advance by a developer or the like in a support device (not shown) and downloaded from the support device to a programmable display. .
  • the screen data includes data for each item, such as an image of the item, display position coordinates, and an address of an allocated memory area to be described later.
  • some programs may be included.
  • the item image is, for example, an image of a switch, an image of a lamp, or a “image of a type indicating a numerical value by a figure” such as a meter (meter or the like) or a bar graph.
  • Each of the above items displays the status of the component corresponding to an arbitrary component of an arbitrary connected device, or accepts an ON / OFF instruction for the component.
  • the current temperature is displayed as a numerical value as needed.
  • the display control related to the various items is realized by, for example, periodically executing predetermined processing for each item.
  • the predetermined processing is, for example, reading stored data in a predetermined area (allocated memory area) of a memory device in the connected device, and determining / displaying the display content of the item based on the stored data.
  • the connected device updates the stored data in each allocated memory area as needed. For example, in the temperature control device, the temperature measurement value is updated as needed.
  • the stored data in the allocated memory area is 1-bit data. When this bit is “0”, the item image to turn off the lamp, and when “1”, the lamp is turned on is programmable. Display on the display.
  • the stored data in the allocated memory area is updated on the connected device side as described above. For example, “1” is stored in the allocated memory area when the push button on the connected device is ON, and “0” is stored when the push button is OFF.
  • a predetermined area of the memory device in the connected device that is, an allocated memory area may be referred to as a monitoring memory. From the above, it can be said that an arbitrary monitoring memory is assigned to each item, and the display content of each item is controlled to be updated based on the data stored in the monitoring memory.
  • the data read from the monitoring memory is temporarily stored in a predetermined area (referred to as internal memory) of the memory device in the programmable display, and the display contents of the item are determined and displayed based on the stored data.
  • internal memory a predetermined area of the memory device in the programmable display
  • the process of reading the data stored in the monitoring memory and storing it in the internal memory is executed, for example, periodically by the communication function unit of the programmable display.
  • the communication function unit communicates with various connected devices such as the PLC main body and the temperature control device, acquires the storage data of the monitoring memory for each item, and stores the acquired data in the internal memory. Overwrite and store.
  • the item display function part which performs the display control which concerns on the said various items in a programmable display determines and controls the display content regarding each item by accessing an internal memory regularly.
  • Patent Document 1 the prior art described in Patent Document 1 is known.
  • An object of the invention of Patent Document 1 is to reduce the amount of memory used and to speed up the drawing process.
  • drawing data including graphics information and animation information indicating a change in graphics information is analyzed to generate internal data. Further, a drawing command is generated based on the generated internal data.
  • an update function for updating the generated drawing command to a drawing command corresponding to the current time is provided. When the drawing command is updated by the update function, a drawing process is performed on the frame corresponding to the current time using the updated drawing command.
  • the item display content of the programmable display is not limited to the form indicating ON / OFF or lighting / extinguishing such as a switch or the lamp, but numerical values (for example, temperature, humidity, rotation) of data stored in the monitoring memory
  • Some items display numbers.
  • there is an item such as not only displaying a numerical value but also displaying the numerical value in a visually easy-to-understand manner using a figure or the like.
  • FIG. 22A shows a display example of the meter.
  • the stored data in the monitoring memory is displayed in the form of the illustrated meter.
  • the stored data can take any numerical value within the range of “0” to “60”.
  • the data stored in the monitoring memory changes from “10” to “50” at an arbitrary time.
  • the programmable display unit converts the new data value '50' into an angle of the meter needle and displays the needle at the angle.
  • the angle corresponding to the data value “10” is 30 degrees
  • the angle corresponding to the data value “50” is 150 degrees.
  • the display state is updated from the state in which the hands are displayed at an angle of 30 degrees to the state in which the hands are displayed at an angle of 150.
  • the display state on the meter is updated from the display state in which the hand points to the numerical value “10” to the display state in which the numerical value “50” points.
  • the meter display is such that the needle gradually moves (rotates), for example, as in a car speed meter or tachometer. It may be desired to have such an analog smooth needle movement.
  • the needle is displayed so as to gradually and smoothly rotate from an angle of 30 degrees to an angle of 150 as indicated by an arrow in the figure.
  • An object of the present invention is to provide a programmable display or the like that can display a display supplement animation that can smoothly display an update of the display content of an item of a type that displays a value by a figure.
  • the programmable display of this invention has the following each structure in the programmable display connected to the connection apparatus.
  • the screen data having an item in which an arbitrary allocated memory area in the connected device is set, and having at least a graphic expression item for displaying the value of the data in the allocated memory area by the position or angle of the graphic Means for storing screen data;
  • a target position / angle calculating means for obtaining a target position or target angle which is a position or angle of a graphic corresponding to the data value after the change when the data value of the allocated memory area is changed with respect to the graphic expression item;
  • Display supplement animation control means for performing animation display for moving or rotating the figure stepwise from the start position or start angle, which is a position or angle corresponding to the data value before change, to the target position or target angle.
  • (A) to (c) are data configuration examples of various data created during processing. It is a process flowchart figure of a communication process part. It is a process flowchart figure (1/2) of an item process part. It is a process flowchart figure (2/2) of an item process part. It is a detailed flowchart figure of the start process of step S28. It is a detailed flowchart figure of the stop process of step S26. It is a process flowchart figure of a parameter update execution timer process part.
  • (A) to (c) are display examples when step S25 is YES.
  • (A), (b) is a display example in which the color display is variable. It is a functional block diagram of the programmable display of this example.
  • (A) is a calculation method of the angle of a needle
  • (b) is a figure which shows the data structure of a meter. It is a display image of a conventional meter. It is a figure which shows the parameter change which concerns on this operation
  • FIG. 1 is a schematic configuration diagram of the entire system including the programmable display 1 of this example.
  • the programmable controller system shown in FIG. 1 has various connection devices 4 and a programmable display 1 connected to the various connection devices 4 via a communication line 6. Furthermore, the structure by which the programmable display 1 was connected to the drawing editor apparatus 5 (support apparatus) via the communication line 3 may be sufficient. However, the drawing editor device 5 does not necessarily need to be connected to the programmable display device 1. The drawing editor device 5 may be referred to as the support device 5 in some cases.
  • the programmable display 1 is provided with a plurality of communication interfaces 2 (communication ports), and is connected to various connection devices 4 and the drawing editor device 5 by the communication line 3 / communication line 6 connected to each communication interface 2. ing.
  • FIG. 2 is a configuration example of the programmable display 1 of this example.
  • the programmable display device 1 has a function of displaying an operation display screen based on the above-described screen data and the like in substantially the same manner as the above-described conventional example. May be executed. Details will be described later.
  • the illustrated programmable display 1 includes a display operation control device 10, a touch panel 18, a display 19, the communication interface 2 and the like.
  • the display operation control device 10 includes a CPU 11, a ROM 12 (flash memory, etc.), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, etc., which are connected to a bus 17.
  • the CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10.
  • the CPU 11 performs a predetermined arithmetic processing operation by executing a program (for example, a main body program 21 described later) stored in advance in the ROM 12. Thereby, for example, the processing of various flowcharts to be described later is realized.
  • a program for example, a main body program 21 described later
  • Various calculation results are stored in, for example, the RAM 13 or the ROM 12.
  • the ROM 12 may be a flash memory, for example.
  • the ROM 12 stores the screen data (screen data 22 described later) and the like described in the background art.
  • screen data screen data 22 described later
  • the image data the display position coordinates and size of the item, the angle of the needle, the position of the tip of the bar, the display color, for example
  • various data related to item display data related to monitoring memory access such as the address of the allocated memory area, and the like.
  • the processing of the CPU 11 includes, for example, processing for acquiring “stored data in the allocated memory area for each item” described in the background art. From the above, it can be said that this is a process of acquiring data stored in the “monitoring memory”. This acquired data is temporarily stored in, for example, a shared memory 63 described later.
  • the shared memory 63 may be a part of the storage area of the RAM 13 or the ROM 12 or may be another memory (not shown).
  • display target data based on, for example, the screen data and the acquired data is developed (drawn) on, for example, the RAM 13 or a video RAM (not shown) by the processing of the CPU 11.
  • the graphic controller 15 displays the above-described operation display screen on the display 19.
  • the acquired data (numerical value) from the monitoring memory is converted into the angle of the meter needle and the acquired data is displayed by displaying the needle at this angle.
  • a display supplement animation display to be described later is performed, particularly in connection with such an item “display numerical values with graphics”. That is, for example, when a meter is used as an example, when the value changes, the needle is moved (rotated) from the current angle to the new angle instead of immediately displaying the needle at the angle corresponding to the changed value (new angle).
  • animation display is performed. Details will be described later.
  • the display 19 is made of, for example, a liquid crystal panel, and a touch panel 18 is provided so as to overlap the liquid crystal panel.
  • the operation display screen is basically displayed in which a plurality of item images are arranged at predetermined positions. Then, there is a case where display complement animation display of the present method is performed on the operation display screen.
  • the communication controller 14 communicates with the connection device 4 and the drawing editor device 5 such as a PLC main body (not shown), a temperature control device, and the like via the communication interface 2.
  • the detection result of the pressing operation position (touch position) on the touch panel 18 by the operator or the like is taken into the CPU 11 or the like via the touch panel controller 16 and analyzed. This is analyzed based on the display position coordinates and size data of each item, for example. For example, when an operator touches the display position of an image of an arbitrary switch, it is assumed that the operation has been performed on this switch by analyzing that the touch position is within the display area of the switch image. It becomes.
  • Fig. 3 shows the software configuration of this system.
  • various programs / data such as a main body program 21, screen data 22, and communication program 23 are stored in the ROM 12 (flash memory or the like), for example.
  • the CPU 11 reads / executes / references these programs / data and the like, display control of the operation display screen and the like is performed.
  • the operation display screen includes image displays of various items such as meters, bar graphs, lamps, and switches. The display content of each item image is updated as needed, for example, by reflecting data acquired from the allocated memory area (monitoring memory) through communication with the connected device 4.
  • the CPU 11 performs processing based on the main body program 21 and the screen data 22, whereby the operation display screen is displayed.
  • the display content of each screen component on the operation display screen is updated as needed based on the result of communication with the connected device 4 by the communication program 23 (such as the acquired data).
  • the display content is, for example, a display indicating a numerical value such as a temperature or lighting / extinguishing of a lamp.
  • the present technique particularly relates to display control of items such as meters and bar graphs in which numerical values are represented by graphics or the like, for example, display control of items of a type in which numerical values are represented by positions or angles of the graphics.
  • the screen data 22 is, for example, a screen data file 32 arbitrarily created in advance on the drawing editor device 5 side, downloaded to the programmable display device 1 and stored.
  • the communication program 23 is also the one in which, for example, the communication program file 33 previously stored on the drawing editor device 5 side is downloaded and stored in the programmable display device 1.
  • the CPU 11 performs display control of the operation display screen based on the main body program 21, screen data 22, acquired data, and the like. For example, regarding items such as meters and lamps, data is periodically read from the allocated memory area of the item, and the display content of the item is updated based on the read data. Alternatively, for example, regarding an item such as a switch, when the user touches a desired switch on the operation display screen and performs an ON / OFF operation, switch ON image display / switch OFF image display is performed. The CPU 11 also controls the connection device 4 according to the switch operation.
  • the read data from the allocated memory area is temporarily stored in a later-described shared memory 63 (internal memory) in the programmable display 1, and item display control is performed based on this.
  • the “item that expresses a numerical value by the position or angle of a figure” described above may not be immediately reflected in the display of the latest data value, and a display complement animation display described later may be performed. . That is, display control is performed so that the position / angle is gradually moved / rotated (stepwise) and finally the position / angle reflecting the latest data value is obtained.
  • / means “or” or “or”.
  • position / angle means, for example, “position or angle”
  • movement / rotation means, for example, “movement or rotation”. Others are the same.
  • the communication program 23 of the programmable display 1 is a program for communicating with the connection device 4 via the communication line 6.
  • each connected device 4 has a communication protocol (communication rule) unique to each model and performs communication between the programmable display 1 and the connected device 4 in accordance with this communication rule. Therefore, the communication program 23 needs to be developed for each model of each connected device 4.
  • the CPU 11 and the like execute the communication program 23 to realize communication processing with the connected device 4.
  • connection device 4 such as the PLC main body has various manufacturers and models, each manufacturer / model has its own communication program, and the communication program 23 depends on the manufacturer / model of the connection device 4 depending on the case. Multiple types will be provided.
  • the communication program 23 is normally stored in advance as a plurality of communication program files 33 (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing editor device 5. Then, when the user selects / designates an arbitrary connected device 4 using the drawing editor 31, the drawing editor device 5 transfers the communication program file 33 corresponding to the selected connected device 4 to the programmable display device 1, The communication program 23 is stored.
  • the process of accessing the monitoring memory in the connected device 4 from the programmable display 1 is executed according to various settings included in the screen data 22.
  • it is executed according to various user settings made when the screen data file 32 is created on the drawing editor 31.
  • the drawing editor 31 allows the user to set an “animation interval” to be described later, etc. with respect to an item to be displayed for display complement animation display according to this method.
  • the screen data file 32 created as described above is downloaded to the programmable display 1 and stored as the screen data 22.
  • the programmable display 1 performs display control of the operation display screen using the screen data 22 as in the conventional case, and accordingly, periodically acquires the data in the monitoring memory for each item. Perform operations and so on. Furthermore, an operation for updating the item display content on the screen based on the acquired data may be performed. Furthermore, with respect to this display content update, by performing the display complement animation display of this method, it is possible to realize a display in which, for example, the meter needle rotates smoothly in an analog manner.
  • a program for realizing various processes such as access to the monitoring memory, temporary storage of acquired data, and screen display may be included in the main body program 21, for example, or the screen data file 32 (screen data 22). May be included.
  • the CPU 11 executes such a program, for example, various processes and operations of the programmable display 1 of this example are realized.
  • the support device 5 is, for example, a personal computer or the like.
  • a general general-purpose computer configuration (CPU, storage unit (hard disk, memory, etc.), communication unit, operation unit (mouse, etc.), display) is provided. Have. When the CPU executes an application program stored in advance in the storage unit, for example, the processing functions of the drawing editor 31 are realized.
  • FIG. 4 is an example of a screen data creation support screen in the drawing editor device 5.
  • a meter as shown in FIG. 4 is basically described as an item for performing display complement animation display, but of course, the present invention is not limited to this example.
  • an item of a type that displays a value by a graphic is a target, and may be, for example, the above bar graph or the like.
  • the display supplement animation display shows the display content of rotating the needle by changing the angle of the needle, but in the case of a bar graph, the position of the tip of the bar is changed. become.
  • a setting box (dialog box or the like) related to this item is displayed.
  • a meter setting box 40 is displayed.
  • various setting areas such as a monitoring memory setting area 41, a minimum / maximum value setting area 42, and an animation interval setting area 43 are provided.
  • the user can arbitrarily set the address of the allocated memory area (monitoring memory) of the setting target item (meter) on the monitoring memory setting area 41.
  • the setting result is stored as a monitoring memory device name 91 and a management memory address 92 which will be described later.
  • the user can set the minimum value and the maximum value related to the stored data in the allocation memory area of the setting target item on the minimum value / maximum value setting area 42.
  • the minimum value 0 and the maximum value 60 are set.
  • the setting result is stored as a minimum value 99 and a maximum value 100 described later.
  • the user can set a desired animation interval value on the animation interval setting area 43.
  • the setting result is stored as an animation interval 101 described later.
  • the animation interval is not set, for example.
  • the initial value of the animation interval in the animation interval setting area 43 is “0”, and it remains “0” when the setting is not performed.
  • display supplement animation display is not executed for the item.
  • this is an example, and the present invention is not limited to this example. What is necessary is just to enable it to specify whether a user performs a display complement animation display for every item by a certain method.
  • FIG. 5A shows an operation image of display complement animation display of this method
  • FIG. 5B shows a parameter change related to this operation.
  • the address of the monitoring memory (allocated memory area) related to the item (meter) shown in the figure is “D100”. It is assumed that the value has changed from “10” to “50”.
  • the needle was immediately displayed at 150 degrees, which is an angle corresponding to the data value '50'.
  • the time of the animation interval 101 (change time ht) is multiplied and the angle (30 degrees) corresponding to the data value “10” is obtained.
  • the display is performed so that the angle of the needle is gradually (stepwise) changed to the angle (150 degrees) corresponding to the data value “50”.
  • this is realized by performing a process of changing the display angle of the needle every fixed period ⁇ t.
  • ⁇ t is arbitrarily determined and registered in advance.
  • ⁇ t is set in the CPU timer.
  • the CPU timer counts up when the count value reaches ⁇ t. In other words, it counts up when the time ⁇ t elapses from the start.
  • the needle display angle gradually (in steps) is an angle (150) corresponding to the above-mentioned '50'. ).
  • the display complement animation display process of this method performs the update process of the current angle and the item display process by the updated current angle at regular intervals (every parameter update time ⁇ t). Finally, the current angle becomes an angle corresponding to the latest acquired data (in this example, 150 degrees), and the display supplement animation display process ends. Details will be described later.
  • FIG. 6 is a processing function diagram of the programmable display of this example.
  • various processing function units shown within a dotted line in FIG. 6 are realized. That is, various types of processing function units such as the item generation unit 51, the item processing schedule unit 52, the item processing unit 53, the parameter update execution timer processing unit 54, the communication processing unit 55 (55-1, 55-2, etc.) shown in the figure. Processing functions are realized. Details of these various processing functions will be described later.
  • the parameter update execution timer processing unit 54 may be a part of the function of the item processing unit 53.
  • the item generation unit 51, the item processing schedule unit 52, the item processing unit 53, and the parameter update execution timer processing unit 54 are realized by the main body program 21.
  • the communication processing unit 55 is realized by the main body program 21 and the communication program 23, for example. Further, the screen data 22 and the like are used when executing processing of these processing functions.
  • the item generation unit 51 generates an item list 61 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22.
  • FIGS. 7, 8, and 9 show data structure diagrams of the item list 61.
  • FIG. 7 shows data structure diagrams of the item list 61.
  • FIG. 7 is a data configuration diagram of the entire item list 61.
  • FIG. 8 is a detailed data configuration example of the data 85 for each item type as a part thereof, and
  • FIG. 9 is a detailed data configuration example of the animation control information 102 as a part thereof.
  • the item list 61 in the example shown is an item number. 81, item type 82, coordinate 83, size 84, “data for each item type” 85, processed flag 86, and the like.
  • the item list 61 stores the various information 81 to 86 for each item on the operation display screen. From the above, the various information 81 to 86 may be regarded as a part of the screen data 22. The data structure of the screen data 22 is not particularly shown.
  • Reference numeral 81 denotes an identification ID of the item.
  • a unique ID for identification is assigned to each item on the operation display screen, that is, each item constituting the screen data 22.
  • Item type 82 stores item type identification information indicating the type of the item (switch, lamp, meter, bar graph, etc.).
  • the coordinates 83 and the size 84 store information for designating the display position and size of the image of the item (in the case of a meter, a background image, a needle image, etc., which will be described later).
  • the processed flag 86 is a flag indicating whether or not it has been processed, and its usage will be described later with reference to a flowchart.
  • data for each item type stores various data according to the type of the item.
  • various data when the item type is “meter” are shown in FIG.
  • the “data for each item type” 85 in the example shown in FIG. 8 includes a monitoring memory device name 91, a monitoring memory address 92, background image data 93, needle image data 94, needle image data arrangement coordinates 95, and needle image data center coordinates 96. , Start angle 97, end angle 98, minimum value 99, maximum value 100, animation interval 101, animation control information 102, and the like.
  • the monitoring memory device name 91 and the monitoring memory address 92 indicate the allocated memory area.
  • the background image data 93 and the needle image data 94 store background image data and needle image data that are images related to the “meter”.
  • the needle image data arrangement coordinates 95 are arrangement coordinates of the needle image, for example, relative coordinates (X, Y coordinates) in the “meter” item.
  • the needle image data center coordinates 96 are coordinates of the rotation axis of the needle image, and are, for example, relative coordinates (X, Y coordinates) in the needle image.
  • these are merely examples, and the present invention is not limited to this example, and will not be described in further detail.
  • a description will be given schematically assuming that a needle image is displayed according to a current angle 114 described later.
  • the start angle 97 is a needle angle corresponding to the minimum value
  • the end angle 98 is a needle angle corresponding to the maximum value
  • the set values of the minimum value and the maximum value are stored in the minimum value 99 and the maximum value 100. Is done.
  • the minimum value 99 and the maximum value 100 are values that are arbitrarily set by the user in the minimum value / maximum value setting area 42. Normally, the minimum value and the maximum value that can be taken as the data value of the monitoring memory related to the item are set. Further, the values of the start angle 97 and the end angle 98 are determined and registered in advance. In the case of “meter”, a typical example is that the start angle 97 is 0 degrees and the end angle 98 is 180 degrees.
  • the “animation interval” a value arbitrarily set by the user in the animation interval setting area 43 is stored.
  • the “animation interval” may be called, for example, “display complement animation execution time”.
  • the user or the like can freely set / change how long it takes to display an animation. That is, for example, the display complement animation can be executed so as to achieve a needle movement that the user feels appropriate.
  • the setting itself is performed by the developer or the like on the support device 5 side, the user of the programmable display 1 may tell the developer or the like of his / her wishes and set it.
  • the animation control information 102 will be described below with reference to a detailed example shown in FIG.
  • the animation control information 102 includes a monitoring memory previous value 111, an animation operation flag 112, a target angle 113, a current angle 114, a ⁇ t change time counter 115, a ⁇ t elapsed counter 116, a ⁇ angle 117, and the like.
  • the monitoring memory previous value 111 is the previous value of the acquired data from the allocated memory area (monitoring memory). That is, the previous acquired data. As will be described later, when the latest (current) acquired data is the same as the previous value, it is not necessary to change the item display content (angle of the needle image). When the current value is different from the previous value, the item display content is changed. In some cases, display supplement animation display is started. The current value is overwritten and stored in the monitoring memory previous value 111 as a new previous value.
  • the animation operation flag 112 is a flag indicating whether or not the display complement animation operation is in progress, and here, the flag ON means that the operation is in progress.
  • the target angle 113 stores an angle corresponding to the current value. This means the final arrival angle of the display complement animation display. For example, when “current value ⁇ previous value” and display complement animation display is started, an angle corresponding to the current value is obtained and stored in the target angle 113.
  • the current angle 114 stores the current needle image display angle.
  • the value of the current angle 114 is basically updated every ⁇ t described later during the display complement animation. Details will be described later.
  • ⁇ t change time counter 115 “ ⁇ t change time counter value” obtained by the following calculation formula (1) at the start of display complement animation display is stored.
  • ⁇ t change time counter value change time ht / parameter update time ⁇ t (1)
  • the change time ht is the animation interval 101. That is, it is the time taken from the start to the end of display complement animation display.
  • the parameter update time ⁇ t is a value arbitrarily set by a developer or the like in advance, and corresponds to an execution period of display supplement animation display. That is, for example, the process of FIG.
  • the ⁇ t change time counter value means the number of processes to be executed from the start to the end of the display complement animation (the number of executions of the process in FIG. 17).
  • the ⁇ t elapsed counter 116 stores a calculation result according to the following calculation formula (2) each time the processing of FIG.
  • ⁇ t elapsed counter (elapsed time from the start of animation) ⁇ parameter update time ⁇ t (2)
  • the ⁇ t elapsed counter 116 indicates the number of processes from the start of the display complementary animation to the current time (the number of times of execution of the process of FIG. 17). It can be said that it means.
  • the ⁇ angle 117 stores a value calculated by the following calculation formula (3) when the display supplement animation display is started.
  • Equation ⁇ angle 117 is per process during the display complement animation operation. It can be said that this means the rotation amount (angle change amount) of the needle. That is, every time the processing of FIG. 17 is executed, the display angle of the needle image is updated (rotated) by the ⁇ angle 117.
  • the item processing schedule unit 52 performs schedule management such as display state update processing of each item image by the item processing unit 53. That is, the item processing schedule unit 52 periodically calls the item processing unit 53, for example, and executes, for example, the processing shown in FIG. 14 described later (in other words, the processing shown in FIG. 14 is executed cyclically).
  • the item processing unit 53 executes processing related to update of the display content of the image for each item based on the item list 61 and data stored in the shared memory 63 described later.
  • the item processing unit 53 draws (develops) each item image on the RAM 13.
  • This drawing content may change depending on the acquired data for each item. For example, in the case of the above meter, the needle angle is displayed so as to be an angle corresponding to the latest acquired data. However, this display may be a display complement animation display in which the needle is moved gradually (stepwise) over the animation interval 101.
  • the parameter update execution timer processing unit 54 performs a predetermined setting related to the animation display when the display supplement animation display starts. For example, the processing of FIG. 15 is performed, and details will be described later.
  • the graphic controller 15 displays the drawing data on the RAM 13 on the display, so that the display operation screen is displayed.
  • the drawing data is updated from time to time by the item processing unit 53, for example, every time processing shown in FIG.
  • the communication processing unit 55 is a communication processing unit 55-1 or 55-1 provided for each of the connection devices 4 (4-1, 4-2). That is, the communication processing unit 55-1 shown in the figure performs communication with the connection device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connection device 4-1, and each item is sent to each item. The storage data of each corresponding allocated memory area is acquired. The acquired data is overwritten and stored in a predetermined area of the shared memory 63.
  • the communication processing unit 55-2 shown in the figure performs communication with the connection device 4-2 via the communication line 6 using the communication port WAY2 corresponding to the connection device 4-2, and each item.
  • the storage data of each allocated memory area corresponding to is acquired.
  • the acquired data is overwritten and stored in a predetermined area of the shared memory 63.
  • FIGS. 1-10 a specific example of the shared memory 63 is shown in FIGS.
  • FIG. 10A shows an example of the data structure of the shared memory 63
  • FIG. 10B shows an example of data storage.
  • the data stored in the shared memory 63 includes data items of a port 71, a device name 72, an address 73, and data 74. These data items may be substantially the same as those in the past. Therefore, a brief description will be given below.
  • the port 71 is identification information or the like of the communication port, and is substantially information for identifying the connection device 4 of the communication partner.
  • the device 72 is identification information of a memory device in the connection device 4 of the communication partner.
  • the address 73 is an address of a predetermined storage area (allocated memory area) in the memory device indicated by the device 52, and the data 74 stores data acquired from this allocated memory area.
  • the address of the allocated memory area may be referred to as “allocated memory address”.
  • the port 71, the device name 72, and the address 73 may be regarded as corresponding to the “allocated memory address” or “monitoring memory” of each item. That is, each record shown in FIG. 10B corresponds to each item.
  • each record shown in FIG. 10B corresponds to each item.
  • the port 71, the device name 72, and the address 73 By storing the allocated memory address for each item included in the screen data 22 or the like in the port 71, the device name 72, and the address 73, each record shown in FIG. 10B is generated. At this time, a link between the record and the item may be formed, but the present invention is not limited to this example.
  • the record data 74 corresponding to each item is referred to in the shared memory 63.
  • each of the communication processing units 55-1 and 55-2 executes the processing of FIG. 12 cyclically (at regular intervals).
  • the memory list 120 related to the connected device 4 in charge of itself is generated (step S11). For example, in the case of processing by the communication processing unit 55-1, the memory list 120 related to the connected device 4-1 is generated. For example, in the shared memory 63, the memory list 120 related to the connected device 4-1 is generated by extracting all records in which the port 71 is WAY1.
  • FIG. 11A shows a data configuration example of the memory list 120.
  • the memory list 120 includes data items of a device name 121, an address 122, and data 123.
  • the memory list 120 includes data items of a device name 121, an address 122, and data 123.
  • all records in which the port 71 is “WAY 1” are extracted from the shared memory 63, and information on the device name 72, the address 73, and the data 74 of each of the extracted records is obtained.
  • the memory list 120 related to the connected device 4-1 is generated.
  • the data 123 is not necessarily required. Instead, flag information indicating whether or not the processing has been completed may be stored.
  • steps S12 to S14 are repeatedly executed until the determination in step S15 is NO.
  • This process itself may be the same as that of the prior art, and will be briefly described below.
  • Step S12 This command includes information (allocated memory address) for specifying an access destination such as the device name 71 and the address 72.
  • the connected device 4 performs a response process of reading data from the storage area indicated by the allocated memory address and returning the read data.
  • the communication processing unit 44 uses the data 74 in the record corresponding to the record to be processed in the shared memory 63 as the read data included in the response. (Step S14).
  • step S15 After executing the process of step S14, it is checked whether or not an unprocessed record remains in the memory list 120 (step S15). If it remains (step S15, YES), the process returns to step S12. If not (NO at step S15), the process is terminated.
  • FIGS. 13 and 14 are process flowcharts of the item processing unit 53.
  • FIGS. 13 and 14 show one process flowchart divided into two parts, so that FIG. 13 and the like are not particularly distinguished.
  • the item processing unit 53 first executes an initialization process of the item list 61 (step S21). For example, the processed flag 86 of all records in the item list 61 is set to “unprocessed”. Thereafter, the processes in steps S22 to S30 are repeatedly executed until step S31 described later becomes NO.
  • one of the records for which the processed flag 86 is “unprocessed” is set as a processing target record (step S22), and the record of the shared memory 63 linked to the processing target record (corresponding record) ) To obtain the data 74 (step S23). That is, the latest (this time) data is acquired.
  • the acquired data 74 is temporarily stored as memory information 130 (data 131 shown in FIG. 11B).
  • the process shown in FIG. 13 and the like is a process related to an item “not shown”.
  • an existing process (not shown) is performed to update the item display, but the present invention is not limited to this example.
  • step S29 the hands are immediately displayed at an angle corresponding to the current acquired data value.
  • step S24 it is determined that there is a data change (step S24, YES), and the process proceeds to step S25.
  • step S25 it is determined by referring to the animation operation flag 112 whether or not the display complement animation is being executed.
  • step S25, NO When the display complement animation is not being executed (step S25, NO), a predetermined process for starting a new display complement animation operation is executed (steps S27 and S28).
  • step S27 and S28 When the display complementary animation is being executed (step S25, YES), the animation operation being executed is stopped / stopped (step S26), and the new animation is set with the stop position of the needle as a new start position.
  • a predetermined process for starting the operation is executed (steps S27 and S28).
  • step S27 the display angle of the needle corresponding to the data 131 which is the latest acquired data (current value) is obtained.
  • This process itself is an existing technique, and will be briefly described later with reference to FIG.
  • the obtained display angle is stored in the target angle 113.
  • the previous value 111 of the monitoring memory is updated with the data 131. That is, the data 131 that is the current acquired data is stored as a new previous value.
  • step S28 a parameter update execution timer start process is executed (step S28).
  • the processing in step S28 is processing for calculating the ⁇ t change time counter 115 and ⁇ angle 117 based on the current angle 114, the target angle 113, the animation interval 101 (change time ht), the parameter update time ⁇ t, and the like. .
  • FIG. 15 is a detailed flowchart of step S28.
  • This processing may be executed by the item processing unit 53, for example, but may be executed by the parameter update execution timer processing unit 54 called from the item processing unit 53.
  • the item processing unit 53 passes the ID (item No. 81) of the processing target item to the parameter update execution timer processing unit 54 at the time of calling.
  • the latter is taken as an example.
  • the parameter update execution timer processing unit 54 first updates the data storage contents of the parameter update execution item list 62 (steps S41 and S42).
  • FIG. 11C shows a data configuration example of the parameter update execution item list 62.
  • the parameter update execution item list 62 includes a registration number 141 and item numbers corresponding to the registration number. 142.
  • Item No. In 142 the ID (item No. 81) of the item that is currently executing the display complement animation operation is registered.
  • the registration number 141 the item No. Item No. 142 registered in Is stored.
  • the parameter update execution timer processing unit 54 increments the registration number 141 by 1 (increment) (step S41), and sets the ID (item No. 81) of the processing target item to the item No. 142 is additionally stored (step S42).
  • the predetermined information of the corresponding record is acquired from the item list 61 using the ID of the processing target item (step S43).
  • the predetermined information is information necessary for the calculation process in step S44 described later, and is, for example, the target angle 113, the current angle 114, the animation interval 101 (change time ht), and the like. Further, the parameter update time ⁇ t and the like are acquired.
  • the parameter update time ⁇ t is separately registered in advance.
  • step S44 initial setting of the ⁇ t elapsed counter 116 is also performed (step S44).
  • the ⁇ t change time counter value is calculated by the above equation (1) using the animation interval 101 (change time ht) and the parameter update time ⁇ t, and this is overwritten and stored in the ⁇ t change time counter 115.
  • the ⁇ angle is calculated by the above equation (3), and this is overwritten and stored in the ⁇ angle 117.
  • the current angle 114 at the time of the calculation process is the “current angle 114 at the start of animation”. Further, the target angle 113 is updated to an angle corresponding to the current value (latest value) as described above.
  • step S28 The detailed example of the process of step S28 has been described above with reference to FIG.
  • step S26 a detailed example of the process of step S26 will be described with reference to FIG.
  • This processing may be executed by the item processing unit 53, for example, but may be executed by the parameter update execution timer processing unit 54 called from the item processing unit 53.
  • the item processing unit 53 passes the ID (item No. 81) of the processing target item to the parameter update execution timer processing unit 54 at the time of calling.
  • the latter is taken as an example.
  • the parameter update execution timer processing unit 54 first updates the data storage content of the parameter update execution item list 62 (steps S51 and S52). That is, after the registration number 141 is decremented by ⁇ 1 (step S51), the ID of the processing target item (item No. 81) is changed to the item No. It deletes from 142 (step S52).
  • step S26 The detailed example of the animation stop process in step S26 shown in FIG. 16 has been described above.
  • the display complement animation being executed is stopped or stopped by the processing of FIG.
  • the execution of a new display complement animation in which the position of the needle at this time point, that is, the stop position is regarded as the start position, is started.
  • step S29 A process of displaying the needle at an angle is executed (step S29). Note that the processing in step S29 is confirming, and basically the needle angle should not change. Then, the processed flag 86 of the processing target item is set to “processed” (step S30), and the processing related to the processing target item is completed. If there is still an unprocessed item (step S31, YES), the process returns to step S22, a new process target item is determined from the unprocessed items, and the same processing as described above is executed. Become.
  • FIG. 17 is a process flowchart of the parameter update execution timer processing unit 65 and shows the main process executed cyclically.
  • the cyclic main process is realized by an interrupt process using the timer function of the CPU.
  • the parameter update time ⁇ t is set in the timer.
  • the process of FIG. 17 is cyclically performed with a period of ⁇ t.
  • step S61 a process index (not shown) is cleared (step S61). Then, each time the processes in steps S62 to S67 are executed, the process index is incremented by +1 (step S68), and it is checked whether or not an unprocessed list remains (step S69). Steps S62 to S67 are repeatedly executed until there is no unprocessed list.
  • steps S62 to S67 will be described.
  • the processing target item ID is acquired from the parameter update execution item list 62 (its item No. 142) (step S62).
  • the item ID to be processed corresponds to the current value of the processing index.
  • the item No. the item No.
  • the top item ID in the item ID group registered in 142 is acquired as the processing target item ID.
  • the item list 61 is searched using the acquired item ID (item No.) to obtain a corresponding record (step S63).
  • the ⁇ t elapsed counter 116 and the current angle 114 in the corresponding record are updated as follows (step S64).
  • ⁇ t elapsed counter 116 ⁇ t elapsed counter 116 + 1 That is, the value of the ⁇ t elapsed counter 116 is updated with “current value + 1”.
  • the ⁇ angle 117 is calculated from the above equation (3), and may be a positive value or a negative value. Therefore, the update of the current angle 114 may increase the angle or decrease the angle. That is, the current angle 114 is updated by adding / subtracting the change amount ( ⁇ angle 117) for each animation execution cycle ⁇ t with respect to the current angle 114 at the start of the display complement animation.
  • step S66 When “ ⁇ t change time counter 115 ⁇ ⁇ t elapsed counter 116” is satisfied (step S65, YES), parameter update execution timer stop processing is executed (step S66).
  • the process of step S66 is the same as the process of step S26, and executes the process of FIG. Therefore, the description here is omitted.
  • step S65 the current angle 114 updated in step S64 is used to display the needle at this angle (step S65). S67). That is, the display position of the needle is moved (rotated) by a ⁇ angle of 117 minutes.
  • step S65 is NO
  • step S67 is performed after the process of step S66.
  • this item since this item has been deleted from the parameter update execution item list 62 by the process of FIG. 16, it is excluded from the display complement animation operation target in the next main process.
  • step S68 the determination of step S69 is performed as described above, and the process ends when step S69 becomes NO.
  • step S69 becomes NO.
  • FIG. 18 shows a display example when step S25 is YES.
  • the animation interval is 200 milliseconds (ms)
  • the angle of the needle at the start of the first display complementary animation operation is an angle indicating the data value “0” shown in FIG. It shall be.
  • the data value has changed from “0” to “100”.
  • the needle image is moved from the angle (0 degrees) corresponding to “0” to the angle (180 degrees) corresponding to ′ 100 ”as shown in FIG. It gradually moves (rotates) as shown in FIG.
  • the data value changes from ‘100’ to ‘50’ in the middle of the animation operation (here, 150 (ms) has elapsed from the start).
  • step S24 is YES and step S25 is YES
  • the processing of step S26 is executed, and the movement of the needle stops at this point (at the time 150 (ms) has elapsed from the start). Then, the next display complement animation operation is started immediately. As shown in FIG. 18C, the needle is gradually moved (rotated) over 200 milliseconds from the stop position to an angle (90 degrees) corresponding to the data value '90'.
  • the data value is the data value of the monitoring memory.
  • the display color of the needle may be a predetermined fixed color or may be changed according to the data value.
  • the data value is registered in advance in blue for the range of 0-30, green for the range of 31-70, and red for the range of 71-100. (Not shown).
  • the animation interval is 200 milliseconds (ms).
  • the needle moves gradually (rotates) over 200 milliseconds from an angle of 0 degrees to an angle of 180 degrees by the display complement animation operation.
  • this animation operation each time a new current angle 114 is determined, a data value corresponding to the current angle is obtained, and a color corresponding to the data value is determined.
  • the needle is displayed with this color and the current angle 114. For example, if the data value is “50”, it is displayed in green.
  • the update process of the current angle 114 in the process of FIG. 17 is normally performed every ⁇ t.
  • the update process of the current angle 114 is performed, for example.
  • DELTA 2x
  • t an arbitrary value is registered in advance as the threshold value.
  • step S61 a process of counting up (+1 increment) an animation execution counter (not shown) is added. Further, the following processing (not shown) is added immediately before step S67.
  • the ⁇ angle 117 of the processing target item is acquired, and it is determined whether or not this is less than the threshold value. If it is equal to or greater than the threshold ( ⁇ angle 117 ⁇ threshold), the process proceeds to step S67. On the other hand, if it is less than the threshold ( ⁇ angle 117 ⁇ threshold), the process proceeds to step S67 if the count value of the animation execution counter is an even number, and the process in step S67 is not performed if the count value is an odd number. When the process of step S64 is not executed, the process directly proceeds to the process of step S68.
  • the display of the needle is changed only once every two times of the processing of FIG.
  • the current angle 114 is updated every time in step S64, but the updated current angle 114 is not reflected on the display once every two times. That is, the number of updates of the needle display angle is half of the normal number.
  • the display complement animation itself may not be executed. That is, a second threshold value that is smaller than the above-described threshold value is registered in advance, and if the determination in step S24 is YES, it is determined whether or not the amount of change in the data value of the monitoring memory is greater than or equal to the second threshold value. A process (not shown) to be added is added. And when the variation
  • the current angle 114 update process (not shown) is, for example, a process of obtaining an angle corresponding to the current value (latest value) of the data value in the monitoring memory, and overwriting and storing this angle in the current angle 114.
  • FIG. 20 is a functional block diagram of the programmable display of this example.
  • the programmable display 1 in the illustrated example includes a screen data storage unit 201, a target position / angle calculation unit 202, a display supplement animation control unit 203, a display color storage unit 204, and the like.
  • the illustrated support device 210 (drawing editor device 5) includes a setting unit 211.
  • the setting unit 211 is a functional unit added to an existing function that supports creation of arbitrary screen data, and is a functional unit that arbitrarily sets the “animation interval (change time ht), for example.
  • the display complement animation display of this method can be executed over the time that the developer or user feels appropriate.
  • the screen data storage unit 201 stores screen data having each item in which an arbitrary allocated memory area in the connected device 4 is set. Each of these items includes a graphic expression item that displays the value of the data in the allocated memory area by the position / angle of the graphic.
  • the target position / angle calculation unit 202 obtains a target position / angle, which is the position / angle of the graphic corresponding to the data value after the change, when the data value of the allocated memory area is changed with respect to the graphic expression item.
  • the display complement animation control unit 203 moves the position / angle of the graphic stepwise from the start position / angle, which is the position / angle corresponding to the data value before the change, to the target position / angle, with respect to the graphic expression item.
  • Rotate animation display In the case of the meter example, the current angle of the needle is updated step by step to display such as rotating the needle stepwise (gradually).
  • the display complement animation control unit 203 includes, for example, a change amount calculation unit 203a, a figure position / angle update unit 203b, an animation display unit 203c, and the like.
  • the change amount calculation unit 203a for example, arbitrarily sets an animation execution time (such as ht), an execution period (such as ⁇ t), the start position / angle, and the target position / angle (target angle 113) set in advance. ) And the number of executions ( ⁇ t change time counter 115 and the like) and the number of executions ( ⁇ t 117).
  • the start position / angle is, for example, the current angle 114 at the start of the animation, for example, the position / angle corresponding to the data value before the change.
  • the figure position / angle update unit 203b updates the current position / angle of the figure using the change amount at each execution cycle. For example, in the case of a meter, the current angle 114 is updated.
  • the animation display unit 203c displays a figure according to the updated current position / angle for each execution cycle. For example, in the case of the meter, the hands are displayed at the updated current angle 114.
  • the figure position / angle update unit 203b updates the current position / angle by, for example, adding / subtracting the change amount for each execution cycle to the start position / angle.
  • the initial value of the current angle 114 on the right side of this calculation formula is the current angle 114 at the start of animation execution.
  • the display complement animation control unit 203 ends the display complement animation display.
  • the display supplement animation control unit 203 stops the animation display operation and newly starts the current position / angle at the time of the stop. Start a new animation display operation with the position / angle. Thereby, for example, the display described in FIG. 18 is performed.
  • the display complement animation control unit 203 performs animation display for rotating the needle by determining / updating the angle of the needle of the meter.
  • the display color storage unit 204 stores an arbitrary color associated with each numerical value range related to the position / angle of the figure in advance.
  • the animation display unit 203c displays the graphic in a color corresponding to the current position / angle.
  • Display angle ⁇ monitor memory value / (maximum value ⁇ minimum value) ⁇ ⁇ (end angle ⁇ start angle)
  • the “monitoring memory value” in the above calculation formula uses the data 74, the maximum value and minimum value use the maximum value 100 and minimum value 99, the end angle and start angle use the end angle 98 and start angle 97, respectively.
  • the maximum value 100, the minimum value 99, the end angle 98, and the start angle 97 correspond to, for example, those shown in FIG. 21B on the item image.
  • the item image of the meter shown in FIG. 21 (b) includes, for example, background image data and needle image data shown in FIG. 21 (c).
  • the angle of the needle image data is determined and changed every ⁇ t.
  • the meter is used as a specific example.
  • the present invention is not limited to this example, and may be a bar graph, for example.
  • the data value in the monitoring memory is converted into an angle as described above.
  • the data value is converted into a position.
  • the position is, for example, XY coordinate data of the tip of the bar.
  • the needle In the case of a meter, the needle is gradually moved (rotated) from the current angle to the target angle as described above. In the case of a bar graph, the tip of the bar is gradually moved from the current position to the target position, although not particularly shown. I will let you.
  • the target angle is an angle corresponding to the changed numerical value as described above, and the target position has substantially the same meaning.
  • the programmable display of this example and its display complement animation display method are particularly items of a type that displays a value depending on the position and angle of a figure such as a meter or a bar graph, in other words, a predetermined monitoring target.
  • the present invention relates to items that display numerical values in a form that is easy to understand visually. And especially when there is a change in the numerical value of the monitoring target, it does not immediately switch from the display before the change (current value) to the display corresponding to the value after the change, but from the angle or position before the change (current value). Executes an animation display that gradually moves to a later angle or position. In this description, such animation display is referred to as display complement animation display as described above.
  • the programmable display device acquires data at regular intervals for determining / updating the display contents, but as described above, it is necessary to acquire data by communicating with the external connection device 4. For this reason, in consideration of the time required for communication, it is necessary to make the above-mentioned fixed period longer than a certain level, and it is difficult to acquire data in a short period. For example, for this reason, the data value acquired at the time of arbitrary data acquisition processing may be significantly different from the data value acquired at the previous data acquisition processing (previous value).
  • the data value may be gradually changed on the connected device 4 side, but the latest data value may be acquired in a state where the data value has changed greatly on the programmable display 1 side due to the above-mentioned fixed period problem.
  • the communication load becomes high, and there arises a problem that it affects the execution of other functions of the programmable display 1. Therefore, in any case, it is actually difficult to shorten the data acquisition cycle.
  • the display is such that the needle moves (rotates) smoothly in an analog manner.
  • the needle has moved momentarily in the past, and smooth display content update (needle rotation) like an actual meter cannot be expressed. In this case, the user may miss the moment when the needle angle changes.
  • / means “or” or “or”.
  • position / angle means “position or angle”.
  • current position / angle means “current position or current angle”.
  • target position / angle means “target position or target angle”.
  • start position / angle means “start position or start angle”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Programmable Controllers (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Screen data which contains items, each of which has a set arbitrarily-allocated memory region within a connection device (4), is stored in a screen data memory (201). The items each contain a graphical representation item that displays the data value of the allocated memory region using a graphic position/angle. When the data value of the allocated memory region related to a graphical representation item is changed, a target position/angle calculating unit (202) acquires a target position/angle, which is the graphic position/angle that corresponds to the data value after the change. An auxiliary display animation control unit (203) displays an animation in which the graphic position/angle related to the graphical representation item is moved/rotated, in stages, from a start position/angle, which is the position/angle that corresponds to the data value before the change, to the target position/angle.

Description

プログラマブル表示器、プログラムProgrammable display, program
 本発明は、プログラマブル表示器等に関する。 The present invention relates to a programmable display and the like.
 プログラマブル表示器は、一般的に、PLC本体や温調装置等の各種接続機器と接続して、これら接続機器の状態表示を行う数値表示やランプ等のアイテムや、ユーザが任意の指示を出す為のスイッチ等のアイテムの画像を表示する。尚、アイテムは、画面部品等とも呼ばれている。プログラマブル表示器の画面には、通常、複数の画面部品(アイテム)の画像が表示される。尚、当該プログラマブル表示器の画面を、操作表示画面と呼ぶものとする。 In general, a programmable display is connected to various connected devices such as a PLC main body and a temperature control device, and items such as numerical displays and lamps for displaying the status of these connected devices, and for users to give arbitrary instructions. Displays an image of items such as switches. An item is also called a screen component or the like. Usually, images of a plurality of screen parts (items) are displayed on the screen of the programmable display. The screen of the programmable display is called an operation display screen.
 この様な操作表示画面を表示する為のデータ等(画面データ等と呼ばれる)は、予め不図示の支援装置において開発者等によって任意に作成されて、支援装置からプログラマブル表示器にダウンロードされている。 Data or the like for displaying such an operation display screen (referred to as screen data or the like) is arbitrarily created in advance by a developer or the like in a support device (not shown) and downloaded from the support device to a programmable display. .
 上記画面データには、上記各アイテム毎に、そのアイテムの画像や表示位置座標、更に後述する割当メモリ領域のアドレス等のデータが含まれている。更に何らかのプログラム等が含まれている場合もある。尚、上記アイテム画像は、例えば、スイッチの画像やランプの画像、あるいはメーター(メーター等)や棒グラフ等のような“数値を図形等によって示すタイプの画像”等である。 The screen data includes data for each item, such as an image of the item, display position coordinates, and an address of an allocated memory area to be described later. In addition, some programs may be included. The item image is, for example, an image of a switch, an image of a lamp, or a “image of a type indicating a numerical value by a figure” such as a meter (meter or the like) or a bar graph.
 上記各アイテムは、例えば、それぞれが任意の接続機器の任意の構成要素に対応して、当該構成要素の状態表示を行ったり、当該構成要素のON/OFFの指示を受け付けるものである。例えば、温調装置の温度測定値を数値表示するアイテムの場合、随時、現在の温度を数値で表示することになる。 Each of the above items, for example, displays the status of the component corresponding to an arbitrary component of an arbitrary connected device, or accepts an ON / OFF instruction for the component. For example, in the case of an item that displays the temperature measurement value of the temperature control device as a numerical value, the current temperature is displayed as a numerical value as needed.
 上記各種アイテムに係る表示制御は、上記各アイテム毎に、例えば定期的に所定の処理を実行することで実現される。所定の処理とは、例えば、接続機器内のメモリデバイスの所定領域(割当メモリ領域)の格納データを読出して、この格納データに基づいてアイテムの表示内容を決定・表示するものである。尚、接続機器は、随時、各割当メモリ領域の格納データを更新している。例えば上記温調装置においては、上記温度測定値を随時更新している。 The display control related to the various items is realized by, for example, periodically executing predetermined processing for each item. The predetermined processing is, for example, reading stored data in a predetermined area (allocated memory area) of a memory device in the connected device, and determining / displaying the display content of the item based on the stored data. The connected device updates the stored data in each allocated memory area as needed. For example, in the temperature control device, the temperature measurement value is updated as needed.
 例えば、“ランプ”のアイテムに関して、その割当メモリ領域の格納データは1ビットデータであり、このビットが‘0’の場合はランプ消灯、‘1’の場合はランプ点灯とするアイテム画像を、プログラマブル表示器で表示する。尚、割当メモリ領域の格納データは、上記の通り接続機器側で更新される。例えば接続機器における押しボタンがONの場合には‘1’が、OFFの場合には‘0’が、接続機器側の処理によって上記割当メモリ領域に格納される。 For example, with respect to the item “lamp”, the stored data in the allocated memory area is 1-bit data. When this bit is “0”, the item image to turn off the lamp, and when “1”, the lamp is turned on is programmable. Display on the display. The stored data in the allocated memory area is updated on the connected device side as described above. For example, “1” is stored in the allocated memory area when the push button on the connected device is ON, and “0” is stored when the push button is OFF.
 尚、ここで、上記接続機器内のメモリデバイスの所定領域、すなわち割当メモリ領域を、監視メモリと呼ぶ場合もあるものとする。これより、上述したことは、各アイテム毎に任意の監視メモリが割り当てられており、この監視メモリの格納データに基づいて各アイテムの表示内容が更新制御されるものと言うこともできる。 Here, a predetermined area of the memory device in the connected device, that is, an allocated memory area may be referred to as a monitoring memory. From the above, it can be said that an arbitrary monitoring memory is assigned to each item, and the display content of each item is controlled to be updated based on the data stored in the monitoring memory.
 また、上記監視メモリから読出したデータを、プログラマブル表示器内のメモリデバイスの所定領域(内部メモリと呼ぶ)に一時的に格納して、この格納データに基づいてアイテムの表示内容を決定・表示する構成もある。 Further, the data read from the monitoring memory is temporarily stored in a predetermined area (referred to as internal memory) of the memory device in the programmable display, and the display contents of the item are determined and displayed based on the stored data. There is also a configuration.
 この例の場合、上記監視メモリの格納データを読み出して上記内部メモリに格納する処理は、プログラマブル表示器の通信機能部等が、例えば定期的に実行する。この通信機能部は、例えば、上記PLC本体や温調装置等の各種接続機器と通信を行って、各アイテム毎に、上記監視メモリの格納データを取得して、この取得データを上記内部メモリに上書き格納する。そして、プログラマブル表示器における上記各種アイテムに係る表示制御を行うアイテム表示機能部は、定期的に内部メモリにアクセスすることで、各アイテムに係わる表示内容を決定制御する。 In the case of this example, the process of reading the data stored in the monitoring memory and storing it in the internal memory is executed, for example, periodically by the communication function unit of the programmable display. For example, the communication function unit communicates with various connected devices such as the PLC main body and the temperature control device, acquires the storage data of the monitoring memory for each item, and stores the acquired data in the internal memory. Overwrite and store. And the item display function part which performs the display control which concerns on the said various items in a programmable display determines and controls the display content regarding each item by accessing an internal memory regularly.
 ここで、例えば、特許文献1に記載の従来技術が知られている。 Here, for example, the prior art described in Patent Document 1 is known.
 特許文献1の発明は、メモリの使用量を抑えるとともに、描画処理を高速化できるようにすることを目的とする。特許文献1の発明では、グラフィックス情報とグラフィックス情報の変化を示すアニメーション情報とを含む描画コンテンツを解析して、内部データを生成する。更に、生成された内部データに基づいて描画命令を生成する。また、当該生成した描画命令を、現在の時刻に相当する描画命令に更新する更新機能を備える。そして、当該更新機能によって描画命令が更新された場合に、現在の時刻に該当するフレームに対して上記更新された描画命令を用いて描画処理を行う。
特開2012-123739号公報
An object of the invention of Patent Document 1 is to reduce the amount of memory used and to speed up the drawing process. In the invention of Patent Document 1, drawing data including graphics information and animation information indicating a change in graphics information is analyzed to generate internal data. Further, a drawing command is generated based on the generated internal data. In addition, an update function for updating the generated drawing command to a drawing command corresponding to the current time is provided. When the drawing command is updated by the update function, a drawing process is performed on the frame corresponding to the current time using the updated drawing command.
JP 2012-123739 A
 ここで、プログラマブル表示器の上記アイテム表示内容としては、スイッチや上記ランプのようなON/OFFや点灯/消灯を示す形態に限らず、上記監視メモリの格納データの数値(例えば温度、湿度、回転数など)を表示するアイテムもある。既に述べたように、この様なアイテムには、単に数値を表示するのではなく、当該数値を図形等によって視覚的に分かり易く表示するものがある。例えば、メーターや棒グラフ等の形態で表示するアイテムがある。 Here, the item display content of the programmable display is not limited to the form indicating ON / OFF or lighting / extinguishing such as a switch or the lamp, but numerical values (for example, temperature, humidity, rotation) of data stored in the monitoring memory Some items display numbers. As already described, there is an item such as not only displaying a numerical value but also displaying the numerical value in a visually easy-to-understand manner using a figure or the like. For example, there are items displayed in the form of meters, bar graphs, and the like.
 ここで、図22Aに、メーターの表示例を示す。 Here, FIG. 22A shows a display example of the meter.
 図示の例では、上記監視メモリの格納データを、図示のメーターの形態で表示する例を示す。図示の例では、格納データは‘0’~‘60’の範囲内の任意の数値を取り得るものとする。そして、ここでは、任意の時点で監視メモリの格納データが‘10’から‘50’に変化したものとする。 In the illustrated example, the stored data in the monitoring memory is displayed in the form of the illustrated meter. In the illustrated example, it is assumed that the stored data can take any numerical value within the range of “0” to “60”. Here, it is assumed that the data stored in the monitoring memory changes from “10” to “50” at an arbitrary time.
 この様な場合、プログラマブル表示器は、この新データ値‘50’をメーターの針に角度に換算して、当該角度に針を表示する。ここでは、図22Bに示すように、データ値‘10’に対応する角度は30度であり、データ値‘50’に対応する角度は150度であるものとする。これより、針を角度30度で表示している状態から、角度150で表示する状態へと表示状態を更新する。これによって、メーター上で針が数値‘10’を指している表示状態から数値‘50’を指している表示状態へと更新されることになる。 In such a case, the programmable display unit converts the new data value '50' into an angle of the meter needle and displays the needle at the angle. Here, as shown in FIG. 22B, the angle corresponding to the data value “10” is 30 degrees, and the angle corresponding to the data value “50” is 150 degrees. Thus, the display state is updated from the state in which the hands are displayed at an angle of 30 degrees to the state in which the hands are displayed at an angle of 150. As a result, the display state on the meter is updated from the display state in which the hand points to the numerical value “10” to the display state in which the numerical value “50” points.
 しかしながら、一般的に、メーター表示は、例えば自動車の速度メーターやタコメーターのように、針が徐々に移動(回転)するようにして表示されるものである。この様な、アナログ的な滑らかな針の動きとなることが望まれる場合がある。図22Aの例の場合、図上矢印で示すように、針が角度30度から角度150まで徐々に滑らかに回転するように表示されることが、望まれる場合がある。 However, in general, the meter display is such that the needle gradually moves (rotates), for example, as in a car speed meter or tachometer. It may be desired to have such an analog smooth needle movement. In the case of the example in FIG. 22A, it may be desired that the needle is displayed so as to gradually and smoothly rotate from an angle of 30 degrees to an angle of 150 as indicated by an arrow in the figure.
 上記特許文献1のアニメーション表示では、この様な表示は実現できない。 In the animation display of the above-mentioned patent document 1, such a display cannot be realized.
 本発明の課題は、図形によって値を表示するタイプのアイテムの表示内容の更新を、スムーズに見せる事が出来る、表示補完アニメーション表示を行えるプログラマブル表示器等を提供することである。 An object of the present invention is to provide a programmable display or the like that can display a display supplement animation that can smoothly display an update of the display content of an item of a type that displays a value by a figure.
 本発明のプログラマブル表示器は、接続機器に接続されたプログラマブル表示器において、下記の各構成を有する。
・前記接続機器内の任意の割当メモリ領域が設定されたアイテムを有する画面データであって、少なくとも該割当メモリ領域のデータの値を図形の位置または角度によって表示する図形表現アイテムを有する前記画面データを、記憶する画面データ記憶手段;
・前記図形表現アイテムに関して、前記割当メモリ領域のデータ値が変化した場合、該変化後のデータ値に応じた図形の位置または角度である目的位置または目的角度を求める目的位置/角度算出手段;
・前記図形を、変化前のデータ値に応じた位置または角度である開始位置または開始角度から前記目的位置または目的角度まで段階的に移動または回転させるアニメーション表示を行う表示補完アニメーション制御手段。
The programmable display of this invention has the following each structure in the programmable display connected to the connection apparatus.
The screen data having an item in which an arbitrary allocated memory area in the connected device is set, and having at least a graphic expression item for displaying the value of the data in the allocated memory area by the position or angle of the graphic Means for storing screen data;
A target position / angle calculating means for obtaining a target position or target angle which is a position or angle of a graphic corresponding to the data value after the change when the data value of the allocated memory area is changed with respect to the graphic expression item;
Display supplement animation control means for performing animation display for moving or rotating the figure stepwise from the start position or start angle, which is a position or angle corresponding to the data value before change, to the target position or target angle.
本例のプログラマブル表示器を含むシステム全体の概略構成図である。It is a schematic block diagram of the whole system containing the programmable display of this example. 本例のプログラマブル表示器の構成例である。It is a structural example of the programmable display of this example. 本システムのソフトウェア構成図である。It is a software block diagram of this system. 作画エディタ装置における画面データの作成支援画面の一例である。It is an example of a screen data creation support screen in the drawing editor device. 表示補完アニメーション表示の動作イメージである。It is an operation image of display complement animation display. この動作に係るパラメータ変化を示す図である。It is a figure which shows the parameter change which concerns on this operation | movement. 本例のプログラマブル表示器の処理機能図である。It is a processing function figure of the programmable display of this example. アイテムリストのデータ構成図(その1)である。It is a data block diagram (the 1) of an item list. アイテムリストのデータ構成図(その2)である。It is a data block diagram (the 2) of an item list. アイテムリストのデータ構成図(その3)である。It is a data block diagram (the 3) of an item list. (a)は共有メモリのデータ構造例、(b)はデータ格納例である。(A) is a data structure example of a shared memory, (b) is a data storage example. (a)~(c)は、処理中に作成される各種データのデータ構成例である。(A) to (c) are data configuration examples of various data created during processing. 通信処理部の処理フローチャート図である。It is a process flowchart figure of a communication process part. アイテム処理部の処理フローチャート図(1/2)である。It is a process flowchart figure (1/2) of an item process part. アイテム処理部の処理フローチャート図(2/2)である。It is a process flowchart figure (2/2) of an item process part. ステップS28の開始処理の詳細フローチャート図である。It is a detailed flowchart figure of the start process of step S28. ステップS26の停止処理の詳細フローチャート図である。It is a detailed flowchart figure of the stop process of step S26. パラメータ更新実行タイマ処理部の処理フローチャート図である。It is a process flowchart figure of a parameter update execution timer process part. (a)~(c)は、ステップS25がYESとなる場合の表示例である。(A) to (c) are display examples when step S25 is YES. (a),(b)は、色表示を可変とする形態の表示例である。(A), (b) is a display example in which the color display is variable. 本例のプログラマブル表示器の機能ブロック図である。It is a functional block diagram of the programmable display of this example. (a)は針の角度の演算方法、(b)、(c)はメーターのデータ構造を示す図である。(A) is a calculation method of the angle of a needle, (b), (c) is a figure which shows the data structure of a meter. 従来のメーターの表示イメージである。It is a display image of a conventional meter. この動作に係るパラメータ変化を示す図である。It is a figure which shows the parameter change which concerns on this operation | movement.
 以下、図面を参照して、本発明の実施の形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
 図1は、本例のプログラマブル表示器1を含むシステム全体の概略構成図である。 FIG. 1 is a schematic configuration diagram of the entire system including the programmable display 1 of this example.
 図1に示すプログラマブルコントローラシステムは、各種接続機器4と、通信ライン6を介して各種接続機器4に接続するプログラマブル表示器1とを有する。更に、プログラマブル表示器1が、通信ライン3を介して作画エディタ装置5(支援装置)に接続された構成であってもよい。但し、作画エディタ装置5は、必ずしもプログラマブル表示器1に接続されている必要があるわけではない。尚、作画エディタ装置5を支援装置5と記す場合もあるものとする。 The programmable controller system shown in FIG. 1 has various connection devices 4 and a programmable display 1 connected to the various connection devices 4 via a communication line 6. Furthermore, the structure by which the programmable display 1 was connected to the drawing editor apparatus 5 (support apparatus) via the communication line 3 may be sufficient. However, the drawing editor device 5 does not necessarily need to be connected to the programmable display device 1. The drawing editor device 5 may be referred to as the support device 5 in some cases.
 プログラマブル表示器1には、複数の通信インタフェース2(通信ポート)が備えられており、各通信インタフェース2に接続された通信ライン3/通信ライン6によって各種接続機器4や作画エディタ装置5と接続されている。 The programmable display 1 is provided with a plurality of communication interfaces 2 (communication ports), and is connected to various connection devices 4 and the drawing editor device 5 by the communication line 3 / communication line 6 connected to each communication interface 2. ing.
 図2は、本例のプログラマブル表示器1の構成例である。 FIG. 2 is a configuration example of the programmable display 1 of this example.
 プログラマブル表示器1は、上述した従来例と略同様に上述した画面データ等に基づく操作表示画面の表示等を行う機能を有するが、本手法ではこの表示に関して場合によっては後述する表示補完アニメーション表示を実行する場合がある。詳しくは後述する。 The programmable display device 1 has a function of displaying an operation display screen based on the above-described screen data and the like in substantially the same manner as the above-described conventional example. May be executed. Details will be described later.
 図示のプログラマブル表示器1は、表示操作制御装置10と、タッチパネル18、ディスプレイ19、上記通信インタフェース2等を有する。 The illustrated programmable display 1 includes a display operation control device 10, a touch panel 18, a display 19, the communication interface 2 and the like.
 表示操作制御装置10は、CPU11、ROM12(フラッシュメモリ等)、RAM13、通信コントローラ14、グラフィックコントローラ15、タッチパネルコントローラ16等より成り、これらがバス17に接続されている。 The display operation control device 10 includes a CPU 11, a ROM 12 (flash memory, etc.), a RAM 13, a communication controller 14, a graphic controller 15, a touch panel controller 16, etc., which are connected to a bus 17.
 CPU11は、表示操作制御装置10全体を制御する中央処理装置(演算プロセッサ)である。CPU11は、ROM12に予め格納されているプログラム(例えば後述する本体プログラム21等)を実行することで、所定の演算処理動作を行う。これによって例えば後述する各種フローチャート図の処理等を実現する。各種の演算結果は、例えばRAM13やROM12に格納される。尚,ROM12は例えばフラッシュメモリ等であってもよい。 The CPU 11 is a central processing unit (arithmetic processor) that controls the entire display operation control device 10. The CPU 11 performs a predetermined arithmetic processing operation by executing a program (for example, a main body program 21 described later) stored in advance in the ROM 12. Thereby, for example, the processing of various flowcharts to be described later is realized. Various calculation results are stored in, for example, the RAM 13 or the ROM 12. The ROM 12 may be a flash memory, for example.
 また、ROM12には、上記背景技術で説明した画面データ(後述する画面データ22)等が格納されている。上記のように、画面データは、例えば上述したスイッチ、ランプ、メーター、棒グラフ等の各アイテム毎に、そのアイテムの画像や表示位置座標や大きさ、針の角度や棒の先端の位置、表示色等のアイテム表示に係わる各種データや、上記割当メモリ領域のアドレス等の監視メモリアクセスに係わるデータ等を有する。 The ROM 12 stores the screen data (screen data 22 described later) and the like described in the background art. As described above, for each item such as the above-described switch, lamp, meter, bar graph, etc., the image data, the display position coordinates and size of the item, the angle of the needle, the position of the tip of the bar, the display color, for example And various data related to item display, data related to monitoring memory access such as the address of the allocated memory area, and the like.
 上記CPU11の処理には、例えば上記背景技術で説明した“各アイテム毎の割当メモリ領域の格納データ”を取得する処理等が含まれる。尚、上記のことから、これは「監視メモリ」の格納データを取得する処理と言うことも出来る。この取得データは、例えば後述する共有メモリ63に一時的に格納される。尚、共有メモリ63は、上記RAM13やROM12の記憶領域の一部であってもよいし、不図示の他のメモリであってもよい。 The processing of the CPU 11 includes, for example, processing for acquiring “stored data in the allocated memory area for each item” described in the background art. From the above, it can be said that this is a process of acquiring data stored in the “monitoring memory”. This acquired data is temporarily stored in, for example, a shared memory 63 described later. The shared memory 63 may be a part of the storage area of the RAM 13 or the ROM 12 or may be another memory (not shown).
 また、上記CPU11の処理によって、例えば上記画面データや上記取得データ等に基づく表示対象データが、例えばRAM13や不図示のビデオRAM上に展開(描画)される。この描画に基づいてグラフィックコントローラ15が、ディスプレイ19上に上述した操作表示画面等を表示する。 Further, display target data based on, for example, the screen data and the acquired data is developed (drawn) on, for example, the RAM 13 or a video RAM (not shown) by the processing of the CPU 11. Based on this drawing, the graphic controller 15 displays the above-described operation display screen on the display 19.
 例えば、上記メーターを例にすると、従来では上記のように、上記監視メモリからの取得データ(数値)を、メーターの針の角度に換算して、この角度に針を表示することで、取得データの数値を視覚的に分かり易い形(図形)で表示していた。本例では、特にこの様な“図形によって数値を表示する”アイテムに係わり、後述する表示補完アニメーション表示が行われる場合がある。すなわち、例えばメーターを例にすると、数値が変化したときに、直ちに変化後の数値に応じた角度(新規角度)に針を表示させるのではなく、現在角度から新規角度まで針を移動(回転)させていくアニメーション表示を行う場合がある。詳しくは後述する。 For example, taking the meter as an example, conventionally, as described above, the acquired data (numerical value) from the monitoring memory is converted into the angle of the meter needle and the acquired data is displayed by displaying the needle at this angle. Was displayed in a form (figures) that was easy to understand visually. In this example, there is a case where a display supplement animation display to be described later is performed, particularly in connection with such an item “display numerical values with graphics”. That is, for example, when a meter is used as an example, when the value changes, the needle is moved (rotated) from the current angle to the new angle instead of immediately displaying the needle at the angle corresponding to the changed value (new angle). There is a case where animation display is performed. Details will be described later.
 ディスプレイ19は、例えば液晶パネル等より成り、この液晶パネル上に重ねるようにしてタッチパネル18が設けられる。ディスプレイ19上には、基本的には、複数のアイテム画像が所定位置に配置されて成る上記操作表示画面が表示される。そして、操作表示画面上において本手法の表示補完アニメーション表示が行われる場合がある。 The display 19 is made of, for example, a liquid crystal panel, and a touch panel 18 is provided so as to overlap the liquid crystal panel. On the display 19, the operation display screen is basically displayed in which a plurality of item images are arranged at predetermined positions. Then, there is a case where display complement animation display of the present method is performed on the operation display screen.
 また、通信コントローラ14は、通信インタフェース2を介して、不図示のPLC本体等や温調装置等である接続機器4や作画エディタ装置5との通信を行う。 Further, the communication controller 14 communicates with the connection device 4 and the drawing editor device 5 such as a PLC main body (not shown), a temperature control device, and the like via the communication interface 2.
 オペレータ等によるタッチパネル18上での押圧操作位置(タッチ位置)の検知結果は、タッチパネルコントローラ16を介してCPU11等に取り込まれて解析される。これは、例えば各アイテムの上記表示位置座標や大きさのデータ等に基づいて、解析することになる。例えば、任意のスイッチの画像の表示位置をオペレータ等がタッチすると、このタッチ位置が当該スイッチ画像の表示領域内であると解析することで、このスイッチに対する操作が行われたものと見做すものとなる。 The detection result of the pressing operation position (touch position) on the touch panel 18 by the operator or the like is taken into the CPU 11 or the like via the touch panel controller 16 and analyzed. This is analyzed based on the display position coordinates and size data of each item, for example. For example, when an operator touches the display position of an image of an arbitrary switch, it is assumed that the operation has been performed on this switch by analyzing that the touch position is within the display area of the switch image. It becomes.
 図3に、上記本システムのソフトウェア構成図を示す。 Fig. 3 shows the software configuration of this system.
 プログラマブル表示器1においては、本体プログラム21、画面データ22、通信プログラム23等の各種プログラム/データが、例えば上記ROM12(フラッシュメモリ等)に格納されている。これらのプログラム/データ等をCPU11が読出し・実行/参照等することで、上記操作表示画面等の表示制御等が行なわれる。この操作表示画面は、メーター、棒グラフ、ランプ、スイッチ等の各種アイテムの画像表示から成る。各アイテム画像の表示内容は、例えば接続機器4との通信によって割当メモリ領域(監視メモリ)から取得したデータを反映させる形で、随時更新される。 In the programmable display 1, various programs / data such as a main body program 21, screen data 22, and communication program 23 are stored in the ROM 12 (flash memory or the like), for example. When the CPU 11 reads / executes / references these programs / data and the like, display control of the operation display screen and the like is performed. The operation display screen includes image displays of various items such as meters, bar graphs, lamps, and switches. The display content of each item image is updated as needed, for example, by reflecting data acquired from the allocated memory area (monitoring memory) through communication with the connected device 4.
 基本的には、CPU11が本体プログラム21と画面データ22とに基づく処理を行うことで、上記操作表示画面が表示される。そして、この操作表示画面上の各画面部品の表示内容は、通信プログラム23による接続機器4との通信結果(上記取得データ等)等に基づいて、随時、更新等されるものである。表示内容は、例えば、温度等の数値を示す表示やランプの点灯/消灯などである。上記のように、本手法は、特に上記メーターや棒グラフのような、数値を図形等で表すアイテムの表示制御、例えば数値を図形の位置や角度等で表すタイプのアイテムの表示制御に関する。 Basically, the CPU 11 performs processing based on the main body program 21 and the screen data 22, whereby the operation display screen is displayed. The display content of each screen component on the operation display screen is updated as needed based on the result of communication with the connected device 4 by the communication program 23 (such as the acquired data). The display content is, for example, a display indicating a numerical value such as a temperature or lighting / extinguishing of a lamp. As described above, the present technique particularly relates to display control of items such as meters and bar graphs in which numerical values are represented by graphics or the like, for example, display control of items of a type in which numerical values are represented by positions or angles of the graphics.
 上記画面データ22は、例えば予め作画エディタ装置5側で任意に作成された画面データファイル32が、プログラマブル表示器1にダウンロードされて格納されたものである。また、上記通信プログラム23も、例えば予め作画エディタ装置5側に格納されていた通信プログラムファイル33が、プログラマブル表示器1にダウンロードされて格納されたものである。 The screen data 22 is, for example, a screen data file 32 arbitrarily created in advance on the drawing editor device 5 side, downloaded to the programmable display device 1 and stored. In addition, the communication program 23 is also the one in which, for example, the communication program file 33 previously stored on the drawing editor device 5 side is downloaded and stored in the programmable display device 1.
 上述したように、基本的には、CPU11が、本体プログラム21と画面データ22と取得データ等に基づく上記操作表示画面の表示制御を行う。例えば、メーターやランプ等のアイテムに関して、定期的に、そのアイテムの割当メモリ領域からデータを読み出して、そのアイテムの表示内容を当該読出データに基づいて更新する。あるいは、例えばスイッチ等のアイテムに関しては、ユーザが、この操作表示画面上の所望のスイッチをタッチしてON/OFF操作すると、スイッチON画像表示/スイッチOFF画像表示が行われる。また、CPU11は、このスイッチ操作に応じた接続機器4の制御も行う。 As described above, basically, the CPU 11 performs display control of the operation display screen based on the main body program 21, screen data 22, acquired data, and the like. For example, regarding items such as meters and lamps, data is periodically read from the allocated memory area of the item, and the display content of the item is updated based on the read data. Alternatively, for example, regarding an item such as a switch, when the user touches a desired switch on the operation display screen and performs an ON / OFF operation, switch ON image display / switch OFF image display is performed. The CPU 11 also controls the connection device 4 according to the switch operation.
 そして、この割当メモリ領域からの読出しデータを、プログラマブル表示器1内の後述する共有メモリ63(内部メモリ)に一時的に格納し、これに基づいてアイテム表示制御を行う構成がある。 The read data from the allocated memory area is temporarily stored in a later-described shared memory 63 (internal memory) in the programmable display 1, and item display control is performed based on this.
 すなわち、例えば後述する各通信処理部55等によって定期的に、接続機器4内のメモリデバイスの所定の記憶領域(割当メモリ領域)からデータを読み出して、この読出データを上記内部メモリに格納する処理が行われる。そして、内部メモリの格納データ等に基づいて、上記操作表示画面の表示制御が行われることになる。これによって、操作表示画面上の各アイテム画像の表示内容が、そのアイテムに対応する割当メモリ領域(監視メモリ)の最新の格納データの内容を反映させたものとなる。 That is, for example, a process of periodically reading data from a predetermined storage area (allocated memory area) of a memory device in the connection device 4 and storing the read data in the internal memory by each communication processing unit 55 to be described later Is done. Then, display control of the operation display screen is performed based on data stored in the internal memory. As a result, the display contents of each item image on the operation display screen reflect the contents of the latest stored data in the allocated memory area (monitoring memory) corresponding to the item.
 但し、本手法では、上述した“数値を図形の位置や角度等で表すアイテム”に関しては、直ちに最新のデータ値を反映させた表示とはしないで、後述する表示補完アニメーション表示を行う場合がある。すなわち、位置/角度を徐々に(段階的に)移動/回転させていき、最終的には最新のデータ値を反映させた位置/角度となるようにする表示制御が行われる。 However, in this method, the “item that expresses a numerical value by the position or angle of a figure” described above may not be immediately reflected in the display of the latest data value, and a display complement animation display described later may be performed. . That is, display control is performed so that the position / angle is gradually moved / rotated (stepwise) and finally the position / angle reflecting the latest data value is obtained.
 尚、本説明において“/”は、“または”や“あるいは”を意味する。よって、例えば上記位置/角度は例えば“位置または角度”を意味し、上記“移動/回転”は例えば“移動または回転”を意味する。他も同様である。 In this description, “/” means “or” or “or”. Thus, for example, the position / angle means, for example, “position or angle”, and the “movement / rotation” means, for example, “movement or rotation”. Others are the same.
 プログラマブル表示器1の通信プログラム23は、通信ライン6を介して接続機器4と通信を行うためのプログラムである。通常、接続機器4の機種毎等に固有の通信プロトコル(通信規定)を持ち、この通信規定に従って、プログラマブル表示器1-接続機器4間での通信を行う。そのため、通信プログラム23は、各接続機器4の機種毎等に開発が必要となる。尚、当然、CPU11などが通信プログラム23を実行することで、接続機器4との通信処理が実現される。 The communication program 23 of the programmable display 1 is a program for communicating with the connection device 4 via the communication line 6. Usually, each connected device 4 has a communication protocol (communication rule) unique to each model and performs communication between the programmable display 1 and the connected device 4 in accordance with this communication rule. Therefore, the communication program 23 needs to be developed for each model of each connected device 4. Of course, the CPU 11 and the like execute the communication program 23 to realize communication processing with the connected device 4.
 尚、プログラマブル表示器1-作画エディタ装置5間の通信は、例えば本体プログラム21と作画エディタ31とによって行う。例えば、通信機能が作画エディタ31に組み込まれている。これについては本手法とは特に関係ないので、図示・説明しない。PLC本体等である接続機器4は、様々なメーカー・機種があり、各メーカー/機種毎に独自の通信プログラムがあり、上記通信プログラム23は、接続機器4のメーカー/機種に応じて場合によっては複数種類備えられるものとなる。 Note that communication between the programmable display 1 and the drawing editor device 5 is performed by the main body program 21 and the drawing editor 31, for example. For example, a communication function is incorporated in the drawing editor 31. This is not particularly related to the present technique, and is not shown or described. The connection device 4 such as the PLC main body has various manufacturers and models, each manufacturer / model has its own communication program, and the communication program 23 depends on the manufacturer / model of the connection device 4 depending on the case. Multiple types will be provided.
 通信プログラム23は、通常、作画エディタ装置5内の不図示のHD(ハードディスク)内に、複数の通信プログラムファイル33(各機種毎に開発済の複数の通信プログラム)として予め記憶されている。そして、作画エディタ装置5は、作画エディタ31によりユーザが任意の接続機器4を選択・指定すると、該選択された接続機器4に応じた通信プログラムファイル33を、プログラマブル表示器1に転送して、上記通信プログラム23として記憶させる。 The communication program 23 is normally stored in advance as a plurality of communication program files 33 (a plurality of communication programs developed for each model) in an HD (hard disk) (not shown) in the drawing editor device 5. Then, when the user selects / designates an arbitrary connected device 4 using the drawing editor 31, the drawing editor device 5 transfers the communication program file 33 corresponding to the selected connected device 4 to the programmable display device 1, The communication program 23 is stored.
 プログラマブル表示器1から接続機器4内の監視メモリへアクセスする処理は、画面データ22に含まれる各種設定に従って実行される。換言すれば、作画エディタ31上で画面データファイル32作成時に行われた各種ユーザ設定に従って実行される。例えば、ユーザが、画面データファイル32作成時に、画面内にメーターや棒グラフのアイテムを配置すると共に、このアイテムに関して任意のアドレス(監視メモリ)を指定する。更に、本手法による表示補完アニメーション表示の実行対象のアイテムに関しては、作画エディタ31は、ユーザに、後述する“アニメーション間隔”等を設定させる。また、表示補完アニメーション表示の実行対象のアイテム自体を、ユーザに指定させるようにしてもよい。 The process of accessing the monitoring memory in the connected device 4 from the programmable display 1 is executed according to various settings included in the screen data 22. In other words, it is executed according to various user settings made when the screen data file 32 is created on the drawing editor 31. For example, when the user creates the screen data file 32, the user arranges an item such as a meter or bar graph in the screen, and designates an arbitrary address (monitoring memory) for the item. Furthermore, the drawing editor 31 allows the user to set an “animation interval” to be described later, etc. with respect to an item to be displayed for display complement animation display according to this method. Moreover, you may make it make a user designate the item itself of execution target of a display complement animation display.
 上記のようにして作成された画面データファイル32を、プログラマブル表示器1にダウンロードして画面データ22として記憶させる。プログラマブル表示器1は、従来と同様に、画面データ22を用いて上記操作表示画面の表示制御を行うものであり、これに伴って、各アイテム毎に上記監視メモリのデータを定期的に取得する動作等を実行する。更に、取得データに基づいて画面上のアイテム表示内容を更新する動作等を行う場合もある。更に、この表示内容更新に関して、本手法の表示補完アニメーション表示を実行することで、例えばメーターの針がアナログ的にスムーズに回転するような表示を実現することもできる。 The screen data file 32 created as described above is downloaded to the programmable display 1 and stored as the screen data 22. The programmable display 1 performs display control of the operation display screen using the screen data 22 as in the conventional case, and accordingly, periodically acquires the data in the monitoring memory for each item. Perform operations and so on. Furthermore, an operation for updating the item display content on the screen based on the acquired data may be performed. Furthermore, with respect to this display content update, by performing the display complement animation display of this method, it is possible to realize a display in which, for example, the meter needle rotates smoothly in an analog manner.
 尚、上記監視メモリへのアクセスや取得データの一時的格納や画面表示等の各種処理を実現させるプログラムは、例えば本体プログラム21に含まれていてもよいし、画面データファイル32(画面データ22)に含まれていてもよい。何れにしても、この様なプログラムを例えば上記CPU11が実行することで、本例のプログラマブル表示器1の各種処理・動作などが実現されることになる。 Note that a program for realizing various processes such as access to the monitoring memory, temporary storage of acquired data, and screen display may be included in the main body program 21, for example, or the screen data file 32 (screen data 22). May be included. In any case, when the CPU 11 executes such a program, for example, various processes and operations of the programmable display 1 of this example are realized.
 ここで、支援装置5は、例えばパソコン等であり、特に図示しないが一般的な汎用コンピュータの構成(CPU、記憶部(ハードディスク、メモリ等)、通信部、操作部(マウス等)、ディスプレイ)を有している。記憶部に予め記憶されているアプリケーションプログラムを、CPUが実行することにより、例えば作画エディタ31の上記処理機能等が実現される。 Here, the support device 5 is, for example, a personal computer or the like. Although not particularly illustrated, a general general-purpose computer configuration (CPU, storage unit (hard disk, memory, etc.), communication unit, operation unit (mouse, etc.), display) is provided. Have. When the CPU executes an application program stored in advance in the storage unit, for example, the processing functions of the drawing editor 31 are realized.
 図4は、作画エディタ装置5における画面データの作成支援画面の一例である。 FIG. 4 is an example of a screen data creation support screen in the drawing editor device 5.
 尚、図4以降の説明では、表示補完アニメーション表示を行うアイテムとして基本的に図4に示すようなメーターを例にして説明するものとするが、勿論、この例に限らない。上記のように、図形によって値を表示するタイプのアイテムが対象となるものであり、例えば上記棒グラフ等であってもよい。尚、表示補完アニメーション表示は、メーターの場合は針の角度を変更していくことで針を回転させていく表示内容となるが、棒グラフの場合には棒の先端の位置を変更していくことになる。 Note that in the description of FIG. 4 and subsequent figures, a meter as shown in FIG. 4 is basically described as an item for performing display complement animation display, but of course, the present invention is not limited to this example. As described above, an item of a type that displays a value by a graphic is a target, and may be, for example, the above bar graph or the like. In the case of a meter, the display supplement animation display shows the display content of rotating the needle by changing the angle of the needle, but in the case of a bar graph, the position of the tip of the bar is changed. become.
 ユーザが、作成支援画面上で任意のアイテム(ここではメーター)を配置して所定の操作を行うと、このアイテムに係る設定ボックス(ダイアログボックス等)が表示される。本例では図示のメーター用の設定ボックス40が表示される。 When the user arranges an arbitrary item (here, a meter) on the creation support screen and performs a predetermined operation, a setting box (dialog box or the like) related to this item is displayed. In this example, a meter setting box 40 is displayed.
 設定ボックス40上には、監視メモリ設定領域41、最小値・最大値設定領域42、アニメーション間隔設定領域43等の各種設定領域が設けられている。 On the setting box 40, various setting areas such as a monitoring memory setting area 41, a minimum / maximum value setting area 42, and an animation interval setting area 43 are provided.
 ユーザは、監視メモリ設定領域41上で、設定対象アイテム(メーター)の割当メモリ領域(監視メモリ)のアドレス等を任意に設定できる。設定結果は、後述する監視メモリデバイス名91、管理メモリアドレス92として記憶される。 The user can arbitrarily set the address of the allocated memory area (monitoring memory) of the setting target item (meter) on the monitoring memory setting area 41. The setting result is stored as a monitoring memory device name 91 and a management memory address 92 which will be described later.
 また、ユーザは、最小値・最大値設定領域42上で、上記設定対象アイテムの割当メモリ領域の格納データに係る最小値、最大値を設定できる。例えば、この格納データが、0~60の範囲内の任意の値となる場合には、最小値=0、最大値60が設定される。設定結果は、後述する最小値99、最大値100として記憶される。 In addition, the user can set the minimum value and the maximum value related to the stored data in the allocation memory area of the setting target item on the minimum value / maximum value setting area 42. For example, when the stored data is an arbitrary value within the range of 0 to 60, the minimum value = 0 and the maximum value 60 are set. The setting result is stored as a minimum value 99 and a maximum value 100 described later.
 また、ユーザは、アニメーション間隔設定領域43上で、所望のアニメーション間隔の値を設定できる。設定結果は、後述するアニメーション間隔101として記憶される。 Also, the user can set a desired animation interval value on the animation interval setting area 43. The setting result is stored as an animation interval 101 described later.
 尚、例えば、ユーザが当該設定対象アイテムに関して表示補完アニメーション表示を行いたくない場合には、例えば上記アニメーション間隔を設定しないようにする。例えば、アニメーション間隔設定領域43におけるアニメーション間隔の初期値は‘0’となっており、設定を行わない場合には‘0’のままとなるものとする。この例では、後述する表示処理においてアニメーション間隔101が‘0’の場合には、そのアイテムに関しては表示補完アニメーション表示を実行しないようにする。但し、これは一例であり、この例に限らない。何らかの方法で、ユーザが各アイテム毎に表示補完アニメーション表示を実行させるか否かを指定できるようにすればよい。 Note that, for example, if the user does not want to display the display supplement animation for the setting target item, the animation interval is not set, for example. For example, the initial value of the animation interval in the animation interval setting area 43 is “0”, and it remains “0” when the setting is not performed. In this example, when the animation interval 101 is “0” in the display process described later, display supplement animation display is not executed for the item. However, this is an example, and the present invention is not limited to this example. What is necessary is just to enable it to specify whether a user performs a display complement animation display for every item by a certain method.
 ここで、図5Aには本手法の表示補完アニメーション表示の動作イメージ、図5Bにはこの動作に係るパラメータ変化を示す。 Here, FIG. 5A shows an operation image of display complement animation display of this method, and FIG. 5B shows a parameter change related to this operation.
 図5Aの例では、上記従来の図22Aの例と同じく、図示のアイテム(メーター)に係る監視メモリ(割当メモリ領域)のアドレスが‘D100’であるものとし、ある時、その格納データが‘10’から‘50’へと変化したものとする。 In the example of FIG. 5A, as in the conventional example of FIG. 22A, the address of the monitoring memory (allocated memory area) related to the item (meter) shown in the figure is “D100”. It is assumed that the value has changed from “10” to “50”.
 従来の場合、図22Aで説明したように、針は直ちにデータ値‘50’に対応する角度である150度で表示された。 In the conventional case, as described with reference to FIG. 22A, the needle was immediately displayed at 150 degrees, which is an angle corresponding to the data value '50'.
 これに対して、本手法によれば、図5A、図5Bに示すように、上記アニメーション間隔101(変化時間ht)の時間を掛けて、データ値‘10’に対応する角度(30度)からデータ値‘50’に対応する角度(150度)まで、針の角度を徐々に(段階的に)変えていくように表示する。これは、図5Bに示すように、定周期Δt毎に針の表示角度を変更していく処理を行うことで実現する。 On the other hand, according to this method, as shown in FIGS. 5A and 5B, the time of the animation interval 101 (change time ht) is multiplied and the angle (30 degrees) corresponding to the data value “10” is obtained. The display is performed so that the angle of the needle is gradually (stepwise) changed to the angle (150 degrees) corresponding to the data value “50”. As shown in FIG. 5B, this is realized by performing a process of changing the display angle of the needle every fixed period Δt.
 尚、上記Δtの値は予め任意に決められて登録されており、例えばΔtがCPUタイマーにセットされている。これより、CPUタイマーは、カウント値がΔtになるとカウントアップする。換言すれば、開始から時間Δt経過するとカウントアップする。 Note that the value of Δt is arbitrarily determined and registered in advance. For example, Δt is set in the CPU timer. Thus, the CPU timer counts up when the count value reaches Δt. In other words, it counts up when the time Δt elapses from the start.
 図5Bに示すように、CPUタイマーのカウント値が0からカウントアップして上記Δtとなる毎に、カウント値が‘0’リセットされると共に上記針の角度を変更する処理を行う。当該針角度の変更処理は、後に一例について説明するが、基本的には図示のように上記定周期毎に針の表示角度が徐々に(段階的に)上記‘50’に対応する角度(150度)へと近づいていくことになる。 As shown in FIG. 5B, every time the count value of the CPU timer counts up from 0 and reaches Δt, the count value is reset to ‘0’ and the angle of the needle is changed. The needle angle changing process will be described later with reference to an example. Basically, as shown in the drawing, the needle display angle gradually (in steps) is an angle (150) corresponding to the above-mentioned '50'. ).
 本手法の表示補完アニメーション表示処理は、定周期で(パラメータ更新時間Δt毎に)、現在角度の更新処理と、更新後の現在角度によるアイテム表示処理を行う。そして、最終的には現在角度が最新の取得データに応じた角度(本例では150度)となって、表示補完アニメーション表示処理は終了する。詳しくは後述する。 The display complement animation display process of this method performs the update process of the current angle and the item display process by the updated current angle at regular intervals (every parameter update time Δt). Finally, the current angle becomes an angle corresponding to the latest acquired data (in this example, 150 degrees), and the display supplement animation display process ends. Details will be described later.
 図6は、本例のプログラマブル表示器の処理機能図である。 FIG. 6 is a processing function diagram of the programmable display of this example.
 上記CPU11が、例えば上記ROM12に記憶されている所定のプログラム(例えば上記本体プログラム21、通信プログラム23等)を実行することにより、例えば図6の点線内に示す各種処理機能部が実現される。すなわち、図示のアイテム生成部51、アイテム処理スケジュール部52、アイテム処理部53、パラメータ更新実行タイマ処理部54、通信処理部55(55-1、55-2等)等の各種処理機能部の各種処理機能が実現される。これら各種処理機能の詳細は後述する。尚、パラメータ更新実行タイマ処理部54が、アイテム処理部53の機能の一部であるものとしてもよい。 When the CPU 11 executes a predetermined program (for example, the main body program 21, the communication program 23, etc.) stored in the ROM 12, for example, various processing function units shown within a dotted line in FIG. 6 are realized. That is, various types of processing function units such as the item generation unit 51, the item processing schedule unit 52, the item processing unit 53, the parameter update execution timer processing unit 54, the communication processing unit 55 (55-1, 55-2, etc.) shown in the figure. Processing functions are realized. Details of these various processing functions will be described later. The parameter update execution timer processing unit 54 may be a part of the function of the item processing unit 53.
 尚、例えば、アイテム生成部51とアイテム処理スケジュール部52とアイテム処理部53とパラメータ更新実行タイマ処理部54は、本体プログラム21によって実現される。通信処理部55は、例えば、本体プログラム21と通信プログラム23とによって実現される。また、これら処理機能の処理実行の際には、上記画面データ22等が用いられる。 Note that, for example, the item generation unit 51, the item processing schedule unit 52, the item processing unit 53, and the parameter update execution timer processing unit 54 are realized by the main body program 21. The communication processing unit 55 is realized by the main body program 21 and the communication program 23, for example. Further, the screen data 22 and the like are used when executing processing of these processing functions.
 アイテム生成部51は、上記画面データ22等に基づいて、アイテムリスト61を生成する。これは、例えば、画面データ22の一部を抽出する形で生成する。 The item generation unit 51 generates an item list 61 based on the screen data 22 or the like. This is generated, for example, by extracting a part of the screen data 22.
 ここで、図7、図8、図9に、アイテムリスト61のデータ構成図を示す。 Here, FIGS. 7, 8, and 9 show data structure diagrams of the item list 61. FIG.
 図7は、アイテムリスト61全体のデータ構成図である。図8は、その一部であるアイテムタイプ毎のデータ85の詳細データ構成例であり、図9は更にその一部であるアニメーション制御情報102の詳細データ構成例である。 FIG. 7 is a data configuration diagram of the entire item list 61. FIG. 8 is a detailed data configuration example of the data 85 for each item type as a part thereof, and FIG. 9 is a detailed data configuration example of the animation control information 102 as a part thereof.
 図示の例のアイテムリスト61は、アイテムNo.81、アイテムタイプ82、座標83、サイズ84、“アイテムタイプ毎のデータ”85、処理済みフラグ86などから成る。 The item list 61 in the example shown is an item number. 81, item type 82, coordinate 83, size 84, “data for each item type” 85, processed flag 86, and the like.
 アイテムリスト61には、操作表示画面上の各アイテム毎に、上記各種情報81~86が格納される。尚、上記のことから、上記各種情報81~86は画面データ22の一部であると見做してよい。画面データ22のデータ構造は特に示さないものとする。 The item list 61 stores the various information 81 to 86 for each item on the operation display screen. From the above, the various information 81 to 86 may be regarded as a part of the screen data 22. The data structure of the screen data 22 is not particularly shown.
 アイテムNo.81は、そのアイテムの識別用IDである。尚、操作表示画面上の各アイテムすなわち画面データ22を構成する各アイテムには、それぞれ、識別用のユニークなIDが割り当てられている。 Item No. Reference numeral 81 denotes an identification ID of the item. A unique ID for identification is assigned to each item on the operation display screen, that is, each item constituting the screen data 22.
 アイテムタイプ82には、そのアイテムの種別(スイッチ、ランプ、メーター、棒グラフ等)を示すアイテム種別識別情報が格納される。 Item type 82 stores item type identification information indicating the type of the item (switch, lamp, meter, bar graph, etc.).
 座標83とサイズ84には、そのアイテムの画像(メーターの場合、後述する背景画像や針画像等)の表示位置、大きさを指定する情報が格納される。 The coordinates 83 and the size 84 store information for designating the display position and size of the image of the item (in the case of a meter, a background image, a needle image, etc., which will be described later).
 処理済みフラグ86は、処理済みか否かを示すフラグであり、その使用方法は後にフローチャート図で説明する。 The processed flag 86 is a flag indicating whether or not it has been processed, and its usage will be described later with reference to a flowchart.
 ここで、“アイテムタイプ毎のデータ”85には、そのアイテムの種別に応じた各種データが格納される。ここでは、一例としてアイテム種別が“メーター”である場合の各種データを、図8に示すものとする。 Here, “data for each item type” 85 stores various data according to the type of the item. Here, as an example, various data when the item type is “meter” are shown in FIG.
 図8に示す例の“アイテムタイプ毎のデータ”85は、監視メモリデバイス名91、監視メモリアドレス92、背景画像データ93、針画像データ94、針画像データ配置座標95、針画像データ中心座標96、開始角97、終了角98、最小値99、最大値100、アニメーション間隔101、アニメーション制御情報102等を有する。 The “data for each item type” 85 in the example shown in FIG. 8 includes a monitoring memory device name 91, a monitoring memory address 92, background image data 93, needle image data 94, needle image data arrangement coordinates 95, and needle image data center coordinates 96. , Start angle 97, end angle 98, minimum value 99, maximum value 100, animation interval 101, animation control information 102, and the like.
 これら各種データ項目のうち、アニメーション間隔101とアニメーション制御情報102以外は、従来技術でも存在した既存のデータ項目であるので、以下、簡単に説明する。尚、上記の通り、アニメーション制御情報102の詳細例は図9に示してあり、後に説明する。 Of these various data items, those other than the animation interval 101 and the animation control information 102 are existing data items that existed in the prior art, and will be briefly described below. As described above, a detailed example of the animation control information 102 is shown in FIG. 9 and will be described later.
 監視メモリデバイス名91と監視メモリアドレス92が、上記割当メモリ領域を示すものである。 The monitoring memory device name 91 and the monitoring memory address 92 indicate the allocated memory area.
 背景画像データ93と針画像データ94には、“メーター”に係わる画像である背景の画像データと針の画像データが格納される。針画像データ配置座標95は、針画像の配置座標であって例えば“メーター”アイテム内の相対座標(X,Y座標)である。針画像データ中心座標96は、針画像の回転軸の座標であり、これは例えば針画像内の相対座標(X,Y座標)である。但し、これらは一例であり、この例に限るものではなく、これ以上詳細には説明しない。ここでは、概略的に、後述する現在角度114に応じて針画像が表示されるようになっているものとして説明する。 The background image data 93 and the needle image data 94 store background image data and needle image data that are images related to the “meter”. The needle image data arrangement coordinates 95 are arrangement coordinates of the needle image, for example, relative coordinates (X, Y coordinates) in the “meter” item. The needle image data center coordinates 96 are coordinates of the rotation axis of the needle image, and are, for example, relative coordinates (X, Y coordinates) in the needle image. However, these are merely examples, and the present invention is not limited to this example, and will not be described in further detail. Here, a description will be given schematically assuming that a needle image is displayed according to a current angle 114 described later.
 また、開始角97は最小値に対応する針角度であり、終了角98は最大値に対応する針角度であり、これら最小値、最大値の設定値が、最小値99、最大値100に格納される。尚、これら最小値99、最大値100は、上記最小値・最大値設定領域42でユーザが任意に設定した値が格納されるものである。これは、通常は、当該アイテムに係わる監視メモリのデータ値として取り得る値の最小値、最大値が設定されるものである。また、開始角97、終了角98の値は、予め決められて登録されており、“メーター”の場合、開始角97は0度、終了角98は180度とすることが典型例となる。 The start angle 97 is a needle angle corresponding to the minimum value, the end angle 98 is a needle angle corresponding to the maximum value, and the set values of the minimum value and the maximum value are stored in the minimum value 99 and the maximum value 100. Is done. The minimum value 99 and the maximum value 100 are values that are arbitrarily set by the user in the minimum value / maximum value setting area 42. Normally, the minimum value and the maximum value that can be taken as the data value of the monitoring memory related to the item are set. Further, the values of the start angle 97 and the end angle 98 are determined and registered in advance. In the case of “meter”, a typical example is that the start angle 97 is 0 degrees and the end angle 98 is 180 degrees.
 そして、アニメーション間隔101には、上記アニメーション間隔設定領域43でユーザが任意に設定した値が格納されるものである。尚、“アニメーション間隔”は、例えば“表示補完アニメーション実行時間”等と呼んでもよい。本手法では、どの程度の時間を掛けてアニメーション表示を行うのかを、ユーザ等が自由に設定/変更することができる。つまり、例えばユーザが適切と感じるような針の動き方となるように、表示補完アニメーションが実行されるようにできる。尚、設定自体は支援装置5側で開発者等によって行われるが、プログラマブル表示器1のユーザ等が自己の希望を開発者等に伝えて設定してもらえばよい。 In the animation interval 101, a value arbitrarily set by the user in the animation interval setting area 43 is stored. The “animation interval” may be called, for example, “display complement animation execution time”. In this method, the user or the like can freely set / change how long it takes to display an animation. That is, for example, the display complement animation can be executed so as to achieve a needle movement that the user feels appropriate. Although the setting itself is performed by the developer or the like on the support device 5 side, the user of the programmable display 1 may tell the developer or the like of his / her wishes and set it.
 また、上記アニメーション制御情報102に関しては、以下、図9に示す詳細例を参照して説明する。 The animation control information 102 will be described below with reference to a detailed example shown in FIG.
 図示の例では、アニメーション制御情報102は、監視メモリ前回値111、アニメーション動作中フラグ112、目標角度113、現在角度114、Δt変化時間カウンタ115、Δt経過カウンタ116、Δ角度117等より成る。 In the illustrated example, the animation control information 102 includes a monitoring memory previous value 111, an animation operation flag 112, a target angle 113, a current angle 114, a Δt change time counter 115, a Δt elapsed counter 116, a Δ angle 117, and the like.
 監視メモリ前回値111は、割当メモリ領域(監視メモリ)からの取得データの前回値である。つまり、前回の取得データである。後述するように、最新の(今回の)取得データが、前回値と同じである場合には、アイテム表示内容(針画像の角度)を変える必要はない。今回値が前回値とは異なる場合に、アイテム表示内容を変更するものであって、場合によっては表示補完アニメーション表示を開始するものである。尚、今回値は新たな前回値として監視メモリ前回値111に上書き格納する。 The monitoring memory previous value 111 is the previous value of the acquired data from the allocated memory area (monitoring memory). That is, the previous acquired data. As will be described later, when the latest (current) acquired data is the same as the previous value, it is not necessary to change the item display content (angle of the needle image). When the current value is different from the previous value, the item display content is changed. In some cases, display supplement animation display is started. The current value is overwritten and stored in the monitoring memory previous value 111 as a new previous value.
 アニメーション動作中フラグ112は、表示補完アニメーション動作中であるか否かを示すフラグであり、ここではフラグONが動作中を意味するものとする。 The animation operation flag 112 is a flag indicating whether or not the display complement animation operation is in progress, and here, the flag ON means that the operation is in progress.
 目標角度113には、今回値に対応する角度が格納される。これは、表示補完アニメーション表示の最終到達角度を意味することになる。例えば、「今回値≠前回値」である場合であって表示補完アニメーション表示を開始する際に、今回値に対応する角度が求められて目標角度113に格納される。 The target angle 113 stores an angle corresponding to the current value. This means the final arrival angle of the display complement animation display. For example, when “current value ≠ previous value” and display complement animation display is started, an angle corresponding to the current value is obtained and stored in the target angle 113.
 現在角度114には、現時点の針画像の表示角度が格納される。現在角度114の値は、表示補完アニメーション実行中は、基本的に後述するΔt毎に更新されていくことになる。詳しくは後述する。 The current angle 114 stores the current needle image display angle. The value of the current angle 114 is basically updated every Δt described later during the display complement animation. Details will be described later.
 Δt変化時間カウンタ115には、表示補完アニメーション表示開始の際に、下記の算出式(1)によって求められる“Δt変化時間カウンタ値”が格納される。 In the Δt change time counter 115, “Δt change time counter value” obtained by the following calculation formula (1) at the start of display complement animation display is stored.
  Δt変化時間カウンタ値=変化時間ht/パラメータ更新時間Δt・・・(1)式
 ここで、変化時間htは、上記アニメーション間隔101である。つまり、表示補完アニメーション表示開始から終了までに掛かる時間である。また、パラメータ更新時間Δtは、予め開発者等が任意に設定しておく値であり、表示補完アニメーション表示の実行周期に相当する。つまり、Δt毎に例えば後述する図17の処理を実行する。
Δt change time counter value = change time ht / parameter update time Δt (1) Expression Here, the change time ht is the animation interval 101. That is, it is the time taken from the start to the end of display complement animation display. The parameter update time Δt is a value arbitrarily set by a developer or the like in advance, and corresponds to an execution period of display supplement animation display. That is, for example, the process of FIG.
 Δt変化時間カウンタ値は、表示補完アニメーション開始から終了までの間に実行されるべき処理回数(図17の処理の実行回数)を意味するものと言える。 It can be said that the Δt change time counter value means the number of processes to be executed from the start to the end of the display complement animation (the number of executions of the process in FIG. 17).
 また、Δt経過カウンタ116には、表示補完アニメーション実行中、例えば図17の処理が実行される毎に、下記の算出式(2)による算出結果が格納される。 In addition, the Δt elapsed counter 116 stores a calculation result according to the following calculation formula (2) each time the processing of FIG.
 Δt経過カウンタ
=(アニメーション開始からの経過時間)÷パラメータ更新時間Δt ・・・(2)式
 Δt経過カウンタ116は、表示補完アニメーション開始から現時点までの処理回数(図17の処理の実行回数)を意味するものと言える。
Δt elapsed counter = (elapsed time from the start of animation) ÷ parameter update time Δt (2) The Δt elapsed counter 116 indicates the number of processes from the start of the display complementary animation to the current time (the number of times of execution of the process of FIG. 17). It can be said that it means.
 また、Δ角度117には、表示補完アニメーション表示開始の際に、下記の算出式(3)によって算出された値が格納される。 Further, the Δ angle 117 stores a value calculated by the following calculation formula (3) when the display supplement animation display is started.
 Δ角度=(“目標角度113”-“アニメーション開始時点の現在角度114”)/“Δt変化時間カウンタ値”  ・・・(3)式
 Δ角度117は、表示補完アニメーション動作中の処理1回当たりの針の回転量(角度変化量)を意味するものと言える。つまり、図17の処理を実行する毎に、針画像は、Δ角度117の分だけ、表示角度が更新される(回転する)ことになる。
Δ angle = (“target angle 113” − “current angle 114 at the start of animation”) / “Δt change time counter value” (3) Equation Δ angle 117 is per process during the display complement animation operation. It can be said that this means the rotation amount (angle change amount) of the needle. That is, every time the processing of FIG. 17 is executed, the display angle of the needle image is updated (rotated) by the Δ angle 117.
 尚、上記Δ角度の算出処理は上記の通り表示補完アニメーション表示開始の際に行われるので、上記“アニメーション開始時点の現在角度114”は実質的に“当該算出処理実行時点の現在角度114”と同義である。 Since the Δ angle calculation process is performed at the start of display supplement animation display as described above, the “current angle 114 at the start of animation” is substantially the same as “current angle 114 at the time of execution of the calculation process”. It is synonymous.
 以上、図6に示すアイテムリスト61の具体例について説明した。 The specific example of the item list 61 shown in FIG. 6 has been described above.
 図6の説明に戻る。 Returning to the explanation of FIG.
 アイテム処理スケジュール部52は、アイテム処理部53による各アイテム画像の表示状態更新処理等のスケジュール管理を行う。つまり、アイテム処理スケジュール部52は、例えば定期的にアイテム処理部53を呼び出して例えば後述する図14等の処理を実行させる(換言すれば、図14等の処理をサイクリックに実行させる)。 The item processing schedule unit 52 performs schedule management such as display state update processing of each item image by the item processing unit 53. That is, the item processing schedule unit 52 periodically calls the item processing unit 53, for example, and executes, for example, the processing shown in FIG. 14 described later (in other words, the processing shown in FIG. 14 is executed cyclically).
 アイテム処理部53は、上記アイテムリスト61や後述する共有メモリ63の格納データ等に基づいて、各アイテム毎に、その画像の表示内容の更新等に係わる処理を実行する。 The item processing unit 53 executes processing related to update of the display content of the image for each item based on the item list 61 and data stored in the shared memory 63 described later.
 また、アイテム処理部53は、各アイテム画像をRAM13上に描画(展開)する。この描画内容(表示内容)は、各アイテム毎にその上記取得データに応じて変化する場合もある。例えば、上記メーターの例の場合、針の角度が、最新の取得データに応じた角度となるように表示させる。但し、この表示を、上記アニメーション間隔101の時間を掛けて徐々に(段階的に)針を移動させる、表示補完アニメーション表示とする場合もある。 Further, the item processing unit 53 draws (develops) each item image on the RAM 13. This drawing content (display content) may change depending on the acquired data for each item. For example, in the case of the above meter, the needle angle is displayed so as to be an angle corresponding to the latest acquired data. However, this display may be a display complement animation display in which the needle is moved gradually (stepwise) over the animation interval 101.
 パラメータ更新実行タイマ処理部54は、この表示補完アニメーション表示開始の際に当該アニメーション表示に係る所定の設定を行う。例えば図15の処理を行うものであり、詳しくは後述する。 The parameter update execution timer processing unit 54 performs a predetermined setting related to the animation display when the display supplement animation display starts. For example, the processing of FIG. 15 is performed, and details will be described later.
 尚、グラフィックコントローラ15が上記RAM13上の描画データをディスプレイ上に表示することで、上記表示操作画面が表示されることになる。描画データは、アイテム処理部53によって例えば後述する図14の処理実行毎に随時更新される。 The graphic controller 15 displays the drawing data on the RAM 13 on the display, so that the display operation screen is displayed. The drawing data is updated from time to time by the item processing unit 53, for example, every time processing shown in FIG.
 通信処理部55は、各接続機器4(4-1、4-2)毎に対応して備えられる通信処理部55-1、55-1である。すなわち、図示の通信処理部55-1は、接続機器4-1に対応する通信ポートWAY1を使用して、通信ライン6を介して、接続機器4-1との通信を行って、各アイテムに対応する各割当メモリ領域の格納データを取得する。取得データは、共有メモリ63の所定領域に上書き格納する。 The communication processing unit 55 is a communication processing unit 55-1 or 55-1 provided for each of the connection devices 4 (4-1, 4-2). That is, the communication processing unit 55-1 shown in the figure performs communication with the connection device 4-1 via the communication line 6 using the communication port WAY1 corresponding to the connection device 4-1, and each item is sent to each item. The storage data of each corresponding allocated memory area is acquired. The acquired data is overwritten and stored in a predetermined area of the shared memory 63.
 同様に、図示の通信処理部55-2は、接続機器4-2に対応する通信ポートWAY2を使用して、通信ライン6を介して、接続機器4-2との通信を行って、各アイテムに対応する各割当メモリ領域の格納データを取得する。取得データは、共有メモリ63の所定領域に上書き格納する。 Similarly, the communication processing unit 55-2 shown in the figure performs communication with the connection device 4-2 via the communication line 6 using the communication port WAY2 corresponding to the connection device 4-2, and each item. The storage data of each allocated memory area corresponding to is acquired. The acquired data is overwritten and stored in a predetermined area of the shared memory 63.
 尚、上記割当メモリ領域の格納データの取得処理や共有メモリ63への格納処理自体は、従来と略同様であってもよく、特に詳細には説明しない。 It should be noted that the process for obtaining the stored data in the allocated memory area and the process for storing the data in the shared memory 63 may be substantially the same as in the past, and will not be described in detail.
 ここで、図10(a),(b)に、上記共有メモリ63の具体例を示す。 Here, a specific example of the shared memory 63 is shown in FIGS.
 図10(a)には共有メモリ63のデータ構造例、図10(b)にはデータ格納例を示す。 FIG. 10A shows an example of the data structure of the shared memory 63, and FIG. 10B shows an example of data storage.
 図10(a)に示す例では、共有メモリ63の格納データは、ポート71、デバイス名72、アドレス73、データ74の各データ項目より成る。尚、これらのデータ項目は、従来と略同様であっても構わない。よって、以下、簡単に説明する。 In the example shown in FIG. 10A, the data stored in the shared memory 63 includes data items of a port 71, a device name 72, an address 73, and data 74. These data items may be substantially the same as those in the past. Therefore, a brief description will be given below.
 ポート71は、上記通信ポートの識別情報等であり、実質的には通信相手の接続機器4を識別する情報となる。デバイス72は、通信相手の接続機器4内のメモリデバイスの識別情報である。アドレス73は、デバイス52が示すメモリデバイスにおける所定の記憶領域(割当メモリ領域)のアドレスであり、データ74にはこの割当メモリ領域から取得したデータが格納される。尚、上記割当メモリ領域のアドレスを“割当メモリアドレス”と呼ぶ場合もあるものとする。 The port 71 is identification information or the like of the communication port, and is substantially information for identifying the connection device 4 of the communication partner. The device 72 is identification information of a memory device in the connection device 4 of the communication partner. The address 73 is an address of a predetermined storage area (allocated memory area) in the memory device indicated by the device 52, and the data 74 stores data acquired from this allocated memory area. The address of the allocated memory area may be referred to as “allocated memory address”.
 尚、ポート71とデバイス名72とアドレス73とが、各アイテムの上記“割当メモリアドレス”や“監視メモリ”に相当すると見做してよい。つまり、図10(b)に示す各レコードは、各アイテムに対応するものである。画面データ22等に含まれる各アイテム毎の上記割当メモリアドレスを、ポート71、デバイス名72、及びアドレス73に格納することで、図10(b)に示す各レコードが生成される。尚、その際に、レコードとアイテムとのリンクを形成しておくようにしてもよいが、この例に限らない。何れにしても、アイテムリスト61に登録されている各アイテムの表示更新処理等を行う際には、共有メモリ63において各アイテムに対応するレコードのデータ74を参照することになる。 It should be noted that the port 71, the device name 72, and the address 73 may be regarded as corresponding to the “allocated memory address” or “monitoring memory” of each item. That is, each record shown in FIG. 10B corresponds to each item. By storing the allocated memory address for each item included in the screen data 22 or the like in the port 71, the device name 72, and the address 73, each record shown in FIG. 10B is generated. At this time, a link between the record and the item may be formed, but the present invention is not limited to this example. In any case, when the display update processing of each item registered in the item list 61 is performed, the record data 74 corresponding to each item is referred to in the shared memory 63.
 以下、各フローチャート図を参照して、上記通信処理部55、アイテム処理部53、パラメータ更新実行タイマ処理部54等の各種処理機能部の処理例について説明する。 Hereinafter, processing examples of various processing function units such as the communication processing unit 55, the item processing unit 53, and the parameter update execution timer processing unit 54 will be described with reference to each flowchart.
 まず、図12を参照して、通信処理部55の処理例について説明する。 First, a processing example of the communication processing unit 55 will be described with reference to FIG.
 例えば図6の例では各通信処理部55-1、55-2が、各々、図12の処理をサイクリックに(定周期で)実行するものである。 For example, in the example of FIG. 6, each of the communication processing units 55-1 and 55-2 executes the processing of FIG. 12 cyclically (at regular intervals).
 図12の処理例では、まず、共有メモリ63に基づいて、自己が担当する接続機器4に係るメモリリスト120を生成する(ステップS11)。例えば、通信処理部55-1による処理の場合には、接続機器4-1に係るメモリリスト120を生成することになる。例えば、共有メモリ63において、ポート71がWAY1であるレコードを全て抽出することで、接続機器4-1に係るメモリリスト120を生成する。 In the processing example of FIG. 12, first, based on the shared memory 63, the memory list 120 related to the connected device 4 in charge of itself is generated (step S11). For example, in the case of processing by the communication processing unit 55-1, the memory list 120 related to the connected device 4-1 is generated. For example, in the shared memory 63, the memory list 120 related to the connected device 4-1 is generated by extracting all records in which the port 71 is WAY1.
 図11(a)に、このメモリリスト120のデータ構成例を示す。 FIG. 11A shows a data configuration example of the memory list 120.
 図示の例では、メモリリスト120は、デバイス名121、アドレス122、データ123の各データ項目より成る。例えば上記通信処理部44-1の例の場合、共有メモリ63からポート71が“WAY1”であるレコードを全て抽出して、該各抽出レコードのデバイス名72、アドレス73、データ74の情報を、上記デバイス名121、アドレス122、データ123に格納することで、上記接続機器4-1に係るメモリリスト120を生成することになる。尚、データ123は、必ずしも必要ないものである。代わりに、処理済みか否かを示すフラグ情報が格納されていてもよい。 In the illustrated example, the memory list 120 includes data items of a device name 121, an address 122, and data 123. For example, in the case of the example of the communication processing unit 44-1, all records in which the port 71 is “WAY 1” are extracted from the shared memory 63, and information on the device name 72, the address 73, and the data 74 of each of the extracted records is obtained. By storing the data in the device name 121, the address 122, and the data 123, the memory list 120 related to the connected device 4-1 is generated. The data 123 is not necessarily required. Instead, flag information indicating whether or not the processing has been completed may be stored.
 その後は、生成したメモリリスト120を参照しながら、ステップS15の判定がNOとなるまで、ステップS12~S14の処理を繰り返し実行する。尚、この処理自体は従来と同様であってよく、以下、簡単に説明する。 After that, referring to the generated memory list 120, the processes in steps S12 to S14 are repeatedly executed until the determination in step S15 is NO. This process itself may be the same as that of the prior art, and will be briefly described below.
 すなわち、メモリリスト120から未処理のレコードを1つ取り出して処理対象レコードとし、この処理対象レコードの内容に基づくメモリ読込コマンドを生成して、これを自己が担当する接続機器4に通信ライン6を介して送信する(ステップS12)。このコマンドには、上記デバイス名71やアドレス72等のアクセス先を特定する情報(割当メモリアドレス)が含まれる。これより、接続機器4は、この割当メモリアドレスが示す記憶領域からデータを読み出して、この読出しデータを返信する応答処理を行う。 That is, one unprocessed record is taken out from the memory list 120 as a processing target record, a memory read command is generated based on the content of the processing target record, and the communication line 6 is connected to the connected device 4 that is responsible for this. (Step S12). This command includes information (allocated memory address) for specifying an access destination such as the device name 71 and the address 72. Thus, the connected device 4 performs a response process of reading data from the storage area indicated by the allocated memory address and returning the read data.
 通信処理部44は、上記メモリ読込コマンドに対する接続機器4からの応答を受信したら(ステップS13)この応答に含まれる上記読出しデータを、上記共有メモリ63において処理対象レコードに相当するレコードにおける上記データ74の欄に格納する(ステップS14)。 When the communication processing unit 44 receives a response from the connection device 4 to the memory read command (step S13), the communication processing unit 44 uses the data 74 in the record corresponding to the record to be processed in the shared memory 63 as the read data included in the response. (Step S14).
 そして、上記ステップS14の処理を実行後、メモリリスト120に未処理のレコードが残っているか否かをチェックし(ステップS15)、残っている場合には(ステップS15,YES)ステップS12に戻り、残っていない場合には(ステップS15,NO)本処理を終了する。 Then, after executing the process of step S14, it is checked whether or not an unprocessed record remains in the memory list 120 (step S15). If it remains (step S15, YES), the process returns to step S12. If not (NO at step S15), the process is terminated.
 図13、図14は、アイテム処理部53の処理フローチャート図である。 FIGS. 13 and 14 are process flowcharts of the item processing unit 53. FIG.
 尚、図13、図14は、1つの処理フローチャート図を2つに分けて示しているので、特に区別することなく、図13等と記すものとする。 Note that FIGS. 13 and 14 show one process flowchart divided into two parts, so that FIG. 13 and the like are not particularly distinguished.
 上記の通り、図13等の処理は、アイテム処理スケジュール部52の管理のもとでサイクリックに実行される。 As described above, the processing in FIG. 13 and the like is cyclically executed under the management of the item processing schedule unit 52.
 図13等の処理例では、アイテム処理部53は、まず、アイテムリスト61の初期化処理を実行する(ステップS21)。これは、例えば、アイテムリスト61の全レコードの処理済みフラグ86を“未処理”にする。その後は、後述するステップS31がNOとなるまで、ステップS22~S30の処理を繰り返し実行する。 In the processing example of FIG. 13 and the like, the item processing unit 53 first executes an initialization process of the item list 61 (step S21). For example, the processed flag 86 of all records in the item list 61 is set to “unprocessed”. Thereafter, the processes in steps S22 to S30 are repeatedly executed until step S31 described later becomes NO.
 すなわち、アイテムリスト61において処理済みフラグ86が“未処理”であるレコードのなかの1つを処理対象レコードとし(ステップS22)、該処理対象レコードとリンクされている共有メモリ63のレコード(該当レコード)からそのデータ74を取得する(ステップS23)。つまり、最新の(今回の)データを取得する。そして、取得したデータ74をメモリ情報130(図11(b)に示すデータ131)として一時的に記憶する。 That is, in the item list 61, one of the records for which the processed flag 86 is “unprocessed” is set as a processing target record (step S22), and the record of the shared memory 63 linked to the processing target record (corresponding record) ) To obtain the data 74 (step S23). That is, the latest (this time) data is acquired. The acquired data 74 is temporarily stored as memory information 130 (data 131 shown in FIG. 11B).
 ここで、図13等に示す処理は、不図示の“表示補完アニメーション実行設定有り”のアイテムに関する処理であるものとする。尚、“表示補完アニメーション実行設定無し”のアイテムに関しては、例えば特に図示しない既存の処理を行ってアイテム表示更新等を行うが、この例に限らない。 Here, it is assumed that the process shown in FIG. 13 and the like is a process related to an item “not shown”. For items with “no display complement animation execution setting”, for example, an existing process (not shown) is performed to update the item display, but the present invention is not limited to this example.
 あるいは、上述した例のように、アニメーション間隔101が‘0’の場合には、既存の処理を行うようにしてもよい。この例では、例えば、ステップS24とS25との間で、「アニメーション間隔101は‘0’か?」の判定を実行し、判定結果がNOの場合にはステップS25の処理へ移行する。一方、判定結果がYESの場合には、例えば、今回の監視メモリのデータ値に対応する角度を求めて、この角度により現在角度114を更新する、等の不図示の処理を実行してから、ステップS29へ移行する。これによって、ステップS29では直ちに今回の取得データ値に応じた角度で針が表示されることになる。 Alternatively, as in the example described above, when the animation interval 101 is “0”, existing processing may be performed. In this example, for example, the determination “Is the animation interval 101“ 0 ”?” Is executed between steps S24 and S25. If the determination result is NO, the process proceeds to step S25. On the other hand, if the determination result is YES, for example, an angle corresponding to the data value of the current monitoring memory is obtained, and the current angle 114 is updated by this angle, and then processing (not shown) is performed. Control goes to step S29. Thus, in step S29, the hands are immediately displayed at an angle corresponding to the current acquired data value.
 図13等に示す処理例の場合、上記データ131が、上記監視メモリ前回値111と異なる場合には、データ変化ありと判定して(ステップS24,YES)、ステップS25へ移行する。ステップS25では、アニメーション動作中フラグ112を参照して、表示補完アニメーション実行中であるか否かを判定する。 In the case of the processing example shown in FIG. 13 and the like, if the data 131 is different from the previous value 111 of the monitoring memory, it is determined that there is a data change (step S24, YES), and the process proceeds to step S25. In step S25, it is determined by referring to the animation operation flag 112 whether or not the display complement animation is being executed.
 表示補完アニメーション実行中ではない場合には(ステップS25,NO)、新たな表示補完アニメーション動作を開始する為の所定の処理を実行する(ステップS27、S28)。表示補完アニメーション実行中の場合には(ステップS25,YES)、当該実行中のアニメーション動作を中止・停止した上で(ステップS26)、当該針の停止位置を新たな開始位置として、上記新たなアニメーション動作を開始する為の所定の処理を実行する(ステップS27、S28)。 When the display complement animation is not being executed (step S25, NO), a predetermined process for starting a new display complement animation operation is executed (steps S27 and S28). When the display complementary animation is being executed (step S25, YES), the animation operation being executed is stopped / stopped (step S26), and the new animation is set with the stop position of the needle as a new start position. A predetermined process for starting the operation is executed (steps S27 and S28).
 ステップS27の処理では、最新の取得データ(今回値)である上記データ131に対応する針の表示角度を求める。この処理自体は既存技術であり、後に図21を参照して簡単に説明する。そして、求めた表示角度を上記目標角度113に格納する。更に、上記監視メモリ前回値111を上記データ131によって更新する。つまり、今回の取得データであるデータ131を、新たな前回値として記憶する。 In the process of step S27, the display angle of the needle corresponding to the data 131 which is the latest acquired data (current value) is obtained. This process itself is an existing technique, and will be briefly described later with reference to FIG. The obtained display angle is stored in the target angle 113. Further, the previous value 111 of the monitoring memory is updated with the data 131. That is, the data 131 that is the current acquired data is stored as a new previous value.
 そして、パラメータ更新実行タイマ開始処理を実行する(ステップS28)。ステップS28の処理は、現在角度114や目標角度113、アニメーション間隔101(変化時間ht)や上記パラメータ更新時間Δt等に基づいて、上記Δt変化時間カウンタ115、Δ角度117を算出する処理等である。 Then, a parameter update execution timer start process is executed (step S28). The processing in step S28 is processing for calculating the Δt change time counter 115 and Δ angle 117 based on the current angle 114, the target angle 113, the animation interval 101 (change time ht), the parameter update time Δt, and the like. .
 但し、Δt変化時間カウンタ115は、各アイテム毎に最初に1回算出して格納しておけば、その後は変化時間htやパラメータ更新時間Δtの設定が変更されない限り、算出する必要性はない。 However, if the Δt change time counter 115 is calculated and stored once for each item, there is no need to calculate unless the setting of the change time ht and the parameter update time Δt is changed thereafter.
 図15は、ステップS28の詳細フローチャート図である。 FIG. 15 is a detailed flowchart of step S28.
 尚、本処理は、例えばアイテム処理部53が実行してもよいが、アイテム処理部53から呼び出されたパラメータ更新実行タイマ処理部54が実行してもよい。後者の場合、アイテム処理部53は、処理対象アイテムのID(アイテムNo.81)を、呼び出し時にパラメータ更新実行タイマ処理部54に渡す。以下の説明では後者を例にする。 This processing may be executed by the item processing unit 53, for example, but may be executed by the parameter update execution timer processing unit 54 called from the item processing unit 53. In the latter case, the item processing unit 53 passes the ID (item No. 81) of the processing target item to the parameter update execution timer processing unit 54 at the time of calling. In the following description, the latter is taken as an example.
 パラメータ更新実行タイマ処理部54は、まず、パラメータ更新実行アイテムリスト62のデータ格納内容を更新する(ステップS41,S42)。 The parameter update execution timer processing unit 54 first updates the data storage contents of the parameter update execution item list 62 (steps S41 and S42).
 ここで、図11(c)に、パラメータ更新実行アイテムリスト62のデータ構成例を示す。図示の例では、パラメータ更新実行アイテムリスト62は、登録数141と、当該登録数分のアイテムNo.142から成る。アイテムNo.142には、現在、表示補完アニメーション動作実行中のアイテムのID(アイテムNo.81)が登録される。登録数141には、現在、アイテムNo.142に登録されているアイテムNo.の数が格納される。 Here, FIG. 11C shows a data configuration example of the parameter update execution item list 62. In the illustrated example, the parameter update execution item list 62 includes a registration number 141 and item numbers corresponding to the registration number. 142. Item No. In 142, the ID (item No. 81) of the item that is currently executing the display complement animation operation is registered. In the registration number 141, the item No. Item No. 142 registered in Is stored.
 パラメータ更新実行タイマ処理部54は、登録数141を+1(インクリメント)したうえで(ステップS41)、処理対象アイテムのID(アイテムNo.81)を、アイテムNo.142に追加格納する(ステップS42)。 The parameter update execution timer processing unit 54 increments the registration number 141 by 1 (increment) (step S41), and sets the ID (item No. 81) of the processing target item to the item No. 142 is additionally stored (step S42).
 そして、上記処理対象アイテムのIDを用いて、アイテムリスト61から該当レコードの所定情報を取得する(ステップS43)。所定情報とは、後述するステップS44の算出処理に必要な情報であり、例えば、上記目標角度113や現在角度114、アニメーション間隔101(変化時間ht)等である。更にパラメータ更新時間Δt等も取得する。尚、パラメータ更新時間Δtは、予め別途登録されている。 Then, the predetermined information of the corresponding record is acquired from the item list 61 using the ID of the processing target item (step S43). The predetermined information is information necessary for the calculation process in step S44 described later, and is, for example, the target angle 113, the current angle 114, the animation interval 101 (change time ht), and the like. Further, the parameter update time Δt and the like are acquired. The parameter update time Δt is separately registered in advance.
 そして、ステップS43で取得した所定情報に基づいて、新たな上記Δt変化時間カウンタ115、Δ角度117を設定する。更にΔt経過カウンタ116の初期設定も行う(ステップS44)。 Then, based on the predetermined information acquired in step S43, the new Δt change time counter 115 and Δ angle 117 are set. Further, initial setting of the Δt elapsed counter 116 is also performed (step S44).
 すなわち、まず、上記アニメーション間隔101(変化時間ht)とパラメータ更新時間Δtとを用いて上記(1)式によってΔt変化時間カウンタ値を算出し、これをΔt変化時間カウンタ115に上書き記憶する。 That is, first, the Δt change time counter value is calculated by the above equation (1) using the animation interval 101 (change time ht) and the parameter update time Δt, and this is overwritten and stored in the Δt change time counter 115.
 また、上記目標角度113と現在角度114と、上記算出されたΔt変化時間カウンタ値とに基づいて、上記(3)式によってΔ角度を算出し、これをΔ角度117に上書き記憶する。尚、当該算出処理の時の現在角度114が、上記“アニメーション開始時点の現在角度114”となる。また、目標角度113は、上記の通り、今回値(最新値)に応じた角度へと更新されている。 Further, based on the target angle 113, the current angle 114, and the calculated Δt change time counter value, the Δ angle is calculated by the above equation (3), and this is overwritten and stored in the Δ angle 117. The current angle 114 at the time of the calculation process is the “current angle 114 at the start of animation”. Further, the target angle 113 is updated to an angle corresponding to the current value (latest value) as described above.
 ステップS44では、更に、Δt経過カウンタ116を初期値(=0)に設定する。更に、アニメーション動作中フラグ112をフラグONすることで、ステップS44の処理は完了する。 In step S44, the Δt elapsed counter 116 is further set to an initial value (= 0). Further, when the animation operation flag 112 is turned on, the processing in step S44 is completed.
 以上、図15を参照して上記ステップS28の処理の詳細例について説明した。 The detailed example of the process of step S28 has been described above with reference to FIG.
 以下、図16を参照して、ステップS26の処理の詳細例について説明する。 Hereinafter, a detailed example of the process of step S26 will be described with reference to FIG.
 尚、本処理は、例えばアイテム処理部53が実行してもよいが、アイテム処理部53から呼び出されたパラメータ更新実行タイマ処理部54が実行してもよい。後者の場合、アイテム処理部53は、処理対象アイテムのID(アイテムNo.81)を、呼び出し時にパラメータ更新実行タイマ処理部54に渡す。以下の説明では後者を例にする。 This processing may be executed by the item processing unit 53, for example, but may be executed by the parameter update execution timer processing unit 54 called from the item processing unit 53. In the latter case, the item processing unit 53 passes the ID (item No. 81) of the processing target item to the parameter update execution timer processing unit 54 at the time of calling. In the following description, the latter is taken as an example.
 パラメータ更新実行タイマ処理部54は、まず、パラメータ更新実行アイテムリスト62のデータ格納内容を更新する(ステップS51,S52)。すなわち、登録数141を-1(デクリメント)したうえで(ステップS51)、処理対象アイテムのID(アイテムNo.81)を、アイテムNo.142から削除する(ステップS52)。 The parameter update execution timer processing unit 54 first updates the data storage content of the parameter update execution item list 62 (steps S51 and S52). That is, after the registration number 141 is decremented by −1 (step S51), the ID of the processing target item (item No. 81) is changed to the item No. It deletes from 142 (step S52).
 そして、アイテムリスト61において、上記処理対象アイテムのレコードを参照して(ステップS53)、この該当レコードのアニメーション動作中フラグ112をフラグOFFする(ステップS54)。 Then, in the item list 61, the record of the item to be processed is referred to (step S53), and the animation operation flag 112 of the corresponding record is turned OFF (step S54).
 以上、図16に示すステップS26のアニメーション停止処理の詳細例について説明した。上記の通り、表示補完アニメーション実行中のアイテムに関して、その監視メモリのデータ値が変わった場合には、図16の処理によって実行中の表示補完アニメーションを中止・停止する。そして、そのうえで、この時点の針の位置すなわち停止位置を、開始位置と見做した新たな表示補完アニメーションを実行開始することになる。 The detailed example of the animation stop process in step S26 shown in FIG. 16 has been described above. As described above, when the data value of the monitoring memory is changed for the item for which the display complement animation is being executed, the display complement animation being executed is stopped or stopped by the processing of FIG. Then, the execution of a new display complement animation, in which the position of the needle at this time point, that is, the stop position is regarded as the start position, is started.
 図14の説明に戻る。 Returning to the explanation of FIG.
 上記ステップS27、S28の処理によって新規の表示補完アニメーション動作開始の為の処理が行われた場合も、行われなかった場合も(つまりステップS24がNOの場合も)、最後に、現在角度114の角度で針を表示する処理を実行する(ステップS29)。尚、ステップS29の処理は、確認的なものであり、基本的には針の角度は変わらないはずである。そして、処理対象アイテムの処理済みフラグ86を“処理済み”にして(ステップS30)、当該処理対象アイテムに係る処理は完了する。そして、未だ未処理のアイテムがある場合には(ステップS31,YES)、ステップS22に戻り、未処理アイテムの中から新たな処理対象アイテムを決定して、上記と同様の処理を実行することになる。 Whether the process for starting a new display-complementary animation operation has been performed by the processes in steps S27 and S28 or not (that is, even if step S24 is NO), the current angle 114 is finally determined. A process of displaying the needle at an angle is executed (step S29). Note that the processing in step S29 is confirming, and basically the needle angle should not change. Then, the processed flag 86 of the processing target item is set to “processed” (step S30), and the processing related to the processing target item is completed. If there is still an unprocessed item (step S31, YES), the process returns to step S22, a new process target item is determined from the unprocessed items, and the same processing as described above is executed. Become.
 図17は、パラメータ更新実行タイマ処理部65の処理フローチャート図であって、サイクリックに実行されるメイン処理を示すものである。 FIG. 17 is a process flowchart of the parameter update execution timer processing unit 65 and shows the main process executed cyclically.
 尚、例えばCPUのタイマ機能を使用した割込処理によって、当該サイクリックなメイン処理を実現するものである。本例では、最初に、タイマには上記パラメータ更新時間Δtをセットするものとする。これによって、本例では、Δt周期で図17の処理がサイクリックに実行される。 For example, the cyclic main process is realized by an interrupt process using the timer function of the CPU. In this example, first, the parameter update time Δt is set in the timer. Thereby, in this example, the process of FIG. 17 is cyclically performed with a period of Δt.
 図17の処理では、まず最初に、不図示の処理indexをクリアする(ステップS61)。そして、ステップS62~S67処理実行毎に処理indexを+1インクリメントして(ステップS68)、未処理のリストが残っているか否かをチェックする(ステップS69)。未処理のリストが無くなるまで、ステップS62~S67の処理を繰り返し実行するものである。以下、ステップS62~S67の各処理について説明する。 In the process of FIG. 17, first, a process index (not shown) is cleared (step S61). Then, each time the processes in steps S62 to S67 are executed, the process index is incremented by +1 (step S68), and it is checked whether or not an unprocessed list remains (step S69). Steps S62 to S67 are repeatedly executed until there is no unprocessed list. Hereinafter, each process of steps S62 to S67 will be described.
 まず、パラメータ更新実行アイテムリスト62(そのアイテムNo.142)から処理対象のアイテムIDを取得する(ステップS62)。処理対象のアイテムIDは、例えば上記処理indexの現在値に応じたものとする。例えば、上記クリア直後の場合には、アイテムNo.142に登録されているアイテムID群のなかで先頭のアイテムIDを、処理対象のアイテムIDとして取得することになる。 First, the processing target item ID is acquired from the parameter update execution item list 62 (its item No. 142) (step S62). For example, the item ID to be processed corresponds to the current value of the processing index. For example, in the case of immediately after clearing, the item No. The top item ID in the item ID group registered in 142 is acquired as the processing target item ID.
 そして、取得したアイテムID(アイテムNo.)を用いてアイテムリスト61を検索して、該当レコードを求める(ステップS63)。そして先ず、該当レコードにおけるΔt経過カウンタ116と現在角度114を、下記のように更新する(ステップS64)。 Then, the item list 61 is searched using the acquired item ID (item No.) to obtain a corresponding record (step S63). First, the Δt elapsed counter 116 and the current angle 114 in the corresponding record are updated as follows (step S64).
 ・Δt経過カウンタ116=Δt経過カウンタ116+1
 つまり、Δt経過カウンタ116の値を、「現在値+1」により更新する。
Δt elapsed counter 116 = Δt elapsed counter 116 + 1
That is, the value of the Δt elapsed counter 116 is updated with “current value + 1”.
 ・現在角度114=現在角度114+Δ角度117
 つまり、Δ角度117の値を、「現在値+Δ角度117」により更新する。
Current angle 114 = current angle 114 + Δ angle 117
That is, the value of Δ angle 117 is updated by “current value + Δ angle 117”.
 尚、Δ角度117は、上記(3)式より算出するので、正の値となる場合もあれば、負の値となる場合もある。よって、上記現在角度114の更新によって、角度が増加する場合もあれば角度が減少する場合もある。つまり、表示補完アニメーション開始時点の現在角度114に対して、アニメーション実行周期Δt毎に変化量(Δ角度117)が加算/減算されていくことで、現在角度114が更新されていくことになる。 The Δ angle 117 is calculated from the above equation (3), and may be a positive value or a negative value. Therefore, the update of the current angle 114 may increase the angle or decrease the angle. That is, the current angle 114 is updated by adding / subtracting the change amount (Δ angle 117) for each animation execution cycle Δt with respect to the current angle 114 at the start of the display complement animation.
 次に、上記のようにΔt経過カウンタ116を+1インクリメントしたことで、「Δt変化時間カウンタ115≦Δt経過カウンタ116」となったか否かを判定する(ステップS65)。つまり、表示補完アニメーション開始から変化時間ht経過したか否かを判定する。換言すれば、アニメーション動作終了時間となったか否かを判定する。尚、上記ステップS65における“≦”は、“=”に置き換えても構わない。 Next, it is determined whether or not “Δt change time counter 115 ≦ Δt elapsed counter 116” is satisfied by incrementing Δt elapsed counter 116 by +1 as described above (step S65). That is, it is determined whether or not the change time ht has elapsed since the start of the display complement animation. In other words, it is determined whether or not the animation operation end time has come. It should be noted that “≦” in step S65 may be replaced with “=”.
 「Δt変化時間カウンタ115≦Δt経過カウンタ116」となった場合には(ステップS65,YES)、パラメータ更新実行タイマ停止処理を実行する(ステップS66)。ステップS66の処理は上記ステップS26の処理と同じであり、上記図16の処理を実行するものである。よって、ここでの説明は省略する。 When “Δt change time counter 115 ≦ Δt elapsed counter 116” is satisfied (step S65, YES), parameter update execution timer stop processing is executed (step S66). The process of step S66 is the same as the process of step S26, and executes the process of FIG. Therefore, the description here is omitted.
 一方、未だ「Δt変化時間カウンタ115>Δt経過カウンタ116」である場合には(ステップS65,NO)、上記ステップS64で更新後の現在角度114を用いて、この角度で針を表示する(ステップS67)。つまり、針の表示位置を、Δ角度117分、移動(回転)させる。 On the other hand, if “Δt change time counter 115> Δt elapsed counter 116” still remains (NO in step S65), the current angle 114 updated in step S64 is used to display the needle at this angle (step S65). S67). That is, the display position of the needle is moved (rotated) by a Δ angle of 117 minutes.
 尚、ステップS65がNOの場合でも、上記ステップS66の処理実行後、上記ステップS67の処理を実行する。この場合、基本的には、「現在角度114=目標角度113」となっているはずであり、針の表示位置は、監視メモリの最新のデータ値に対応する位置となるはずである。尚、この場合、このアイテムは上記図16の処理によってパラメータ更新実行アイテムリスト62から削除されているので、次回の本処理では表示補完アニメーション動作対象外となっている。 Even when step S65 is NO, the process of step S67 is performed after the process of step S66. In this case, basically, “current angle 114 = target angle 113” should be obtained, and the display position of the hand should be a position corresponding to the latest data value in the monitoring memory. In this case, since this item has been deleted from the parameter update execution item list 62 by the process of FIG. 16, it is excluded from the display complement animation operation target in the next main process.
 最後に、処理indexを+1インクリメントし(ステップS68)、上記の通りステップS69の判定を行い、ステップS69がNOとなったら本処理を終了する。尚、例えば、処理Indexが最大値(=登録数141)に達したら、ステップS69がNOとなることになる。 Finally, the process index is incremented by +1 (step S68), the determination of step S69 is performed as described above, and the process ends when step S69 becomes NO. For example, when the processing index reaches the maximum value (= the number of registrations 141), step S69 becomes NO.
 ここで、図18に、上記ステップS25がYESとなる場合の表示例を示す。 Here, FIG. 18 shows a display example when step S25 is YES.
 図18の例では、アニメーション間隔は200ミリ秒(ms)であるものとし、最初の表示補完アニメーション動作開始時点の針の角度は、図18(a)に示すデータ値‘0’を指し示す角度であるものとする。そして、データ値が上記‘0’から‘100’に変化したものとする。これより、本例の表示補完アニメーション動作が開始されると、針画像は、上記‘0’に対応する角度(0度)から ‘100’に対応する角度(180度)に向けて、図18(b)に示すように徐々に移動(回転)していく。しかし、このアニメーション動作の途中で(ここでは開始から150(ms)経過時)、データ値が‘100’から‘50’に変化したものとする。 In the example of FIG. 18, it is assumed that the animation interval is 200 milliseconds (ms), and the angle of the needle at the start of the first display complementary animation operation is an angle indicating the data value “0” shown in FIG. It shall be. Then, it is assumed that the data value has changed from “0” to “100”. Thus, when the display-complementary animation operation of this example is started, the needle image is moved from the angle (0 degrees) corresponding to “0” to the angle (180 degrees) corresponding to ′ 100 ”as shown in FIG. It gradually moves (rotates) as shown in FIG. However, it is assumed that the data value changes from ‘100’ to ‘50’ in the middle of the animation operation (here, 150 (ms) has elapsed from the start).
 この場合、上記ステップS24がYES且つステップS25がYESとなるので、ステップS26の処理が実行されて、針の移動は、この時点(開始から150(ms)経過時)で停止することになる。そして、直ちに、次の表示補完アニメーション動作を開始する。これは、図18(c)に示すように、上記停止位置からデータ値‘90’に対応する角度(90度)まで、200ミリ秒掛けて徐々に針を移動(回転)させることになる。 In this case, since step S24 is YES and step S25 is YES, the processing of step S26 is executed, and the movement of the needle stops at this point (at the time 150 (ms) has elapsed from the start). Then, the next display complement animation operation is started immediately. As shown in FIG. 18C, the needle is gradually moved (rotated) over 200 milliseconds from the stop position to an angle (90 degrees) corresponding to the data value '90'.
 尚、言うまでも無いが、データ値とは、監視メモリのデータの値である。 Needless to say, the data value is the data value of the monitoring memory.
 また、針の表示色は、予め決められた固定色であってもよいが、データ値に応じて変化させる形態であってもよい。 Further, the display color of the needle may be a predetermined fixed color or may be changed according to the data value.
 例えば、図19に示す例では、データ値が0~30の範囲に対しては青色、31~70の範囲に対しては緑色、71~100の範囲に対しては赤色が、予め登録されているものとする(不図示)。尚、ここでもアニメーション間隔は200ミリ秒(ms)とする。 For example, in the example shown in FIG. 19, the data value is registered in advance in blue for the range of 0-30, green for the range of 31-70, and red for the range of 71-100. (Not shown). In this case as well, the animation interval is 200 milliseconds (ms).
 これより、図19(a)に示すデータ値‘0’に対応する位置(角度)では、針の表示色は青色となっている。そして、この状態で図18(a)と同様にデータ値が‘100’に変化したものとする。 Thus, at the position (angle) corresponding to the data value “0” shown in FIG. 19A, the display color of the needle is blue. In this state, it is assumed that the data value is changed to “100” as in FIG.
 この場合、上記図18で説明したことから、表示補完アニメーション動作によって、針は、角度0度から角度180度まで200ミリ秒掛けて徐々に針を移動(回転)することになる。そして、このアニメーション動作中、新たな現在角度114を決定する毎に、この現在角度に対応するデータ値を求めて、このデータ値に対応する色を判定する。そして、この色と現在角度114とによって針を表示する。例えばデータ値が‘50’であれば緑色で表示することになる。 In this case, as described with reference to FIG. 18, the needle moves gradually (rotates) over 200 milliseconds from an angle of 0 degrees to an angle of 180 degrees by the display complement animation operation. During this animation operation, each time a new current angle 114 is determined, a data value corresponding to the current angle is obtained, and a color corresponding to the data value is determined. The needle is displayed with this color and the current angle 114. For example, if the data value is “50”, it is displayed in green.
 ここで、上述した一例の場合、監視メモリのデータ値の変化量が大きくても小さくても関係なく、一律で、Δt変化時間カウンタ115が示す回数分、図17の処理を実行して、その都度、針の表示角度を変更していた。しかしながら、監視メモリのデータ値の変化量が小さい場合、Δ角度117が非常に小さくなる場合も有り得る。よって、ユーザの目から見て、過剰な頻度で針の表示角度が変更されるように見える可能性がある。 Here, in the case of the above-described example, regardless of whether the amount of change in the data value of the monitoring memory is large or small, the processing of FIG. The display angle of the needle was changed each time. However, when the change amount of the data value in the monitoring memory is small, the Δ angle 117 may be very small. Therefore, it may appear that the display angle of the needle is changed with an excessive frequency as viewed from the user's eyes.
 これより、通常は上記のように図17の処理における現在角度114の更新処理はΔt毎に実行したが、例えばΔ角度117が所定の閾値未満のアイテムに関しては、現在角度114の更新処理を例えば“2×Δt”毎に実行させるようにしてもよい(変形例とする)。勿論、“2×Δt”毎に限らず、例えば“3×Δt”毎等としてもよい。尚、上記閾値は、予め任意の値を登録させる。 Thus, as described above, the update process of the current angle 114 in the process of FIG. 17 is normally performed every Δt. For example, for an item in which the Δ angle 117 is less than a predetermined threshold, the update process of the current angle 114 is performed, for example. You may make it perform every "2x (DELTA) t" (it is set as a modification). Of course, not only every “2 × Δt” but also every “3 × Δt”, for example. Note that an arbitrary value is registered in advance as the threshold value.
 上記の変形例であって上記“2×Δt”の例は、例えば、図17の処理において、下記の処理を追加することで実現する。 The above-described modification example of “2 × Δt” is realized by adding the following process to the process of FIG. 17, for example.
 すなわち、まず、ステップS61の処理の際に、不図示のアニメーション実行カウンタをカウントアップ(+1インクリメント)する処理を追加する。更に、ステップS67の直前に、下記の不図示の処理を追加する。 That is, first, in the process of step S61, a process of counting up (+1 increment) an animation execution counter (not shown) is added. Further, the following processing (not shown) is added immediately before step S67.
 すなわち、処理対象アイテムのΔ角度117を取得して、これが上記閾値未満であるか否かを判定する。もし、閾値以上である場合には(Δ角度117≧閾値)、ステップS67の処理へ移行する。一方、閾値未満である場合には(Δ角度117<閾値)、上記アニメーション実行カウンタのカウント値が、偶数であればステップS67の処理へ移行し、奇数であればステップS67の処理は実行しない。ステップS64の処理は実行しない場合は、そのままステップS68の処理へ移行する。 That is, the Δ angle 117 of the processing target item is acquired, and it is determined whether or not this is less than the threshold value. If it is equal to or greater than the threshold (Δangle 117 ≧ threshold), the process proceeds to step S67. On the other hand, if it is less than the threshold (Δangle 117 <threshold), the process proceeds to step S67 if the count value of the animation execution counter is an even number, and the process in step S67 is not performed if the count value is an odd number. When the process of step S64 is not executed, the process directly proceeds to the process of step S68.
 例えば上記の処理とすることで、Δ角度117が閾値未満のアイテムに関しては、図17の処理の2回に1回しか、針の表示の変更が行われないことになる。現在角度114は、毎回、ステップS64の処理で更新されるが、2回に1回は、更新後の現在角度114が表示に反映されないことになる。つまり、針の表示角度の更新回数が、通常の半分となる。 For example, with the above-described processing, regarding the item whose Δ angle 117 is less than the threshold value, the display of the needle is changed only once every two times of the processing of FIG. The current angle 114 is updated every time in step S64, but the updated current angle 114 is not reflected on the display once every two times. That is, the number of updates of the needle display angle is half of the normal number.
 但し、これは一例であり、この例に限らない。例えば、現在角度114の更新処理を、2回に1回実行するようにしてもよい。但し、この場合、Δ角度117が閾値未満であるアイテムに関しては、現在角度114の更新処理は「現在角度114=現在角度114+(2×Δ角度117)」等となる。 However, this is an example, and is not limited to this example. For example, the update process of the current angle 114 may be executed once every two times. However, in this case, for an item for which the Δ angle 117 is less than the threshold, the update process of the current angle 114 is “current angle 114 = current angle 114+ (2 × Δ angle 117)” or the like.
 また、監視メモリのデータ値の変化量が非常に小さい場合には、表示補完アニメーション自体を実行しないようにしてもよい。つまり、上述した閾値よりも更に小さい第二閾値を予め登録させておき、ステップS24の判定がYESとなった場合、監視メモリのデータ値の変化量が第二閾値以上であるか否かを判定する処理(不図示)を追加する。そして、監視メモリのデータ値の変化量が第二閾値以上である場合には、ステップS25へ移行する。一方、監視メモリのデータ値の変化量が第二閾値未満である場合には、不図示の現在角度114更新処理を実行して、そのままステップS29へ移行する。不図示の現在角度114更新処理は、例えば、監視メモリのデータ値の今回値(最新値)に対応する角度を求めて、この角度を現在角度114に上書き記憶する処理等である。 Further, when the amount of change in the data value of the monitoring memory is very small, the display complement animation itself may not be executed. That is, a second threshold value that is smaller than the above-described threshold value is registered in advance, and if the determination in step S24 is YES, it is determined whether or not the amount of change in the data value of the monitoring memory is greater than or equal to the second threshold value. A process (not shown) to be added is added. And when the variation | change_quantity of the data value of the monitoring memory is more than a 2nd threshold value, it transfers to step S25. On the other hand, if the amount of change in the data value of the monitoring memory is less than the second threshold, the current angle 114 update process (not shown) is executed, and the process proceeds to step S29. The current angle 114 update process (not shown) is, for example, a process of obtaining an angle corresponding to the current value (latest value) of the data value in the monitoring memory, and overwriting and storing this angle in the current angle 114.
 図20は、本例のプログラマブル表示器の機能ブロック図である。 FIG. 20 is a functional block diagram of the programmable display of this example.
 図示の例のプログラマブル表示器1は、画面データ記憶部201、目的位置/角度算出部202、表示補完アニメーション制御部203、表示色記憶部204等を有する。 The programmable display 1 in the illustrated example includes a screen data storage unit 201, a target position / angle calculation unit 202, a display supplement animation control unit 203, a display color storage unit 204, and the like.
 また、図示の支援装置210(作画エディタ装置5)は、設定部211を有する。 The illustrated support device 210 (drawing editor device 5) includes a setting unit 211.
 この設定部211は、任意の画面データの作成を支援する既存機能に付加される機能部であって、例えば上記“アニメーション間隔(変化時間ht)を任意に設定させる機能部である。この機能によって、開発者やユーザが適切と感じる時間を掛けて、本手法の表示補完アニメーション表示が実行されるように出来る。 The setting unit 211 is a functional unit added to an existing function that supports creation of arbitrary screen data, and is a functional unit that arbitrarily sets the “animation interval (change time ht), for example. The display complement animation display of this method can be executed over the time that the developer or user feels appropriate.
 画面データ記憶部201は、それぞれに接続機器4内の任意の割当メモリ領域が設定された各アイテムを有する画面データを記憶する。これら各アイテムには、上記割当メモリ領域のデータの値を図形の位置/角度によって表示する図形表現アイテムが含まれる。 The screen data storage unit 201 stores screen data having each item in which an arbitrary allocated memory area in the connected device 4 is set. Each of these items includes a graphic expression item that displays the value of the data in the allocated memory area by the position / angle of the graphic.
 目的位置/角度算出部202は、上記図形表現アイテムに関して、その割当メモリ領域のデータ値が変化した場合、該変化後のデータ値に応じた図形の位置/角度である目的位置/角度を求める。 The target position / angle calculation unit 202 obtains a target position / angle, which is the position / angle of the graphic corresponding to the data value after the change, when the data value of the allocated memory area is changed with respect to the graphic expression item.
 表示補完アニメーション制御部203は、上記図形表現アイテムに関して、変化前のデータ値に応じた位置/角度である開始位置/角度から上記目的位置/角度まで、図形の位置/角度を段階的に移動/回転させるアニメーション表示を行う。上記メーターの例の場合、針の現在角度を段階的に更新していくことで針を段階的に(徐々に)回転させる等の表示を行うことになる。 The display complement animation control unit 203 moves the position / angle of the graphic stepwise from the start position / angle, which is the position / angle corresponding to the data value before the change, to the target position / angle, with respect to the graphic expression item. Rotate animation display. In the case of the meter example, the current angle of the needle is updated step by step to display such as rotating the needle stepwise (gradually).
 ここで、表示補完アニメーション制御部203は、例えば、変化量等算出部203a、図形位置/角度更新部203b、アニメーション表示部203c等を有する。 Here, the display complement animation control unit 203 includes, for example, a change amount calculation unit 203a, a figure position / angle update unit 203b, an animation display unit 203c, and the like.
 変化量等算出部203aは、例えば、予め任意に設定されているアニメーション実行時間(ht等)と、実行周期(Δt等)と、上記開始位置/角度と、上記目的位置/角度(目標角度113等)とに基づいて、上記段階的な移動/回転の1回当たりの位置/角度の変化量(Δ角度117など)と実行回数(Δt変化時間カウンタ115等)を求める。上記開始位置/角度は、例えばアニメーション開始時点の現在角度114等であり、例えば変化前のデータ値に対応する位置/角度等である。 The change amount calculation unit 203a, for example, arbitrarily sets an animation execution time (such as ht), an execution period (such as Δt), the start position / angle, and the target position / angle (target angle 113) set in advance. ) And the number of executions (Δt change time counter 115 and the like) and the number of executions (Δt 117). The start position / angle is, for example, the current angle 114 at the start of the animation, for example, the position / angle corresponding to the data value before the change.
 図形位置/角度更新部203bは、上記実行周期毎に、上記変化量を用いて上記図形の現在位置/角度を更新する。例えばメーターの例の場合、上記現在角度114等を更新する。 The figure position / angle update unit 203b updates the current position / angle of the figure using the change amount at each execution cycle. For example, in the case of a meter, the current angle 114 is updated.
 アニメーション表示部203cは、上記実行周期毎に、上記更新後の現在位置/角度に従って図形を表示する。例えば、メーターの例の場合、更新後の現在角度114の角度で針を表示する。 The animation display unit 203c displays a figure according to the updated current position / angle for each execution cycle. For example, in the case of the meter, the hands are displayed at the updated current angle 114.
 図形位置/角度更新部203bは、例えば、上記開始位置/角度に対して上記実行周期毎に上記変化量を加算/減算していくことで、上記現在位置/角度を更新する。上述したメーターの例の場合、上述した「現在角度114=現在角度114+Δ角度117」の算出式によって、現在角度を更新する。尚、この算出式の右辺の現在角度114の初期値は、アニメーション実行開始時点の現在角度114等となる。 The figure position / angle update unit 203b updates the current position / angle by, for example, adding / subtracting the change amount for each execution cycle to the start position / angle. In the case of the meter example described above, the current angle is updated by the calculation formula of “current angle 114 = current angle 114 + Δangle 117” described above. The initial value of the current angle 114 on the right side of this calculation formula is the current angle 114 at the start of animation execution.
 また、表示補完アニメーション制御部203は、例えば、上記現在位置/角度を更新する処理の回数が、上記実行回数に達したら、上記表示補完アニメーション表示を終了する。 Further, for example, when the number of times of updating the current position / angle reaches the number of execution times, the display complement animation control unit 203 ends the display complement animation display.
 また、表示補完アニメーション制御部203は、例えば、上記アニメーション表示動作中に割当メモリ領域のデータ値が変化した場合、該アニメーション表示動作を停止して、該停止時の現在位置/角度を新たな開始位置/角度とする新たなアニメーション表示動作を開始する。これによって、例えば図18で説明した表示が行われることになる。 Further, for example, when the data value of the allocation memory area changes during the animation display operation, the display supplement animation control unit 203 stops the animation display operation and newly starts the current position / angle at the time of the stop. Start a new animation display operation with the position / angle. Thereby, for example, the display described in FIG. 18 is performed.
 また、上記アニメーション表示部203cは、例えば、割当メモリ領域のデータ値が変化量が、予め設定される閾値未満である場合には、上記実行周期毎ではなく該実行周期のm倍(m;整数)の周期毎に(例えば、m×Δt毎に)、上記更新後の現在位置/角度に従って図形を表示する処理を実行する。これに関しては、m=2である場合の処理例を既に説明してある。 Further, for example, when the data value of the allocation memory area has a change amount less than a preset threshold value, the animation display unit 203c does not perform every execution cycle but m times (m; integer) of the execution cycle. ) (For example, every m × Δt), a process of displaying a graphic in accordance with the updated current position / angle is executed. In this regard, a processing example when m = 2 has already been described.
 また、例えば一例として上記図形表現アイテムがメーターである場合、上記表示補完アニメーション制御部203は、該メーターの針の角度の決定・更新を行うことで、該針を回転させるアニメーション表示を行う。 For example, when the graphic expression item is a meter as an example, the display complement animation control unit 203 performs animation display for rotating the needle by determining / updating the angle of the needle of the meter.
 ここで、上記表示色記憶部204は、予め図形の位置/角度に係わる各数値範囲毎に任意の色が対応付けられて記憶されている。 Here, the display color storage unit 204 stores an arbitrary color associated with each numerical value range related to the position / angle of the figure in advance.
 アニメーション表示部203cは、例えば、上記図形を現在位置/角度で表示する際、当該現在位置/角度に対応する色で表示する。 For example, when the graphic display unit 203c displays the graphic at the current position / angle, the animation display unit 203c displays the graphic in a color corresponding to the current position / angle.
 最後に、図21を参照して、メーターの針の角度の演算方法の一例を説明する。尚、この演算方法自体は既存技術であり、よって、以下、簡単に説明する。 Finally, an example of a method for calculating the angle of the meter needle will be described with reference to FIG. This calculation method itself is an existing technology, and therefore will be briefly described below.
 図21(a)に示すように、メーターの針の表示角度の算出式は、下記の通りである。 21. As shown in FIG. 21 (a), the calculation formula for the display angle of the meter needle is as follows.
 表示角度={監視メモリの値/(最大値-最小値)}×(終了角度-開始角度)
 上記算出式における“監視メモリの値”は上記データ74を用い、最大値、最小値は最大値100、最小値99を用い、終了角度、開始角度は終了角98、開始角97を用いる。
Display angle = {monitor memory value / (maximum value−minimum value)} × (end angle−start angle)
The “monitoring memory value” in the above calculation formula uses the data 74, the maximum value and minimum value use the maximum value 100 and minimum value 99, the end angle and start angle use the end angle 98 and start angle 97, respectively.
 尚、最大値100、最小値99、終了角98、開始角97は、アイテム画像上では例えば図21(b)に示すものに相当する。 Note that the maximum value 100, the minimum value 99, the end angle 98, and the start angle 97 correspond to, for example, those shown in FIG. 21B on the item image.
 また、図21(b)に示すメーターのアイテム画像は、例えば図21(c)に示す背景画像データと針画像データとから成る。本手法では、表示補完アニメーション動作中は、針画像データの角度をΔt毎に決定・変更することになる。 Further, the item image of the meter shown in FIG. 21 (b) includes, for example, background image data and needle image data shown in FIG. 21 (c). In this method, during the display complement animation operation, the angle of the needle image data is determined and changed every Δt.
 尚、上記の説明では、具体例としてメーターを用いて説明したが、勿論、この例に限るものではなく、例えば棒グラフ等であっても構わない。メーターの場合、監視メモリのデータ値を上記のように角度に換算するが、棒グラフの場合にはデータ値を位置に換算することになる。位置とは、例えば棒の先端のXY座標データ等である。 In the above description, the meter is used as a specific example. However, the present invention is not limited to this example, and may be a bar graph, for example. In the case of a meter, the data value in the monitoring memory is converted into an angle as described above. In the case of a bar graph, the data value is converted into a position. The position is, for example, XY coordinate data of the tip of the bar.
 そして、メーターの場合、上記のように現在角度から目標角度まで針を徐々に移動(回転)させたが、棒グラフの場合、特に図示しないが、現在位置から目標位置まで棒の先端を徐々に移動させることになる。尚、上記目標角度は上記の通り変化後の数値に応じた角度であり、上記目標位置もこれと略同様の意味である。 In the case of a meter, the needle is gradually moved (rotated) from the current angle to the target angle as described above. In the case of a bar graph, the tip of the bar is gradually moved from the current position to the target position, although not particularly shown. I will let you. The target angle is an angle corresponding to the changed numerical value as described above, and the target position has substantially the same meaning.
 上述したように、本例のプログラマブル表示器、その表示補完アニメーション表示手法は、特に、メーターや棒グラフ等のように図形の位置や角度によって値を表示するタイプのアイテム、換言すれば所定の監視対象数値を視覚的に分かり易い形で表示するアイテムに関する。そして、特に監視対象の数値に変化があった場合に、変化前(現在値)から変化後の数値に対応する表示へと直ちに切替えるのではなく、変化前(現在値)の角度や位置から変化後の角度や位置へと徐々に移動させるようにするアニメーション表示を実行する。本説明では、このようなアニメーション表示を、上記のように表示補完アニメーション表示と呼ぶものとしている。 As described above, the programmable display of this example and its display complement animation display method are particularly items of a type that displays a value depending on the position and angle of a figure such as a meter or a bar graph, in other words, a predetermined monitoring target. The present invention relates to items that display numerical values in a form that is easy to understand visually. And especially when there is a change in the numerical value of the monitoring target, it does not immediately switch from the display before the change (current value) to the display corresponding to the value after the change, but from the angle or position before the change (current value). Executes an animation display that gradually moves to a later angle or position. In this description, such animation display is referred to as display complement animation display as described above.
 プログラマブル表示器は、その表示内容の決定・更新の為に定周期でデータを取得するが、従来でも説明した通り、外部の接続機器4との通信を行ってデータを取得する必要がある。この為、通信に掛かる時間を考慮すると、上記定周期は、ある程度以上長くする必要があり、短周期でデータを取得することは困難であった。例えばこの様な理由によって、任意のデータ取得処理時に取得したデータ値が、前回のデータ取得処理時に取得したデータ値(前回値)から大幅に変わっている場合が有り得る。 The programmable display device acquires data at regular intervals for determining / updating the display contents, but as described above, it is necessary to acquire data by communicating with the external connection device 4. For this reason, in consideration of the time required for communication, it is necessary to make the above-mentioned fixed period longer than a certain level, and it is difficult to acquire data in a short period. For example, for this reason, the data value acquired at the time of arbitrary data acquisition processing may be significantly different from the data value acquired at the previous data acquisition processing (previous value).
 例えば、接続機器4側ではデータ値が徐々に変わっていたが上記定周期の問題でプログラマブル表示器1側では大きく変わった状態で最新のデータ値を取得する場合も有り得る。しかし、この様な場合でも、上記の理由により、データ取得周期を短くすることは困難である。あるいは、実現できたとしても、通信負荷が高くなり、プログラマブル表示器1の他の機能実行に影響するという問題が生じる。よって、どちらにしても、現実上、データ取得周期を短くすることは困難とある。 For example, the data value may be gradually changed on the connected device 4 side, but the latest data value may be acquired in a state where the data value has changed greatly on the programmable display 1 side due to the above-mentioned fixed period problem. However, even in such a case, it is difficult to shorten the data acquisition cycle for the above reason. Alternatively, even if it can be realized, the communication load becomes high, and there arises a problem that it affects the execution of other functions of the programmable display 1. Therefore, in any case, it is actually difficult to shorten the data acquisition cycle.
 この様な例に限らないが、例えばメーター表示の場合、針がアナログ的にスムーズに移動(回転)する表示となることが望まれる。しかしながら、特にデータ値の変化量が大きい場合、従来では針が瞬間的に大きく移動することになり、実際のメーターのようなスムーズな表示内容の更新(針の回転)を表現できないことになる。また、この場合、針角度が変化する瞬間を、ユーザが見逃す可能性がある。 Although not limited to such an example, for example, in the case of a meter display, it is desirable that the display is such that the needle moves (rotates) smoothly in an analog manner. However, in particular, when the amount of change in the data value is large, the needle has moved momentarily in the past, and smooth display content update (needle rotation) like an actual meter cannot be expressed. In this case, the user may miss the moment when the needle angle changes.
 これに対して、本手法では、上記表示補完アニメーション動作を行うことで、通信負荷が高くなることもなく、グラフやメーター等のような図形によって値を表示するタイプのアイテムの表示内容の更新を、スムーズに見せる事が出来るという効果が得られる。また、ユーザが上記瞬間的な変化を見逃すようなことも無くなるという効果も得られる。 On the other hand, in this method, by performing the above display complement animation operation, the communication load is not increased, and the display content of the item that displays the value by a graphic such as a graph or a meter is updated. The effect of being able to show smoothly is acquired. In addition, an effect that the user does not miss the instantaneous change can be obtained.
 また、表示補完アニメーション動作に掛かる時間(アニメーション間隔)を、ユーザが任意に設定できるので、ユーザーの感覚に合ったアニメーション動作を提供することができる。 In addition, since the user can arbitrarily set the time (animation interval) required for the display-complementary animation operation, it is possible to provide an animation operation that matches the user's sense.
 尚、既に述べたように、本説明において“/”は、“または”や“あるいは”を意味する。よって、例えば、「または/及び」は、「または、あるいは、及び」を意味するものとする。同様に、例えば「位置/角度」とは、“位置または角度”を意味することになる。同様に、例えば、上記「現在位置/角度」は、“現在位置または現在角度”を意味するものとする。同様に、例えば、上記「目的位置/角度」は、“目的位置または目的角度”を意味するものとする。同様に、例えば、上記「開始位置/角度」は、“開始位置または開始角度”を意味するものとする。 
 
As described above, in this description, “/” means “or” or “or”. Thus, for example, “or / and” means “or or and”. Similarly, for example, “position / angle” means “position or angle”. Similarly, for example, the above “current position / angle” means “current position or current angle”. Similarly, for example, the above “target position / angle” means “target position or target angle”. Similarly, for example, the above “start position / angle” means “start position or start angle”.

Claims (9)

  1.  接続機器に接続されたプログラマブル表示器において、
     前記接続機器内の任意の割当メモリ領域が設定されたアイテムを有する画面データであって、少なくとも該割当メモリ領域のデータの値を図形の位置または角度によって表示する図形表現アイテムを有する前記画面データを、記憶する画面データ記憶手段と、
     前記図形表現アイテムに関して、前記割当メモリ領域のデータ値が変化した場合、該変化後のデータ値に応じた図形の位置または角度である目的位置または目的角度を求める目的位置/角度算出手段と、
     前記図形を、変化前のデータ値に応じた位置または角度である開始位置または開始角度から前記目的位置または目的角度まで段階的に移動または回転させるアニメーション表示を行う表示補完アニメーション制御手段と、
     を有することを特徴とするプログラマブル表示器。
    In the programmable display connected to the connected device,
    Screen data having an item in which an arbitrary allocated memory area in the connected device is set, wherein the screen data has a graphic expression item that displays at least the value of the data in the allocated memory area by the position or angle of the graphic. Screen data storage means for storing;
    With respect to the graphic expression item, when the data value of the allocated memory area changes, a target position / angle calculation means for obtaining a target position or angle that is a position or angle of the graphic according to the changed data value;
    Display complementary animation control means for performing animation display for moving or rotating the figure stepwise from the start position or start angle, which is a position or angle according to the data value before the change, to the target position or target angle;
    A programmable display device comprising:
  2.  前記表示補完アニメーション制御手段は、
     予め任意に設定されているアニメーション実行時間と、実行周期と、前記開始位置または開始角度と、前記目的位置または目的角度とに基づいて、前記段階的な移動または回転の1回当たりの位置または角度の変化量と実行回数を求める変化量等算出手段と、
     前記実行周期毎に、前記変化量を用いて前記図形の現在位置または現在角度を更新する図形位置/角度更新手段と、
     前記実行周期毎に、該更新後の現在位置または現在角度に従って前記図形を表示するアニメーション表示手段と、
     を有することを特徴とする請求項1記載のプログラマブル表示器。
    The display complement animation control means includes:
    Based on the animation execution time, the execution cycle, the start position or start angle, and the target position or target angle, which are arbitrarily set in advance, the position or angle per one of the stepwise movements or rotations Change amount calculation means for obtaining the change amount and the number of executions,
    Graphic position / angle update means for updating the current position or current angle of the graphic using the amount of change for each execution cycle;
    Animation display means for displaying the graphic according to the updated current position or current angle for each execution cycle;
    The programmable display according to claim 1, further comprising:
  3.  前記図形位置/角度更新手段は、前記開始位置または開始角度に対して前記実行周期毎に前記変化量を加算または減算していくことで、前記現在位置または現在角度を更新することを特徴とする請求項2記載のプログラマブル表示器。 The graphic position / angle update means updates the current position or current angle by adding or subtracting the change amount for each execution cycle with respect to the start position or start angle. The programmable display according to claim 2.
  4.  前記表示補完アニメーション制御手段は、前記図形の現在位置または現在角度を更新する処理の回数が、前記実行回数に達したら、前記アニメーション表示を終了することを特徴とする請求項2記載のプログラマブル表示器。 3. The programmable display device according to claim 2, wherein the display complement animation control means ends the animation display when the number of times of updating the current position or current angle of the graphic reaches the number of execution times. .
  5.  前記表示補完アニメーション制御手段は、前記アニメーション表示動作中に前記割当メモリ領域のデータ値が変化した場合、該アニメーション表示動作を停止して、該停止時の前記現在位置または現在角度を新たな前記開始位置または開始角度とする新たなアニメーション表示動作を開始することを特徴とする請求項1~4の何れかに記載のプログラマブル表示器。 The display complementary animation control means stops the animation display operation when the data value of the allocation memory area changes during the animation display operation, and newly starts the current position or current angle at the time of the stop. 5. The programmable display device according to claim 1, wherein a new animation display operation with a position or a start angle is started.
  6.  予め前記図形の位置または角度に係わる各数値範囲毎に任意の色が対応付けられて記憶されている表示色記憶手段を更に有し、
     前記アニメーション表示手段は、前記図形を前記現在位置または現在角度に対応する色で表示することを特徴とする請求項2~4の何れかに記載のプログラマブル表示器。
    Display color storage means for storing an arbitrary color associated with each numerical range relating to the position or angle of the figure in advance;
    The programmable display device according to any one of claims 2 to 4, wherein the animation display means displays the figure in a color corresponding to the current position or the current angle.
  7.  前記図形表現アイテムがメーターである場合、前記表示補完アニメーション制御手段は、該メーターの針の角度の決定・更新を行うことで、該針を回転させる前記アニメーション表示を行うことを特徴とする請求項1~4の何れかに記載のプログラマブル表示器。 The display complement animation control means performs the animation display for rotating the needle by determining and updating the angle of the needle of the meter when the graphic expression item is a meter. The programmable display according to any one of 1 to 4.
  8.  前記アニメーション表示手段は、割当メモリ領域のデータ値が変化量が、予め設定される閾値未満である場合には、前記実行周期毎ではなく該実行周期のm倍(m;整数)の周期毎に、前記更新後の現在位置または現在角度に従って前記図形を表示する処理を実行することを特徴とする請求項2記載のプログラマブル表示器。 When the data value in the allocation memory area has a change amount less than a preset threshold value, the animation display means does not execute every execution cycle but every m times (m: integer) the execution cycle. 3. The programmable display device according to claim 2, wherein a process of displaying the graphic in accordance with the updated current position or current angle is executed.
  9.  接続機器に接続されたプログラマブル表示器のコンピュータを、
     前記接続機器内の任意の割当メモリ領域が設定されたアイテムを有する画面データであって、少なくとも該割当メモリ領域のデータの値を図形の位置または角度によって表示する図形表現アイテムを有する前記画面データを、記憶する画面データ記憶手段と、
     前記図形表現アイテムに関して、前記割当メモリ領域のデータ値が変化した場合、該変化後のデータ値に応じた図形の位置または角度である目的位置または目的角度を求める目的位置/角度算出手段と、
     前記図形を、変化前のデータ値に応じた位置または角度である開始位置または開始角度から前記目的位置または目的角度まで段階的に移動または回転させるアニメーション表示を行う表示補完アニメーション制御手段、
     として機能させる為のプログラム。
     
    Programmable display computer connected to the connected device
    Screen data having an item in which an arbitrary allocated memory area in the connected device is set, wherein the screen data has a graphic expression item that displays at least the value of the data in the allocated memory area by the position or angle of the graphic. Screen data storage means for storing;
    With respect to the graphic expression item, when the data value of the allocated memory area changes, a target position / angle calculation means for obtaining a target position or angle that is a position or angle of the graphic according to the changed data value;
    Display complement animation control means for performing animation display for moving or rotating the figure stepwise from the start position or start angle, which is a position or angle corresponding to the data value before the change, to the target position or target angle;
    Program to function as.
PCT/JP2013/079193 2013-10-29 2013-10-29 Programmable display apparatus and program WO2015063848A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2013/079193 WO2015063848A1 (en) 2013-10-29 2013-10-29 Programmable display apparatus and program
JP2015544649A JP6138269B2 (en) 2013-10-29 2013-10-29 Programmable display, program
CN201380080067.4A CN105593925B (en) 2013-10-29 2013-10-29 Programable display and the storage medium for storing its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/079193 WO2015063848A1 (en) 2013-10-29 2013-10-29 Programmable display apparatus and program

Publications (1)

Publication Number Publication Date
WO2015063848A1 true WO2015063848A1 (en) 2015-05-07

Family

ID=53003499

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/079193 WO2015063848A1 (en) 2013-10-29 2013-10-29 Programmable display apparatus and program

Country Status (3)

Country Link
JP (1) JP6138269B2 (en)
CN (1) CN105593925B (en)
WO (1) WO2015063848A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102118858B1 (en) * 2018-04-11 2020-06-17 엘에스일렉트릭(주) Method for managing controller data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969001A (en) * 1995-09-01 1997-03-11 Fuji Electric Co Ltd Operation display unit
JP2003150212A (en) * 2001-11-12 2003-05-23 Digital Electronics Corp Picture editor device, picture editor program and recording medium with its program recorded thereon
JP2006301726A (en) * 2005-04-15 2006-11-02 Win System:Kk Component compilation and group animation property setting method
JP2011113041A (en) * 2009-11-30 2011-06-09 Furuno Electric Co Ltd Display device, sensor device, display method for display screen, and display program of display screen
JP2012180061A (en) * 2011-03-02 2012-09-20 Nippon Seiki Co Ltd Display control device for vehicle and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5880411A (en) * 1992-06-08 1999-03-09 Synaptics, Incorporated Object position detector with edge motion feature and gesture recognition
JPH1185956A (en) * 1997-09-10 1999-03-30 Toshiba Corp Path display device
JP2006065368A (en) * 2004-08-24 2006-03-09 Sony Corp Image display device and method, and computer program
KR101631273B1 (en) * 2009-10-26 2016-06-17 삼성전자주식회사 Method and apparatus for providing UI animation
CN201853260U (en) * 2010-08-16 2011-06-01 北京水晶石数字科技有限公司 Three-dimensional animation production system
CN102298787A (en) * 2011-08-08 2011-12-28 深圳市万兴软件有限公司 Control method and control system for animation object motion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969001A (en) * 1995-09-01 1997-03-11 Fuji Electric Co Ltd Operation display unit
JP2003150212A (en) * 2001-11-12 2003-05-23 Digital Electronics Corp Picture editor device, picture editor program and recording medium with its program recorded thereon
JP2006301726A (en) * 2005-04-15 2006-11-02 Win System:Kk Component compilation and group animation property setting method
JP2011113041A (en) * 2009-11-30 2011-06-09 Furuno Electric Co Ltd Display device, sensor device, display method for display screen, and display program of display screen
JP2012180061A (en) * 2011-03-02 2012-09-20 Nippon Seiki Co Ltd Display control device for vehicle and program

Also Published As

Publication number Publication date
CN105593925B (en) 2018-02-09
JP6138269B2 (en) 2017-05-31
JPWO2015063848A1 (en) 2017-03-09
CN105593925A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN107220047B (en) Method for realizing progress bar control piece of dynamic image display of audio frequency spectrum
KR102265126B1 (en) Organizing user interface elements
JP6006399B2 (en) Programmable display, its program
JP6138269B2 (en) Programmable display, program
JP2010175638A (en) Display device and method for display in display device
JP2019133494A (en) Setting support device and setting support program
JP5866085B1 (en) User interface device and screen display method for user interface device
WO2023134655A1 (en) Operation method and apparatus, and electronic device and computer-readable storage medium
JP2007012037A5 (en)
JP5847965B2 (en) Programmable controller system, programmable display, support device, program
WO2015059816A1 (en) Programmable display device, and program
JP5883936B2 (en) Programmable controller system
JP6333279B2 (en) Programmable display, program
JP6095743B2 (en) Support device, program
JP6207694B2 (en) Programmable display, program
WO2014091623A1 (en) Programmable controller system, programmable display therefor, assistance device, and program
EP3612929B1 (en) Rules based user interface generation
JP5472615B2 (en) Multi-window display device, multi-window display method, and program
WO2014112035A1 (en) Programmable controller system, programmable display therefor, display editor, and program
JP2021000424A (en) Computer program, server device, terminal device, program generation method, and method
CN116301347A (en) Virtual assembly method, device, system and storage medium
JP2020204985A (en) Computer program, server device, terminal device, program generation method, and method
CN116681869A (en) Cultural relic 3D display processing method based on virtual reality application
KR20190017213A (en) To enter a command for zooming, reducing, and moving the contents displayed on the display unit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13896561

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015544649

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13896561

Country of ref document: EP

Kind code of ref document: A1