CN105593925B - Programable display and the storage medium for storing its program - Google Patents
Programable display and the storage medium for storing its program Download PDFInfo
- Publication number
- CN105593925B CN105593925B CN201380080067.4A CN201380080067A CN105593925B CN 105593925 B CN105593925 B CN 105593925B CN 201380080067 A CN201380080067 A CN 201380080067A CN 105593925 B CN105593925 B CN 105593925B
- Authority
- CN
- China
- Prior art keywords
- angle
- display
- animation
- data
- project
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/36—Control 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/37—Details of the operation on graphic patterns
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2380/00—Specific applications
- G09G2380/06—Remotely controlled electronic signs other than labels
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)
- Processing Or Creating Images (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
In the present invention, picture data storage unit (201) stores to the picture data with the projects for setting the arbitrary distribution holder region in connection equipment (4) respectively.The graphical representation project for the data value that above-mentioned distribution holder region is shown using the position or angle of figure is included in these projects.The distribution holder region data value there occurs change in the case of, target location or angle calculation portion (202) obtain position or angle, i.e. target location or the angle on target of the figure corresponding with the data value after the change to the graphical representation project.Display completion animation control unit (203) carries out animation and shown, make the graphical representation project from the position corresponding with the data value before change or angle, i.e. original position or start angle incipient stage property mobile or rotation to the target location or angle on target.
Description
Technical field
The present invention relates to programable display etc..
Background technology
Programable display typically carries out these companies with the various connection equipment connections such as PLC bodies and temperature control device, display
The numerical value for connecing the status display of equipment is shown and the image of the project such as lamp, or shows the switch that any instruction is sent for user
Etc. the image of project.In addition, project is also referred to as screen component etc..In the picture of programable display, generally show multiple
The image of screen component (project).In addition, the picture of the programable display is referred to as operating display frame.
(being referred to as picture data etc.) such as data for showing such operating display frame is in advance (not shown) auxiliary
Help in device and arbitrarily generated by developer etc., programable display is downloaded to from servicing unit.
For each project, included in the picture data:The image of the project, display location coordinate, under also having
The data such as the address in distribution holder region described in text.Further, sometimes also comprising certain program etc..In addition, the item
Mesh image is, such as " is represented as the image of switch, the image of lamp or instrument (instrument etc.), bar graph etc. using figure etc.
Image of the type of numerical value " etc..
Described projects for example correspond to the shape for being formed arbitrarily key element, carrying out the structural element of arbitrary connection equipment respectively
State is shown, receives the instruction being turned on and off of the structural element.For example, carry out numerical value in the temperature measuring value to temperature control device
In the case of the project of display, current temperature is shown with numerical value at any time.
Shown by the way that described projects are for example regularly implemented with defined processing to realize that the various projects are associated
Show control.Defined processing refers to, such as reads the predetermined region (distribution holder region) of the memory device in connection equipment
Storage data, based on the storage data determine, display items purpose display content.In addition, connection equipment is stored up to each distribution at any time
The storage data in storage region are updated.Such as the temperature measuring value is updated at any time in the temperature control device.
For example, for the project of " lamp ", the storage data in the distribution holder region are 1 bit data, are by the bit
In the case of ' 0 ' lamp extinguish, be ' 1 ' in the case of the item image lighted of lamp be shown on programable display.In addition, distribution
The storage data in holder region are updated in connection equipment side as described above.For example, using the processing for connecting equipment side,
The distribution holder region is stored in by ' 1 ' in the case of button opening in connection equipment, will ' 0 ' storage in the case of closing
The distribution holder region be present.
In addition, here, sometimes the predetermined region of the memory device in the connection equipment is distributed holder region and claimed
To monitor holder.Thus, the above could also say that, holder arbitrarily be monitored to each allocation of items, based on the prison
Storage data depending on holder are updated control to the display content of projects.
In addition, the memory device data read from the monitoring holder being temporarily stored within programable display
Predetermined region (is referred to as interior magazine), is determined based on the storage data, display items purpose display content.
In the case of the example, read the storage data of the monitoring holder and be stored in the place of the interior magazine
Reason, is for example regularly performed by communication function portion of programable display etc..The communication function portion for example with the PLC bodies and
The various connection equipment such as temperature control device are communicated, and the storage data of the monitoring holder are obtained to each project, this is taken
Obtain data cover and be stored in the interior magazine.Also, associated aobvious of the various projects is carried out in programable display
Show the project display function portion of control, the associated display of projects is determined and control by regularly accessing interior magazine
Content.
Here, for example, as it is known that prior art described in patent document 1.
The purpose of the invention of patent document 1 is, while suppressing the usage amount of holder, can make drawing processing at a high speed
Change.In the invention of patent document 1, the description content comprising graphical information and the animation information for the change for representing graphical information is entered
Row parsing, generates internal data.Further, the internal data generation drawing command based on generation.In addition, including updating work(
Can, the drawing command of the generation is updated to the drawing command corresponding with current time by the more New function.Also, by this more
In the case that New function have updated drawing command, framework corresponding to current time is carried out using the drawing command that have updated
Drawing processing.
Patent document 1:Japanese Patent Laid-Open 2012-123739 publications
The content of the invention
Here, the above-mentioned project display content as programable display, be not limited to switch or the lamp represent out like that/
The mode closed or lighted/extinguish, also have show it is described monitoring holder storage data numerical value (such as temperature, humidity,
Rotating speed etc.) project.As described above, be not simple display numerical value in such a project, but utilize figure etc. regarding
Show the numerical value with being readily appreciated that in feel.For example, there is the project shown in a manner of instrument or bar graph etc..
Here, Figure 22 A show the display example of instrument.
In example illustrated, exemplified with the example for the storage data that the monitoring holder is shown in a manner of the instrument of diagram
Son.In example illustrated, storage data are made to get the arbitrary numerical value in the range of ' 0 '~' 60 '.Also, here, any
At the time of make the storage data of monitoring holder from ' 10 ' become to turn to ' 50 '.
Under such circumstances, the new data value ' 50 ' is scaled the angle of gauge pointer by programable display, with the angle
Degree shows pointer.Here, as shown in Figure 22 B, it is corresponding with data value ' 50 ' if angle corresponding with data value ' 10 ' is 30 degree
Angle is 150 degree.Thus, by dispaly state from pointer is made with the state of 30 degree of displays of angle, be updated to 150 degree of displays of angle
State.Thus, it is updated to point to the dispaly state of numerical value ' 50 ' from the dispaly state of pointer sensing numerical value ' 10 ' in instrument.
However, generally, instrument shows that such as the speedometer of automobile or revolution counter are such, are gradually moved (rotation) with pointer
Mode shown.Sometimes pointer movement simulate like this, smooth it is expected.In the case of Figure 22 A example, sometimes
It is expected as shown in the arrow on figure, pointer by from 30 degree little by little, smoothly rotate to 150 degree in a manner of shown.
During the animation of above-mentioned patent document 1 is shown, such display can not be realized.
The problem of the present invention is to provide a kind of programable display etc., can enter to exercise the type using figure shows numerical value
The renewal of display content of project seem that smooth display completion animation is shown.
The programable display of the present invention is the programable display with being connected equipment connection, has following each structure.
Picture data storage element, the picture data storage element store to picture data, and the picture data is tool
There is the picture data of the project in the arbitrary distribution holder region being set in the connection equipment, at least have with figure
Position or angle show the graphical representation project of the value of the data in the distribution holder region;
Target location or angle calculation unit, the situation that the data value in the distribution holder region is changed
Under, the target location or angle calculation unit obtain the figure corresponding with the data value after the change to the graphical representation project
The position of shape or angle, i.e. target location or angle on target;And
Show completion animation control unit, the display completion animation control unit carry out animation show, make the figure from
The mobile or rotation in the position corresponding with the data value before change or angle, i.e. original position or start angle incipient stage property ground
To the target location or angle on target.
Brief description of the drawings
Fig. 1 is the overall brief configuration figure of the system of the programable display comprising this example.
Fig. 2 is the configuration example of the programable display of this example.
Fig. 3 is the software architecture diagram of the system.
Fig. 4 is one of the generation auxiliary image of the picture data in mapping editing device.
Fig. 5 A are to show the action schematic diagram that completion animation is shown.
Fig. 5 B are the figures for representing the Parameters variation that the action is related to.
Fig. 6 is the processing function figure of the programable display of this example.
Fig. 7 is the data structure diagram (one) of bulleted list.
Fig. 8 be bulleted list data structure diagram (secondly).
Fig. 9 be bulleted list data structure diagram (thirdly).
Figure 10 (a) is the data structure example of common storage, and Figure 10 (b) is data storage example.
Figure 11 (a)~(c) is the data structure example of the various data generated in processing.
Figure 12 is the process chart of communication processing section.
Figure 13 is the process chart (1/2) of project processing unit.
Figure 14 is the process chart (2/2) of project processing unit.
Figure 15 is the detail flowchart of step S28 start to process.
Figure 16 is the detail flowchart of step S26 stopping processing.
Figure 17 is the process chart that parameter renewal performs timer processing unit.
Figure 18 (a)~(c) is the display example for the situation that step S25 is yes.
Figure 19 (a), (b) are the display examples for making color show variable mode.
Figure 20 is the functional block diagram of the programable display of this example.
Figure 21 (a) is the operation method of the angle of pointer, and Figure 21 (b), (c) are the figures for the data structure for representing instrument.
Figure 22 A are the display schematic diagrams of conventional instrument.
Figure 22 B are the figures for representing the Parameters variation that the action is related to.
Embodiment
Below, embodiments of the present invention are illustrated referring to the drawings.
Fig. 1 is the overall brief configuration figure of the system of the programable display 1 comprising this example.
Programable controller system shown in Fig. 1 has various connection equipment 4 and connected via communication line 6 various
Connect the programable display 1 of equipment 4.It is further preferred that programable display 1 connects mapping editor via communication line 3
Device 5 (servicing unit) and form.But mapping editing device 5 is not required to be connected with programable display 1.In addition, sometimes
Also mapping editing device 5 is labeled as servicing unit 5.
Programable display 1 includes multiple communication interfaces 2 (COM1), by the order wire for connecting each communication interface 2
The communication line 6 of road 3/ connects with various connection equipment 4 and mapping editing device 5.
Fig. 2 is the configuration example of the programable display 1 of this example.
Programable display 1 substantially in the same manner, is had and operated based on described picture data etc. with described conventional example
The functions such as the display of display picture, but it is according to circumstances different in this method, display described below is performed when being shown for this
Completion animation is shown.In detail as described below.
The programable display 1 of diagram has display operating control device 10, touch-screen 18, display 19 and described logical
Believe interface 2 etc..
Show operating control device 10 by CPU11, ROM12 (flash memory etc.), RAM13, communication controler 14, graphics controller
15th, touch screen controller 16 etc. is formed, and they are connected with bus 17.
CPU11 is that control shows the overall central processing unit (arithmetic processor) of operating control device 10.CPU11 passes through
Perform the program (such as reality 21 described below etc.) for having previously been stored in ROM12, calculation process as defined in progress.Thus
Such as realize processing of various flow charts described below etc..Various operation results are for example stored to RAM13 or ROM12.In addition,
ROM12 is such as being alternatively flash memory.
In addition, picture data (picture data 22 described below) illustrated in the background technology etc. is stored in
ROM12.As described above, such as the projects such as described switch, lamp, instrument, bar graph, picture data there is the project
Image, display location coordinate, size, the angle of pointer, the front position of rod, display color etc. and project show it is associated each
Kind of data, and data associated with the monitoring holder access such as the address in above-mentioned distribution holder region etc..
In above-mentioned CPU11 processing, such as include acquirement " the distribution storage of each project illustrated in above-mentioned background technology
Processing of the storage data in device region " etc..In addition, from the foregoing, it can be understood that this be referred to as obtain " monitoring holder " storage
The processing of data.The acquirement data are for example temporarily stored within common storage 63 described below.In addition, common storage 63 can
Think a part for the storage area of the RAM13 and ROM12, or other holders (not shown).
In addition, using the processing of the CPU11, such as based on the picture data and the display pair for obtaining data etc.
Image data is unfolded (description) on such as RAM13 or (not shown) video-rams.Based on the description, graphics controller 15 is aobvious
Show and described operating display frame etc. is shown on device 19.
For example, by taking above-mentioned instrument as an example, then as described above, conventional, by the acquirement number from the monitoring holder
The angle of gauge pointer is scaled according to (numerical value), by showing pointer with the angle, (the figure in the form of being visually readily appreciated that
Shape) show the numerical value for obtaining data.In this example, especially for the project of such a " utilizing figure shows numerical value ", sometimes
Display completion animation described below is carried out to show.That is, it is not to stand sometimes during numerical value change if for example by taking instrument as an example
Pointer is shown with angle corresponding with the numerical value after change (new angle), but enters to exercise pointer from current angular movement (rotation
Turn) show to the animation of new angle.In detail as described below.
Display 19 sets touch-screen 18 in an overlapping manner such as being formed by liquid crystal panel on the liquid crystal panel.
On the display 19, substantially show that the aforesaid operations for forming the configuration of multiple item images on assigned position show picture
Face.Also, the display completion animation for carrying out this method sometimes on operating display frame is shown.
In addition, communication controler 14 is via communication interface 2, connected with PLC bodies (not shown) etc. or temperature control device etc.
Equipment 4 and mapping editing device 5 are communicated.
The testing result for the position that pressing operation (touch) is carried out on touch-screen 18 is waited by operator, via touch-screen control
Device 16 processed is obtained and parsed by CPU11 etc..Here such as the display location coordinate based on projects or the data of size,
Parsed.For example, if the display location for the image that the touch such as operator arbitrarily switchs, is existed by being resolved to the touch location
In the viewing area of the switch image, so as to be considered as the operation carried out to the switch.
Fig. 3 represents the software architecture diagram of above-mentioned the system.
In programable display 1, the various programs or data such as reality 21, picture data 22, signal procedure 23 are stored up
In the presence of such as the ROM12 (flash memory).By these programs or data etc. are read out by CPU11, implemented or with reference to etc.,
Carry out display control of the operating display frame etc. etc..The operating display frame is various by instrument, bar graph, lamp, switch etc.
The image display of project is formed.Such as using the communication with being connected equipment 4, will be from distribution holder region (monitoring holder)
The form that the data of acquirement are reflected updates the display content of projects image at any time.
Substantially CPU11 is based on reality 21 and picture data 22 is handled, so as to show that the operation shows picture
Face.Also, based on using signal procedure 23 with being connected result that equipment 4 is communicated (described acquirement data etc.) etc., the operation
The display content of each picture device in display picture is updated at any time.Display content is the numerical value such as representing temperature
Display or lamp are lighted, extinguished.As described above, this method is related to the display control for the project that numerical value is represented with figure etc.,
The aobvious of the project of the type of numerical value is represented as particularly above-mentioned instrument or bar graph, such as with the position of figure or angle
Show control.
In above-mentioned picture data 22, such as the picture data file 32 arbitrarily generated in mapping editing device 5 side in advance,
It is downloaded and is stored in programable display 1.In addition, above-mentioned signal procedure 23 also will for example have previously been stored in mapping editing device
The signal procedure file 33 of 5 sides is downloaded and is stored in programable display 1.
As described above, substantially, CPU11 is based on reality 21, picture data 22 and obtains data etc., carries out institute
State the display control of operating display frame.For example, to projects such as instrument or lamps, regularly from the distribution holder region of the project
Data are read, the display content of the project is updated based on the reading data.Or such as switch etc. project, make
User touches the desired switch on the operating display frame, carries out opening or closing operation, and image is opened to carry out switch
Display or switch are closed image and shown.In addition, CPU11 also carries out the control of connection equipment 4 corresponding with the switching manipulation.
Also, the reading data from the distribution holder region are temporarily stored within programable display 1 hereafter
Described common storage 63 (interior magazine), and based on this progress project display control.
That is, regularly from the memory device connected in equipment 4 such as using each communication processing section 55 described below
Defined storage area (distribution holder region) reads data, enters to be about to the reading data storage in the interior magazine
Processing.Also, storage data based on interior magazine etc., carry out the display control of the operating display frame.Thus, operate
The display content of projects image in display picture reflects distribution holder region (monitoring storage corresponding with the project
Device) newest storage data content.
Wherein, in this method, for above-mentioned " project that numerical value is represented with the position of figure or angle etc. ", sometimes not
The newest data value reflected is shown immediately, but is carried out display completion animation described below and shown.That is, display control is carried out
System is finally reached the position for reflecting newest data value or angle with gradual (periodically) movement/rotation position/angle.
In addition, "/" represents "or", "or" in this explanation.Thus, for example, above-mentioned position/angles represent for example " position or
Angle ", above-mentioned " movement/rotation " represent such as " mobile or rotation ".Other situations are similarly.
The signal procedure 23 of programable display 1 is the program for being communicated via order wire 6 with being connected equipment 4.
Generally, connecting every kind of type of equipment 4 etc. has intrinsic communication protocol (communication procedure), and according to the communication procedure, progress can
Program the communication between display 1- connections equipment 4.Therefore, it is necessary to develop signal procedure to every kind of machine of each connection equipment 4
23.In addition, certainly, by performing signal procedure 23 by CPU11 etc., realize the communication process with being connected equipment 4.
In addition, the communication between programable display 1- mapping editing devices 5 is for example edited by reality 21 and mapping
Device 31 is carried out.For example, communication function, which is assembled into, makees Graph editor 31.The content is not particularly relevant with this method, therefore not
Illustrate, illustrate.The connection such as PLC bodies equipment 4 has various manufacturers and type, and each manufacturer and type have communication alone
Program, with connect equipment 4 manufacturer and type accordingly, to possess polytype signal procedure 23 depending on situation.
Signal procedure 23 to each type generally with multiple signal procedure files 33 (developing the multiple signal procedures completed)
Form be stored beforehand in mapping editing device 5 in HD (hard disk) (not shown).Also, if user is edited using mapping
Device 31 selects and specifies arbitrary connection equipment 4, then editing device 5 of mapping leads to the connection equipment 4 with the selection is corresponding
Letter program file 33 is sent to programable display 1, and saves as the signal procedure 23.
What the processing that programable display 1 accesses the monitoring holder in connection equipment 4 was included according to picture data 22
Various settings are performed.In other words, according to the various uses carried out when generating picture data file 32 on making Graph editor 31
Person is set to perform.For example, user when generating picture data file 32, configures instrument or bar graph project in picture,
And arbitrary address (monitoring holder) is specified to the project.Further, the display completion animation for this method is shown
Execution object project, set " animation interval " described below etc. by user to making Graph editor 31.In addition, also can be by
The project for the execution object that the specified display completion animation of user is shown is in itself.
Picture data file 32 generated as described above is downloaded to programable display 1, saves as picture data 22.
Programable display 1 samely, the display control of the operating display frame is carried out using picture data 22, therewith companion
With regularly obtaining action of data etc. of the monitoring holder to each project implementation.Further, also carry out sometimes
Based on action of project display content obtained on data renewal picture etc..Further, by being held to display content renewal
The display completion animation of row this method is shown, can realize that the pointer of such as instrument is carried out in a manner of simulating ground, gently rotate
Display.
Moreover, it is achieved that obtaining data to the monitoring access of holder, temporary transient storage or the various processing such as picture is shown
Program for example may be embodied in reality 21, can also reside in picture data file 32 (picture data 22).No matter at which
In the case of kind, by performing such a program by such as above-mentioned CPU11, can realize this example programable display 1 it is various
Processing, action etc..
Here, servicing unit 5 is, for example, computer etc., though being not particularly illustrated, there is the structure of general conventional computer
(CPU, storage unit (hard disk, holder etc.), communication unit, operating portion (mouse etc.), display).By performing storage in advance by CPU
The application program of storage unit be present, realize the processing function for for example making Graph editor 31.
Fig. 4 is one of the generation auxiliary image of the picture data in mapping editing device 5.
In addition, in explanation after Fig. 4, for carrying out showing the project that completion animation is shown, substantially with shown in Fig. 4
Instrument illustrates as an example, certainly, is not limited to the example.As described above or utilize figure shows number
Situation of the project of the type of value as object, such as can be above-mentioned bar graph etc..In addition, display completion animation is shown in instrument
It is the display content for rotating pointer by changing the angle of pointer in the case of table, but is change rod in the case of bar graph
Front end position.
If user configures arbitrary project (being herein instrument) on generation auxiliary image, defined operation is carried out,
Then show the associated setting frame (dialog box etc.) of the project.The setting frame 40 of the instrument of diagram is shown in this example.
Monitoring holder setting regions 41, minimum value, maximum setting regions 42, animation interval are set on setting frame 40
The various setting regions such as setting regions 43.
User can the arbitrarily distribution storage of setting setting object item (instrument) in monitoring holder setting regions 41
The address in storage region (monitoring holder) etc..Setting result is stored as monitoring memory device title 91 described below, pipe
Manage holder address 92.
In addition, user can set the distribution storage of the setting object item in minimum value, maximum setting regions 42
The associated minimum value of the storage data in storage region, maximum.For example, the storage data be 0~60 in the range of it is any
In the case of value, minimum value=0, maximum=60 are set to.Setting result is stored as minimum value 99 described below, most
Big value 100.
In addition, user can set the value of desired animation interval in animation interval setting regions 43.Set result
It is stored as animation interval 101 described below.
In addition, for example in the case where user does not expect that the setting object item is carried out to show that completion animation is shown,
Such as do not set the animation interval.For example, the initial value of the animation interval in animation interval setting regions 43 is ' 0 ', not
Its former state is set to keep ' 0 ' in the case of being set.In the example, animation interval 101 is ' 0 ' in the display processing being described below
In the case of, make not perform the project display completion animation and show.In addition, this is an example, however it is not limited to the example.
As long as user can designate whether to perform to each project shows that completion animation is shown, in any method.
Here, Fig. 5 A show the action schematic diagram that the display completion animation of this method is shown, Fig. 5 B show the action
Associated Parameters variation.
In Fig. 5 A example, in the same manner as above-mentioned conventional Figure 22 A example, make the project (instrument) of diagram associated
The address for monitoring holder (distribution holder region) is ' D100 ', at a time, the storage data is become from ' 10 ' and turns to
‘50’。
In the case of in the past, as illustrated by Figure 22 A, pointer is immediately 150 degree with angle corresponding to data ' 50 '
Shown.
On the other hand, according to this method, as shown in Fig. 5 A, 5B, spend the animation interval 101 (transformation period ht) when
Between, angle corresponding to the angle from data value ' 10 ' of pointer (30 degree) gradually (periodically) is changed to corresponding to data value ' 50 '
Angle (150 degree) is shown.As shown in Figure 5 B, this is the display angle by every constant cycle Δ t change pointer
Degree handles to realize.
In addition, above-mentioned Δ t value is arbitrarily determined and logged in advance, such as Δ t is set at CPU timer.Thus,
CPU timer just counts up when count value is Δ t.In other words, if counting up if begun to pass through the Δ t times.
As shown in Figure 5 B, the count value of CPU timer counts up since 0, when reaching the Δ t every time, counts
Value is reset to ' 0 ', and change the processing of the angle of above-mentioned pointer.Hereinafter with an example to the pointer angle
The exception processes of degree illustrate, but substantially as illustrated, gradual every above-mentioned constant cycle, the angles of display of pointer
(periodically) close to angle corresponding with above-mentioned ' 50 ' (150 degree).
In the display completion animation display processing of this method, the trade (is entered every parameter renewal time Δ t) with the constant cycle
The renewal processing of preceding angle, and carry out project display processing using the current angular after renewal.Also, final current angular reaches
To angle corresponding with newest acquirement data (being 150 degree in this example), display completion animation display processing terminates.It is as follows in detail
Described in text.
Fig. 6 is the processing function figure of the programable display of this example.
Above-mentioned CPU11 by perform be stored in for example described ROM12 established procedure (such as the reality 21,
Signal procedure 23 etc.), so as to realize the various processing function portions represented in such as Fig. 6 dotted line.That is, the project of diagram is realized
Generating unit 51, project processing plan portion 52, project processing unit 53, parameter renewal perform timer processing portion 54, communication processing section
The various processing functions in the various processing function portions such as 55 (55-1,55-2 etc.).Described in these various processing function texts specific as follows.
In addition, parameter renewal execution timer processing portion 54 also can be as a part for the function of project processing unit 53.
In addition, for example, project generating unit 51, project processing plan portion 52, project processing unit 53 and parameter renewal are performed and determined
When device processing unit 54 realized by reality 21.Communication processing section 55 is for example realized by reality 21 and signal procedure 23.Separately
Outside, when performing the processing of these processing functions, above-mentioned picture data 22 etc. is utilized.
Project generating unit 51 is based on described picture data 22 etc., generates bulleted list 61.Such as to extract picture data 22 out
The form of a part generate.
Here, Fig. 7, Fig. 8, Fig. 9 show the data structure diagram of bulleted list 61.
Fig. 7 is the overall data structure diagram of bulleted list 61.Fig. 8 is the data 85 of the i.e. every kind of item types of a portion
Detailed data structure example, Fig. 9 is another part i.e. detailed data structure example of animation control information 102.
The bulleted list 61 of example illustrated is by bullets 81, item types 82, coordinate 83, size 84, " every kind of project
The data of type " 85 and processing are completed mark 86 etc. and formed.
In bulleted list 61 to various information 81~86 described in each items storing on operating display frame.In addition, from
The above is understood, the various information 81~86 can also be regarded as to a part for picture data 22.The data of picture data 22
Structure is not particularly shown.
Bullets 81 is the identification ID of the project.In addition, picture is formed to projects on operating display frame
Projects of data 22 distribute unique ID of identification respectively.
The project kind identification for the species (switch, lamp, instrument, bar graph etc.) for representing the project is stored in item types 82
Information.
It (is background image described below in the case of instrument to specify the image of the project in coordinate 83 and the storage of size 84
Or pointer image etc.) display location, the information of size.
It is to indicate whether the mark that processing is completed that mark 86 is completed in processing, is carried out in flow charts after its application method
Explanation.
Here, various data corresponding to the species of the project are stored in " data of every kind of item types " 85.Here, make
For one, it is assumed that the various data in the case that project kind is " instrument " are as shown in Figure 8.
" data of every kind of item types " 85 of example shown in Fig. 8 have monitoring memory device title 91, monitoring storage
Device address 92, background image data 93, pointer image 94, pointer image data configuration coordinate 95, pointer image data center sit
Mark 96, initial angle 97, ending corner 98, minimum value 99, maximum 100, animation interval 101 and animation control information 102.
Due to being existing skill in addition to animation interval 101 and animation control information 102 in these various data items
In art there is also existing data items, therefore simply illustrate below.In addition, as described above, animation control letter
In detail for example shown in Fig. 9 of breath 102, is illustrated afterwards.
Monitoring memory device title 91 and monitoring holder address 92 are the projects for representing the distribution holder region.
" instrument " the associated image i.e. picture number of background is stored in background image data 93 and pointer image data 94
According to the view data with pointer.Pointer image data configuration coordinate 95 is configuration coordinate i.e. for example " instrument " project of pointer image
Interior relative coordinate (X, Y-coordinate).Pointer image data center coordinate 96 is the coordinate of the rotary shaft of pointer image, and it is for example
Relative coordinate (X, Y-coordinate) in pointer image.But this is one, however it is not limited to the example, is in addition no longer carried out
Describe in detail.Here, briefly, show that pointer image illustrates according to current angular 114 to described below.
In addition, initial angle 97 is pointer angle corresponding with minimum value, ending corner 98 is pointer angle corresponding with maximum
Degree, these minimum values, the setting value of maximum are stored in minimum value 99, maximum 100.In addition, these minimum values 99, maximum
Value 100 is the stored value arbitrarily set by user in above-mentioned minimum value, maximum setting regions 42.Generally, set
It is set to minimum value, maximum that the data value of the associated monitoring holder of the project can obtain.In addition, initial angle 97,
The value of ending corner 98 is determined in advance and logged in, and in the case of " instrument ", typical case is to make initial angle 97 be 0 degree, ending corner 98
For 180 degree.
Also, the value arbitrarily set by user in above-mentioned animation interval setting regions 43 is stored in animation interval 101.
In addition, " animation interval " is such as being also referred to as " display completion animation performs the time ".In this method, spend how many degree when
Between carry out animation show and freely can be set or changed by user Dengs.That is, appropriate finger can be for example felt with user
The method of pin movement, which performs, shows completion animation.In addition, setting is carried out in the side of servicing unit 5 by developer etc. in itself, but also may be used
The expectation of oneself is conveyed to developer etc. by user by programable display 1 etc., is set for it.
In addition, above-mentioned animation control information 102 is illustrated referring to the detailed example shown in Fig. 9.
In example illustrated, animation control information 102 by mark 112 in sub-value 111, animated actions on monitoring holder,
Angle on target 113, current angular 114, Δ t transformation periods counter 115, Δ t pass through counter 116 and Δ angle 117 etc.
Form.
Sub-value 111 is the last time of the acquirement data from distribution holder region (monitoring holder) on monitoring holder
Value.That is, it is the acquirement data of last time.As described below, newest (this) acquirement data with the case of upper sub-value identical,
Project display content (angle of pointer image) need not be changed.In the case that this sub-value is different from upper sub-value, change project shows
Show content, according to circumstances start to show that completion animation is shown.In addition, this sub-value is as new upper sub-value covering storage to monitoring storage
Sub-value 111 on storage.
Mark 112 is to indicate whether the mark in completion animated actions are shown in animated actions, here, bidding note is opened
To represent to act.
Angle corresponding with this sub-value is stored in angle on target 113.It means that the most Zhongdao that display completion animation is shown
Up to angle.For example, when making the display beginning of display completion animation in the case of " this sub-value ≠ upper sub-value ", try to achieve corresponding with this sub-value
Angle, store to angle on target 113.
The angles of display of the pointer image at current time is stored in current angular 114.Performing the mistake of display completion animation
Cheng Zhong, the value of current angular 114 are substantially updated every Δ t described below.In detail as described below.
When starting to show the display of completion animation, pass through following calculating formulas in the storage of Δ t transformation periods counter 115
(1) " the Δ t transformation periods count value " tried to achieve.
Δ t transformation periods count value=transformation period ht/ parameter renewal time Δs t (1) formula
Here, transformation period ht is above-mentioned animation interval 101.That is, show that start to finish is spent from display completion animation
Time.In addition, parameter renewal time Δ t is the value arbitrarily set by developer etc. in advance, moved equivalent to display completion
Draw the execution cycle of display.That is, Figure 17 for example described below processing is performed every Δ t.
Δ t transformation period count values could also say that expression should perform between display completion animation start to finish
Number of processes (the execution number of Figure 17 processing).
In addition, during Δ t is stored in execution display completion animation by counter 116, such as perform figure every time
During 17 processing, the result that is calculated by following calculating formulas (2).
Δ t passes through counter
=(animation starts rear elapsed time) ÷ parameter renewal time Δs t (2) formula
Δ t could also say that the processing untill representing after showing completion animation up to now by counter 116
Number (the execution number of Figure 17 processing).
In addition, when display completion animation display starts, store in Δ angle 117 and calculated by following calculating formulas (3)
Value.
Δ angle=(" angle on target 113 "-" current angular 114 " of animation start time)/" Δ t transformation periods count
Value " (3) formula
Δ angle 117 could also say that represent show completion animated actions during pointer per treatment rotation amount
(angle variable quantity).That is, when performing Figure 17 processing every time, angles of display renewal (rotation) Δ angle of pointer image
117 amount.
In addition, the calculating processing of above-mentioned Δ angle is carried out when showing that the display of completion animation starts as described above, therefore
It is above-mentioned " current angular 114 " of animation start time substantially with " calculating processing perform the moment current angular 114 " look like
It is identical.
More than, the concrete example of the bulleted list 61 shown in Fig. 6 is illustrated.
It is back to Fig. 6 explanation.
The dispaly state renewal of projects image of the project processing plan portion 52 for being performed by project processing unit 53 is handled
Deng progress planning management.That is, project processing plan portion 52 for example regularly recalls project processing unit 53, performs for example described below
Figure 14 etc. processing (in other words, circulation performs Figure 14 etc. processing).
Project processing unit 53 is right based on above-mentioned bulleted list 61 and the storage data of common storage 63 described below etc.
The associated processing such as the renewal of display content of its image of each project implementation.
In addition, project processing unit 53 describes (expansion) projects image on RAM13.For each project, the description
Content (display content) is changed according to above-mentioned acquirement data sometimes.For example, in the case of the example of above-mentioned instrument, pointer
Angle be shown as angle corresponding with newest acquirement data.But the display is also set to spend above-mentioned animation interval sometimes
101 time, make pointer gradually (periodically) mobile, carry out showing that completion animation is shown.
Parameter renewal performs timer processing portion 54 and animation display phase is carried out when the display completion animation shows and started
The defined setting of association.Such as Figure 15 processing is carried out, in detail as described below.
In addition, by the way that the description data on the RAM13 are shown over the display by graphics controller 15, described in display
Show operation screen.Describe data by project processing unit 53 for example when performing Figure 14 described below processing every time by any time
Renewal.
Communication processing section 55 is communication processing section 55-1,55-2 to be prepared with each connection equipment 4 (4-1,4-2).That is,
The communication processing section 55-1 uses of diagram and the connection corresponding COM1 WAY1 of equipment 4-1, via communication line 6, carry out with
Equipment 4-1 communication is connected, obtains the storage data in each distribution holder region corresponding with projects.Obtain data cover simultaneously
It is stored in the predetermined region of common storage 63.
Similarly, it is illustrated that communication processing section 55-2 uses and the connection corresponding COM1 WAY2 of equipment 4-2, via logical
Believe circuit 6, carry out the communication with being connected equipment 4-2, obtain the storage data in each distribution holder region corresponding with projects.
Obtain data cover and be stored in the predetermined region of common storage 63.
In addition, the storage data in above-mentioned distribution holder region obtain what is handled and stored to common storage 63
Processing is in itself with the past roughly the same, therefore be not described in detail especially.
Here, Figure 10 (a), (b) represent the concrete example of the common storage 63.
Figure 10 (a) represents the data structure example of common storage 63, and Figure 10 (b) represents data storage example.
In example shown in Figure 10 (b), the storage data of common storage 63 by port 71, device name 72, address 73,
Each data items such as data 74 are formed.In addition, these data items can with the past it is roughly the same.Thus, simply carry out below
Explanation.
Port 71 is identification information of the COM1 etc., turns into the connection equipment 4 substantially to communication counterpart and carries out
The information of identification.Device 72 is the identification information of the memory device in the connection equipment 4 of communication counterpart.Address 73 is in device 52
The address of storage area specified in shown memory device (distribution holder region), is obtained from the distribution holder region
Data are stored in data 74.In addition, also the address in the distribution holder region is referred to as " with distributing holder sometimes
Location ".
In addition, port 71, device name 72 and address 73 are also seen as equivalent to " distribution holder described in projects
Address " and " monitoring holder ".That is, each record shown in Figure 10 (b) is corresponding with projects.By will be contained in picture data 22
Deng the above-mentioned distribution holder address of each project store to port 71, device name 72 and address 73, generate Figure 10
(b) each record shown in.In addition, at this moment, the link of record and project can also be formed, but it is not limited to the example.Anyway,
When log in the display renewal processing of projects of bulleted list 61, with reference to corresponding with projects in common storage 63
The data 74 of record.
Hereinafter, with reference to each flow chart, timer is performed to above-mentioned communication processing section 55, project processing unit 53, parameter renewal
The processing example in the various processing function portions such as processing unit 54 illustrates.
First, reference picture 12, the processing example to communication processing section 55 illustrate.
Such as each communication processing section 55-1,55-2 cyclically perform Figure 12's (with the fixed cycle) respectively in Fig. 6 example
Processing.
In Figure 12 processing example, first, based on common storage 63, generate what oneself responsible connection equipment 4 was associated
Holder list 120 (step S11).For example, in the case where being handled using communication processing section 55-1, generation connection equipment
Holder list 120 associated 4-1.For example, in common storage 63, by the way that the record that port 71 is WAY1 is all taken out
Go out, holder list 120 associated generation connection equipment 4-1.
Figure 11 (a) represents the data structure example of the holder list 120.
In example illustrated, holder list 120 is by each data item such as device name 121, address 122 and data 123
Mesh is formed.Such as in the case of the example of the communication processing section 44-1, by being from common storage 63 by port 71
The record of " WAY1 " is completely drawn out, by this it is each extract out record device name 72, address 73, data 74 information storage described
Device name 121, address 122, data 123, generate the associated holder lists 120 of the connection equipment 4-1.In addition, number
It is not essential according to 123.Also can replace, storage indicates whether the label information that processing is completed.
Afterwards, while with reference to the holder list 120 generated, while the processing between step S12~S14 is repeated,
Until step S15 is judged as NO.In addition, the processing can simply be illustrated below with as in the past in itself.
That is, a untreated record is taken out as process object record from holder list 120, based on the process object
The content generation holder of record reads instruction, and oneself responsible (step of connection equipment 4 is sent it to via communication line 6
S12).In the instruction information of access target is determined comprising the device name 121 and the grade of address 72 (with distributing holder
Location).Thus, connect equipment 4 and read data from the storage area that the distribution holder address represents, carry out replying the reading data
Response processing.
After communication processing section 44 receives the response (step S13) that connection equipment 4 reads instruction to the holder, by this
The data storage for the reading that response is included is in the common storage 63 equivalent in the record of process object record
The data 74 column in (step S14).
Also, after the processing for performing the step S14, check whether remaining untreated in holder list 120
Record (step S15), (step S15 is yes) return to step S12 in the case of having remaining, (step S15 in the case of no remaining
It is no) terminate present treatment.
Figure 13, Figure 14 are the process charts of project processing unit 53.
Further, since Figure 13, Figure 14 are to divide two parts to represent a process chart, therefore do not distinguish especially, remember
Make Figure 13 etc..
As described above, Figure 13 etc. processing circulates execution based on the management in project processing plan portion 52.
In Figure 13 etc. processing example, the initialization process (step S21) of bulleted list 61 is first carried out in project processing unit 53.
That is, the processing all recorded of bulleted list 61 for example is completed into mark 86 to be set to " untreated ".Afterwards, step is repeated
S22~S30 processing is no until step S31 described below.
That is, the processing in bulleted list 61 is completed to one in the record that mark 86 is " untreated " as process object
Record (step S22), its number is obtained from the record (corresponding record) of the common storage 63 linked with process object record
According to 74 (step S23).That is, newest (this) data are obtained.Also, the data 74 of acquirement are temporarily saved as into holder letter
Cease 130 (data 131 shown in Figure 11 (b)).
Here, the project that the processing shown such as Figure 13 is set to " having display completion animation to perform setting " (not shown) is related
The processing of connection.In addition, to the project of " not showing that completion animation performs setting ", such as the existing place not illustrated especially
Reason, project display renewal etc. is carried out, but be not limited to the example.
Or in example as described above, also existing place can be carried out in the case where animation interval 101 is ' 0 '
Reason.In the example, such as between step S24 and S25, perform " whether animation interval 101 is ' 0 '" judgement, judged result
To be moved to step S25 processing in the case of no.On the other hand, judged result is in the case of being, for example, obtain and this
Monitoring holder data value corresponding to angle, perform and utilize the processing (not shown) of angle renewal current angular 114 etc.
Afterwards, it is moved to step S29.Thus, pointer is shown with this angle obtained corresponding to data value immediately in step S29.
In the case of processing example shown in Figure 13 etc., the data 131 are different from sub-value 111 on the monitoring holder
In the case of, judge there is data variation (step S24 is yes), be moved to step S25.In step s 25, got the bid with reference to animated actions
Note 112, determine whether in showing that completion animation performs.
Not in the case of display completion animation is executory (step S25 is no), perform for starting new display completion
The predetermined processing (step S27, S28) of animated actions.In the case of display completion animation is executory (step S25 is yes), in
Only or it stopped after the executory animated actions (step S26), using the stop position of the pointer as new original position,
Perform the defined processing (step S27, S28) for starting above-mentioned new animated actions.
In step S27 processing, obtain newest acquirement data (this sub-value) i.e. with above-mentioned 131 corresponding pointer of data
Angles of display.The processing sheet simply illustrates as prior art, afterwards reference picture 21.Also, the display that will be obtained
Angle is stored to above-mentioned angle on target 113.Further, sub-value 111 on above-mentioned monitoring holder is entered using above-mentioned data 131
Row renewal.That is, it is that data 131 save as new upper sub-value by this acquirement data.
Also, perform parameter renewal and perform timer start to process (step S28).Step S28 processing is based on current
Angle 114, angle on target 113, animation interval 101 (transformation period ht), above-mentioned parameter renewal time Δ t etc., calculate above-mentioned Δ t
The processing etc. of transformation period counter 115, Δ angle 117.
Wherein, if calculating each project and storing an initial Δ t transformation periods counter 115, as long as afterwards
Transformation period ht and parameter renewal time Δ t setting are not changed, with regard to the necessity not calculated.
Figure 15 is step S28 detail flowchart.
, also can be by the parameter that is recalled from project processing unit 53 in addition, present treatment can for example be performed by project processing unit 53
Renewal performs timer processing portion 54 and performed.In the case of the latter, project processing unit 53 by the ID of the project of process object, (compile by project
Number 81) transmit to parameter to update when recalling and perform timer processing portion 54.The following description is by taking the latter as an example.
Parameter renewal performs the data storage content that timer processing portion 54 updates project implementation list 62 to parameter first
It is updated (step S41, S42).
Here, Figure 11 (c) represents the data structure example of parameter renewal project implementation list 62.In example illustrated, parameter
Renewal project implementation list 62 is formed by login number 141 and with the bullets 142 of the login number respective numbers.In project
Numbering 142 logs in the ID (bullets 81) for the project for being currently executing display completion animated actions.Stored logging in number 141
The quantity of the current bullets for logging in bullets 142.
Parameter renewal performs timer processing portion 54 and login number 141 is carried out after+1 (incremental) (step S41), to handle
The ID (bullets 81) of object item is additional to be stored to bullets 142.
Also, using the ID of above-mentioned process object project, from the provisioning information (step of the acquirement respective record of bulleted list 61
S43).Provisioning information refers to information necessary to step S44 described below calculating processing, e.g. above-mentioned angle on target
113rd, current angular 114 and animation interval 101 (transformation period ht) etc..Further, parameter renewal time Δ t is also obtained.
In addition, parameter renewal time Δ t is logged from other approach in advance.
Also, based on the provisioning information obtained in step S43, set new above-mentioned Δ t transformation periods counter 115, with
And Δ angle 117.Further, the initial setting (step S44) that Δ t passes through counter 116 is also carried out.
That is, first with above-mentioned animation interval 101 (transformation period ht) and parameter renewal time Δ t, by above-mentioned (1) formula meter
Δ t transformation period count values are calculated, is covered and is stored in Δ t transformation periods timer 115.
In addition, counted based on above-mentioned angle on target 113, current angular 114 and the above-mentioned Δ t transformation periods calculated
Value, Δ angle is calculated by above-mentioned (3) formula, is covered and is stored in Δ angle 117.In addition, the current angular when calculating is handled
114 be the above-mentioned " current angular 114 " of animation start time.In addition, angle on target 113 is as described above, it is updated to and this
Angle corresponding to sub-value (last look).
In step S44, further, Δ t is set as initial value (=0) by counter 116.Further, lead to
Crossing makes mark 112 in animated actions be opened in mark, and step S44 processing is completed.
More than, reference picture 15, the detailed example of the processing to above-mentioned steps S28 is illustrated.
Hereinafter, reference picture 16, the detailed example of the processing to step S26 illustrate.
, also can be by the parameter that is recalled from project processing unit 53 in addition, present treatment can for example be performed by project processing unit 53
Renewal performs timer processing portion 54 and performed.In the case of the latter, project processing unit 53 by deal with objects project ID (item targets
Number 81) transmit to parameter to update when recalling and perform timer processing portion 54.The following description is by taking the latter as an example.
Parameter renewal performs the data storage content that timer processing portion 54 updates project implementation list 62 to parameter first
It is updated (step S51, S52).That is, (step S51) after -1 (successively decreasing) is carried out to logging in number 141, project will be dealt with objects
ID (bullets 81) delete (step S52) from bullets 142.
Also, in bulleted list 61, with reference to the record (step S53) of above-mentioned process object project, by the respective record
Mark 112 is changed into mark closing (step S54) in animated actions.
More than, the detailed example for stopping handling to the animation of the step S26 shown in Figure 16 is illustrated.As described above,
For be carrying out show completion animation project, its monitor holder data value there occurs change in the case of, utilize
Figure 16 processing stops or stopped executory display completion animation.Also, afterwards, the position of the pointer at the moment is stopped
Position regards original position as, starts to perform new display completion animation.
It is back to Figure 14 explanation.
By the processing of above-mentioned steps S27, S28, no matter carrying out being used to start new display completion animated actions
In the case of processing, in the case of still not carrying out the processing (i.e. in the case that step S24 is no), finally with current angular
114 angle performs the processing (step S29) for showing pointer.In addition, step S29 processing is the processing confirmed, substantially refer to
The angle of pin should be constant.Also, the processing of process object project is completed mark 86 and be changed into " processing is completed " (step S30),
The associated processing of the process object project is completed.Also, in the case of untreated project being also present (step S31 is yes),
New process object project is determined in return to step S22, never processing item, performs processing similar to the above.
Figure 17 is the process chart that parameter renewal performs timer processing portion 65, is to show the main processing that circulation performs
Figure.
In addition, for example by using CPU timer function interrupt processing, realize the main processing of the circulation.This
In example, initially, in timer setting above-mentioned parameter renewal time Δ t.Thus, in this example, perform Figure 17's with Δ t loop cycles
Processing.
In Figure 17 processing, first in initial, removing processing index (step S61) (not shown).Also, holding every time
During row step S62~S67 processing ,+1 is carried out to processing index and is incremented by (step S68), check whether that also remaining is untreated
List (step S69).Step S62~S67 processing is repeated, untill no untreated list.Hereinafter, to step
S62~S67 each processing illustrates.
First, the item id (step of process object is obtained from parameter renewal project implementation list 62 (its bullets 142)
S62).The item id of process object is assumed corresponding with for example above-mentioned processing index currency.For example, just complete it is above-mentioned clear
In the case of removing, project of the item id of beginning as process object is obtained in the item id group for logging in bullets 142
ID。
Also, using item id (bullets) the retrieval bulleted list 61 obtained, obtain respective record (step S63).
And (step first, is updated as described below by counter 116 and current angular 114 to the Δ t in respective record
S64)。
Δ t passes through counter 116+1 by counter 116=Δs t
That is, Δ t is updated to " currency+1 " by the value of counter 116.
Current angular 114=current angular 114+ Δs angle 117.
That is, the value of Δ angle 117 is updated to " currency+Δ angle 117 ".
Further, since Δ angle 117 is calculated using above-mentioned (3) formula, therefore it is on the occasion of being sometimes negative value sometimes.By
This, is according to the renewal to above-mentioned current angular 114, both angled increased situation or the situation of angled reduction.That is, by every
Current angular 114 plus or minus variable quantity (Δ angle of the period Δ t to display completion animation start time are performed every animation
117), current angular 114 is updated.
Then, it is incremented by as noted above by carrying out+1 by counter 116 to Δ t, judges whether to meet that " Δ t changes
115≤Δ of time counter t passes through counter 116 " (step S65).That is, it is judged that whether pass through since showing completion animation
Transformation period ht.In other words, judge whether to have reached the animated actions end time.In addition, "≤in above-mentioned steps S65 "
It can be replaced "=".
Reach " Δ t transformation period 115≤Δs of counter t pass through counter 116 " in the case of (step S65 is yes),
Perform parameter renewal and perform timer stopping processing (step S66).Step S66 processing is identical with above-mentioned steps S26 processing,
Perform above-mentioned Figure 16 processing.Thus, explanation here is omitted.
On the other hand, remain as " the > Δs t of Δ t transformation periods counter 115 pass through counter 116 " in the case of (step
S65 is no), using the current angular 114 after renewal in above-mentioned steps S64, pointer (step S67) is shown with the angle.That is,
The display location of pointer is set to move the amount of (rotation) Δ angle 117.
In addition, in the case that step S65 is no, also after above-mentioned steps S66 processing performs, above-mentioned steps are performed
S67 processing.In this case, should substantially reach, " current angular 114=angle on targets 113 ", the display location of pointer should
This reaches position corresponding with the newest data value for monitoring holder.In addition, in this case, due to the place using above-mentioned Figure 16
Reason deletes the project from parameter renewal project implementation list 62, therefore is excluded in the present treatment of next time in display completion
Outside animated actions object.
Finally, processing index is carried out+1 and be incremented by (step S68), carry out step S69 judgement, step as described above
S69 is otherwise to terminate present treatment.In addition, such as processing index reaches maximum (=login number 141), then step S69 is no.
Here, Figure 18 represents the display example for the situation that above-mentioned steps S25 is yes.
In Figure 18 example, it is 200 milliseconds (ms) to make animation interval, initial display completion animated actions start time
The angle of pointer is the angle of the representative data value ' 0 ' shown in Figure 18 (a).Also, make data value from above-mentioned ' 0 ' become to turn to
‘100’.Thus, if starting the display completion animated actions of this example, pointer image is as shown in Figure 18 from above-mentioned ' 0 '
Corresponding angle (0 degree) is gradually mobile (rotation) to angle (180 degree) corresponding with ' 100 '.However, on the way of the animated actions
In (when here to have passed through 150 (ms) from the outset), data value is changed to ' 50 ' from ' 100 '.
In this case, due to above-mentioned steps S24 to be and step S25 be yes, therefore execution step S26 processing, pointer
Movement the moment (when have passed through 150 (ms) from the outset) stop.Also, the display completion animation for immediately beginning to next time moves
Make.As shown in Figure 18 (c), spend 200 milliseconds make pointer gradually from above-mentioned stop position gradually move (rotation) to data value
Angle corresponding to ' 90 ' (90 degree).
In addition, it is to be understood that data value is the data value for monitoring holder.
In addition, the display color of pointer can be predetermined fixed color or produce change according to data value
Mode.
For example, in example shown in Figure 19, logged in as follows in advance:It is blueness relative to 0~30 data value range,
It is green relative to 31~70 data value range, the data value range relative to 71~100 is red (not shown).In addition,
It is 200 milliseconds (ms) also to make animation interval herein.
Thus, on position (angle) corresponding with the data value ' 0 ' shown in Figure 19 (a), the display color of pointer is in blueness.And
And data value changes are ' 100 ' in the same manner as Figure 18 (a) under the state.
In this case, it was found from above-mentioned Figure 18 explanation, using showing completion animated actions, pointer spend 200 milliseconds from
0 degree of angle gradual mobile (rotation) is untill angle 180 degree.Also, in the animated actions, new current angular is being determined every time
When 114, data value corresponding with the current angular is obtained, judges color corresponding with the data value.Also, using the color and
Current angular 114 shows pointer.Such as shown if data value is ' 50 ' with green.
Here, in the case of described above one, with monitoring that the variable quantity of data value of holder is increase or subtracted
It is small unrelated, Figure 17 processing is performed with the number shown in Δ t transformation periods counter 115 without exception, changes the aobvious of pointer every time
Show angle.However, in the case that the variable quantity of the data value of monitoring holder is small, Δ angle 117 may also become very sometimes
It is small.Thus, can be it is observed that the angles of display of pointer be excessively continually changed from the angle of user.
Thus, as generally described above, handled every the renewal of current angular 114 in the processing that Δ t performs Figure 17, but example
The project of threshold value as defined in being such as not up to Δ angle 117, such as the renewal of current angular 114 can also be performed every 2 × Δ t
Processing is (as variation).Certainly, it is not limited to every " 2 × Δ t ", such as can also be every " 3 × Δ t " etc..In addition, above-mentioned threshold
Value is registered as arbitrary value in advance.
It is above-mentioned " 2 × Δ t " example, such as by place that addition is following in Figure 17 processing for above-mentioned variation
Manage to realize.
I.e., first, it is additional to make animation (not shown) perform counter to count up that (+1 passs in step S61 processing
Increase) processing.Further, additional following processing (not shown) before step S67.
That is, the Δ angle 117 of process object project is obtained, judges whether it is not up to above-mentioned threshold value.If in threshold
In the case of more than value (117≤threshold value of Δ angle), step S67 processing is moved to.On the other hand, the not up to situation of threshold value
Under (the < threshold values of Δ angle 117), the count value that above-mentioned animation performs counter is then moved to step S67 processing if even number,
Step S67 processing is not performed then if odd number.In the case where not performing step S64 processing, step S68 is directly moved to
Processing.
Such as by above-mentioned processing, the project of threshold value is not up to Δ angle 117, is only entered in the processing of Figure 17 twice
The display change of pointer of row.Current angular 114 is updated in step S64 processing every time, but twice in once, show
Show the current angular 114 after not reflecting renewal.That is, the update times of the angles of display of pointer are common half.
In addition, this is an example, but it is not limited to the example.For example, the renewal of current angular 114 can also handled
Per middle execution twice once.But in this case, the project of threshold value, the renewal of current angular 114 are not up to Δ angle 117
Handle as " current angular 114=current angulars 114+ (2 × Δ angle 117) " etc..
In addition, in the case where the variable quantity of the data value of monitoring holder is very small, it can not also perform display completion and move
Picture is in itself.That is, the Second Threshold smaller than above-mentioned threshold value is logged in advance, it is additional to judge in the case where step S24 is judged as YES
Whether the variable quantity for monitoring the data value of holder is more than Second Threshold processing (not shown).Also, in monitoring holder
Data value variable quantity in the case of more than Second Threshold, to be moved to step S25.On the other hand, the number of holder is monitored
In the case of being not up to Second Threshold according to the variable quantity of value, the renewal of current angular 114 processing (not shown) is performed, is directly moved to
Step S29.The renewal of current angular 114 processing (not shown) is for example to obtain with this sub-value of the data value of monitoring holder (most
New value) corresponding to angle, angle covering is saved as to processing of current angular 114 etc..
Figure 20 is the functional block diagram of the programable display of this example.
The programable display 1 of example illustrated has picture data storage unit 201, target location or angle calculation portion
202nd, completion animation control unit 203 and display color storage unit 204 etc. are shown.
In addition, it is illustrated that servicing unit 210 (mapping editing device 5) there is configuration part 211.
The configuration part 211 is attached to the function part in the existing capability for the generation for aiding in arbitrary picture data, such as
It is the function part to above-mentioned " animation interval (transformation period ht) carries out any setting ".Using the function, can to spend exploitation
Person or user feel reasonable time, and the display completion animation for performing this method is shown.
Picture data storage unit 201 is to the arbitrary distribution holder region set respectively in connection equipment 4
The picture data of projects is stored.Included in these projects and show above-mentioned distribution storage using the position or angle of figure
The graphical representation project of the data value in device region.
In the case where the data value for distributing holder region is there occurs change, target location or angle calculation portion
202 pairs of graphical representation projects obtain the position or angle, i.e. target position of the figure corresponding with the data value after the change
Put or angle on target.
Display completion animation control unit 203 carries out animation and shown, make the graphical representation project from the data before change
Move with being worth corresponding position or angle, i.e. original position or start angle incipient stage property or rotate to the target location
Or angle on target.In the case of the example of above-mentioned instrument, enter enforcement pointer by periodically updating the current angular of pointer
The periodically display such as (gradual) rotation.
Here, display completion animation control unit 203 calculating part 203a, graph position or angle such as with variable quantity are more
New portion 203b and animation display part 203c etc..
The calculating part such as variable quantity 203a is such as performing the time (ht) based on the animation that arbitrarily sets in advance, perform the cycle
(Δ t etc.), the original position or start angle and the target location or angle on target (angle on target 113 etc.), are obtained
The position of described each time interim movement or rotation or the variable quantity (Δ angle 117 etc.) of angle and execution number (Δ t
Transformation period counter 115 etc.).The original position or angle are, for example, current angular 114 of animation start time etc., be with
Such as position or angle etc. corresponding to the data value before change.
Graph position or angle update section 203b are worked as every the execution cycle using the variable quantity to the figure
Front position or current angular are updated.Such as in the case of the example of instrument, update described current angular 114 etc..
Animation display part 203c is every the execution cycle, according to the current location after the renewal or current angular display figure
Shape.For example, in the case of the example of instrument, pointer is shown with the angle of the current angular 114 after renewal.
Graph position or angle update section 203b, such as by performing the cycle by the original position or starting every described
Angle is added or subtracted each other with the variable quantity, so as to be updated to the current location or current angular.Described instrument
In the case of example, " calculating formula of current angular 114=current angular 114+ Δs angle 117 ", worked as using described to update
Preceding angle.In addition, the initial value of the current angular 114 on the right of the calculating formula is equal to the current angular that animation performs start time
114 etc..
In addition, if the number of processing being for example updated to the current location or current angular reaches the execution time
Number, then it is described to show that completion animation control unit 203 just terminates the display completion animation and shown.
In addition, for example in the animation display action, in the feelings that the data value for distributing holder region is changed
Under condition, the display completion animation control unit 203 stops the animation display action, current location when this is stopped or works as anterior angle
The original position for being set to new or start angle are spent, starts new animation display action.Thus, such as carry out aobvious illustrated by Figure 18
Show.
In the case where the variable quantity of the data value in distribution holder region is less than threshold value set in advance, the animation shows
The portion 203c of showing is not in units of the execution cycle but with the m times of (m in the execution cycle;Integer) cycle be unit (such as
Using m × Δ t as unit), the processing for showing figure is performed according to the current location after the renewal or current angular.On the other hand,
The processing example of m=2 situation is illustrated.
In addition, for example as one, in the case that the graphical representation project is instrument, the display completion animation control
Portion 203 is shown by carrying out the determination and renewal of the angle of the gauge pointer to enter the animation of enforcement pointer rotation.
Here, the display color storage unit 204 is in advance each numerical value each related to the position of the figure or angle
Scope accordingly stores random color.
Animation display part 203c for example when showing the figure with current location or current angular, with the current location or
The corresponding color of current angular is shown.
Finally, reference picture 21, an example of the operation method of the angle of the pointer of instrument is illustrated.In addition, should
Thus operation method sheet, simply illustrates below as prior art.
As shown in Figure 21 (a), the calculating formula of the angles of display of the pointer of instrument is as described below.
Angles of display=[value/(maximum-minimum value) of monitoring holder] × (angle at the end-start angle)
" value of monitoring holder " in above-mentioned calculating formula utilizes above-mentioned data 74, and maximum, minimum value utilize maximum
100th, minimum value 99, angle at the end, start angle utilize ending corner 98, initial angle 97.
In addition, on item image, maximum 100, minimum value 99, ending corner 98, initial angle 97 are equivalent to such as Figure 21
(b) content shown in.
In addition, the item image of the instrument shown in Figure 21 (b) is for example as the background image data and pointer shown in Figure 21 (c)
View data is formed.In this method, show in completion animated actions, the angle of pointer image data is determined or change every Δ t.
In addition, in above-mentioned explanation, it is illustrated using instrument as concrete example, is certainly not limited to the example, such as
Or bar graph etc..In the case of instrument, the data value for monitoring holder is scaled angle as described above, and bar graph
In the case of data value is scaled position.Position refers to such as the XY coordinate datas of the front end of rod.
Also, in the case of instrument, pointer is gradually moved (rotation) from current angular to angle on target as described above,
And in the case of bar graph, it is that the front end for making rod is gradually moved to target location from current location although not illustrating especially.Separately
Outside, above-mentioned angle on target is angle corresponding with the numerical value after change as described above, and above-mentioned target location also illustrates that big with this
Cause the identical meaning.
As described above, the programable display of this example, the display completion cartoon display method, more particularly to utilizes instrument
Or graph position as bar graph etc. or angle show the project of the type of numerical value, are in other words related to be visually readily appreciated that
Form show as defined in supervision object numerical value project.Also, situation about particularly being changed in the numerical value of supervision object
Under, it is not that (currency) switches to display corresponding with the numerical value after change directly before change, but performing animation and showing makes
The angle or position that the angle of its before change (currency) or position are gradually moved to after change.In this explanation, such as institute above
State, such a animation being shown to, being referred to as display completion animation shows.
Programable display obtains data for the determination or renewal of its display content with the constant cycle, as described in the past
Like that, it is necessary to which carrying out communication with external connection apparatus 4 obtains data.Therefore, if the time spent in view of communication, the perseverance
Fixed cycle needs to reach length more than certain level, it is difficult to obtains data with the short cycle.For it is such as such the reasons why,
Arbitrary data obtain the data value obtained during processing and are possible to obtain the data value (last time obtained during processing with the data of last time
Value) compared to significantly being changed.
Although for example, being gradually changed sometimes in the connection side data value of equipment 4, the problem of due to the constant cycle, have
Newest data value may be obtained with the state varied widely in the side of programable display 1.However, even in such situation
Under, due to above-mentioned reason, it is also difficult to shorten data and obtain the cycle.Or that is, enabled realize shortens the cycle, but it is negative also to produce communication
Carry rise, influence programable display 1 other functions perform the problem of.Thus, no matter which kind of situation, be actually all difficult to
Shorten data and obtain the cycle.
Although being not limited to such example, such as in the case where instrument is shown, it is expected pointer with simulate ground, glibly
The mode of mobile (rotation) is shown.However, particularly in the case where the variable quantity of data value is larger, conventional pointer wink
Between carry out larger movement, the actual instrument of no image of Buddha shows the renewal (rotation of pointer) of display content glibly like that.Separately
Outside, in this case, user may leak the moment for seeing that pointer angle changes.
On the other hand, in this method, by carrying out above-mentioned display completion animated actions, even if not raising traffic load,
Following effect can be obtained:Glibly it was observed that the display content of the project using the type of the figure shows numerical value such as chart or instrument
Renewal.In addition, can also obtain user will not leak effect as the change for seeing above-mentioned moment.
Further, since user can arbitrarily set the time (animation interval) that display completion animated actions are spent, because
This can provide the animated actions matched with the sensation of user.
In addition, as already mentioned, the "/" of this explanation represents "or", "or".Thus, such as " or/and " represent
" or or and ".Similarly, such as " position/angles " expression " position or angle ".Similarly, such as above-mentioned " present bit
Put/angle " expression " current location or current angular ".Similarly, such as above-mentioned " target location/angle " expression " target location
Or angle on target ".Similarly, such as above-mentioned " original position/angle " expression " original position or start angle ".
Claims (9)
1. a kind of programable display being connected with being connected equipment, it is characterised in that have:
Picture data storage element, the picture data storage element store to picture data, and the picture data is with quilt
The picture data of the project in the arbitrary distribution holder region in the connection equipment is set, is at least had with the position of figure
Put or angle shows the graphical representation project of the value of the data in the distribution holder region;
Target location or angle calculation unit, should in the case where the data value for distributing holder region is there occurs change
Target location or angle calculation unit obtain the figure corresponding with the data value after the change to the graphical representation project
Position or angle, i.e. target location or angle on target;And
Show completion animation control unit, the display completion animation control unit carry out animation show, make the figure from change
The corresponding position of data value before change or angle, i.e. original position or start angle incipient stage property it is mobile or rotate to institute
State target location or angle on target.
2. programable display as claimed in claim 1, it is characterised in that
The display completion animation control unit, has:
The computing unit such as the computing units such as variable quantity, the variable quantity performs time, the week of execution based on the animation arbitrarily set in advance
Phase, the original position or start angle and the target location or angle on target, obtain interim shifting described each time
Dynamic or rotation position or the variable quantity and execution number of angle;
Graph position or angle updating block, the graph position or angle updating block utilize in each execution cycle
The variable quantity is updated to the current location of the figure or current angular;And
Animation display unit, the animation display unit in each execution cycle, according to the current location after the renewal or
Current angular shows the figure.
3. programable display as claimed in claim 2, it is characterised in that
Graph position or the angle updating block, by each execution cycle by the original position or initial angle
Degree is added or subtracted each other with the variable quantity, so as to be updated to the current location or current angular.
4. programable display as claimed in claim 2, it is characterised in that
If the current location or current angular to the figure, which are updated number of processing, reaches the execution number, described
Display completion animation control unit terminates the animation and shown.
5. such as programable display according to any one of claims 1 to 4, it is characterised in that
It is described in the case where the data value for distributing holder region is there occurs change in the animation display action
Display completion animation control unit stop the animation display action, the current location or current angular when this is stopped as newly
The original position or start angle, start new animation display action.
6. the programable display as any one of claim 2~4, it is characterised in that
Also there is display color storage element, the display color storage element is in advance to be each related to the position of the figure or angle
Each number range accordingly store random color,
The animation display unit shows the figure with the color corresponding with the current location or current angular.
7. such as programable display according to any one of claims 1 to 4, it is characterised in that
In the case that the graphical representation project is instrument, the display completion animation control unit is by carrying out the gauge pointer
Angle determination and renewal, shown to enter the animation of enforcement pointer rotation.
8. programable display as claimed in claim 2, it is characterised in that
In the case where the variable quantity of the data value in distribution holder region is less than threshold value set in advance, the animation display is single
Member is not in units of the execution cycle but with the m times of (m in the execution cycle;Integer) cycle be unit according to described in more
Current location or current angular after new perform the processing for showing the figure.
9. a kind of storage medium, the storage medium stores program, it is characterised in that
The computer for the programable display that the program is used to make to be connected with connecting equipment is used as lower unit plays a role:
Picture data storage element, the picture data storage element store to picture data, and the picture data is with quilt
The picture data of the project in the arbitrary distribution holder region in the connection equipment is set, is at least had with the position of figure
Put or angle shows the graphical representation project of the value of the data in the distribution holder region;
Target location or angle calculation unit, should in the case where the data value for distributing holder region is there occurs change
Target location or angle calculation unit obtain the figure corresponding with the data value after the change to the graphical representation project
Position or angle, i.e. target location or angle on target;And
Show completion animation control unit, the display completion animation control unit carry out animation show, make the figure from change
The corresponding position of data value before change or angle, i.e. original position or start angle incipient stage property it is mobile or rotate to institute
State target location or angle on target.
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 (2)
Publication Number | Publication Date |
---|---|
CN105593925A CN105593925A (en) | 2016-05-18 |
CN105593925B true CN105593925B (en) | 2018-02-09 |
Family
ID=53003499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201380080067.4A Active CN105593925B (en) | 2013-10-29 | 2013-10-29 | Programable display and the storage medium for storing its program |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6138269B2 (en) |
CN (1) | CN105593925B (en) |
WO (1) | WO2015063848A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102118858B1 (en) * | 2018-04-11 | 2020-06-17 | 엘에스일렉트릭(주) | Method for managing controller data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
CN101006444A (en) * | 2004-08-24 | 2007-07-25 | 索尼株式会社 | Image display device and method, and computer program |
CN102053827A (en) * | 2009-10-26 | 2011-05-11 | 三星电子株式会社 | 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 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0969001A (en) * | 1995-09-01 | 1997-03-11 | Fuji Electric Co Ltd | Operation display unit |
JPH1185956A (en) * | 1997-09-10 | 1999-03-30 | Toshiba Corp | Path display device |
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 |
JP5507222B2 (en) * | 2009-11-30 | 2014-05-28 | 古野電気株式会社 | Display device, sensor device, display screen display method, and display screen display program |
JP2012180061A (en) * | 2011-03-02 | 2012-09-20 | Nippon Seiki Co Ltd | Display control device for vehicle and program |
-
2013
- 2013-10-29 WO PCT/JP2013/079193 patent/WO2015063848A1/en active Application Filing
- 2013-10-29 CN CN201380080067.4A patent/CN105593925B/en active Active
- 2013-10-29 JP JP2015544649A patent/JP6138269B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
CN101006444A (en) * | 2004-08-24 | 2007-07-25 | 索尼株式会社 | Image display device and method, and computer program |
CN102053827A (en) * | 2009-10-26 | 2011-05-11 | 三星电子株式会社 | 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 |
Also Published As
Publication number | Publication date |
---|---|
WO2015063848A1 (en) | 2015-05-07 |
JP6138269B2 (en) | 2017-05-31 |
JPWO2015063848A1 (en) | 2017-03-09 |
CN105593925A (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106326113A (en) | Game data monitoring method and device | |
US7533371B1 (en) | User interface for facilitating performance analysis for processing | |
CN108089958A (en) | GPU test methods, terminal device and computer readable storage medium | |
JP2012138087A (en) | Creation of playable scene with authoring system | |
EP2946252A1 (en) | Automated input simulation for simulated programmable logic controller | |
US20030090490A1 (en) | Simulation device | |
CN104937511A (en) | Programmable display and program for same | |
CN105593925B (en) | Programable display and the storage medium for storing its program | |
JP6297792B2 (en) | Robot, robot control method, and robot control program | |
JP4463716B2 (en) | Programmable display, display control program, and recording medium recording the same | |
JP2019133494A (en) | Setting support device and setting support program | |
JP6305672B2 (en) | Simulation reproduction device and simulation reproduction program | |
US9792000B2 (en) | System construction assistance apparatus, method, and recording medium | |
JP2006243841A (en) | Plc tool device | |
TWI420389B (en) | Human machine interface device and interface integration method thereof | |
CN110147307B (en) | Embedded system simulation RAM, ROM result comparison system | |
WO2001097035A1 (en) | Automatic evaluation method and automatic evaluation system and storage medium storing automatic evaluation program | |
CN110930499B (en) | 3D data processing method and device | |
CN104169821B (en) | Programable controller system, programable display, servicing unit | |
JP5870214B2 (en) | Programmable controller system, its programmable display, support device, program | |
JP5883953B2 (en) | Programmable controller system, its programmable display, drawing editor device, program | |
JPH1147381A (en) | Game machine display testing device | |
JPH08194634A (en) | Test execution system | |
JP4627899B2 (en) | PLC configuration unit monitoring method and program thereof | |
CN106293741B (en) | Method and device for generating non-exclusive page for application store |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |