CN1885263A - Program actuating system, and its programming, analyzing, and managing system, and checking device and programming system therefor - Google Patents

Program actuating system, and its programming, analyzing, and managing system, and checking device and programming system therefor Download PDF

Info

Publication number
CN1885263A
CN1885263A CNA2005101361489A CN200510136148A CN1885263A CN 1885263 A CN1885263 A CN 1885263A CN A2005101361489 A CNA2005101361489 A CN A2005101361489A CN 200510136148 A CN200510136148 A CN 200510136148A CN 1885263 A CN1885263 A CN 1885263A
Authority
CN
China
Prior art keywords
program
written
storage means
coded file
executive
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.)
Granted
Application number
CNA2005101361489A
Other languages
Chinese (zh)
Other versions
CN100485618C (en
Inventor
仲井勘
南山英明
岩井裕三
冨田将司
前田文彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of CN1885263A publication Critical patent/CN1885263A/en
Application granted granted Critical
Publication of CN100485618C publication Critical patent/CN100485618C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention reveals one kind of program executing system suitable for dispersed developing or parallel developing to avoid oversized program and to facilitate addition of effective checking mechanism. It has programming software for composing program, program code holding means, program code file memory, memory area for program developed into executed target, program executing means for executing program and including program loading means, and checking device for loading the program code holding means, the memory area and the program executing means. During executing the program, the program loading means responds the program calling command to load the program from the program code holding means to the memory area.

Description

The programming of program execution system and usefulness thereof, analysis and management system, testing fixture and programing system
Technical field
The present invention relates to particularly in the running of the 1st program, be written into the program execution system that the 2nd program is carried out from the 1st routine call the 2nd program and from the storage means at the coded program of memory block unwind establishment means establishment and the program execution system of executive routine.
The invention still further relates to programing system, process analysis system and program management system that the program that operates in the program execution system is used.
The present invention relates to testing fixture (intelligent inspection unit), control device (FA equipment such as sequencer, motion controller, numerical control device, robot), testing fixture program development system and the testing fixture system with program execution system again.
Background technology
In order to check that the program of handling usefulness downloads to testing fixture (intelligent inspection unit) and makes its running, the user generally programs with the programming software on the personal computer in advance, and after the personal computer and testing fixture of programming software is housed with connections such as cables, be used to download command from the software of programming, program to user's establishment is encoded, and coded data is downloaded to testing fixture.
As a program execution system in the existing testing fixture and an example of programing system, the program device for loading (for example with reference to non-patent literature 1:IU2 series " IU development sequence operation manual " B-206 page or leaf) of intelligent inspection unit has been proposed.
In the existing device that above-mentioned non-patent literature 1 is recorded and narrated, it is as follows to utilize the personal computer executive routine with programming software (IU development sequence) to be written into processing.
At first, by Ethernet (registered trademark), USB or RS232C cable, to the programming software in the testing fixture connection personal computer.
Then, carry out common " execution menu " or " reconstruct execution menu " by programming software.
At this moment, in " execution menu ", the project code of the program decision after only will upgrading also is sent to testing fixture, the flash memory write-in program in testing fixture.In " reconstruct execution menu ", with whole program codings and be sent to testing fixture, the flash memory write-in program in testing fixture.
When testing fixture started, (RAM) went up the program that expansion writes the flash memory of testing fixture in the memory block, and carried out on the program executive means in testing fixture.
Like this, in the existing device, program with the programming software that is contained in personal computer (IU development sequence), and with personal computer with after testing fixture (intelligent inspection unit main body) is connected, utilize " execution " or " reconstruct execution " menu of programming software that the program of establishment is encoded, and it is downloaded to testing fixture (intelligent inspection unit), make its running.
Yet above-mentioned existing device is aggregated into 1 file with program, thereby frequent the generation replenish when becoming the type of checking object etc., needs to adapt to the intrinsic program of each type, makes the program that should work out huge.
Owing to can not record and narrate program, can not realize sporadic development and concurrent development again by different type of machines.For example, for to program A supplementary procedure B, can be after the A program supplement B program, but under the situation of A program and B program stand-alone development, need again to set up the operation that A program and B program are used 1 program.
Because above-mentioned technical background, maintainability is also bad, and for example checks performance for the testing fixture of checking the A type is appended the B type, need replenish the B program to the A program.
Again owing to can not separate the record program by different type of machines, be difficult to a plurality of user's sporadic developments or concurrent development, and carry out under the situations such as type replenishes, need simultaneously take into full account influence to the existing part that has operated, one side is worked out new procedures, thereby is difficult to carry out the exploitation of type when replenishing in fact.
Because the program capacity of user's establishment is subjected to the restriction of the flash memory in the testing fixture, program can not be worked out again, the type of any amount can not be adapted to above the flash memory max cap..
And, when appending type, must need with behind the connection personal computers such as cable, utilize the programming software download to comprise addition portion once more and divide whole programs.
In sum, in the existing program execution system, a problem of existence is: because program is aggregated into a file, and frequent the generation when appending type etc., program is huge, can not append easily and check the object type.
Another problem that exists is: owing to can not separate the record program by different type of machines, can not realize sporadic development and concurrent development, and maintainability is poor.
The another problem that exists is: owing to can not separate the record program by different type of machines, and be difficult to sporadic development and concurrent development, be difficult to carry out the exploitation of type when appending in fact.
The another problem that exists is: be difficult to work out the program above the device maximum storage capacity, and need reconnect personal computer and testing fixture when appending type, utilize programming software to download once more and comprise whole programs of appending part.
The present invention finishes in view of above-mentioned problem, and its order is to obtain a kind of program execution system, can carry out sporadic development and concurrent development, avoids each program huge, and can be effectively and append easily and check the object type.
Its purpose also is to obtain programing system, process analysis system and program management system and the testing fixture with program execution system, testing fixture usefulness program development system and the testing fixture system that described program execution system is used.
Summary of the invention
In order to solve above-mentioned problem, program execution system of the present invention,
Have: the memory block of the sign indicating number maintenance means of the 1st program of maintenance coding, the 1st program that spreading codes maintenance means keep and execution are at the program executive means of the 1st program of memory block expansion;
Also have the storage means that the 2nd program of coding is deposited as coded file;
The program executive means comprises the 2nd program that will deposit as coded file in the storage means and is written into the program of using described memory block and is written into means;
The program executive means is in the running of the 1st program that executive storage area launches, and response is written into the memory block with the 2nd program in the storage means, and carries out the 2nd program the call instruction of the 2nd program in the storage means.
According to the present invention, read the coded file of working out with programming software in advance (the 2nd program) from the storage means, be written into the memory block, replacing the 1st program that is operating operates, thereby can avoid each program huge and carry out sporadic development and concurrent development, and can be effectively and append easily and check the object type.
Description of drawings
Fig. 1 is the block diagram that the program execution system of embodiment of the present invention 1 is shown.
Fig. 2 is the block diagram that the program execution system of embodiment of the present invention 1 is shown.
Fig. 3 is the key diagram that the type option program of embodiment of the present invention 1 schematically is shown.
Fig. 4 is the process flow diagram that the routine processes running of embodiment of the present invention 1 is shown.
Fig. 5 is the block diagram that the program execution system of embodiment of the present invention 2 is shown.
Fig. 6 is the process flow diagram that the routine processes running of embodiment of the present invention 2 is shown.
Fig. 7 is the block diagram that the program execution system key component of embodiment of the present invention 3 is shown.
Fig. 8 is the process flow diagram that the routine processes running of embodiment of the present invention 3 is shown.
Fig. 9 is the block diagram that the program execution system key component of embodiment of the present invention 4 is shown.
Figure 10 is the process flow diagram that the routine processes running of embodiment of the present invention 4 is shown.
Figure 11 is the process flow diagram that the routine processes running of embodiment of the present invention 5 is shown.
Figure 12 is the block diagram that the program execution system key component of embodiment of the present invention 6 is shown.
Figure 13 is the process flow diagram that the routine processes running of embodiment of the present invention 6 is shown.
Figure 14 is the block diagram that the program execution system key component of embodiment of the present invention 7 is shown.
Figure 15 is the process flow diagram that the routine processes running of embodiment of the present invention 7 is shown.
Figure 16 is the block diagram that the program execution system key component of embodiment of the present invention 8 is shown.
Figure 17 is the process flow diagram that the routine processes running of embodiment of the present invention 8 is shown.
Figure 18 is the process flow diagram that the routine processes running of embodiment of the present invention 9 is shown.
Figure 19 is the block diagram that the program execution system of embodiment of the present invention 10 is shown.
Figure 20 is the block diagram that the configuration information of embodiment of the present invention 10 schematically is shown.
Figure 21 is the process flow diagram that the accordant configuration information checking treatment running of embodiment of the present invention 10 is shown.
Figure 22 is the process flow diagram that the accordant configuration information checking treatment running of embodiment of the present invention 11 is shown.
Figure 23 is that the version information consistency desired result that embodiment of the present invention 12 is shown is handled the process flow diagram that operates.
Figure 24 is the block diagram that the program execution system of embodiment of the present invention 13 is shown.
Figure 25 is that firmware (F/W) the version information consistency desired result that embodiment of the present invention 13 is shown is handled the process flow diagram that operates.
Figure 26 is the block diagram that the program execution system key component of embodiment of the present invention 14 is shown.
Figure 27 is the process flow diagram that the configuration information outlet processing of embodiment of the present invention 14 is shown.
Figure 28 is the process flow diagram that the configuration information inlet processing of embodiment of the present invention 14 is shown.
Figure 29 is the block diagram that the program execution system key component of embodiment of the present invention 15 is shown.
Figure 30 is the process flow diagram that the configuration information link processing of embodiment of the present invention 15 is shown.
Figure 31 is the block diagram that the program execution system key component of embodiment of the present invention 16 is shown.
Figure 32 is the process flow diagram that the process analysis processing of embodiment of the present invention 16 is shown.
Figure 33 is the block diagram that the program execution system key component of embodiment of the present invention 17 is shown.
Figure 34 is the process flow diagram that the program management processing of embodiment of the present invention 17 is shown.
Label declaration
1,1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H is a testing fixture, the 2nd, yard maintenance means, the 3rd, the memory block, 4,4A, 4B, 4C, 4D, 4E, 4F, 4G, 4H is the program executive means, 5,5A, 5B, 5C, 5D, 5E, 5G, 5H is that program is written into means, 5F is that program is uploaded means, and 6D is the storage means, 7,7a, 7b, 7b ', 7B "; 7c is a coded file; 9; 9a; 9b; 9A is a programming software, 10,10a, 10b, 10A, 10B is a program, the 12nd, show and operational means, and the 13rd, program execution unit, the 14th, the device initialization information, the 15th, program is written into resume and preserves means, the 16th, configuration conformance verification means, 17,17a, 17b, 17c is a configuration information, the 19th, firmware version information, the 20th, outlet means, the 21st, inlet means, the 22nd, configuration information link means, the 23rd, the process analysis means, the 24th, analysis result shows means, the 25th, and the program management means, the 26th, dependence shows means.
Embodiment
Embodiment 1
Fig. 1 and Fig. 2 are together with programing system, the block diagram of the program execution system of embodiment of the present invention 1 are shown, and with preceding described identical, the situation that is used for testing fixture 1 are shown also.
In Fig. 1 and Fig. 2, testing fixture 1 constitutes intelligent inspection unit, comprises CPU, interface and various storeies etc.
Testing fixture 1 is with programming software 9 (with reference to figure 1) or programming software 9a, 9b (with reference to figure 2) in the personal computer 8, and the 1st or the 2nd program (hereinafter abbreviating " program " respectively as) 10a, the 10b that utilize the user to work out operate.
This occasion is by checking that handling package becomes program 10a, 10b.
Specifically, programming software 9a, 9b are the means (development environment etc.) of 10a, 10b of programming.
Program 10a, 10b specifically are made up of the procedure code (source code) of user's establishment.
Among Fig. 1, program 10a for example is made up of type option program (back elaboration), and program 10b for example is made up of the handling procedure of coded file " work 1.iup ".
In addition, among Fig. 2, the programming software of using as the 10a that programs, 10b, a plurality of programming software 9a, 9b are shown in a personal computer 8, but each program 10a, 10b also can be as shown in Figure 1, with same programming software 9 establishments, the individual programming software establishment in also available many personal computer (not shown).
Testing fixture 1 has sign indicating number maintenance means 2, the memory block 3 that connects sign indicating number maintenance means 2, the program executive means 4 that connects memory block 3 that connect personal computer 8 as required, the program in the program executive means 4 of being located at is written into means 5 and linker executive means 4 demonstration and operational means 12.
Sign indicating number maintenance means 2 also can keep memory of data (quick erasable ROM etc.) to form by the shearing device power supply, deposit the program 10a that becomes main operation procedure of programming software 9,9a establishment.
Keep means (RAM storer etc.) to constitute memory block 3 by common data.
Program executive means 4 connects the storage means 6 that are made of large capacity digital data mediums such as hard disk or storage cards.
The program 10b of usefulness is handled in the detection that storage means 6 are deposited each object type of programming software 9,9b establishment as required.
The coded file that is produced among means 11 or the programming software 9b (with reference to figure 2) by the coded file in the programming software 9 (with reference to figure 1) produces means 11b, and 10b encodes to program.
That is to say that the development environment in programming software 9,9b (comprise coded file and produce means 11,11b) forms user's the 10b coding that programs coded file 7b, and records storage means 6 in advance from personal computer 8.
Specifically, coded file 7b is at the file of development environment with the program 10b coding of user's establishment.
Here, for convenience, 1 coded file 7b only is shown, but can be according to the type number of checking object etc., the coded file 7b of any amount that record is satisfied the demand.
Also can add or change a plurality of coded file 7b (program 10b) of individuation from the outside as required.
And, storage means 6 can be built in the testing fixture 1.
In the testing fixture 1, program executive means 4 is by the program that operates on CPU (firmware: F/W) form, analyze and carry out the program 10a or the 10b of user's establishment.
Program in the program executive means 4 is written into means 5 as required, obtains coded file 7b from storage means 6, launches on memory block 3.
That is to say, program executive means 4 keeps the program 10a in the means 2 to be written into memory block 3 sign indicating number, make its running, simultaneously the programs in the program executive means 2 are written into means 5 and go back call instruction among the responder 10a, in the running of program 10a, program 10b is written into memory block 3 from storage means 6, makes its running.
Show with operational means 12 to constitute man-machine interface, specifically, have LCD and keyboard etc., the user is carried out picture demonstration and key input reception etc.
Programming software 9,9a, 9b in the personal computer 8 carry out work by user's operation, are organized in program 10a, the 10b of running in the testing fixture 1.
Personal computer 8 has read-in programme 10a and produces the development environment that actuating code is used, and actuating code is sent to sign indicating number maintenance means 2 in the testing fixture 1.
The source code of the program 10a of user establishment is compiled into executable form in the testing fixture 1 by the development environments in the personal computer 8, and yard is sent to testing fixture 1 after will compile, operates.
Actuating code produces before being sent to testing fixture 1, and deleted after transmission, thereby the user can not directly operate actuating code.
Equally, the development environment in the personal computer 8 is read-in programme 10b also, produce actuating code, but the actuating code of program 10b is transformed into the coded file 7b that the user can operate according to coded file 7b.
That is to say that coded file produces means 11,11b is transformed into coded file 7b with the program 10b in the development environment.
The summary running of the personal computer 8 and the testing fixture 1 of embodiment of the present invention shown in Figure 21 then, is described.
At first, personal computer 8 usefulness cables are connected to testing fixture 1, the program 10a of programming software 9,9a establishment is downloaded to sign indicating number maintenance means 2 in the testing fixture 1.
On the other hand, coded file produces means 11,11b encodes the program 10b of programming software 9,9b establishment, copies in the storage means 6 as coded file 7b.
Testing fixture 1 makes personal computer 8 that a plurality of program 10as, the 10b coding relevant with checking running of user's establishment also kept in advance, to be connected to testing fixture 1 in use.
Program executive means 4 in the testing fixture 1 keeps the program 10a in the means 2 to be deployed on the memory block processing of executive routine 10a sign indicating number when energized.
In addition, the program in the program executive means 4 is written into means 5 during executive routine 10a on the testing fixture 1, from storage means 6 required program 10b is handled in the inspection of object type and is written into testing fixture 1, launches on memory block 3, and is carried out.
Like this, program executive means 4 is written into and carries out another program 10b in the storage means 6 in the execution of 1 program 10a.
That is to say that the program 10a issue that is operating from current is during to the call instruction of the coded file 7b of program 10b, specified coding file 7b in the expansion storage means 6 is gone up in the memory block 3 (RAM) testing fixture 1 in.
Its result replaces to program 10b with current program 10a in running on the testing fixture 1, and the processing of executive routine 10b.
Fig. 3 schematically illustrates yard key diagram of the object lesson of the program 10a that maintenance means 2 are deposited, and the situation of type option program is illustrated as an example.
Among Fig. 3, program 10a (type option program) starts coding from " ", specifies the coded file DS0 (" 1 "~" 4 " or " Def (other) ") that should be written into from storage means 6 according to the value " DS0 " of the device (storer) of select gate appointment.
Here, be located at storage means 6 records and 5 kinds of 5 kinds of coded files (work 1.iup~work 5.iup) that type is corresponding.
For example, when specified device is " DS0=1 ",, be written into means 5 are written into filename " work 1.iup " from storage means 6 coded file by program program executive means 4 fill orders " IUP LOAD (being written into) ".
When specified device is " DS0=2 ",, be written into means 5 are written into filename " work 2.iup " from storage means 6 coded file by program program executive means 4 fill orders " IUP LOAD (being written into) ".
All during non-DS0,, be written into means 5 are written into filename " work 5.iup " from storage means 6 coded file at specified device 1,2,3 and 4 by program program executive means 4 fill orders " IUPLOAD (being written into) ".
Then, with reference to the process flow diagram of Fig. 4, specify the processing running of embodiment of the present invention 1.
Among Fig. 4, at first, the coded file 7b (one or more files) of the program 10b that programming software 9,9b are produced is stored in storage means 6, and will store means 6 testing fixture 1 (step S1) of packing into.
Then, personal computer 8 is connected to testing fixture 1, give to record and narrate program 10a to the call instruction of the coded file 7b in the storage means 6 download command from programming software 9,9a is provided, utilize download command with program 10a coding, and the coded data of program 10a is downloaded to yard maintenance means 2 (step S2).
Secondly, when testing fixture 1 starts for the 2nd time, program executive means 4 will be written to yard data of maintenance means 2 and launch on memory block 3, and the response user utilizes the operation that shows with operational means 12, the running of start-up routine 10a (step S3).
Then, judge whether that program 10a issue from running to the call instruction (step S4) of coded file 7b, is judged as and does not issue call instruction (being "No"), then then judge whether the program 10a issue running the finish command (step S5) from running.
Be judged as issue running the finish command (being "Yes") among the step S5, then finish running (step S7), otherwise, be judged as not issue running the finish command (being "No"), then after the program issued command (step S6) in the 4 continuation execution runnings of program executive means, return step S4.
Otherwise, be judged as the call instruction (be "Yes") of issue among the step S4 to coded file 7b, then program is written into the coded file 7b that means 5 will store in the means 6 and launches on memory block 3, with the current program interchange that is operating (step S8) on the testing fixture 1.
At last, the demonstration in the program executive means 4 response testing fixtures 1 and the operation of operational means 12 start the running (step S9) of the program 10b after replacing.
In addition, the program 10b that is written into after the replacement is started automatically.
Like this, the program execution system of embodiment of the present invention 1, have: program executive means 4 that the storage means 6 that yard maintenance means 2 of the program 10a of maintenance coding, program 10b that will be related with program 10a deposit as coded file 7b, memory block 3, executive routine 10a and the 10b that expansion becomes the program of carrying out object use and the program that as required program 10b is written into memory block 3 usefulness are written into means 5, program is written into means 5 in the running of program 10a, response is written into memory block 3 with program 10b from storage means 3 to the call instruction of program 10b.
Thus, not that program is aggregated into single file, but after producing the different coded file 7b of a plurality of for example types, these document storages are arrived storage means 6, thereby can freely call the coded file 7b that needs when needed, make its running.
Therefore, can carry out sporadic development and the concurrent development of program 10b, avoid program 10a huge, can also improve the independence of the actuating code of each program 10a, 10b simultaneously.
And it is huge to avoid being summarised in the existed system program that single file causes.
Owing to can on the personal computer 8 that separates with testing fixture 1, record and narrate program 10b, can carry out sporadic development and concurrent development again, can press different type of machines independence record program 10b, the influence to the part that operated can be suppressed to minimum by different type of machines.
Here, remark additionally the particularly effect of present embodiment 1.
According to embodiment of the present invention 1, for example when the inspection item of product A was 200,2 users can divide each 100 the program of exploitation that comes.
At this moment, the program that becomes development object is dispersed into 100 of first halfs and latter half of 100 in advance, 100 inspection processing of first half are left in yard maintenance means 2 as program 10a, 100 latter half of inspections are handled left in storage means 6 as program 10b.
Its result in 100 moment of checking that processing finishes of first half, is carried out the program 10b that carry out 100 latter half of inspection processing, handles thereby can carry out 200 inspection altogether.
Under the little situation of the capacity of sign indicating number maintenance means 2, also can operate by 200 procedure division being become each 2 program of 100.
Can call the coded file 7b that needs when needed at every turn, memory block in testing fixture 1 (RAM) is gone up and is launched, make it replace the current program 10a that is operating on the testing fixture 1, operate, even if thereby size surpasses the program of the maximum storage capacity of sign indicating number maintenance means 2 when being aggregated into single file, also can program be operated on testing fixture 1 by being divided into for example coded file 7b (program 10b) of different type of machines.
In the existed system, for example when the scrutiny program of product A appends the function of checking product B, scrutiny program to the scrutiny program supplementary B of product A, and after compiling, be sent to testing fixture 1, but at this moment, originally also append the modification that the program of product B is used in the program of the product A of running, thereby must carry out running and confirm, spend time.
Yet, program execution system according to embodiment of the present invention 1 (with reference to figure 1, Fig. 2), sign indicating number maintenance means 2, the spreading codes that the program 10a that keeps coding wherein is set keeps the program executive means 4 of the program 10a that launches on the memory block 3, executive storage area 3 of the program 10a that means 2 keep and the storage means 6 (hard disk or storage card etc.) that the program 10b of coding is deposited as coded file 7b, and program executive means 4 has the program that the program 10b that will deposit as coded file 7b in the storage means 6 is written into memory block 3 usefulness and is written into means 5.
Thus, in the running of the program 10a that program executive means 4 launches on executive storage area 3, response is written into memory block 3 to the call instruction of the program 10b in the storage means 6 with the coded file 7b (program 10b) in the storage means 6, thereby can executive routine 10b.
Therefore, as shown in Figure 3, record and narrate the type option program that usefulness is handled in the inspection of selecting which type of execution, so can improve convenience.
For example during testing fixture 1 treatment product A, in sign indicating number keeps means 2, deposit the type option program of Fig. 3, deposit the scrutiny program of product A in storage means 6.Change running when this testing fixture 1 appends the audit function of product B is: the type option program of Fig. 3 is added the branch of product B, and the coded file 7b of the scrutiny program of product B is stored in storage means 6.
Therefore, only just can realize that with above 2 change runnings type appends, thereby needn't revise the scrutiny program of product A, also needn't its work of verification.
Embodiment 2
Above-mentioned embodiment 1 only will be corresponding with each type the coded file 7b of program 10b be stored in storage means 6, but restart testing fixture 1 after having only program 10b to carry out, just can return the main program 10a that handles usefulness.
Therefore, can make, simultaneously also with the additional storage means 6 that are stored in of the coded file 7a of program 10a in the call instruction of program 10b record to program 10a.
Fig. 5 illustrates the block diagram that the coded file 7a of program 10a is replenished the program execution system of the embodiment of the present invention 2 that is stored in storage means 6.
Among Fig. 5, the part mark and mentioned above identical label identical with (with reference to figure 1, Fig. 2) mentioned above, or behind label, add " A ", and detailed.
At this moment, the program 10a that programming software 9, the 9a in the personal computer 8 utilizes coded file generation means 11,11a will download to testing fixture 1A encodes, and the coded file 7a of program 10a is copied to storage means 6 in advance.
On the other hand, record and narrate the call instruction of using from the coded file 7a of storage means 6 loader 10a at the end of program 10b.
Then, with reference to the process flow diagram of figure 6, the running of embodiment of the present invention 2 shown in Figure 5 is described.
Among Fig. 6, step S1A, S2, S3A~S9A correspond respectively to above-mentioned (with reference to figure 4) step S1~S9.
At first, produce to record and narrate the coded file 7a of the program 10a of the call instruction of program 10b and record and narrate coded file 7b, be stored in storage means 6, and will store the means 6 testing fixture 1A (step S1A) that packs into the program 10b of the call instruction of program 10a.
Then, download command from programming software 9,9a is provided for program 10a, utilizes download command to download to yard maintenance means 2 (step S2) the data that obtain behind the program 10a coding.
Secondly, when testing fixture 1A starts, on memory block 3, launch, and the response user utilizes the operation that shows with operational means 12, the running of start-up routine 10a (step S3A) being written to yard data of maintenance means 2.
Then, judge whether the call instruction (step S4A) of program (at first being program 10a) the issue coded file (at first being coded file 7b) from running, be judged as and do not issue call instruction (being "No"), then then judge whether the program issue running the finish command (step S5A) from running.
Be judged as issue running the finish command (being "Yes") among the step S5A, then finish the running (step S7A) of the current program of carrying out, otherwise, be judged as not issue running the finish command (being "No"), then after the program issued command (step S6A) in the program executive means 4A continuation execution running, return step S4A.
Otherwise, be judged as program (at first being program 10a) issue in the running among the step S4A to the call instruction (being "Yes") of coded file (at first being coded file 7b), then program is written into the coded file 7b (program 10b) that means 5A will store in the means 6 and launches on memory block 3, with the current program 10a exchange (step S8A) that is operating on the testing fixture 1.
Again, the demonstration in the response testing fixture 1A and the operation of operational means 12 after the running (step S9A) of the program 10b after startup is replaced, are returned step S4A.
Also can constitute the program 10b of making starts automatically.
In the running of program 10b replacement after, carry out and mentioned above identical processing (step S4A~S9A) thereafter.
That is to say, the end of program 10b in running judges whether to issue the call instruction (step S4A) to coded file 7a, if issue call instruction, just be written into coded file 7a (program 10a) (step S8A) from storage means 6, after the processing running (step S9A) of executive routine 10a, return step S4A.
Like this, the program executive means 4A of embodiment of the present invention 2 (with reference to figure 5, Fig. 6) often grasps the call relation of each program 10a, 10b, response is written into memory block 10a from storage means 6 with program 10a to the call instruction of the program 10a of the record of the end in the program 10b in the running of program 10b.
Above-mentioned embodiment 1 (in figure 1~Fig. 4), when the program 10a that keeps means 2 to preserve from sign indicating number calls the coded file 7b that storage means 6 preserve, only restarts testing fixture 1, the program 10a that could return code keeps means 2 to preserve.
Yet the storage means 6 of embodiment of the present invention 2 are also deposited program 10a (or other program) except that program 10b as coded file 7a.
Therefore, in the running of the program 10a that program executive means 4A launches on executive storage area 3, response is to the call instruction of the program 10b in the storage means 6, coded file 7b (program 10b) in the storage means 6 is written into memory block 3, executive routine 10b, and in the running of executive routine 10b, response is to the call instruction of the program 10a (or other program) in the storage means 6, coded file 7a (program 10a) in the storage means 6 is written into memory block 3, thus can executive routine 10a (or other program).
At this moment, program executive means 4A often grasps the call relation of program 10a, 10b, not only keep means 2 save routine 10a at sign indicating number, and preserve in storage means 6 and to utilize coded file to produce the coded file 7a of means 11,11a conversion, thereby testing fixture 1A starts, make program 10a running, and then after making program 10b running, can carry out original program 10a.
That is to say that program executive means 4A is in the running of program 10b, response is written into memory block 3 from storage means 6 with program 10a to the call instruction of program 10a.
Thus, after testing fixture 1A starts, from the coded file 7b of program 10a calling program 10b, and under the situation of executive routine 10b, if the call instruction to the coded file 7a of program 10a is recorded and narrated at the end of program 10b, just can be when program 10b finishes return information 10a again automatically.
For example, (with reference to figure 3) mentioned above is taken as program 10a like that and only carries out the program that type is selected (calling specified coding file 7b) usefulness, thereby supplementary procedure 10b with the situation of carrying out that type appends etc. under, only append the coded file 7b of the program 10b of part by generation, be stored in storage means 6, also replenish the record that to specify the coded file 7b that appends part simultaneously and operate, just can append type easily as the change of program 10a.
When program 10a is used to select type, be not directly specify among the program 10a but indirectly the type recorded and narrated of designated program 10a select needn't change program 10a fully when appending type under the situation of (prescribed coding file 7b).
Therefore, needn't append type at every turn and connect personal computer 8 and testing fixture 1A, and once more program 10a be downloaded to testing fixture 1A from programming software 9,9a with cable.
During the such configuration program 10a of Fig. 3, processing is shifted according to the value (" 1 "~" 4 ", " Def ") of DS0 device, and start preassigned file (" work 1.iup "~" work 5.iup "), but can be according to the program of expectation, from demonstration and operational means 12 import file names, and be written into obj ect file.
When carrying out this program and recording and narrating, needn't revise the type option program, thereby convenience improves further.
In addition, can obtain the relation of program 10a, 10b easily, can shorten the load time, and reliably executive routine 10a, 10b read processing.
In the above-mentioned example, be taken as at the end of program 10b and record and narrate the call instruction of using from the coded file 7a of storage means 6 loader 10a.
Thus, program executive means 4A can be in the running of program 10b, and the call instruction to program 10a that responder 10b end is recorded and narrated is written into memory block 3 from storage means 6 with program 10a.
Equally, also can record and narrate the call instruction that keeps means 2 loader 10a to use from sign indicating number at the end of program 10b.
At this moment, program executive means 4A can be in the running of program 10b, and the call instruction to program 10a that the end in the responder 10b is recorded and narrated keeps means 2 that program 10a is written into memory block 3 from sign indicating number.
Embodiment 3
In the above-mentioned embodiment 1,2, carry out the processing that coded file 7b (program 10b) is written into memory block 3 in batch, be written into processing but also can carry out by the main flow unit (program execution unit) in the coded file 7b.
Fig. 7 illustrates the block diagram of carrying out the program execution system key component of the embodiment of the present invention 3 that is written into processing by the main flow unit.
Among Fig. 7, the part mark and mentioned above identical label identical with (with reference to figure 2) mentioned above, or behind label, add " B ", and detailed.
This occasion, the program in the program executive means 4B are written into means 5B carries out coded file 7b (program 10b) by the program execution unit in the coded file 7b 13 (main flow unit) the processing that is written into.
Program execution unit 13 is execution phases that coded file 7b (program 10b) comprises, and specifically is made up of the process flow diagram in the IU development sequence.
Here, 1 program execution unit 13 is shown typically, but comprises a plurality of execution phases (process flow diagram) among 1 program 10b, just comprise a plurality of program execution unit 13.
Then, with reference to the process flow diagram of Fig. 8, the running of embodiment of the present invention 3 shown in Figure 7 is described.
Among Fig. 8, at first, program is written into be written into (the step S10) of means 5B start-up routine.
At this moment, appointment is only read and is become the program execution unit 13 (appointment process flow diagram) that is written into object.
Then, only carry out read in (step S11) to the appointment process flow diagram in the coded file 7b.
Like this, program is written into means 5 when being written into of program 10b handled, and the program execution unit 13 that will carry out in the follow procedure 10b (main flow unit) is read in, and does not read in whole program 10b.
Thus, make and read in the data volume minimizing, thereby can shorten the time that switching checks that type needs.
That is to say, in the running of the program that the program executive means 4B of embodiment of the present invention 3 (with reference to figure 7, Fig. 8) launches on executive storage area 3, response is to the call instruction of the program execution unit 13 (suitable operating part) in the program that leaves storage means 6 as coded file 7b (or other coded file) in, from the program that storage means 6 are deposited, the program execution unit 13 corresponding with suitable operating part is written into memory block 3, and executive routine performance element 13.
Therefore, obtain sporadic development and concurrent development, avoid program huge, and improve outside the above-mentioned effect of actuating code independence, can also shorten the load time but remove.
Embodiment 4
Above-mentioned embodiment 1 is not considered the initialization information to the device (storer) in the testing fixture 1, but also can make on the structure by in program 10b, comprising the device initialization information, when being written into, the program 10b of making, on demand device is carried out initialization according to the device initialization information.
Fig. 9 is the block diagram of key component of program execution system that is illustrated in the embodiment of the present invention 4 of the interior setting device initialization information 14 of coded file 7b (program 10b).
Among Fig. 9, the part identical mark with (with reference to figure 1, Fig. 2) mentioned above with identical label mentioned above, or behind label, add " C ", and detailed.
This occasion, whether coded file 7b (program 10b) comprises expression the initialized device initialization information 14 of execution to the device in the testing fixture 1C.
Here, device initialization information 14 only is shown typically, but coded file 7b also can comprise device other initialization information in addition.
Program is written into means 5C when loader 10b, carries out initialization on demand according to device initialization information 14.
Set in the device initialization information 14 coded file 7b (program 10b) whether carry out when being written into testing fixture 1C initialized, add the information among the coded file 7b to.
Then, with reference to the process flow diagram of Figure 10, the running of embodiment of the present invention 4 shown in Figure 9 is described.
Among Figure 10, step S10 is the be written into processing identical with (with reference to figure 8) mentioned above.
At first, program is written into be written into (the step S10) of means 5C start-up routine 10b, judges whether to carry out device initialization (step S12) in the testing fixture 1C according to device initialization information 14.
Be judged as among the step S12 and do not carry out initialization (being "No"), then read in designated program (step S13) immediately, otherwise, be judged as and carry out initialization (being "Yes"), then make (step S14) after the device initialization, read in designated program (step S13).
For example, be written into and during executive routine 10b from the state of program executive means 4C executive routine 10a, under the situation that does not have data to join between program 10a and the program 10b, needn't the holding device content, thereby, make the device initialization in the testing fixture 1C according to device initialization information 14.
Otherwise, in data when handing-over, arranged between program 10a and the program 10b, need the holding device content, thereby the initialization process of actuating unit not.
Thus, can inherit its result of inspection of last time, be used for subsequent step.For example, can inherit the judgment data of expression among the program 10a " good/bad ", proceed to check and handle in program 10b former state.
In sum, according to embodiment of the present invention 4 (with reference to figure 9, Figure 10), program 10b comprises the device initialization information 14 to testing fixture 1C (program execution system), and program is written into means 5C from storage means 6 loader 10b the time, according to device initialization information 14, make the device initialization in the testing fixture 1C on demand.Therefore, during loader 10b, can select whether to want initialization process, and automatically perform initialization process as required.
Embodiment 5
In the above-mentioned embodiment 1~4, be that prerequisite is illustrated there to be coded file 7b in the storage means 6, but also can be when being written into coded file 7b, whether verification has coded file 7b.
Below, illustrate the program execution system of embodiment of the present invention 5 whether verification has the function of coded file 7b is set.
This occasion, program executive means 4 and program are written into means 5 (for example with reference to figure 1, Fig. 2) when loader 10b (or program 10a), whether verification has program 10b (or program 10a), when not having the program of replying call instruction, carries out error handling processing (output malfunction code).
Below, with reference to the running of the flowchart text embodiment of the present invention 5 of Figure 11.
Among Figure 11, step S10 is the be written into processing identical with (with reference to figure 8, Figure 10) mentioned above.Here, lifting the situation that is written into the program 10b in the storage means 6 is that example describes.
At first, being written into of start-up routine 10b (step S10), and judge whether to exist coded file 7b (step S14).
Be judged as among the step S14 and have coded file 7b (being "Yes"), then read in coded file 7b (step S15).
Otherwise, be judged as among the step S14 and do not have coded file 7b (being "No"), then on the picture that shows with operational means 12, show not have coded file 7b (step S16).
Utilize other device of communication notifications (step S17) of internet etc., and malfunction code is outputed to device (step S18) in the testing fixture 1, make running stop (step S19).
About step S16~S18, can only carry out a certain processing, or only carry out certain 2 processing, needn't carry out whole processing.
Like this, program executive means 4 is when loader 10b, do not exist under the situation that becomes the coded file of object 7b, stop the running of testing fixture 1, also utilize the notice of makeing mistakes that picture shows, the notice of utilizing communication simultaneously or the malfunction code of the interior device of testing fixture 1 is write.
Also identical during from storage means 6 loader 10a.
As shown in figure 11, the program executive means of embodiment of the present invention 5 is written into means when storage means 6 are written into established procedure in program, confirm whether there is established procedure in the storage means 6, and when in storage means 6, not having the established procedure of replying call instruction, the output malfunction code.
Thus, except that obtaining above-mentioned effect, also have following effect: the error handling processing when the energy executive routine is written into, when being written into, do not exist under the state of corresponding program, avoid not proper running, also improve the convenience of discerning the reason that stops simultaneously.
Embodiment 6
In the above-mentioned embodiment 1~5, the storage means 6 of the object when being written into as program are imagined a kind of recording medium (storage card etc.) and are illustrated, but also can be with a plurality of different objects of recording medium (for example storage card and hard disk etc.) when being written into as program.
Figure 12 illustrates a plurality of storage means 6, the block diagram of program execution system key component of embodiment of the present invention 6 of object when 6D is written into as program.
Among Figure 12,, perhaps behind label, add " D " or " ' to part mark and identical label mentioned above identical with (with reference to figure 2) mentioned above ", and detailed.
This occasion, with each program corresponding codes file 7b, 7b ' comprise the storage means 6, the 6D that deposit this document respectively relevant the place's information of reading in.
Program executive means 4D in the testing fixture 1D and program are written into means 5D according to becoming the place of reading in that the interior place's of the reading in information of coded file 7b, 7b ' that is written into object changes each program respectively.
Then, with reference to the running of the flowchart text of Figure 13 embodiment of the present invention 6 shown in Figure 12.
Here, explanation will be taken as the situation that is written into object with program 10b corresponding codes file 7b typically.If storage means 6 are storage cards, storage means 6 ' are hard disk (HDD).
Among Figure 13, at first, start be written into (the step S10) become the coded file 7b (program 10b) that is written into object, judge whether the state (step S20) that is written into from storage card (storage means 6) with reference to the place's of the reading in information in the coded file 7b that becomes object.
Be judged as the state (being "Yes") that is written into from storage card among the step S20, then being identified as the place of reading in is storage card (storage means 6), and reads in coded file (step S21) from storage card.
Otherwise, be judged as among the step S20 and be not the state (being "No") that is written into from storage card, then being identified as the place of reading in is hard disk (HDD), and the HDD from network reads in coded file (step S22).
Here, the situation that appointment is read in from 2 storage means 6,6D has been described, but testing fixture 1D also can connect the storage means that are no less than 3.
Like this, in the embodiment of the present invention 6 (with reference to Figure 12, Figure 13), use to the program of the call instruction of established procedure (coded file 7b or 7b ') comprise the storage means 6 of the established procedure of depositing the response call instruction or 6D relevant the place's information of reading in, and program executive means 4D changes the place of reading in of established procedure respectively according to the place's of reading in information.
Thus, can specify place's of being written into (reading in the place), become the storage of object means 6,6D so can automatically switch according to the place's of reading in information.
Therefore, select to adapt to the coded file 7b of type, the amplitude broad of 7b ', the coded file 7b ' in the hard disk storage means 6D such as (HDD) on the energy specified network.
And, needn't go to the scene that is provided with of other device to carry out coded file replacement running etc., just can realize the change of program.
According to embodiment of the present invention 6, except that effect mentioned above, executive routine ( coded file 7b or 7b ') reads processing reliably.
Embodiment 7
In the above-mentioned embodiment 1~6,, also can when program is written into, preserve and be written into record information though do not speak of specially.
Figure 14 illustrates the block diagram that formation can be preserved the program execution system key component of the embodiment of the present invention 7 that is written into record information.
Among Figure 14, the part mark and mentioned above identical label identical with (with reference to figure 2) mentioned above perhaps add behind label " E ", and detailed.
This occasion, the program executive means 4E in the testing fixture 1E has program and is written into resume preservation means 15.
Program is written into resume and preserves the resume that are written into that relevant coded file 7b (program 10b) was obtained and preserved to means 15.
For example, program is written into resume and preserves means 15 by the resume of the project (program 10b or coded file 7b) of time sequence preservation running, the program name that coded file 7b (program 10b) changes when being written into etc.
Here, the situation that is written into coded file 7b (program 10b) is shown typically, but also can be used for being written into the situation of above-mentioned (with reference to figure 5) coded file 7a (program 10a).
Then, with reference to the process flow diagram of Figure 15, the running of embodiment of the present invention 7 shown in Figure 14 is described.
Among Figure 15, at first, program be written into means 5E start-up routine 10b be written into (step S10) after, what program was written into that resume preserve means 15 save routine 10b is written into resume (being specially " filename " that be written into) (step S24).
Then, same when starting being written into of next program 10b ' (step S10A), what program was written into that resume preserve that means 15 also preserve next program 10b ' is written into resume (step S24A).
Thereafter, each start-up routine 10b is written into, and repeats same being written into and handles and be written into resume preservation processing.
Thus, follow procedure A → program B → program C for example ... mode loader 10b, 10b ' successively ... the time, program is written into resume and preserves save routine A, program B, program C in the means 15 ...
Like this, the program executive means 4B of embodiment of the present invention 7 (with reference to Figure 14, Figure 15) comprises program and is written into resume preservation means 15, and program is written into resume and preserves the interior corresponding call instruction of established procedure (for example coded file 7b) of means 15 responses and storage means 6, when program executive means 4E will store established procedure in the means 6 and be written into memory block 3 and carried out, the incident that is written into established procedure is preserved as being written into resume.
Thus, taking place when not proper, helping investigating the program that becomes not proper source is which, and when then starting under the situation when error stop takes place, helps regulation from which program start.
Which kind of can discern and check type by with reference to being written into resume again.
Can also obtain the call relation of program easily.
Embodiment 8
Only being written into of program (project) handled being illustrated in the above-mentioned embodiment 1~7, but also can program (project) be uploaded to the storage means from testing fixture.
Figure 16 is illustrated in the block diagram of program execution system key component that program executive means 4F is provided with the embodiment of the present invention 8 of upload function.
Among Figure 16, the part mark and mentioned above identical label identical with (with reference to figure 2) mentioned above perhaps add behind label " F ", and detailed.
This occasion, the program executive means 4F in the pick-up unit 1F has program and uploads means 5F.
After program is uploaded means 5F the program 10a that launches on the memory block 3 or 10b are transformed into coded file 7c, copy to storage means 6.
Program is uploaded means 5F can comprise the function that said procedure is written into means 5~5E, also can be written into means 5~5E branch with program and be arranged.
As storage means 6, can connect different a plurality of recording mediums (PC card, HDD etc.).
Then, with reference to the running of the flowchart text of Figure 17 embodiment of the present invention 8 shown in Figure 16.
Among Figure 17, at first, program upload means 5F be enabled on the memory block 3 program launching and carrying out upload (step S25) after, judge that it is PC card or HDD (hard disk) (step S26) that preservation place that becomes the program of uploading object is specified.
Being judged as preservation place appointment among the step S26 is PC card (being "Yes"), and then coded file 7c (program) being saved in becomes the PC of storage means 6 card (step S27).
Otherwise being judged as preservation place appointment among the step S26 is not PC card (being "No"), then coded file 7c (program) is saved in the HDD (step S28) that becomes storage means 6.
Like this, the program executive means 4F of embodiment of the present invention 8 (with reference to Figure 16, Figure 17) comprises program and uploads means 5F, and program is uploaded means 5F the program that testing fixture 1F internal program executive means 4F is carrying out is uploaded to storage means 6.
Thus, program that can will carry out is kept at storage means 6, and preservation place when uploading, and can specify in PC card or HDD.About HDD, can be the HDD that connects network.
When between testing fixture 1F on-stream period, adjusting standard value, generally lose the consistance with former data, but, can upgrade the also original of save routine, thereby have the advantage that needn't reflect the standard value adjustment respectively original according to embodiment of the present invention 8.
Embodiment 9
Above-mentioned embodiment 8 only executive routine is uploaded, but also can add application version information (hereinafter referred is " version information ") in the program of uploading.
Application is meant that the user is according to checking the program of object with programming software 9 (or 9a, 9b) establishment.
Figure 18 is the process flow diagram of running that the program execution system of embodiment of the present invention 9 is shown.
Among Figure 18, only be: after uploading (step S25) in startup, then replenish version information and add and handle (step S25A) with the difference of (with reference to Figure 17) mentioned above.
The system of embodiment of the present invention 9 forms as shown in figure 16, and difference only is: program is uploaded version information management function and the version information that means 5F has when uploading and is added function.
This occasion, program are uploaded means 5F (with reference to Figure 16) program that uploads to storage means 6 are added version information.
The running of embodiment of the present invention 8 then, is described with reference to Figure 18.
At first, after program is uploaded means 5F start-up routine and uploaded (step S25), the program of uploading is added version information (step S25A).
Thereafter, with mentioned above identical, also (step S26) specified in preservation place of determining program, and program is saved in PC card or HDD (step S27, S28).
Like this, the program executive means of embodiment of the present invention 9 adds version information to the program (program of carrying out) that uploads to storage means 6 when program is uploaded means 5F (with reference to Figure 16) storage means 6 are uploaded.
For example, above-mentioned (with reference to Figure 16, Figure 17) embodiment 8 upgrades original in program (project) when uploading, and still is file after the change but can not differentiate file before the change when observing later on.
Yet, according to embodiment of the present invention 9 (with reference to Figure 18),, can differentiate the file that whether upgrades owing to when file upgrades, add version information, be convenient to management, and can prevent the mistake running that version is made mistakes and caused.
Embodiment 10
In the above-mentioned embodiment 1~9,, also can from storage means 6 loaders the time, compare configuration information, the program that verification is written into and the consistance of testing fixture though do not speak of specially.
Below, with reference to Figure 19~Figure 21 explanation the program execution system of the embodiment of the present invention 10 of accordant configuration information verifying function is set.
Figure 19 illustrates the block diagram of program execution system key component that testing fixture is provided with the embodiment of the present invention 10 of configuration information verifying function.
Among Figure 19,, perhaps behind label, add " G " part mark and identical label mentioned above identical with (with reference to figure 2) mentioned above, and detailed.
This occasion, the program in the program executive means 4G is written into means 5G, has the configuration conformance verification means 16 of each configuration information of audit by comparison device 1G and coded file 7b.
And, establish storage means 6 deposit a plurality of coded file 7b, 7b ' ...
Each coded file 7b, 7b ' have the configuration information of running usefulness itself, promptly have be used to adapt to practical programs handle running testing fixture 1G's and hardware is formed or device is formed corresponding running configuration information (hereinafter referred is " configuration information ").
Configuration conformance verification means 16 in the program executive means 5G are written into means 5G when storage means 6 are written into established procedure in program, the environment configurations information (hereinafter referred is " configuration information ") that the configuration information and the program executive means of established procedure carried out work compares, whether consistent, and confirming that the result represents output malfunction code when inconsistent if confirming both.
Like this, coded file 7b, 7b ' (program 10b, 10b ') in the storage means 6 and the program executive means 4G in the testing fixture 1G contain configuration information separately, program executive means 4G from storage means 6 loaders the time, the consistance of verification configuration information.
Program executive means 4G also can be in storage means 6 during loader, by reading in the configuration information that becomes the established procedure (for example coded file 7b (program 10b)) that is written into object, the shared configuration information corresponding with established procedure.
The back will be set forth, the configuration information of 16 couples of testing fixture 1G of configuration conformance verification means (hardware form or device form) and compare, but the whether actual operation of affirmation program from the configuration information that storage means 6 are read in the coded file 7b (or other coded file 7b ') of (or be written into from these means).
Figure 20 schematically illustrates the testing fixture 1G of relevant circuit board and coded file 7b, 7b ', 7b " the block diagram of relation of each configuration information.
Among Figure 20,, establish testing fixture 1G and have the plate of setting up 18a, 18b as configuration information.
And, coded file 7b, 7b ', 7b in the storage means 6 " have alone configuration information 17a, 17b, a 17c.
Specifically, configuration information 17a~17c is that the hardware of preserving testing fixture 1G is formed the file that the device (storer) in (type of setting up plate of use, slot position etc.) and the testing fixture 1G is set.
Here, configuration information 17a is corresponding to setting up plate 18a, 18b, and configuration information 17b is corresponding to setting up plate 18a, 18c, and configuration information 17c is corresponding to setting up plate 18a.
Then, with reference to the flowchart text Figure 19 of Figure 21 and the configuration information verification running of embodiment of the present invention shown in Figure 20 10.
Among Figure 21, step 510, S15, S17~S19 are and (with reference to Figure 11) mentioned above identical processing.
At first, among the program executive means 4G, startup is during from storage means 6 loader 10b (step S10), and program is written into configuration conformance verification means 16 in the means 5G and judges configuration information in configuration information 17a (or 17b, 17c) and the testing fixture 1G (hardware is formed, device composition) whether (step S29) in full accord.
The hardware that is judged as configuration information 17a and testing fixture 1G among the step S29 is formed (being "Yes") in full accord, then reads in coded file 7b (in the example of Figure 20, forming in full accord with the hardware of testing fixture 1G) (step S15).
Otherwise, for example be judged as the hardware of configuration information 17b and testing fixture 1G among the step S29 and form not quite identical (being "No"), then the hardware of configurations shown information 17b and testing fixture 1G is formed inconsistent situation on the picture that shows with operational devices 12.
Utilize other device of communication notifications (step S17) again,, make testing fixture 1G stop (step S19) the output of the device in testing fixture 1G malfunction code (step S18).
For example among Figure 20, the coded file 7b in the storage means 6 can only be read into testing fixture 1G with coded file 7b because configuration information 17a (setting up plate 18a, 18c) is in full accord with the circuit board composition (setting up plate 18a, 18b) of testing fixture 1G.
Otherwise, because configuration information 17b (setting up plate 18a, 18c) is inconsistent with the composition of pick-up unit 1G, coded file 7b ' can not be read in testing fixture 1G when storage means 6 are read in coded file 7b '.
In sum, according to embodiment of the present invention 10 (with reference to Figure 19~Figure 21), leave program (the coded file 7b of storage means 6 in, 7b ',) comprise itself the running usefulness configuration information 17a, 17b, program executive means 4G comprises accordant configuration information verification means 16, and accordant configuration information verification means 16 are written into means 5G when storage means 6 are written into established procedure in program, whether the configuration information of affirmation established procedure is consistent with the configuration information of the environment that the program executive means operates, confirming that the result represents when inconsistent the output malfunction code.
Therefore, except that above-mentioned effect, can also verification configuration information 17a, 17b ... consistance, make testing fixture 1G avoid being written into can not to detect the program of handling running.
That is to say, when storage means 6 are written into established procedure and are carried out, do not exist under the situation of setting up plate that established procedure should handle or set up under the different situation of plate, can prevent running improperly in possible trouble at testing fixture 1G.
Embodiment 11
Whether each configuration information of above-mentioned embodiment 10 affirmation programs and testing fixture in full accord, but also can enlarge allowed band is confirmed to be used for operating from the established procedure that storage means 6 are written into abundant.
Figure 22 is the process flow diagram that the configuration information affirmation running of the embodiment of the present invention 11 that enlarges allowed band is shown.
This occasion, accordant configuration information verification means 16 (with reference to Figure 19) are when the consistance of the configuration information of the environment of operation (testing fixture 1G) of the configuration information of the established procedure of confirming to be written into from storage means 6 and program executive means 4G, whether the configuration information of judging testing fixture 1G is used for established procedure and operates abundant, be used for established procedure at the configuration information of environment of operation and operate when insufficient the output malfunction code.
Below, with reference to the process flow diagram of Figure 22, the running of the accordant configuration information checking treatment of embodiment of the present invention 11 is described together with above-mentioned Figure 19 and Figure 20.
Among Figure 22, step S10, S15, S17~S19, S29 are and (with reference to Figure 21) mentioned above identical processing.
At first, among the program executive means 4G, startup behind storage means 6 loaders (for example curtain afternoon nap 7b) (step S10), accordant configuration information verification means 16 judge configuration information 17a (or 17b, 17c) whether with the configuration information of testing fixture 1G (step S29) in full accord.
Otherwise, the hardware that is judged as the configuration information that is written into object program and testing fixture 1G among the step S29 is formed not quite identical (being "No"), judges then that then configuration information 17b or 17c delete some compositions of setting up behind the plate whether consistent (step S29A) with forming from the hardware of testing fixture 1G.
Among the step S29A, for example be judged as configuration letter 17c and delete some compositions of setting up behind the plate consistent (being "Yes") with forming, then read in the coded file 7b that meets configuration information 17c from the hardware of testing fixture 1G " (step S15).
In the example of Figure 20, coded file 7b " configuration information 17c (setting up plate 18a) with form the composition that deletion sets up behind the plate 18b from the hardware of testing fixture 1G consistent.
Otherwise, among the step S29A, for example be judged as configuration information 17b and form the some compositions of setting up behind the plate inconsistent (being "No") of deletion from the hardware of testing fixture 1G, then the hardware of configurations shown information 17b and testing fixture 1G is formed inconsistent situation (step S30A) on the picture that shows with operational means 12.
In addition, utilize other device of communication notifications (step S17), malfunction code is outputed to device (step S18) in the testing fixture 1G, make testing fixture 1G stop (step S19).
In sum, the coded file 7b (with reference to Figure 20) in the storage means 6 can read in coded file 7b because the circuit board composition of configuration information 17a and testing fixture 1G is in full accord among the testing fixture 1G.
Coded file 7b in the storage means 6 " and since configuration information 17c with form from the circuit board of testing fixture 1G that to delete the composition of setting up behind the plate 18b consistent, can read in coded file 7b among the testing fixture 1G ".
Above-mentioned embodiment 10 can not be written into coded file 7c (with reference to Figure 20), but embodiment of the present invention 11 can be written into coded file 7c.
On the other hand, coded file 7b ' in the storage means 6 are because after forming that deletion is some and set up plate from the circuit board of testing fixture 1G, configuration information 17b (setting up plate 18a, 18c) is also inconsistent, also makes mistakes even enlarge allowed band, so can not read in coded file 7b ' among the pick-up unit 1G.
For example, in the testing fixture that factory etc. locates to turn round, in order to check new architecture, establishment use replenish set up the new procedures of plate the time, the configuration information of Yun Zhuan existing program became different with the configuration information of testing fixture in the past.Its reason is that the existing program that in the past turned round do not record and narrate the additional plate of setting up.
Yet, according to embodiment of the present invention 11, even if use in establishment under the situation of the new procedures of setting up plate that replenishes, also can form when not quite identical at the hardware of the configuration information of new procedures and testing fixture, whether further carry out and form the some consistent verifications of composition of setting up behind the plate of deletion from the hardware of testing fixture, thereby establishment is used the new program of setting up plate (project) of replenishing and do not changed the existing program of running in the past.
Like this, according to embodiment of the present invention 11, configuration conformance verification means 16 are when the consistance of the configuration information of the configuration information of confirming to become the established procedure that is written into object and testing fixture 1G, whether the configuration information of judging testing fixture 1G is used for established procedure and operates abundant, only operate insufficient time output malfunction code being used for established procedure, thereby except that above-mentioned effect, can also enlarge the allowed band that is written into object program.
Embodiment 12
Above-mentioned embodiment 1~11 does not have to consider to be written into the consistency desired result of the version information (application version information) of established procedure from storage means 6, but version information consistency desired result function also can be set.
Below, be provided with the running of processing of the embodiment of the present invention 12 of version information consistency desired result function with reference to the flowchart text of Figure 23.
Among Figure 23, step S10, S15, S17~S19 are and (with reference to Figure 21, Figure 22) mentioned above identical processing.
This occasion, the program that leaves storage means 6 in comprises the running application version information (hereinafter referred is " version information ") that itself operates usefulness, program executive means in the testing fixture is written into means when storage means 6 are written into established procedure in program, the version information of established procedure and the environmental applications version information of program executive means (hereinafter referred is " version information ") are compared, confirm its consistance, confirming that the result represents when inconsistent the output malfunction code.
At first, start be written into established procedure (step S10) from storage means 6 after, the version information of judging the program that is written into be written into before the version information whether consistent (step S31) of program of execution.
That is to say judgement is written into the preceding program of carrying out with program, and whether version is identical, if be judged as both unanimities (being "Yes"), reads in coded file (step S15).
Otherwise, be judged as both inconsistent (being "No") among the step S31, then the situation (step S32) of version of display information inconsistency on the picture of demonstration and operational means 12.
In addition, utilize other device of communication notifications (step S17), also malfunction code is outputed to the device (step S18) in the testing fixture simultaneously, make and check that processing stops (step S19).
As previously mentioned, " application " is meant " program " with programming software 9 (or 9a, 9b) establishment, and the program of user's establishment is different because of checking object.
Therefore, in order to discern the inspection object, each " program " awarded respectively adapt to the version information of checking object.
Especially in the present invention, because a plurality of users disperse to program, importantly judge to disperse the program of establishment whether to operate, promptly judge whether to work out " type option program (program 10a) " and be somebody's turn to do " Work 1.iup (program 10b) " (with reference to figure 1, Fig. 3) that " type option program " calls by identical purpose.
For example, if certain user with " type option program " and " Work 1.iup " establishment with type A, B, C as " program " of checking object, another user works out " program " as the inspection object with type D, E, F with " type option program " and " Work 1.iup ".
At this moment, with wrong " Work 1.iup ", then call " Work1.iup " that do not plan to want in " type option program ".
Therefore, for the program of preventing is written into mistake in possible trouble, effectively award version information to the program that becomes the object that is loaded into device.
That is to say, award identical version information to " type option program " and " Work 1.iup " both sides, thereby the program executive means can be differentiated " the Work 1.iup " of expectation.
For example, certain user during as " program " of inspection object, awards type A, B, C respectively " version information ABC " with " type option program " and " Work 1.iup " establishment.
On the other hand, another user during as " program " of inspection object, then awards type D, E, F respectively " version information DEF " with " type option program " and " Work 1.iup " establishment.
Therefore, even if with wrong " Work 1.iup ", also can be when calling " Work 1.iup ", " the type option program " of verification " version information ABC " calls " the Work 1.iup " of " version information DEF ".
Like this, according to embodiment of the present invention 12, the program that leaves storage means 6 in comprises the version information (running application version information) that itself operates usefulness, and the program executive means in the testing fixture is written into means when storage means 5 are written into established procedure in program, the version information of established procedure and the version information of program executive means (environmental applications version information) are compared, confirm both consistance, confirming that the result represents output malfunction code when inconsistent, so can alarm, the user notification version information is made mistakes.
Therefore, except that above-mentioned action effect, the error handling processing in the time of can also being written into by executive routine prevents the mistake running that the version mistake causes.
Also can judge configuration information, rather than embodiment 10,11 compares configuration information like that according to the application version information (being numbered) of user's registration in the programming.
Embodiment 13
Above-mentioned embodiment 12 is from storage means 6 loaders the time, each checks the different application version information of object verification, but also can be the time from storage means 6 loaders, verification is to the consistance of the firmware version information (version information of relevant upgrading) of program executive means.
Below, be provided with the embodiment of the present invention 13 of firmware version information consistency desired result function with reference to description of drawings.
Figure 24 is the block diagram that the program execution system key component of embodiment of the present invention 13 is shown.
Among Figure 24,, perhaps behind label, add " H ", and omit explanation with identical part mark mentioned above and identical label mentioned above.
This occasion, the programs (coded file 7b) in the storage means 6 of leaving in have the corresponding firmware version information 19 of environment firmware version information (hereinafter referred is " firmware version information ") with program executive means 4H, as the running firmware version information that itself operates usefulness (hereinafter referred is " firmware version information ").
The firmware version information 19 that adds in the coded file 7b keep being enough to execution itself yard the version information of firmware (program executive means 4H).
Program executive means 4H in the testing fixture 1H is written into means 5H when storage means 6 are written into established procedure in program, the firmware version information that the firmware version information 19 and the program executive means 4H of established procedure operated compares, confirm both consistance, confirming that the result represents when inconsistent the output malfunction code.
Then, together with the process flow diagram of Figure 24, the running of the firmware version information consistency desired result that is written into object program (project) and program executive means 4H (firmware) of embodiment of the present invention 13 is described with reference to Figure 25.
Among Figure 25, step S10, S15, S17~S19 are and (the processing that Figure 21~Figure 23) is identical mentioned above.
At first, program executive means 4H starts behind storage means 6 loaders (step S10), the firmware version information 19 of coded file 7b and the firmware version information of testing fixture 1H are compared, judge whether firmware version information 19 is equal to or is lower than the firmware version information (step S33) of testing fixture 1H.
Be judged as firmware version information 19 among the step S33 and be lower than the firmware version information (being "Yes") of testing fixture 1H, the version level that then is written into object program is lower than the version level of program executive means 4H, thereby thinks and can carry out, and reads in coded file (step S313).
Otherwise, be judged as firmware version information 19 among the step S33 and be higher than the firmware version information (being "Yes") of testing fixture 1H, the version level that then is written into object program is higher than the version level of program executive means 4H, thereby think and to carry out, and on the picture that shows with operational means 12, show the program executive means 4H (firmware) (step S34) in the incompatibility testing fixture 1H.
In addition, utilize other device of communication notifications (step S17), malfunction code is outputed to device (step S18) in the testing fixture 1G, make testing fixture 1G stop (step S19).
As previously mentioned, " firmware " is meant the program executive means 4H in the testing fixture 1H, not because of checking that object changes.
When testing fixture 1H (controller) is upgraded, be equivalent to program executive means 4H itself and upgrade, thereby preferably itself award firmware version information (promptly to " firmware " award version information) program executive means 4.
That is to say, install among the testing fixture 1H program is made an explanation and makes the firmware of its running, but the stylish program of reading in of loader may be used the function of the support that can not get firmware.
Therefore, when starting loader as shown in Figure 25, the firmware version information 19 of program correspondence and the firmware version information of testing fixture 1H are compared, when firmware version information 19 is lower than testing fixture 1H or firmware version information, carrying out program reads in, and when version information 19 is higher than the version information of testing fixture 1H, the demonstration that makes mistakes, thus prevent can not service routine program during the function of imagination improperly operate on possible trouble.
For example, even being compiled into that program that the firmware by latest edition operates will operate by the firmware of legacy version also may undesired running.
Yet the program that Figure 24 downloads in program executive means 4H like that has firmware version information 19, and program executive means 4H can confirm to become the firmware by what version to operate the program composition of downloaded object in advance.
Like this, according to embodiment of the present invention 13, the program that storage means 6 are deposited comprises the firmware version information (running firmware version information) 19 that itself operates usefulness, when program executive means 4H is written into means 5H from storage means 6 download established procedures in program, the firmware version information 19 of established procedure and program executive means 4H are operated firmware version information (environment firmware version information) to be compared, confirm its consistance, confirming that the result represents output malfunction code when inconsistent, thereby can alarm, can not in testing fixture 1H, operate user notification firmware version information 19, prevent the mistake running that the firmware version information mistake causes.
Embodiment 14
Reflection configuration information when above-mentioned embodiment 1~13 is not spoken of programming software and programmed, but also can be when doing programming with outside (for example testing fixture) between the transmitting-receiving of execution configuration information.
Figure 26 is the block diagram of program composition portion that the program execution system of the embodiment of the present invention 14 that is provided with the configuration information transmission-receiving function in the programming software is shown.
Among Figure 26, programming software 9 has the program 10 of setting configuration information 17, the outside is configured the outlet means 20 and the inlet means 21 of the transmitting-receiving usefulness of information 17.
Here, in order to represent the object of non-special qualification, to programming software 9, program 10, configuration information 17 with the mode of general designation reference numbers only.
For example the program executive means (not shown) in the testing fixture is used to handle preservation configuration information 17 from the outlet of the software 9 of programming, to the program 10 reflection configuration informations 17 that are written in the memory block in the testing fixture.
Specifically, the outlet means 20 of configuration information 17 are that the hardware that extracts the testing fixture related with program 10 is formed and the means of device setting.
The inlet means 21 of configuration information 17 are to make hardware composition and the device preserved set the means that are reflected to program 10 usefulness.
Illustrate though omit here, but (with reference to figure 1~4) as indicated above, the programing system of embodiment of the present invention 14 have the program composition portion ( programming software 9,9a, 9b in the personal computer 8) of program 10 (the comprising program 10b at least) usefulness of the executive system of programming 4 execution.
The program composition means comprise the program 10 that produces coding and produce means (11 or 11b) as the coded file of coded file, other program of calling from the routine call order of responder 10 is encoded separately, and produce as coded file.
Coded file generation means in the programming software 9 comprise the inlet means 21 that configuration information 17 is read into outside outlet means 20 and reads in the configuration information 17 that is written out to the outside, when other program that establishment response is called from the call instruction of program 10, work out in the process of other program and divert the configuration information that programmed at 10 o'clock.
Figure 27 illustrates the process flow diagram that the outlet of the configuration information 17 from programming software 9 to testing fixture is handled, and Figure 28 is shown to the process flow diagram that the inlet of the configuration information 17 of programming software 9 is handled.
Below, the running that configuration information 17 in the programming software 9 of embodiment of the present invention 14 and outlet are handled is described with reference to Figure 26 and Figure 27.
Among Figure 27, at first, 10 (the step S35) that on programming software 9, program, and on programming software 9, carry out the outlet (step S36) of configuration information 17 by outlet means 20.
At last, configuration information 17 is preserved (step S37) as file, finish the outlet of Figure 27 and handle.
Then, with reference to Figure 26 and Figure 28 the running that the inlet of the configuration information 17 of embodiment of the present invention 14 is handled is described.
Among Figure 28, at first, on programming software 9, program (step S35), and on programming software 9, carry out the inlet (step S38) of configuration information 17 by inlet means 21.
Then, judge and do not worked out configuration information 17 (step S39), be judged as and do not work out configuration information 17 (being "No"), then make configuration information 17 be reflected to program 10 (step S40).
Otherwise, be judged as among the step S39 and worked out configuration information 17 (being "Yes"), then then judge whether overwrite configuration information 17 (step S41).
Be judged as overwrite configuration information 17 (being "Yes") among the step S41, then the overwrite configuration information 17, make it be reflected to program 10 (step S40).
Otherwise, be judged as not overwrite configuration information 17 (being "No") among the step S41, then selection portion assigned confidence breath 17, carry out outlet back (step S42) by outlet means 20, make it be reflected to program 10 (step S40).
Record and narrate into use and set up in the program 10 of plate, do not insert the plate of setting up that uses object in the testing fixture 10 of operation procedure 10, program 10 generally just can not normal operation in testing fixture.
In addition, even during loader 10, under the configuration information of the program 10 that the is written into situation different with the configuration information of testing fixture, the also undesired running of program 10.
Therefore, need be written into the program B that is written into from 1 program A in service routine and set the configuration information identical with program A.
According to embodiment of the present invention 14, can utilize the outlet of configuration information 17 and inlet to handle centralized management configuration information 17.
And, can shared configuration information 17, the mistake in the time of can also preventing to programme simultaneously.
Then, lift the effect of object lesson supplementary notes embodiment of the present invention 14.
At first, form, consider in slot " 0 " insertion " RS232C plate ", in slot " 1 " insertion " digital input/output board " as the 1st hardware of testing fixture.
The 2nd hardware as testing fixture is formed, and considers in slot " 0 " insertion " simulation output board ".
Above-mentioned each composition establishment is formed the program A of running and pressed the program B that the 2nd hardware is formed running by the 1st hardware.
Here, in the testing fixture that the 1st hardware is formed, imagination will be utilized situation about being carried out from program A loader loader B.
At this moment, although program B is that prerequisite is programmed with slot " 0 " insertion " analog board ", because slot " 0 " insertion " RS232C plate " of testing fixture, program B can not normal operation.
In order not change the composition of setting up plate of testing fixture, and program A, B are operated, form as the 3rd hardware, consideration is in slot " 0 " insertion " RS232C plate ", in slot " 1 " insertion " digital input/output board ", in slot " 3 " insertion " analog board ", and must be according to this configuration information program A, B.
According to embodiment of the present invention 14, when the testing fixture supplementary procedure B of program A running,, when development sequence B, can effectively utilize the configuration information of having worked out by working out the configuration information that above-mentioned the 3rd hardware is formed.
Therefore, except that above-mentioned effect, can also shared configuration information, centralized management configuration information, the mistake in the time of can preventing to programme simultaneously.
Embodiment 15
Above-mentioned embodiment 14 is reflected in the program configuration information of preservation, but also can utilizes link, the centralized management configuration information as required.Figure 29 is the block diagram that the program composition portion of the relevant program execution system of embodiment of the present invention 15 is shown.
Among Figure 29, programming software 9A has program 10A and the configuration information link means 22 of setting configuration information.
Specifically, configuration information link means 22 are to set the means of reference the place file that reference configuration information uses, be used for setting reference and locate file so that with the program B of outside between link configuration information.
The programing system of embodiment of the present invention 15 has with mentioned above (with reference to the identical composition of figure 1~Fig. 4), and the coded file in the programming software 9A produces means (11 or 11b) and comprises the configuration information link means 22 with reference to outside configuration information.
Coded file produces means when the program 10B that the establishment response is called from the call instruction of program 10A, diverts the configuration information when programming 10A in the process of the 10B that programs.
Then, together with the process flow diagram of Figure 29, the running of the configuration information link processing of embodiment of the present invention 15 is described with reference to Figure 30.
Among Figure 30, step S35 is and (with reference to Figure 27) mentioned above identical processing.
At first, the 10A (step S35) that on programming software 9A, programs.At this moment, needn't set configuration information among the step S35.
Then, on programming software 9A, set the reference place file (step S43) of configuration information.
Above-mentioned embodiment 14 is (with reference to Figure 26~Figure 28) when configuration information 17 has change, after revising 1 program 10, must handle the outlet of carrying out configuration information 17, and whole programs 10 that this configuration information 17 is entered the mouth are carried out the inlet processing of configuration information 17 once more.
Yet embodiment of the present invention 15 is passed through the only configuration information of the program 10B at change link place, just the change of configuration information can be used for whole program 10B of reference.
Therefore, it is not proper to avoid forgetting that the change configuration information causes, and also can improve convenience by the centralized management change configuration information that uses link simultaneously.
Then, lift the effect of object lesson supplementary notes embodiment of the present invention 14.
At first, form, be located at slot " 0 " insertion " RS232C plate ", in slot " 1 " insertion " digital input/output board " as the hardware of program A.
Hardware as program B is formed, and is located at slot " 2 " insertion " simulation output board ".
According to embodiment of the present invention 15, form as the hardware of the testing fixture corresponding, in slot " 0 " insertion " RS232C plate ", in slot " 1 " insertion " digital input/output board ", in slot " 2 " insertion " analog input output board " with program A.
When establishment said procedure A, B, contain the record of obsolete slot " 2 " during the 1st hardware of program A is formed, program B does not does not record and narrate hardware specially and forms, and links the 1st hardware composition, the program B that establishment uses the 1st hardware to form.
In sum, according to embodiment of the present invention 15, can utilize link centralized management configuration information.
Embodiment 16
Though above-mentioned embodiment 14,15 is not spoken of, and also can constitute the call relation of auto-analyzer procedure (project).
Figure 31 is the block diagram that the program composition portion key component of the embodiment of the present invention 16 that is provided with the process analysis function is shown.
Among Figure 31, for example program composition portion (above-mentioned personal computer 8 or programming software 9,9A) setting program analysis means 23, and process analysis means 23 has analysis result and shows means 24.
Read in coded file 7 and program 10 in the process analysis means 23.
Here, in order to represent the object of non-special qualification, the mode that coded file 7 and program 10 have been referred to as is reference numbers only.
Specifically, process analysis means 23 are routine analyzers 10 with the means of the call relation that obtains program and be written into.
Analysis result shows that means 24 are display analysis program 10 and the means of the call relation that the program that obtains is written into.
That is to say the 23 analyzing responding call instructions of process analysis means and the call relation of the program 10 called; Analysis result shows the analysis result of the routine call relation that means 24 display routine analysis means 23 are obtained.Thus, read in and analyze and be no less than 1 program 10 or coded file 7 by program composition portion establishment.
Then, together with the process flow diagram of Figure 31, the analyzing and processing of the program 10 of embodiment of the present invention 16 is described with reference to Figure 32.
Among Figure 32, at first, process analysis means 23 routine analyzers 10 (step S44), then analysis result shows that means 24 show the program name (step S45) that calls from the program of analyzing 10.
Here, realize coded file 7 (omitting explanation) with same step.
For example, among above-mentioned (with reference to figure 3) program (type option program) 10a, but use device value DS0 calls " work 1.iup ", " work 2.iup ", " work 3.iup ", " work 4.iup ", " work 5.iup ", but for the user can must specifically read in program 10a by this former state identification selection content (what calls).
That is to say, in order to confirm the call relation of said procedure 10a, need for example to open program 10a, and confirm content with programming software 9,9a.And programming software 9,9a can not open coded file, and confirm content.
Therefore, the program quantity along with establishment increases the very difficult call relation of grasping each program.
Yet, according to embodiment of the present invention 16, show the program (work 1.iup, work 2.iup, work 3.iup, work 4.iup, work 5.iup) that shows automatically on the means 24 that the type option program 10a with Fig. 3 calls, analysis result at analysis result so the user can read together.
Therefore, the dependence of routine analyzer 10 can also be confirmed dependence from coded file simultaneously easily.
In sum, according to embodiment of the present invention 16, except that above-mentioned action effect, can also obtain the call relation of program 10 easily.
Embodiment 17
Though above-mentioned embodiment 14~16 is not spoken of, also can constitute the dependence of automatic supervisory routine (project).
Figure 33 is the block diagram that the program composition portion key component of the embodiment of the present invention 17 that is provided with the program management function is shown.
Among Figure 33, program composition portion setting program ladder of management 25 is as management tool.Program management means 25 have dependence and show means 26.
Program management means 25 registration a plurality of programs 10 (or a plurality of coded file 7).
Specifically, program management means 25 are means of a plurality of programs 10 of management and coded file 7.
Dependence shows that means 26 are means of the dependence of the program 10 of registration in the display routine ladder of management 25 or coded file 7.
That is to say that program management means 25 register to each application with program 10 or coded file 7 and manage, dependence shows that means 26 use program 10 or the coded file 7 that shows registration to each.Thus, management is no less than 1 program 10 or coded file 7 by the establishment of program composition portion.
Then, together with the process flow diagram of Figure 33, program (project) management processing of embodiment of the present invention 17 is described with reference to Figure 34.
Among Figure 34, at first, registration procedure 10 and coded file 7 in program management means 25 (establishment S46).
At this moment, also can register a plurality of programs 10 and a plurality of coded file 7 in the program management means 25.
Then, show the call relation (step S47) of display routine ladder of management 25 on the means 26 in dependence, the program 10 that also shows registration simultaneously and coded file 7 relevant call relation (step S48).
Along with the quantity of program 10 of establishment increases the extremely difficult usually call relation of grasping each program 10.
In the above-mentioned embodiment 16, mode with analysis result shows call relation to program 10 and coded file 7 one by one, but according to embodiment of the present invention 17, by registering a plurality of programs 10 and the coded file 7 that will at first investigate, show overall dependence, institute is so that aggregate analysis.
Therefore, the whole programs 10 that operate in the testing fixture are obtained the call relation of program 10 easily, be convenient to investigate, and can prevent that investigation from omitting.
Embodiment 18
Above-mentioned embodiment 18 is not considered the change configuration information, but can when revising configuration information, upgrade all related program 10 automatically under situation about managing with program management means 25 (with reference to Figure 33) yet.
Below, explanation is provided with the embodiment of the present invention 18 of auto-programming update functions with reference to Figure 33.
The program composition portion of embodiment of the present invention 18 also has configuration and upgrades the means (not shown) in batch, and each whole programs 10 and coded file 7 of using registration is upgraded configuration information in batch.
Here, as object lesson, the hardware of consideration program 10 is formed from the 1st and is formed the situation that (slot " 0 " insertion " RS232C plate ", slot " 1 " insertion " digital input/output board ") appends into the 2nd composition (slot " 3 " insertion " analog board ").
That is to say, in the testing fixture that factory etc. locates to turn round, in order to check new architecture, establishment is appended and is used when setting up the program of plate, because the program A former state of running was not recorded and narrated the plate of setting up that appends in the past, the configuration information of Yun Zhuan program A was with to append the configuration information of testing fixture that use sets up plate different in the past.
Yet,, upgrade means in batch owing to be provided with configuration according to embodiment of the present invention 18, under situation, when revising configuration information, upgrade all related program 10 automatically with 25 management of program management means, not only be convenient to the call relation of the program that obtains 10, and can shared easily configuration information.
Embodiment 19
Above-mentioned embodiment 16 (with reference to Figure 31) has illustrated the situation at the program composition portion setting program analysis means 23 of above-mentioned embodiment 14,15, but also can constitute the process analysis system with process analysis means 23.
That is to say, the process analysis system of embodiment of the present invention 19 is no less than 1 program 10 or coded file 7 (with reference to Figure 31) by program composition portion (programing system) establishment in order to read in and to analyze, and has the analyzing responding call instruction and the analysis result of the call relation analysis result of the process analysis means 22 of the call relation of the program 10 called and the program that display routine analysis means 22 is obtained shows means 24.
Therefore, the process analysis system that can realization obtains the action effect identical with above-mentioned embodiment 16.
Embodiment 20
Above-mentioned embodiment 17 (with reference to Figure 33) has illustrated the situation in the program composition portion setting program ladder of management 25 of described embodiment 14~16, but also can constitute the process analysis system with program management means 25.
That is to say, the process analysis system of embodiment of the present invention 20 is no less than 1 program 10 and coded file 7 (with reference to Figure 33) by program composition portion (programing system) establishment in order to manage, and is provided with each is used the program management means 25 of registration and supervisory routine 10 or coded file 7 and each application is shown that the program 10 of registration or the dependence dependence of coded file 7 show means 26.
Therefore, the process analysis system that can realization obtains the action effect identical with above-mentioned embodiment 17.
Embodiment 21
Also can configuration be set further to the process analysis system of above-mentioned embodiment 20 and upgrade means in batch, each whole programs 10 and coded file 7 of using registration is upgraded configuration information in batch.
Therefore, the process analysis system that can realization obtains the action effect identical with above-mentioned embodiment 18.
Embodiment 22
Above-mentioned embodiment 1~13 (has illustrated and has had storage means 6 and program executive means 4 (the program execution system of or 1A~1H), but also can constitute the testing fixture of the program execution system with above-mentioned embodiment 1~13 with reference to figure 1~Figure 25).
Therefore, the testing fixture of can realization obtaining the action effect identical with above-mentioned embodiment 1~13.
Embodiment 23
Also can constitute the testing fixture program development system of programing system with above-mentioned embodiment 14~18.
Therefore, the testing fixture program development system of can realization obtaining the action effect identical with above-mentioned embodiment 14~18.
Embodiment 24
Also can constitute the testing fixture program development system of the programing system of program execution system with above-mentioned embodiment 1~14 and above-mentioned embodiment 15~18.
Therefore, the testing fixture system that can realization obtains the action effect identical with above-mentioned embodiment 1~18.

Claims (26)

1, a kind of program execution system is characterized in that, comprises
The sign indicating number maintenance means of the 1st program of maintenance coding,
Launch the 1st program that described sign indicating number maintenance means keep the memory block,
The program executive means of the 1st program that execution launches in described memory block, and
Also have the storage means that the 2nd program of coding is deposited as coded file;
Described program executive means comprises described the 2nd program that will deposit as coded file in the described storage means and is written into the program of using described memory block and is written into means;
Described program executive means is in the running of carrying out described the 1st program of launching described memory block, response is to the call instruction of described the 2nd program in the described storage means, described the 2nd program in the described storage means is written into described memory block, and carries out described the 2nd program.
2, the program execution system described in claim 1 is characterized in that,
Described storage means are made of hard disk or storage card.
3, the program execution system described in claim 1 is characterized in that,
Described storage means are also deposited described the 1st program or the 3rd program except that depositing described the 2nd program as coded file;
Described program executive means
In the running of carrying out described the 1st program of launching described memory block, response is to described the 1st program in the described sign indicating number maintenance means or the call instruction of the described the 1st or the 3rd program in the described storage means, described the 1st program in the described sign indicating number maintenance means or the described the 1st or the 3rd program in the described storage means are written into described memory block, and carry out described the 2nd program
In the running of carrying out described the 2nd program, response is written into described memory block with the described the 1st or the 3rd program in the described storage means, and carries out the described the 1st or the 3rd program the call instruction of the described the 1st or the 3rd program in the described storage means.
4, the program execution system described in claim 1 is characterized in that,
Described program executive means is in the running of carrying out the program of launching described memory block, response is to the call instruction of the suitable operating part in the program that leaves described storage means as coded file in, from the program that described storage means are deposited, the program execution unit corresponding with described suitable operating part is written into described memory block, and carries out described program execution unit.
5, the program execution system described in claim 1 is characterized in that,
Described the 2nd program comprises the initialization information to described program execution system;
Described program is written into means when being written into described the 2nd program from described storage means, according to described initialization information, carries out initialization.
6, the program execution system described in claim 1 is characterized in that,
Described program executive means
Be written into means when described storage means are written into established procedure in described program, confirm whether described storage means exist described established procedure, and
When in described storage means, not having the described established procedure that responds call instruction, carry out error handling processing.
7, the program execution system described in claim 1 is characterized in that,
Use is to the program of the call instruction of established procedure, comprise the described storage means of the described established procedure of depositing the described call instruction of response relevant the place's information of reading in,
Described program executive means changes the place of reading in of described established procedure respectively according to the described place's information of reading in.
8, the program execution system described in claim 1 is characterized in that,
Described program executive means comprises program and is written into resume preservation means;
Described program is written into resume and preserves means, when described program executive means response is written into described memory block to the call instruction of the established procedure in the described storage means and with the described established procedure in the described storage means and is carried out, the incident that is written into described established procedure is preserved as resume.
9, the program execution system described in claim 1 is characterized in that,
Described program executive means comprises program and uploads means,
Described program is uploaded the program that means are carrying out described program executive means and is uploaded to described storage means.
10, the program execution system described in claim 9 is characterized in that,
Described program executive means adds application version information to the described program that uploads to described storage means when described program is uploaded means described storage means are uploaded.
11, the program execution system described in claim 1 is characterized in that,
The program that described storage means are deposited comprises the running configuration information that itself operates usefulness;
Described program executive means comprises configuration conformance verification means;
Described configuration conformance verification means, be written into means when described storage means are written into established procedure in described program, whether the running configuration information of confirming described established procedure is consistent with the environment configurations information that described program executive means operates, and confirming that the result represents to carry out error handling processing when inconsistent.
12, the program execution system described in claim 11 is characterized in that,
Described configuration conformance verification means, when confirming the consistance of described running configuration information and described environment configurations information, judge described environment configurations information be used for described established procedure operate whether abundant,
Be used for described established procedure in described environment configurations information and operate when insufficient, carry out error handling processing.
13, the program execution system described in claim 1 is characterized in that,
Leave the program of described storage means in, comprise the running application version information that itself operates usefulness;
Described program executive means, be written into means when described storage means are written into established procedure in described program, the running application version information of described established procedure and the environmental applications version information of described program executive means are compared, and confirm its consistance, when confirming that the result represents inconsistency, carry out error handling processing.
14, the program execution system described in claim 1 is characterized in that,
Leave the program of described storage means in, comprise running firmware (F/W) version information that itself operates usefulness;
Described program executive means, be written into means when described storage means are written into established procedure in described program, the environment firmware version information that the running firmware version information and the described program executive means of described established procedure operated compares, and confirm its consistance, when confirming that the result represents inconsistency, carry out error handling processing.
15, a kind of programing system is characterized in that,
Have the program composition means that described at least the 2nd program that establishment program execution system as claimed in claim 1 carries out is used;
Described program composition means comprise the coded file generation means of described the 2nd program of generation coding as coded file, and
After the 2nd program of in described the 1st program of response the call instruction of program being called encoded separately, produce as described coded file.
16, programing system described in claim 15 is characterized in that, comprises
With configuration information be written out to outside outlet means and
Read in the inlet means that are written out to outside configuration information,
During described the 2nd program that establishment response is called from the call instruction of described the 1st program, in the process of described the 2nd program of establishment, the configuration information when diverting establishment the 1st program.
17, programing system described in claim 15 is characterized in that,
Have configuration information link means with reference to exterior arrangement information,
And when described the 2nd program that establishment response is called from the call instruction of described the 1st program, the configuration information when in the process of establishment the 2nd program, diverting described the 1st program of establishment.
18, programing system described in claim 15 is characterized in that,
In order to read in and analyze the program or the coded file of the described program composition means establishment that is no less than 1, also have
The process analysis means of the call relation of analyzing responding call instruction and the program called, and
The analysis result that shows the routine call relationship analysis result that described process analysis means obtain shows means.
19, programing system described in claim 15 is characterized in that,
In order to manage the program or the coded file of the described program composition means establishment that is no less than 1, also have
To each use, register and manage described program or described coded file the program management means and
Each dependence of using, showing the dependence of the program of described program management means registration or coded file is shown means.
20, programing system described in claim 19 is characterized in that,
Also have to described each use whole programs of registration and coded file and upgrade the configuration that configuration information uses in batch and upgrade means in batch.
21, a kind of process analysis system is characterized in that,
Read in and analyze and be no less than 1 program or coded file as each described programing system establishment in the claim 15 to 17,
And have
The process analysis means of the call relation of analyzing responding call instruction and the program called, and
The analysis result that shows the routine call relationship analysis result that described process analysis means obtain shows means.
22, a kind of system for managing program is characterized in that,
Management is no less than 1 program or coded file as each described programing system establishment in the claim 15 to 17,
And have
To each use, register and manage described program or described coded file the program management means and
Each dependence of using, showing the dependence of the program of described program management means registration or coded file is shown means.
23, the system for managing program described in claim 22 is characterized in that,
Have to described each use whole programs of registration and means are upgraded in configuration that coded file upgrades configuration information in batch in batch.
24, a kind of testing fixture is characterized in that,
Have as each described program execution system in the claim 1 to 14.
25, a kind of testing fixture program development system is characterized in that,
Have as each described programing system in the claim 15 to 20.
26, a kind of testing fixture system is characterized in that,
Constitute with program development system by the testing fixture described in testing fixture described in the claim 24 and the claim 25.
CNB2005101361489A 2005-06-21 2005-12-19 Program actuating system, and its programming, analyzing, and managing system, and checking device Expired - Fee Related CN100485618C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005180777 2005-06-21
JP2005180777A JP4110557B2 (en) 2005-06-21 2005-06-21 Inspection apparatus and programming system provided with program execution system

Publications (2)

Publication Number Publication Date
CN1885263A true CN1885263A (en) 2006-12-27
CN100485618C CN100485618C (en) 2009-05-06

Family

ID=37583424

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101361489A Expired - Fee Related CN100485618C (en) 2005-06-21 2005-12-19 Program actuating system, and its programming, analyzing, and managing system, and checking device

Country Status (4)

Country Link
JP (1) JP4110557B2 (en)
KR (1) KR100787323B1 (en)
CN (1) CN100485618C (en)
TW (1) TWI277867B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043677A (en) * 2009-10-22 2011-05-04 系微股份有限公司 Parallel processing method for dual-operation system
CN104111845A (en) * 2013-04-19 2014-10-22 新唐科技股份有限公司 Processing device and system program changing method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722410B (en) * 2012-05-25 2015-07-29 华为终端有限公司 The method of executive routine, server, mobile terminal and system
KR20160075629A (en) * 2013-10-31 2016-06-29 미쓰비시덴키 가부시키가이샤 Program creating device, program creating method, and program
US9836426B2 (en) * 2015-08-04 2017-12-05 Honeywell International Inc. SD card based RTU
JP7036064B2 (en) * 2019-03-06 2022-03-15 オムロン株式会社 How to deploy controllers and software

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6065046A (en) * 1997-07-29 2000-05-16 Catharon Productions, Inc. Computerized system and associated method of optimally controlled storage and transfer of computer programs on a computer network
US6401198B1 (en) * 1999-03-09 2002-06-04 Texas Instruments Incorporated Storing system-level mass storage configuration data in non-volatile memory on each mass storage device to allow for reboot/power-on reconfiguration of all installed mass storage devices to the same configuration as last use

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043677A (en) * 2009-10-22 2011-05-04 系微股份有限公司 Parallel processing method for dual-operation system
CN102043677B (en) * 2009-10-22 2013-01-16 系微股份有限公司 Parallel processing method for dual-operation system
CN104111845A (en) * 2013-04-19 2014-10-22 新唐科技股份有限公司 Processing device and system program changing method

Also Published As

Publication number Publication date
TW200700986A (en) 2007-01-01
KR20060133873A (en) 2006-12-27
JP4110557B2 (en) 2008-07-02
KR100787323B1 (en) 2007-12-21
TWI277867B (en) 2007-04-01
CN100485618C (en) 2009-05-06
JP2007004273A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
CN1273888C (en) Imaging device, information processing device, program executive method and program generating method
CN1138215C (en) Data processing system and method for archiving and accessing electronic messages
CN1605058A (en) Interface architecture for embedded field programmable gate array cores
CN1875345A (en) Extensible type system for representing and checking consistency of program components during the process of compilation
CN1885263A (en) Program actuating system, and its programming, analyzing, and managing system, and checking device and programming system therefor
CN1977531A (en) Program creation device, program test device, program execution device, information processing system
CN1677365A (en) Test case inheritance controlled via attributes
CN1932776A (en) Automatic operating method for interface test in embedded operating system
CN1321923A (en) Picture program making method and recording medium
CN1728685A (en) Method and system for facilitating data transfer in a pageable mode virtual environment
CN1577324A (en) Document management method, document management program, recording medium, and document management apparatus
CN1498367A (en) Information processing device, momery management device, memory management method and information processing method
CN1272911A (en) Data transmitter, data receiver, rule communication device, rule communication method and program recording medium
CN101030138A (en) Application framework
CN1959631A (en) Self-contained technology for installing application software based on ITRON
CN1834889A (en) Software authentication system, software authentication program, and software authentication method
CN1293447C (en) Reversable keyboard and information processor
CN1728126A (en) Information processing system, information processing method, and computer program used therewith
CN1577291A (en) Program debug apparatus, program debug method and program
CN1384454A (en) Information generalizing system and method
CN1218244C (en) Adjustment rule generating method and adjustment rule generating apparatus and adjustment control apparatus
CN1296825C (en) Simulator and simulation method
CN1771485A (en) Data transmitting system
CN1940939A (en) Information management device, information management system, and computer usable medium
CN1066517A (en) The method of user interface and the programing system of operation multiuser interface type computing machine are described

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CI01 Correction of invention patent gazette

Correction item: Second inventor

Correct: Minamide Hideaki

False: Minamiyama Hideaki

Number: 18

Page: 1505

Volume: 25

CI03 Correction of invention patent

Correction item: Second inventor

Correct: Minamide Hideaki

False: Minamiyama Hideaki

Number: 18

Page: The title page

Volume: 25

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090506

Termination date: 20161219