CN103365649B - Program creation supports that device and program creation support method - Google Patents

Program creation supports that device and program creation support method Download PDF

Info

Publication number
CN103365649B
CN103365649B CN201210529437.5A CN201210529437A CN103365649B CN 103365649 B CN103365649 B CN 103365649B CN 201210529437 A CN201210529437 A CN 201210529437A CN 103365649 B CN103365649 B CN 103365649B
Authority
CN
China
Prior art keywords
satellite information
equipment
label
text
extracted
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.)
Expired - Fee Related
Application number
CN201210529437.5A
Other languages
Chinese (zh)
Other versions
CN103365649A (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 CN103365649A publication Critical patent/CN103365649A/en
Application granted granted Critical
Publication of CN103365649B publication Critical patent/CN103365649B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/44Arrangements for executing specific programs
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

By to the equipment display device annotation recorded in text application, the readability of text application can be improved。Text application editorial office (11) including: uses equipment extracting part (13), and this use equipment extracting part (13) extracts record equipment in text application;Use equipment satellite information extracting part (14), the satellite information of this equipment being extracted is extracted in this use equipment satellite information extracting part (14);Use equipment display position extracting part (15), this use equipment display position extracting part (15) extracts the display position of this equipment being extracted;And text satellite information display part (19), text satellite information display part (19) the row recording this equipment of text application next line, on the display position that is extracted, the satellite information that display extracts。

Description

Program creation supports that device and program creation support method
Technical field
The present invention relates to program creation and support that device and program creation support method (ProgramCreationSupportingDeviceandProgramCreationSupport ingMethod), particularly to being used for using equipment (device), label (lavel) and creating program creation support device and the program creation support method of the operation program (program) performed by the controller (controller) including input and output terminal with text language form。
Background technology
As the existing controller including input and output terminal, it is known to PLC(ProgrammableLogicController: programmable logic controller (PLC)) or CNC(ComputerizedNumericalControl: computer numerical control (CNC)) controller, motion controller (motioncontroller), robot controller (robotcontroller), data collection controller (datacollectioncontroller) etc.。
These controllers include static memory district (memoryarea, memoryspace: memory area, memory space) and Dram district。Static memory district keeps the value of input and output terminal and by multiple programme controlled overall situation (global) values。Dram district keeps only by programme controlled this locality (local) value。Below, these memory fields are called equipment (device)。
In the PLC recorded in following non-patent literature 1, pre-determine equipment character (X, Y, M, D etc.) by data category。Such as, using the equipment that is assigned with input as X equipment。Using the equipment that is assigned with output as Y equipment。The bit data (bitdata) (internal relaying) used inside is as M equipment。The digital data (worddata) (depositor) used inside is as D equipment。
Program (program) uses the address (address) of equipment to state。Program creation supports that device includes the editing machine (editor) supporting the establishment of this program。Additionally, program creation supports that device and controller communicate。Program creation support function that device includes the program completed is transmitted to controller and controller be carrying out in the function that monitors of program。
Such as, the program creation at following non-patent literature 1 is supported in device, including the program creation editing machine utilizing ladder diagram (ladderdiagram)。Program creation editing machine have expressly carry out inserting as program annotation (programcomment) using adding of program, can create the function (this annotation is called statement (statement) in following non-patent literature 1) of program with being easier to understand。Additionally, program creation editing machine has the function setting equipment annotation (devicecomment) that the content to equipment is described in detail。
Additionally, program creation editing machine includes the function of the equipment display device annotation of record in ladder diagram。Thus, programmer need not insert program annotation and can improve the readability of ladder diagram。Especially, in the measurement control program of controller, owing to more using static device, therefore, such static device set device is annotated, and with ladder diagram, it to be displayed be useful (useful)。
Additionally, in recent years in order to improve the recycling of program, also include following function: namely, define the another name for equipment and label (label), and use the tags to establishment program, be additionally carried out distributing to label the setting of equipment。For this label, it may have set the function of the label annotation that the content to label is described in detail。
And, including to the function of the label display label annotation of record in ladder diagram。Thus, programmer need not state program annotation and can improve the readability of ladder diagram。Especially, in the higher measurement control program of recycling property, owing to more using label, therefore, such label is set label annotation, and with ladder diagram, it to be displayed be useful。
Prior art literature
Non-patent literature
Non-patent literature 1: " GXDeveloperVersion8 operating instruction ", 5th chapter " standardization of program ", section 5.1, " programming of relevant label ", and the 9th chapter " setting of equipment annotation ", model name: GXDEV8-0-J, model name encodes: 13JV69, and description is numbered: SH-080356, Mitsubishi Electric Corporation, in November, 2011
Summary of the invention
Invent technical problem to be solved
Other than with ladder diagram or FBD(FunctionBlockDiagram: functional block diagram), SFC(SequentialFunctionChart: SFC) such graphical representation linguistic form beyond, it is also possible to utilize IL(InstructionList: instruction set) or ST(StructuredText: structured text) such text language form to be to create program。
But, when utilizing the program creation editing machine of text language form (textuallanguage), do not have the function of the equipment of record, label display device annotation, label annotation in text application。Therefore, there is problems in that namely, in order to improve the readability of the text application recorded by text language form, except programmer self use comment out specify mark using program add expressly carry out as program annotation stating and insert except there is no additive method, cause that the working time of establishment program is oversize。
The present invention completes to solve above-mentioned technical problem, its object is to obtain a kind of program creation and support that device and program creation support method, this program creation supports device and program creation to support, and method is by the equipment of record, label display device annotation, label annotation in text application, it is thus possible to suppress the working time of establishment program, and improve the readability of text application。
Solve the technical scheme that technical problem adopts
The program creation of the present invention supports that device is characterised by, including: text application editorial office, text program editing portion uses equipment, label the program making controller perform with text language form record, thus creating text application;Satellite information configuration part, the description of contents about described equipment, label is set by this satellite information configuration part as satellite information;And satellite information storage unit, described satellite information set by described satellite information configuration part is preserved by this satellite information storage unit, described text application editorial office includes: equipment, label extracting part, and this equipment, label extracting part extract record at this equipment, label from described text application;Satellite information extracting part, this satellite information extracting part with reference to the described satellite information set by described satellite information configuration part or the described satellite information being stored in described satellite information storage unit, extract be extracted described equipment, label described satellite information;Display position extracting part, this display position extracting part extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And text satellite information display part, text satellite information display part, at the display lastrow of position in described text application of the described equipment being extracted, label or next line, shows, with the display position of the described equipment extracted by described display position extracting part, label, the described satellite information extracted accordingly。
Invention effect
The program creation of the present invention supports that device is characterised by, including: text application editorial office, text program editing portion uses equipment, label the program making controller perform with text language form record, thus creating text application;Satellite information configuration part, the description of contents about described equipment, label is set by this satellite information configuration part as satellite information;And satellite information storage unit, described satellite information set by described satellite information configuration part is preserved by this satellite information storage unit, described text application editorial office includes: equipment, label extracting part, and this equipment, label extracting part extract record at this equipment, label from described text application;Satellite information extracting part, this satellite information extracting part with reference to the described satellite information set by described satellite information configuration part or the described satellite information being stored in described satellite information storage unit, extract be extracted described equipment, label described satellite information;Display position extracting part, this display position extracting part extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And text satellite information display part, text satellite information display part is at the display lastrow of position in described text application of the described equipment being extracted, label or next line, the described satellite information extracted is shown accordingly with the display position of the described equipment extracted by described display position extracting part, label, therefore, by coming display device annotation, label annotation for record equipment in text application, label, thus can suppress the operating time of program creation, and the readable raising of text application can be sought。
Accompanying drawing explanation
Fig. 1 indicates that program creation involved in the present invention supports the structure of hardware (hardware) structure of device。
Fig. 2 indicates that the program creation involved by embodiments of the present invention 1 supports the block diagram of the structure of device。
Fig. 3 indicates that the program creation involved by embodiments of the present invention 1 supports the flow chart of the handling process of device。
Fig. 4 indicates that the program creation involved by embodiments of the present invention 1 supports the explanation figure of the example of the text application editorial office of device。
Fig. 5 indicates that the program creation involved by embodiments of the present invention 1 supports the flow chart of another handling process of device。
Fig. 6 indicates that the program creation involved by embodiments of the present invention 2 supports the block diagram of the structure of device。
Fig. 7 indicates that the program creation involved by embodiments of the present invention 2 supports the explanation figure of the example of the printing output of device。
Fig. 8 indicates that the program creation involved by embodiments of the present invention 3 supports the block diagram of the structure of device。
Fig. 9 indicates that the program creation involved by embodiments of the present invention 3 supports the flow chart of the handling process of device。
Figure 10 indicates that the program creation involved by embodiments of the present invention 3 supports the explanation figure of the example of the text application editorial office of device。
Figure 11 indicates that the program creation involved by embodiments of the present invention 4 supports the block diagram of the structure of device。
Figure 12 indicates that the program creation involved by embodiments of the present invention 4 supports the flow chart of the handling process of device。
Figure 13 indicates that the program creation involved by embodiments of the present invention 4 supports the explanation figure of the example of the text application editorial office of device。
Figure 14 indicates that the program creation involved by embodiments of the present invention 4 supports the explanation figure of the example of the printing output of device。
Label declaration
1 program creation supports device
2 microprocessors
3 display parts
4 input portions
5 storage units
6 communication units
7 controllers
8 text application preserve file
9 equipment satellite informations preserve file
10 labels and satellite information preserve file
11 text application editorial offices
12 equipment satellite information configuration parts
13 use equipment extracting part
14 use equipment satellite information extracting part
15 use equipment display position extracting part
16 use equipment satellite information omission portion
17 labels and satellite information configuration part
18 text application display parts
19 text satellite information display parts
20 text satellite information insertion sections
21 the output for printing text application preserve file
22 use equipment currency information acquiring section
Detailed description of the invention
Embodiment 1
The present invention is for using equipment, label and creating the program creation support device of the program performed by the controller including input and output terminal with text language form。Fig. 1 represents that program creation involved in the present invention supports hardware (hardware) structure of device 1。Program creation supports that device 1 is such as made up of personal computer (personalcomputer)。As it is shown in figure 1, program creation supports that device 1 includes microprocessor (microprocessor) 2, display part 3, input portion 4, storage unit 5 and communication unit 6。Additionally, as it is shown in figure 1, support device 1 is connected to controller 7 at program creation。Program creation supports that device 1 and controller 7 communicate, thus the program completed is transmitted to controller 7, or the program in being carrying out by controller 7 is monitored (monitoring)。The program making controller 7 action is saved in storage unit 5 as file。Display part 3 is the monitor of the various information showing that program creation supports device 1。Input portion 4 is mouse (mouse), keyboard (keyboard) etc.。That is, programmer uses input portion 4 to input program, and its content displays on display part 3。The program created is transmitted to controller 7 via communication unit 6, and is performed by controller 7。
Fig. 2 represents that the program creation involved by embodiments of the present invention 1 supports the structure (software configuration) of device 1。As in figure 2 it is shown, support to be provided with equipment satellite information configuration part 12 in device 1 at program creation, this equipment satellite information configuration part 12 is for setting equipment annotation (devicecomments) of the description of contents of statement equipment。Set equipment annotation is preserved file 9 as equipment satellite information and preserves by equipment satellite information configuration part 12, and preserves, from equipment satellite information, the equipment annotation that file 9 reading preserves。
Additionally, support to be provided with text application editorial office 11 in device 1 at program creation, text program editing portion 11 uses equipment and creates, with text language form (textuallanguage), the program performed by controller 7。
It is provided with text application display part 18 in text application editorial office 11。Text application editorial office 11 shows the text application in creating on text application display part 18, and based on the input from programmer, it is edited。Preserve additionally, the text application editted is preserved file 8 as text application by text application editorial office 11, and preserve, from text application, the text application that file 8 reading is saved。
Additionally, text application editorial office 11 is as in figure 2 it is shown, be additionally provided with use equipment extracting part 13, use equipment satellite information extracting part 14, use equipment to show position extracting part 15, use equipment satellite information omission portion 16 and text satellite information display part 19。
Use equipment extracting part 13 cross reference file program display portion 18 or text application preserve file 8 and extract the equipment of record in text application。By the equipment input use equipment satellite information extracting part 14 extracted and use equipment display position extracting part 15。
Use equipment satellite information extracting part 14 preserves file 9 with reference to equipment satellite information configuration part 12 or equipment satellite information, extracts and the equipment set by the equipment extracted by use equipment extracting part 13 is annotated。
Use equipment display extracting part 15 cross reference file program display portion, position 18, extracts the display position by the equipment using equipment extracting part 13 to extract。
Based on by use equipment, use equipment satellite information omission portion 16 shows that the equipment that position extracting part 15 extracts shows the next equipment display position in the row that position is identical, the equipment that is calculated as annotates the number of characters that can show。The number of characters of the number of characters that can show calculated with the equipment annotation extracted by use equipment satellite information extracting part 14 is compared by use equipment satellite information omission portion 16。If the number of characters that comparative result is the equipment annotation being extracted is bigger than the number of characters that can show, equipment satellite information omission portion 16 is then used to carry out omitting the process (processing below) of a part of equipment annotation as omission, so that the number of characters of this equipment annotation is in the scope of the number of characters that can show。On the other hand, if the number of characters of the equipment annotation being extracted is below the number of characters that can show, does not then carry out omission process, keep intact。
Information from the character string using equipment satellite information omission portion 16 that text satellite information display part 19 input equipment is annotated and its display position。Text satellite information display part 19 in the ranks shows, in the text application displayed by text application display part 18, the character string that this equipment annotates based on this display position。
For text satellite information display part 19, Fig. 4 is used to be specifically described。As shown in Figure 4 (a), text application is displayed on display part 3 by text application display part 18。In text program, for instance " D124 ", " D123 " of the 3rd row is equipment。Now, as shown in Figure 4 (b), text satellite information display part 19 show these equipment text application row (i.e. the 3rd row) and its next line (i.e. the 4th row) between text satellite information viewing area 30 is in the ranks set, show that at this place the equipment such as " operation result ", " depositing of measurement result " annotates。In addition, the display position that equipment is annotated by text satellite information display part 19 based on the information from the display position using equipment satellite information omission portion 16 is set, so that the front end of the display position of the front end of the display position of each equipment and equipment corresponding with this equipment annotation arranges in the vertical。In the example of Fig. 4 (b), the display position of the front end character " fortune " of the display position of the front end character " D " of equipment " D124 " and corresponding equipment annotation " operation result " arranges in the vertical。Equally, the display position of the front end character " survey " showing position and corresponding equipment annotation " depositing of measurement result " of the front end character " D " of equipment " D123 " arranges in the vertical。
It addition, in Fig. 4 (b), it is shown that the example that the next line display device at the row of display device annotates, but it is not limited to such situation, it is also possible at the lastrow display device annotation of the row of display device。
Fig. 3 represents that the program creation involved by embodiments of the present invention 1 supports the handling process (processingflowchart) of device 1。First, in step sl, whether text application editorial office 11 decision procedure person have input the instruction to all text application display devices annotation。When have input this instruction, proceed to step S3, each row in all of row comprised in text application is carried out the process of step S3~S11。On the other hand, when being not received by this instruction, step S2 is proceeded to。
In step s 2, whether text application editorial office 11 decision procedure person have input the instruction to a line display device annotation comprised in text application。Without receiving this instruction, then return step S1。On the other hand, if receiving this instruction, then this row is carried out the process of step S3~S11。
In step s3, use equipment extracting part 13 cross reference file program display portion 18 or text application to preserve file 8 and extract record equipment in text application。
It follows that in step s 4, use equipment satellite information extracting part 14 to preserve file 9 with reference to equipment satellite information configuration part 12 or equipment satellite information and extract the equipment annotation set by the equipment being extracted in step S3。
Next, in step s 5, use equipment display extracting part 15 cross reference file program display portion, position 18, the equipment that detection is just being extracted in the where of the text application displayed by text application display part 18 in step display S3, and extract this display position。
It follows that in step s 6, equipment satellite information omission portion 16 is used to judge whether have, in the row identical with the row of the equipment extracted in step display S3, the next equipment to show。Namely it is decided that carried out whether a line of the extraction of equipment exists multiple equipment in step s3。If it is determined that result for there being next equipment, then proceed to step S7, without next equipment, then proceed to step S9。
In the step s 7, use equipment satellite information omission portion 16 obtain the display position of the equipment that first extracts with after the difference of the display position of equipment that extracts, and this difference is set as the number of characters to the equipment energy display device annotation first extracted。
It follows that in step s 8, equipment satellite information omission portion 16 is used to be compared by the number of characters of the number of characters that can show obtained in step S7 with the equipment annotation of the equipment first extracted。If the number of characters that comparative result is equipment annotation is below the number of characters that can show, then proceed to step S9, if the number of characters of equipment annotation has exceeded the number of characters that can show, then proceed to step S10。
In step s 9, owing to the number of characters of equipment annotation is below the number of characters that can show, therefore, it is not necessary to the equipment of omission annotation, thus uses equipment satellite information omission portion 16 not carry out omission process, proceed to step S11。
In step slo, owing to the number of characters of equipment annotation has exceeded the number of characters that can show, therefore, use equipment satellite information omission portion 16 carries out omitting the omission of a part of equipment annotation and processes, so that the number of characters of equipment annotation is in the scope of the number of characters that can show, then, step S11 is proceeded to。
It addition, the establishing method of the number of characters for showing, in addition to the method described above, it is also possible to consider other various methods。Such as, owing to the number of characters of equipment is substantially about half-angle 4 character, therefore, there is the method that the number of characters that can show is set to the regular lengths such as half-angle 4 character。Or, also have the number of characters that can show annotated by the number of characters of this equipment the method that display device annotates in the scope of the number of characters of equipment as equipment。But, as mentioned above, the method of the number of characters being set to by the number of characters that can show from the display position of equipment above to the display position of the equipment after going together mutually is the method for the character that can show that the equipment of maximum number of characters annotates, therefore, and use the method in present embodiment。
In addition, for that carry out in step S10, by equipment annotation omit to the number of characters that can show omission process can enumerate following methods etc., these methods include: only retain the number of characters that can show, the method for deletion character hereafter from the front end of the character of equipment annotation;And when being annotated by Chinese character and hiragana set device, only retain Chinese character, the method deleting hiragana。In the present embodiment, it is possible to use either method therein, but for the purpose of simplifying the description, in the following description, illustrate for the method only retaining the number of characters that can show from front end, deleting character hereafter。
In step s 11, text satellite information display part 19 is from the information using equipment annotation and the display position thereof obtained equipment satellite information omission portion 16 receiving step S9 or step S10, and the equipment obtained in the S9 of step display in the ranks or step S10 of the text application displayed by text application display part 18 is annotated。
It addition, text satellite information display part 19 display device annotation when receiving, from programmer, the instruction that equipment annotation is displayed, it is switched to not display device annotation when receiving the instruction of not display device annotation from programmer。It addition, default setting value is not for show。
Fig. 4 represents that the program creation involved by embodiments of the present invention 1 supports an example of the action of the text application editorial office 11 of device 1。Below, it is specifically described in this order。
First, it is generally the case that as shown in Figure 4 (a), show, by the text application display part 18 of text application editorial office 11, the text application and program annotation that programmer oneself states。
(the step S1 of Fig. 3)
To this, programmer displays equipment and annotates this operation。As concrete operational approach, it may be considered that support that the actions menu of device 1 indicates from program creation and equipment annotation is displayed, but in the case, become the process carrying out all of row of whole text application and program documentaion is come display device annotation。
(the step S2 of Fig. 3)
As other method, as shown in Figure 4 (a), showing line number in the front end of each row of the text application displayed by text application display part 18, therefore, programmer clicks (click) this line number etc. with mouse (mouse) and specifies the line number wanting display device to annotate。In the case, only a line of appointed text application is displayed the process of equipment annotation。Below, programmer has carried out the 3rd row of text application is come display device annotate the situation of this operation and illustrate。
(the step S3 of Fig. 3)
Use equipment extracting part 13 cross reference file program display portion 18 or text application preserve file 8 and extract the equipment recorded in the 3rd row of text application。Herein, as equipment, extract " D124 " and " D123 "。
(the step S4 of Fig. 3)
Extract respectively to the equipment annotation set by two equipment " D124 " using equipment extracting part 13 to extract and " D123 " it follows that use equipment satellite information extracting part 14 to preserve file 9 with reference to equipment satellite information configuration part 12 or equipment satellite information。Herein, as shown in Fig. 4 (d), equipment annotation " depositing of operation result " is extracted for equipment " D124 ", equipment annotation " depositing of measurement result " is extracted for equipment " D123 "。
(the step S5 of Fig. 3)
In addition, use equipment display extracting part 15 cross reference file program display portion, position 18 is detected the where in the text application displayed by text application display part 18 and is showing by two equipment " D124 " using equipment extracting part 13 to extract and " D123 ", and extracts this display position。Herein, the display position of " D124 " is the 6th character of half-angle from the front terminal number of this row, and the display position of " D123 " is the 16th character of half-angle from the front terminal number of this row。
(the step S6 of Fig. 3)
Herein, two equipment are extracted in a line, therefore, " depositing of operation result " is annotated about to the equipment set by the equipment " D124 " first extracted, need to carry out the judgement of the restriction of the relevant Display Characters Per Frame of step S8, if it exceeds the number of characters that can show, then the omission carrying out step S10 processes。
(the step S7 of Fig. 3)
First use equipment satellite information omission portion 16 from the display position of equipment " D124 " and the display position of next equipment " D123 " colleague mutually, calculates the number of characters that can show that " D124 " and " D123 " respective equipment annotates。For equipment " D124 ", owing to there is next equipment " D123 ", therefore, respective display position, namely 16 deducting 6, calculating its difference is 10。Using this 10 as the number of characters that can show, but 1 character of half-angle between the initial character of the equipment annotation of the last character annotated preferably in the equipment of equipment above and equipment below, can be necessary to ensure that。Therefore, deduct 1 further from 10, calculate number of characters is half-angle 9 characters that can show。It addition, for " D123 ", owing to being absent from equipment behind, therefore, the number of characters that can show is not limited。
(the step S8 of Fig. 3~S10)
It follows that the equipment number of characters annotated and the number of characters that can show are compared, if the number of characters of equipment annotation is relatively big, then carry out omitting the process of a part of equipment annotation, so that equipment annotation is in the scope of the number of characters that can show。Herein, for equipment " D124 ", 7 characters (being scaled 14 characters with half-angle) that equipment annotation " depositing of operation result " is full-shape, therefore, within being omitted 9 characters (casting out terminal number by the words of full-shape conversion is 4 characters) of half-angle。As simplest method, from front end, only retain 4 characters of full-shape, and delete character hereafter, as " operation result "。It addition, for " D123 ", owing to the number of characters that can show is not limited, therefore, keep intact as " depositing of measurement result "。
(the step S11 of Fig. 3)
Finally, text application editorial office 11 is as shown in Figure 4 (b), by text satellite information display part 19, text satellite information viewing area 30 is set at the next line of the 3rd row of the text application displayed by text application display part 18, for equipment " D124 ", using the 6th character of half-angle from the front end of row as display position, display device annotates " operation result "。This is that original equipment annotation " depositing of operation result " is carried out omission process and shortened。Additionally, for equipment " D123 ", using the 16th character of half-angle from the front end of row as display position, display device annotates " depositing of measurement result "。" depositing of measurement result " is annotated for equipment, owing to process need not be omitted, therefore, equipment annotation is displayed with keeping intact。In addition it is shown that the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed to be arranged on the example of the next line of this row, but it is not limited to this situation, it is also possible to be arranged on the lastrow of this row。
Additionally, in order to clearly difference is the display utilizing text application display part 18 to carry out or the display utilizing text satellite information display part 19 to carry out, such as in figure 4 (b), for the display utilizing text application display part 18 to carry out, front end display line numbering (1,2,3 ...) at each row, for the display utilizing text satellite information display part 19 to carry out, show " D " in the front end of this row, they to be distinguished。
In present embodiment, as shown in Figure 4 (b), it is contemplated that eliminate the situation that the display of the equipment annotation of a part can make programmer to fully understand, it is also possible to as shown in Figure 4 (c), display in the way of not omitting equipment annotation。
As concrete operational approach, it may be considered that support that from program creation the actions menu instruction of device 1 displays in the way of not omitting equipment annotation。As method for distinguishing, also has following method: namely, if by utilizing click line number etc. to specify the line number wanting display device to annotate, then described above, as shown in Figure 4 (b), next line at this row arranges the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed, therefore, in this condition, further with click text satellite information viewing area, thus as shown in Figure 4 (c), it is intended that in the way of not omitting equipment annotation, show that all of equipment annotates。When having such instruction by either method, text satellite information display part 19 is as shown in Figure 4 (c), elliptical equipment annotation will do not carried out carry out showing with turning back (in figure 4 (b) in multirow, the equipment of " D124 " is annotated " depositing of operation result " and carries out part omission, thus showing " operation result ", but in Fig. 4 (c), all show equipment annotation " depositing of operation result " of " D124 ")
Fig. 5 illustrates the handling process in this situation。In Figure 5, it is different in that with Fig. 3, Fig. 5 eliminates the process of the step S6~S10 of Fig. 3, and is provided with step S1A, S2A, S3A, S4A, S5A, S11A to replace the step S1 of Fig. 3, S2, S3, S4, S5, S11。
First, in step S1A, text application editorial office 11 determines whether it has received the instruction that all of text application is not omitted display device annotation。If receiving this instruction, then proceed to step S3A, each row in all row comprised in text application is carried out the process of step S3A~S5A and S11A。On the other hand, when being not received by this instruction, step S2A is proceeded to。
In step S2A, text application editorial office 11 determines whether it has received comprise in text application the 1 capable instruction not omitting display device annotation。Without receiving this instruction, then return step S1A。On the other hand, if receiving this instruction, then this row is carried out the process of step S3A~S5A and S11A。
The statement of text application also uses variable except equipment, therefore, uses equipment extracting part 13 cross reference file program display portion 18 or text application in step S3A to preserve file 8 and come extracting device and variable。
It follows that in step S4A, use equipment satellite information extracting part 14 to preserve file 9 with reference to equipment satellite information configuration part 12 or equipment satellite information and extract the equipment annotation set by the equipment being extracted in step S3A。It addition, the process of step 4A is identical with the step 4 of Fig. 3。
It follows that in step S5A, use equipment display position extracting part 15 comes extracting device and the respective display position of variable with reference to the text application displayed by text application display part 18。Herein, as shown in Figure 4 (c), the result extracted is the display position of " D124 " is the 6th character of half-angle from the front terminal number of row, the display position of " D123 " is the 16th character of half-angle from the front terminal number of row, in addition, the display position of variable " sArg " is the 25th character of half-angle from the front terminal number of row。Herein, it is not necessary that utilize use equipment satellite information omission portion 16 that equipment annotation is omitted (namely, it does not have the step suitable with the step S6 of Fig. 3~S10)。
Next, in step S11A, text satellite information display part 19 arranges text satellite information viewing area 30, in text satellite information viewing area 30, for equipment " D124 ", using the 6th character of half-angle from the front end of row as display position, display device annotates " depositing of operation result "。But, now, in order between the next equipment i.e. display position of " D123 " the empty standard width of a room in an old-style house every, display device annotation " depositing of operation result " is carried out in the mode that 1 character (that is, the 15th character of half-angle from the front end of the row) place of the half-angle before the display position of " D123 " carries out turning back。Specifically, as shown in Figure 4 (c), only superincumbent to " operation result " row will display, " deposit " part is turned back, display in the underface of the display position of " operation result "。Additionally, for equipment " D123 ", using the 16th character of half-angle from the front end of row as display position, display device annotates " depositing of measurement result "。Now, same in order to the standard width of a room in an old-style house empty between the display position of next variable " sArg " every, display device annotation " depositing of measurement result " is carried out in the mode that 1 character (that is, the 24th character of half-angle from the front end of the row) place of the half-angle before the display position of " sArg " carries out turning back。Specifically, as shown in Figure 4 (c), only superincumbent to " measurement result " row will display, " deposit " part is turned back, display in the underface of the display position of " measurement result "。For variable " sArg ", owing to not having equipment to annotate, so there is no any display
In present embodiment 1, as mentioned above, even if when utilizing text language form to create to include the program of controller 7 of input and output terminal, after the display position of the equipment that also can use in text application (or before) show the equipment annotation set to describe the content of equipment in detail, can save programmer oneself uses comment out to specify mark adding of program expressly to be carried out, as annotation, the trouble that statement is inserted, and can ensure that the readability of the program of text language form。
Embodiment 2
In the present embodiment, to generation, by satellite information, the text inserted in the ranks illustrates to replace the embodiment arranging the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed。Further, since the program creation in present embodiment supports that the hardware configuration of device 1 is identical with the structure shown in above-mentioned Fig. 1, therefore, omit the description herein。
Fig. 6 represents that the program creation involved by embodiments of the present invention 2 supports the structure (software configuration) of device 1。It is different in that with the structure of the embodiment 1 shown in Fig. 2, in the structure of Fig. 6, it does not have the text satellite information display part 19 of Fig. 2 is set, but text satellite information insertion section 20 is set, and the output for printing text application preservation file 21 is exported。
The handling process of embodiment 2 is essentially identical with the handling process of the embodiment 1 shown in Fig. 3 or Fig. 5, therefore, with reference to Fig. 3 or Fig. 5。It is different in that, in step S11 or S11A, it does not have text satellite information viewing area 30 is set, but as shown in Figure 7 (b) shows, at the next line of applicable row, inserts equipment annotation as program annotation。Therefore, in the present embodiment, the content of the step S11 and S11A of the handling process of Fig. 3 and Fig. 5 is so replaced。That is, in present embodiment 2, when exporting the output for printing text application and preserving file 21, the equipment extracted annotation is inserted into as program annotation in the next line (or lastrow) of row of the display position extracted in step S5 in step S4。Now, when the number of characters of equipment annotation exceedes the number of characters that can show, according to the instruction from programmer, the omission carrying out equipment annotation processes and inserts, or equipment annotation is turned back and inserts in multirow。Fig. 7 (b) is by turning back the example of situation of display。Other actions are identical with embodiment 1, and therefore, the description thereof will be omitted herein。
Fig. 7 represents that the program creation involved by present embodiment 2 supports the example of the printing output of device 1。As shown in the text application editorial office 11 of Fig. 7 (a), comment out is used to specify mark i.e. " (* " and " *) " expressly to have carried out stating and being inserted in text application as program annotation by adding of program by programmer oneself。Comment out specifies mark to have two kinds, and namely the character between " (* " and " *) " is not program but remarks additionally;And " // " after to row end character be supplementary notes。In Fig. 7 (a), Fig. 7 (b), it is shown that use comment out to specify mark " (* " and " *) " to carry out representation program annotation, use comment out specify mark " // " insert and example that outut device annotates。
In present embodiment 2, as mentioned above, even if when utilizing text language form to create to include the program of controller 7 of input and output terminal, also can generate after the display position of the equipment used in text application (or before), the equipment annotation set to describe the content of equipment in detail is inserted the program file in text application as program annotation, and by being carried out the output for printing or displaying with method for distinguishing, can save programmer oneself uses comment out to specify mark that expressly as program annotation, adding of program is carried out the trouble stating and insert, and can ensure that the readability of the program of text language form。
Additionally, in the explanation of above-mentioned embodiment 2, to the text satellite information display part 19 being not provided with Fig. 2 in the structure of Fig. 6 but be provided with text satellite information insertion section 20 and the output for printing text application is preserved the example that exports of file 21 be illustrated, but it is not limited to this situation, the text satellite information display part 19 of Fig. 2 can be also provided with in the structure of Fig. 6, become structure present embodiment 2 and embodiment 1 being combined。
Embodiment 3
In the present embodiment, the embodiment of the currency of display device in the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed is illustrated。Further, since the program creation in present embodiment supports that the hardware configuration of device 1 is identical with the structure shown in above-mentioned Fig. 1, therefore, omit the description herein。
Fig. 8 represents that the program creation involved by embodiments of the present invention 3 supports the structure (software configuration) of device 1。It is different in that with the structure of the embodiment 1 shown in Fig. 2, in the structure of Fig. 8, it is not provided with the use equipment satellite information extracting part 14 of Fig. 2 and uses equipment satellite information omission portion 16, but it is set using equipment currency information acquiring section 22, thus the currency of this equipment obtained in executory controller 7, and it is displayed in the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed。It addition, in the structure of Fig. 8, eliminate the use equipment satellite information extracting part 14 of Fig. 2, therefore, also without arranging equipment satellite information configuration part 12 and equipment satellite information preservation file 9。
Fig. 9 represents that the program creation involved by embodiments of the present invention 3 supports the handling process of device。The equipment that Fig. 9 is the handling process of the situation by the Fig. 5 shown in embodiment 1 annotates the handling process after (and variable) is replaced into equipment currency。
First, in step S1B, text application editorial office 11 determines whether to receive the instruction to whole text application display device currency from programmer。If receiving this instruction, then proceed to step S3B, each row in all of row comprised in text application is carried out the process of step S3B~S5B and S11B。On the other hand, when being not received by this instruction, step S2B is proceeded to。
In step S2B, text application editorial office 11 determines whether to receive the instruction to the 1 row display device currency comprised text application from programmer。Without receiving this instruction, then return step S1B。On the other hand, if receiving this instruction, then this row is carried out the process of step S3B~S5B and S11B。
In step S3B, use equipment extracting part 13 cross reference file program display portion 18 or text application to preserve file 8 and carry out extracting device。In the example of Figure 10, extract equipment " D124 " and equipment " D123 "。
It follows that in step S4B, use equipment currency information acquiring section 22 with reference to controller 7 currency of equipment that is extracted from controller 7 extraction step S3B。In the example of Figure 10, for equipment " D124 ", obtain currency " 789 ", for equipment " D123 ", obtain currency " 654 "。
It follows that in step S5B, use equipment display position extracting part 15 comes the display position of the equipment being extracted in extraction step S3B with reference to the text application displayed by text application display part 18。Herein, as shown in Figure 10 (b), the result extracted is the display position of " D124 " is the 6th character of half-angle from the front terminal number of row, and the display position of " D123 " is the 16th character of half-angle from the front terminal number of row。Herein, it is not necessary that utilize use equipment satellite information omission portion 16 that equipment annotation is omitted (namely, it does not have the step suitable with the step S6 of Fig. 3~S10)。
Next, in step S11B, as shown in Figure 10 (b), text satellite information display part 19 arranges text satellite information viewing area 30, in text satellite information viewing area 30, for equipment " D124 ", using the 6th character of half-angle from the front end of row as display position, show currency " 789 "。Additionally, for equipment " D123 ", using the 16th character of half-angle from the front end of row as display position, show currency " 654 "。
Figure 10 represents that the program creation involved by embodiments of the present invention 3 supports the example of the text application editorial office 11 of device 1。Herein, as mentioned above, it is shown that the currency of equipment " D124 " is the situation that currency is " 456 " of " 789 ", equipment " D123 "。As shown in Figure 10 (a) shows, when showing text application, when receiving the instruction of currency of display device from programmer, as shown in Figure 10 (b), the equipment " D124 " being extracted in step S3B and the next line of the row of " D123 " arrange text satellite information viewing area 30, show the currency " 789 " of each equipment, " 654 " respectively。
It addition, in Figure 10 (b), only show equipment currency but it also may as shown in Figure 10 (c), two text satellite information viewing areas 30 are set, equipment currency and equipment are annotated both and displays simultaneously。
Additionally, it is equipment annotation or equipment currency to clearly distinguish the display content of the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed, such as, in the example of Figure 10 (c), when showing that content is equipment annotation, the front end of the row in text satellite information viewing area 30 is (namely, the part of display line numbering in text application display part 18) display " D ", when equipment currency, display represents " M " that carry out monitoring, thus distinguishes。
In present embodiment 3, as mentioned above, even if when utilizing text language form to create to include the program of controller 7 of input and output terminal, the currency of (or before) display device after the display position of the equipment that also can use in text application, can ensure that the program of the text language form readability when monitoring。
Embodiment 4
In embodiment 4, the display packing of the label satellite information in the text programming using label is illustrated。Further, since the program creation in present embodiment supports that the hardware configuration of device 1 is identical with the structure shown in above-mentioned Fig. 1, therefore, omit the description herein。
Figure 11 represents that the program creation involved by embodiments of the present invention 4 supports the structure (software configuration) of device 1。The structure of the structure of Figure 11 and the embodiment 1 shown in Fig. 2 is different in that, in fig. 11, with the addition of label and satellite information configuration part 17 and label and satellite information preserves file 10。Other structure is substantially identical with the structure of Fig. 2。
As shown in figure 11, support device 1 is provided with the equipment satellite information configuration part 12 for equipment set device is annotated at program creation。Preserve in file 9 additionally, equipment annotation is stored in equipment satellite information, also can read from which。
Additionally, support the label and the satellite information configuration part 17 that are provided with in device 1 for label being set label annotation and distribution object equipment at program creation。Set label, distribution object equipment are stored in label and satellite information preservation file 10, also can read from which。
And, support device 1 is provided with text application editorial office 11 at program creation, can be shown by text application display part 18 or edit text application, carry out preserving or reading additionally, text program can be preserved file 8 as text application。
On the basis of these structures, present embodiment is additionally provided with use equipment extracting part 13, uses equipment satellite information extracting part 14, use equipment to show position extracting part 15, use equipment satellite information omission portion 16 and text satellite information display part 19。These structures are essentially identical with the structure of setting in embodiment 1, but are different in that each component not only corresponding device also corresponding label。
Figure 12 represents that the program creation involved by embodiments of the present invention 4 supports the handling process of device 1。Program creation involved by embodiment 4 supports with the program creation involved by embodiment 1 shown in Fig. 3, the handling process of device 1 supports that the handling process of device 1 is essentially identical, and " equipment " of Fig. 3 has been replaced as " label "。
That is, first, in step S1C, text application editorial office 11 determines whether it has received the instruction to all of text application display label satellite information。If receiving this instruction, then proceed to step S3C, each row in all of row comprised in text application is carried out the process of step S3C~S11C。On the other hand, when being not received by this instruction, step S2C is proceeded to。
In step S2C, text application editorial office 11 determines whether it has received the instruction to the 1 row display label satellite information comprised in text application。Without receiving this instruction, then return step S1C。On the other hand, if receiving this instruction, then this row is carried out the process of step S3C~S11C。
In step S3C, equipment extracting part 13 cross reference file program display portion 18 or text application is used to preserve the process of the label that file 8 carries out extracting record in text application。
In step S4C, use equipment satellite information extracting part 14 to preserve file 10 with reference to label and satellite information configuration part 17 or label and satellite information and extract the label set by the label extracted in step S3C is annotated。
In step S5C, use equipment display position extracting part 15 is shown in the where of text application, i.e. its display position with reference to the label that the text application displayed by text application display part 18 to be extracted in extraction step S3C。
In step S6C, equipment satellite information omission portion 16 is used to judge whether have, in the row identical with the display position of the label being extracted in step S5C, next label to show。If there being next label, then proceeding to step S7C, without next equipment, then proceeding to step S9C。
In step S7C, use equipment satellite information omission portion 16 obtain the display position of the label that first extracts with after the difference of the display position of label that extracts, and using the number of characters that can show that this difference annotates as the label of the label first extracted。
It follows that in step S8C, use equipment satellite information omission portion 16 to be compared by the number of characters of the number of characters that can show obtained in step S7C with the label annotation of the label first extracted。If the number of characters that comparative result is label annotation is below the number of characters that can show, then proceed to step S9C, if the number of characters of label annotation exceedes the number of characters that can show, then proceed to step S10C。
In step S9C, owing to the number of characters of label annotation is below the number of characters that can show, therefore, it is not necessary to omit label annotation, uses equipment satellite information omission portion 16 not carry out omission process, proceed to step S11C。
In step S10C, owing to the number of characters of label annotation has exceeded the number of characters that can show, therefore, use equipment satellite information omission portion 16 carries out omitting the omission of a part of label annotation and processes, so that the number of characters of label annotation is in the scope of the number of characters that can show, then, step S11C is proceeded to。
In step S11C, text satellite information display part 19 receives the information of label annotation and the display position thereof obtained among step S9C or step S10C from use equipment satellite information omission portion 16, in the text application displayed by text application display part 18, text satellite information viewing area 30 is in the ranks set, as shown in Figure 13 (b), it is shown in step S9C or step S10C the label annotation obtained。
It addition, as shown in Figure 13 (c), it is also possible to two text satellite information viewing areas 30 are set, the distribution object equipment of label annotation and label is displayed simultaneously。
Additionally, the method that the omission of the label annotation of step S10C processes is essentially identical with the method that the omission of the equipment of the step S10 of Fig. 3 annotation processes。Namely, the method that can consider the number of characters that can show is set as regular length, or the method for the number of characters that can show that the number of characters identical with the number of characters of this label annotated as label, but it is set to the number of characters that can show show that the method for position number of characters to the next label display position of same a line can show the number of characters of maximum label annotations from this label, therefore, the example using the method is illustrated by present embodiment。
It addition, text satellite information display part 19 receive annotate this operation from the display label of programmer time display label annotation, receive annotate this operation from the not display label of programmer time stop display。Default setting value is not for show。
Figure 13 represents that the program creation involved by embodiments of the present invention 4 supports the example of the text application editorial office 11 of device 1。Hereinafter, it is specifically described in this order。Hereinafter, illustrate that there is the 3rd row display label to text application annotates the situation of this operation。
First, time usual, as shown in Figure 13 (a), show, by the text application display part 18 of text application editorial office 11, the text application and program annotation that programmer oneself states。
(step S1C)
To this, programmer displays label and annotates this operation。As concrete operational approach, it may be considered that support that from program creation the actions menu of device 1 indicates display label to annotate, but in the case, become and carry out the process that all of row display label to whole text application and program documentaion annotates。
(step S2C)
As other method, as shown in Figure 13 (a), owing to the front end of each row in the text application displayed by text application display part 18 shows line number, therefore, programmer is by specifying, with operations such as this line numbers of click, the line number wanting display label to annotate。In the case, only a line of appointed text application is displayed the process of label annotation。Hereinafter, illustrate to have, by programmer, the 3rd row display label of text application is annotated this situation about operating。
(step S3C)
Use equipment extracting part 13 is while preserving the label set by file 10 with reference to by label and satellite information configuration part 17 or label and satellite information, cross reference file program display portion 18 or text application preserve file 8 on one side, carry out the process of the label extracting record in text application the 3rd row。Herein, as shown in Figure 13 (a), " Ravel " and " Label " is extracted。
(step S4C)
Extract it follows that use equipment satellite information extracting part 14 to preserve file 10 with reference to label and satellite information configuration part 17 or label and satellite information the label set by the label being extracted in step S1C is annotated。Herein, as shown in Figure 13 (d), label " Ravel " is extracted label annotation " voltage correction ", label " Label " is extracted label annotation " voltage determination "。
(step S5C)
Additionally, use equipment display position extracting part 15 extracts, the label being extracted in step S3C is displayed in the where of the text application displayed by text application display part 18, namely it shows position。Herein, the result extracted is the display position of " Ravel " is the 6th character of half-angle from the front terminal number of row, and the display position of " Label " is the 16th character of half-angle from the front terminal number of row。
Herein, owing to extracting two labels at 1 row, therefore, the restriction of Display Characters Per Frame is confirmed for the label set by the label " Ravel " first extracted is annotated " voltage correction ", if it is necessary, then carry out omission process。
(step S7C)
First use equipment satellite information omission portion 16 from the display position of the label " Ravel " being extracted among step S5C and the display position of next label " Label " in colleague mutually, calculates the number of characters that can show that the label of " Ravel " annotates。" Ravel " is followed by " Label ", therefore, deducts 6 from 16, calculating its difference is 10, but is necessary to ensure that 1 character of the half-angle at the interval opened between next label " Label " for sky, therefore, deduct 1 from 10 again, obtain number of characters is half-angle 9 characters that can show。It addition, for " Label ", be absent from label behind, therefore, the number of characters that can show is not limited。
(step S9C, S10C)
Then, if the number of characters of label annotation is relatively big, then carry out label annotation is omitted the process to the number of characters that can show。Herein, for " Ravel ", 4 characters (half-angle is 8 characters) that label annotation " voltage correction " is full-shape, therefore, it is not necessary to omitted 9 characters (full-shape is 4 characters after casting out terminal number) of half-angle, keep intact。It addition, for " Label ", the number of characters that can show is not limited, therefore, keep intact as " voltage determination "。
(step S11C)
Finally, as shown in Figure 13 (b), text application editorial office 11 arranges, at the next line of the 3rd row displayed by text application display part 18, the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed, for " Ravel ", using the 6th character of half-angle from the front terminal number of row as display position, display label annotation " voltage correction ", for " Label ", using the 16th character of half-angle from the front end of row as display position, display label annotates " voltage determination "。
Furthermore, it is contemplated that the not comprehensive situation of display that the label after being omitted process is annotated, identical with embodiment 1, also can include the function not carry out displaying in the way of omission process to label annotation。
When the program using label to create, except display label annotates, for the distribution object equipment of label, owing to being label satellite information, therefore, also can include its function displayed。
As concrete operational approach, it may be considered that support that from program creation the actions menu of device 1 indicates the method that the satellite information involved by the distribution object of label is displayed。Or, also there is following method: namely, if by utilizing click line number etc. to specify the line number wanting display label to annotate, the text satellite information viewing area 30 utilizing text satellite information display part 19 to be formed then is set at the next line of this row, therefore, further with click text satellite information viewing area, thus replace the instruction etc. that the distribution object information of label is displayed。When there being such instruction, text satellite information display part 19 as shown in Figure 13 (c), information involved by the distribution object of display label and equipment and equipment annotation。
The handling process of this situation becomes the flow process identical with above-mentioned Figure 12。It is different in that with explanation above, in step S4C, not only extracts label annotation, also extract the address of the distribution object equipment of label, in step S11C, except display label annotates, also show distribution object equipment。
That is, first, extract label (step S3C, it is identical with step S3), it follows that the equipment of the distribution object of reference label and equipment annotation (step S4C), extract the display position (step S5C, it is identical with step S5) of label。Then, calculate the number of characters (step S7C) that can show, the equipment set by the equipment of the distribution object of label is annotated carry out omission process as required。It addition, for " Ravel ", due to the label " Label " extracted after existing, therefore, 9 characters of half-angle become the restriction of the number of characters that can show, therefore, economize slightly " operation result "。On the other hand, for " Label ", due to not restriction, therefore, it is not necessary to omit。Finally, text satellite information display part 19 arranges text satellite information viewing area 30, for label " Ravel ", show the distribution object equipment " D124 " of this label and carried out equipment annotation " operation result " that omission processes, for label " Label ", the equipment " D123 " showing the distribution object of this label and the equipment that omission process need not be carried out annotation " depositing of measurement result "。
Additionally, text satellite information display part 19 is in order to showing that content is that label annotates or the distribution object equipment of label shows clearly, for instance, in the example of Figure 13 (c), illustrate example below, that is, when showing that content is label annotation, the front end of the row in text satellite information viewing area 30 is (namely, the part of display line numbering in text application display part 18) display " L ", when the distribution object equipment of label, show " D ", thus distinguish。
In present embodiment 4, as mentioned above, even if when utilizing text language form to create the program of controller including input and output terminal, the label annotation that the display position display of the label that also can use in text application sets to describe the content of label in detail, equipment as the distribution object of label, and equipment annotation is such, satellite information involved by label, can save programmer oneself uses comment out to specify mark that expressly as annotation, adding of program is carried out the trouble stating and insert, and, can ensure that the readability of the program of text language form。
It addition, in present embodiment 4, for additionally generating when the output for printing text application in the ranks inserting label satellite information of text application preserves file 21 and carries out exporting, also can be identical with embodiment 2 be achieved。
Figure 14 represents that the program creation involved by present embodiment 4 supports the example of the printing output of device 1。Program creation herein supports that the structure of device 1 is to be provided with the text satellite information insertion section 20 of Fig. 6 in the structure of above-mentioned Figure 11 further and the output for printing text application preserves file 21 and constitutes。The action of file 21 is preserved for text satellite information insertion section 20 and the output for printing text application, identical with the explanation in embodiment 2, therefore, omit the description herein。
Additionally, in the example of Figure 14 (b), it is shown that use comment out to specify mark // using in label satellite information (label annotation) and equipment satellite information (equipment of distribution object and equipment annotation as label) both insertion the output for printing text application preservation files 21 and carry out the example exported。
According to present embodiment 4, as mentioned above, even if when utilizing text language form to create to include the program of controller of input and output terminal, also the label annotation that after generating the display position of the label used in text application, (or before) will set to describe the content of label in detail, the output for printing text application that the distribution object equipment satellite information of label carries out inserting as program annotation preserves file 21, and by it being carried out the output for printing or displaying with method for distinguishing, can save programmer oneself uses comment out to specify mark that expressly as program annotation, adding of program is carried out the trouble stating and insert, and can ensure that the readability of the program of text language form。
Additionally, in present embodiment 4, during for the currency of display label, can be achieved identically with the situation of the equipment of embodiment 3。
It addition, when mixing uses the text application of label and equipment, exist: (1) only extracts the method that equipment carrys out display device satellite information;(2) only extract label come display label satellite information (label annotation, label distribution object equipment satellite information) method;(3) extract label and equipment comes display label satellite information and the method for equipment satellite information。(1) method is identical with the explanation in embodiment 1, and the method for (2) is identical with the explanation in embodiment 4, if but they are combined, then the method that can realize (3)。
Thus, above-mentioned embodiment 1~4 both can be the embodiment being individually separated but it also may be by the structure of they combination in any, in the case, certainly, all embodiments combined all can obtain the effect same with the various effects shown in embodiment 1~4。

Claims (9)

1. a program creation supports device, it is characterised in that including:
Text application editorial office, text program editing portion uses equipment, label the program making controller perform with text language form record, thus creating text application;
Satellite information configuration part, the description of contents about described equipment, label is set by this satellite information configuration part as satellite information;And
Satellite information storage unit, the described satellite information set by described satellite information configuration part is preserved by this satellite information storage unit,
Described text application editorial office includes:
Equipment, label extracting part, this equipment, label extracting part extract record equipment in text program, label from described text application;
Satellite information extracting part, this satellite information extracting part with reference to the described satellite information set by described satellite information configuration part or the described satellite information being stored in described satellite information storage unit, extract be extracted described equipment, label described satellite information;
Display position extracting part, this display position extracting part extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And
Text satellite information display part, text satellite information display part, at the display lastrow of position in described text application of the described equipment being extracted, label or next line, shows, with the display position of the described equipment extracted by described display position extracting part, label, the described satellite information extracted accordingly。
2. program creation as claimed in claim 1 supports device, it is characterised in that
Described text application editorial office also includes showing character calculating part, 1 row extracts multiple equipment, label, this can show character calculating part from the equipment first extracted, label display position with after extract equipment, label the difference of display position, calculate the number of characters that the equipment first extracted, label can be shown satellite information
Described text satellite information display part based on the described display position extracted, described row upper several row or under several row described can the number of characters of display be turned back the described satellite information that display extracts with what calculate。
3. program creation as claimed in claim 1 supports device, it is characterised in that
Described text application editorial office also includes satellite information omission portion, 1 row extracts multiple equipment, label, this satellite information omission portion from the equipment first extracted, label display position with after extract equipment, label the difference of display position, calculate the number of characters that the equipment first extracted, label can be shown satellite information, and carry out a part for the described satellite information extracted is omitted so that its omission being in the scope of the number of characters that can show processes
Described text satellite information display part, at the lastrow of described row or next line, shows based on the described display position extracted and have passed through the described satellite information that omission processes。
4. program creation supports device as claimed any one in claims 1 to 3, it is characterised in that
Described text application editorial office also include obtaining from described controller be extracted described equipment, currency information involved by label currency information acquiring section,
Described text satellite information display part, at the display lastrow of position in described text application of the described equipment being extracted, label or next line, shows the described currency information of acquirement based on the described display position extracted。
5. program creation supports device as claimed any one in claims 1 to 3, it is characterised in that
Described text application editorial office also includes text satellite information insertion section, text satellite information insertion section is at the display lastrow of position in described text application of the described equipment being extracted, label or next line, accordingly the described satellite information extracted is inserted in described text application as program annotation with the display position of the described equipment extracted by described display position extracting part, label, and the described text application after inserting is exported。
6. a program creation supports device, it is characterised in that including:
Text application editorial office, text program editing portion uses equipment, label and records the program making controller perform with text language form, thus creating text application;
Satellite information configuration part, this satellite information configuration part sets the description of contents about described equipment, label;And
Satellite information storage unit, the described satellite information set by described satellite information configuration part is preserved by this satellite information storage unit,
Described text application editorial office includes:
Equipment, label extracting part, this equipment, label extracting part extract record equipment text program, label from described text application;
Satellite information extracting part, this satellite information extracting part with reference to the described satellite information set by described satellite information configuration part or the described satellite information being stored in described satellite information storage unit, extracts the described equipment, the satellite information involved by label that are extracted;
Display position extracting part, this display position extracting part extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And
Text satellite information insertion section, text satellite information insertion section is at the display lastrow of position in described text application of the described equipment being extracted, label or next line, accordingly the described satellite information extracted is inserted in described text application as program annotation with the display position of the described equipment extracted by described display position extracting part, label, and the described text application after inserting is exported。
7. program creation as claimed in claim 6 supports device, it is characterised in that
Described text application editorial office also include obtaining from described controller be extracted described equipment, currency information involved by label currency information acquiring section,
Described text satellite information insertion section is at the display lastrow of position in described text application of the described equipment being extracted, label or next line, based on the described display position extracted, the described currency information obtained is inserted as program annotation, and the described text application after inserting is exported。
8. a program creation supports method, it is characterised in that including:
Text application edit step, in text program editing step, use equipment, label also make, with text language form record, the program that controller performs, thus creating text application;
Satellite information setting procedure, in this satellite information setting procedure, is set the description of contents about described equipment, label as satellite information;
Satellite information preserves step, preserves in step in this satellite information, described satellite information set in described satellite information setting procedure is preserved;
Equipment, label extraction step, in this equipment, label extraction step, extract record equipment text program, label from described text application;
Satellite information extraction step, in this satellite information extraction step, with reference to described satellite information set in described satellite information setting procedure or preserve the described satellite information being saved in step in described satellite information, extract be extracted described equipment, label described satellite information;
Display position extraction step, in this display position extraction step, extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And
Text satellite information step display, in text satellite information step display, at the display lastrow of position in described text application of the described equipment being extracted, label or next line, show, with the display position of the described equipment extracted by described display position extraction step, label, the described satellite information extracted accordingly。
9. a program creation supports method, it is characterised in that including:
Text application edit step, in text program editing step, use equipment, label also make, with text language form record, the program that controller performs, thus creating text application;
Satellite information setting procedure, in this satellite information setting procedure, sets the description of contents about described equipment, label;
Satellite information preserves step, preserves in step in this satellite information, described satellite information set in described satellite information setting procedure is preserved;
Equipment, label extraction step, in this equipment, label extraction step, extract record equipment in text program, label from described text application;
Satellite information extraction step, in this satellite information extraction step, with reference to described satellite information set in described satellite information setting procedure or preserve the described satellite information preserved in step in described satellite information, extract the described equipment, the satellite information involved by label that are extracted;
Display position extraction step, in this display position extraction step, extracts the described equipment, the label display position in described text application that are extracted with reference to described text application;And
Text satellite information inserting step, in text satellite information inserting step, at the display lastrow of position in described text application of the described equipment being extracted, label or next line, accordingly the described satellite information extracted is inserted in described text application as program annotation with the display position of the described equipment extracted by described display position extraction step, label, and the described text application after inserting is exported。
CN201210529437.5A 2012-04-03 2012-12-10 Program creation supports that device and program creation support method Expired - Fee Related CN103365649B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-084500 2012-04-03
JP2012084500A JP5490170B2 (en) 2012-04-03 2012-04-03 Program creation support apparatus and program creation support method

Publications (2)

Publication Number Publication Date
CN103365649A CN103365649A (en) 2013-10-23
CN103365649B true CN103365649B (en) 2016-06-22

Family

ID=49367089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210529437.5A Expired - Fee Related CN103365649B (en) 2012-04-03 2012-12-10 Program creation supports that device and program creation support method

Country Status (3)

Country Link
JP (1) JP5490170B2 (en)
KR (1) KR101473530B1 (en)
CN (1) CN103365649B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6079817B2 (en) * 2015-04-21 2017-02-15 株式会社安川電機 Ladder program creation device, computer program, and ladder program creation method
JP6394516B2 (en) * 2015-07-01 2018-09-26 株式会社安川電機 Development support program, recording medium, development support method, and development support apparatus
CN108804002B (en) * 2018-04-25 2022-03-08 广州视源电子科技股份有限公司 Text annotation method and device for interactive intelligent equipment
JP7466088B2 (en) 2019-10-28 2024-04-12 パナソニックIpマネジメント株式会社 Behavior Prediction System

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101116054A (en) * 2005-02-03 2008-01-30 三菱电机株式会社 Program code generation support device and method, program execution device and method, program code compression device and method, program for the same
CN101122854A (en) * 2007-09-13 2008-02-13 上海交通大学 Structured code automatic configuration method and device
CN101515281A (en) * 2008-02-22 2009-08-26 株式会社Ntt都科摩 Video editing apparatus, terminal device and ugi program transmission method
JP2010020680A (en) * 2008-07-14 2010-01-28 Mitsubishi Electric Corp Information processing apparatus and program
JP2010033389A (en) * 2008-07-30 2010-02-12 Yokogawa Electric Corp Ladder program development support device, ladder program development support method and ladder program development support program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4001286B2 (en) * 2003-06-23 2007-10-31 インターナショナル・ビジネス・マシーンズ・コーポレーション Program maintenance support apparatus, program maintenance support method, and program
JP5045372B2 (en) 2007-10-30 2012-10-10 横河電機株式会社 Ladder program development support device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101116054A (en) * 2005-02-03 2008-01-30 三菱电机株式会社 Program code generation support device and method, program execution device and method, program code compression device and method, program for the same
CN101122854A (en) * 2007-09-13 2008-02-13 上海交通大学 Structured code automatic configuration method and device
CN101515281A (en) * 2008-02-22 2009-08-26 株式会社Ntt都科摩 Video editing apparatus, terminal device and ugi program transmission method
JP2010020680A (en) * 2008-07-14 2010-01-28 Mitsubishi Electric Corp Information processing apparatus and program
JP2010033389A (en) * 2008-07-30 2010-02-12 Yokogawa Electric Corp Ladder program development support device, ladder program development support method and ladder program development support program

Also Published As

Publication number Publication date
JP2013214218A (en) 2013-10-17
JP5490170B2 (en) 2014-05-14
KR20130112676A (en) 2013-10-14
CN103365649A (en) 2013-10-23
KR101473530B1 (en) 2014-12-16

Similar Documents

Publication Publication Date Title
CN104267947B (en) A kind of editor's method of pop-up picture and pop-up picture editor's device
CN103365649B (en) Program creation supports that device and program creation support method
CN107885499A (en) A kind of interface document generation method and terminal device
CN111259644B (en) Rich text processing method, editor, equipment and storage medium
US20130047072A1 (en) Progressive presentation of document markup
CN105786788B (en) A kind of method and apparatus using WORD Program Generating lists
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN105045583B (en) A kind of IETM failure classes data module composition apparatus and its creative method based on visible process
CN109710686A (en) The analysis system of visualization building chart
CN101196963B (en) Indexing system and method of generic chemical structure
CN107179910A (en) The logic configuration method that a kind of online editing comes into force immediately
CN104298705A (en) Converting method of relational data and unstructured data
CN103064661A (en) Computer monitoring configuration screen extensible makeup language (XML) descriptor system and method
CN107122185A (en) One kind shows method for the visualization of distribution network parameters category information
CN107423270B (en) Method for realizing real-time mutual conversion between on-line flow chart and code
CN102067117A (en) Method for displaying and operating table
EP1494150A3 (en) Engineering drawing data extraction
CN103941997A (en) Sheet editing method and device
CN103593188A (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN105718434A (en) Natural language formula editing method and system
CN104391831A (en) Method and system for commenting file contents
JP4902567B2 (en) Work procedure manual creation system and work procedure manual creation program
CN109933766A (en) Document generating method, device and storage medium
Stoiber et al. Feature unweaving: Refactoring software requirements specifications into software product lines
CN106844321B (en) Method for realizing medical expression by electronic medical record editor

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160622

Termination date: 20211210

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