Sequence program editing system
Abstract
PURPOSE:To simplify the input of a ladder program and to prevent an input error by displaying a conditional instruction decided by an input instruction or the symbol of an instruction to be estimated on a display screen. CONSTITUTION:When a functional instruction 2 is inputted by a programmer, a system program of a program production device recognizes that a coil is displayed to an instruction conditions after a decoding instruction of the instruction 2 and displays a coil 4, i.e., a symbol of the conditional instruction on a screen contained in a cursor 3. Then the programmer inputs the address (R200.1) 5 of the coil 4 with seeing the screen. The cursor 3 has its next step to finish the input of the instruction 2. In such a way, the system program displays the symbol of the next instruction if decided on the screen. Thus the programmer is just required to input the necessary data, i.e., an address only. As a result, the input operation is simplified and therefore an input error is prevented.
Term
Term ended
Projected expiry passed 22 February 2009, 17.6 years ago.
- Priority and filed
- Published
- Projected expiry
- Today
2 claims: 2 independent, 0 dependent
- 1[Claim(s)] 【特許請求の範囲】 (1) In a sequence program edit method which edits a sequence program created in a rudder language used with PC (programmable controller), A sequence program edit method searching a command condition table, displaying a symbol of a command which should determine or predict and should carry out said input of the command which should be inputted into the next on a screen, adding data required for said symbol, and inputting a command from an inputted command. (1)PC(プログラマブル・コントローラ)で使用するラダー言語で作成されたシーケンス・プログラムを編集するシーケンス・プログラム編集方式において、 入力された命令から、命令条件テーブルをサーチして、次に入力すべき命令を決定、あるいは予測して、 前記入力すべき命令のシンボルを画面に表示し、前記シンボルに必要なデータを追加して、 命令を入力するようにしたことを特徴とするシーケンス・プログラム編集方式。
- 2(2) A sequence program edit method of an application for patent, wherein said command condition table displays a symbol of said condition command on a display screen one by one including a condition command decided by functional command given in the 1st paragraph of a range. (2)前記命令条件テーブルは機能命令によってきまる条件命令を含み、前記条件命令のシンボルを順次表示画面に表示するようにしたことを特徴とする特許請求の範囲第1項記載のシーケンス・プログラム編集方式。
Independent claims2
4 paragraphs, as filed
[Detailed Description of the Invention]
[Industrial Application] The present invention relates to the sequence program edit method which edits the sequence program used with PC (programmable controller), determines or predicts the command which should come to especially the next, and relates to the sequence program edit method which displayed the symbol. [Description of the Prior Art] In PC (programmable controller), in order to control a controlled object, sequence plog is needed. These sequence programs are created with a program creation device different from PC. On the other hand, control becomes more complicated by technical advancement, a sequence program is also complicated and the capacity is also increasing. With improvement in the processing speed of a microprocessor, and large-scale-izing of a memory, it cannot but complicate further and cannot but large-scale-ize a sequence program. For this reason, it is required that a sequence program should be created without an error in short time. In order to achieve this object, the interactive program creation device is used. [Problem(s) to be Solved by the Invention] Generally a sequence program is created in a rudder language. In a rudder language, a number of symbols with which the point of contact of the relay corresponding to a command, the coil of the relay, etc. were restricted are used. The programmer needs to input these symbols each time, and when the capacity of a sequence program becomes large, at least the input of the symbol needs a considerable labor. A functional command is used for a sequence program. This functional command subroutine-izes a complicated function. It is necessary to give the condition command as an input condition or an output condition in these functional commands. When the condition command is mistaken, a functional command stops operating normally. The programmer needed to input these condition commands, while referring to the manual etc., and he had required time for input operation. The present invention is made in view of such a point, determines or predicts the command which should come to the next, and displayed the symbol. It aims at providing a sequence program edit method. [Means for solving problem] In the sequence program edit method which edits the sequence program created in the rudder language used with PC (programmable controller) in order to solve the above-mentioned subject in the present invention, From the inputted command, a command condition table is searched, and the command which should be inputted into the next is determined or predicted, The symbol of the above-mentioned command which should be carried out an input is displayed on a screen, data required for the above-mentioned symbol is added, and the sequence program edit method inputting a command is provided. [Function] When the inputted functional command opts for the condition command which accompanies a functional command, the symbol of the condition command is displayed on a display screen. The programmer should input only address data required for the command. As a result, an input is easy and does not generate an error, either. When the command which should be inputted into the next cannot be determined, it opts for a high command of establishment most, and displays the symbol. If a programmer is a command which the symbol wants to input, he should just input address data. When it differs from the command which tends to be shaved and a display tends to input, other commands can be inputted anew. [Example] Hereinafter, one example of the present invention is described based on a drawing. Drawing 1 (a) is a figure showing the display screen of the sequence program edit method of the present invention. Point of contact 1 (ACT) is a point of contact for performing functional command 2, and only when point of contact 1 is ON, functional command 2 is executed. Functional command 2 is a decoding command, cable address (DEC) 2a which shows a decoding command is expressed with the example of a figure, and address (ADD) 2b in which the numerical value which should be decoded was stored is specified in it. The BCD code stored in address (ADD) 2b is decoded to a decimal number, and when in agreement with number (NUM) 2c with which that figure was specified, coil 4 is made to turn on in this functional command 2. Here, if a programmer inputs functional command 2, the system program of a program creation device will recognize the fact that a coil should be displayed on the next of a decoding command of functional command 2, from a command condition table, and will display into a cursor coil 4 which is a symbol of a condition command on a screen. 12 is a soft key and display 11 displays the function of soft key 12. Here, it is used for a soft key inputting the symbol of a command. A programmer inputs the address of coil 4, seeing the screen of Drawing 1 (a). Drawing 1 (b) is a figure showing the state where the address of the coil of Drawing 1 (a) was inputted. it omits and comes out of a soft key and its display in Drawing 1 (b). The figure showing the following display screens is also the same. If address (R200, 1) 5 of coil 4 is inputted, it will move to the following step and the input of functional command 2 will complete a cursor. Thus, when the command which should come to the next is decided, a system program displays the symbol of the command on a display screen, required data, i.e., an address, may be inputted, an input becomes easy, and the programmer can also prevent an error. Drawing 2 is a figure showing other examples of the present invention. In a rudder diagram, when coil 6 is generally inputted, the command which comes to the next is a reading command of an input, and the symbol is a point of contact. For this reason, in Drawing 2, if coil 6 is inputted, the system program of a program creation device will display point of contact 7 into cursor 3 at the following line. If it inputs, a new command will be inputted and displayed instead of point of contact 7 by the soft key which showed the symbol of other commands in Drawing 1 (a) when the programmer wanted to input other commands which should just input the address of a point of contact if the point of contact uses it as it is. Therefore, if a programmer is going to input point of contact 7, the input operation will be excluded and operation will become easy. Even if the prediction separates, it is only inputting the symbol of a required command and a programmer does not need extraordinarily excessive operation. Drawing 3 is a figure showing the 3rd example of the present invention. Here, functional command 8 achieves the counter function for controlling the index table of a machine tool, etc. In such functional command 8, as an input condition, i.e., a condition command, four pieces need to be ordered and the symbol is a point of contact. It is a point of contact which sets up whether point of contact 9a begins from whether a counter begins from O, and 1. This is because machinery may express the position of an index table from 0 or may express it from 1. It is a point of contact which decides to carry out [ whether point of contact 9b carries out the rise count of the counter, or ] a down count. Point of contact 9c is a point of contact for resetting a counter. 9 d of points of contact are input points of contact for operating a counter, and whenever 9 d of points of contact turn on, a counter counts up or counts them down. Thus, in functional command 8 which achieves a counter function, while four commands, i.e., an input point of contact, are required and the programmer referred to the manual conventionally, each point of contact was inputted. When the number of input points of contact is mistaken, the function of a counter stops therefore, operating normally. In the present invention, if functional command 8 is inputted, point of contact 9a will be displayed into cursor 3, and if a programmer inputs the address of point of contact 9a, it will move from cursor 3 to point of contact 9b. Similarly, the address of point of contact 9C and 9 d of points of contact may be inputted. Therefore, the programmer should just input the address into the displayed point of contact, without referring to a manual. Drawing 4 is a flow chart which shows the flow of operation of the present invention. In a figure, the numerical value following S shows a step number. (31) A programmer inputs a required command first. [S2] It is investigated whether the system program of a program creation device has the condition life decided to be the command inputted by the programmer and Decree with reference to a command condition table. The command used by command following the command inputted into - boat fishing when there is no condition command for which it opted is predicted. (33) Display the symbol of the command which was conditions-ordered or was predicted determined by S2 on a display screen. [S4] A programmer inputs an address required for the displayed symbol. [S5] The inputted address is displayed and a cursor is moved to the position of the following. [S6] It investigates whether the input was completed, and if it has not ended, it returns to Sl and continues an input. Drawing 5 is a block diagram of the hardware of the program creation device of operation I lost about the present invention. Processor 21 controls the whole program creation device. The system program of a device is stored in ROM22 and processor 21 controls a program creation device according to this system program. Required middle data is stored in RAM23. The inputted sequence program or a parameter is stored in nonvolatile memory 24. Since battery backup of the nonvolatile memory is carried out, even if it disconnects the power supply of a device, parameters are held as it is. The command condition table is also stored in nonvolatile memory 24. Display control circuit 25 changes into a display signal the symbol etc. of the rudder program stored in nonvolatile memory 24, and sends them to display 26. CRT, a liquid crystal display, etc. are used for zero display as which display 26 displays the symbol of these rudder programs, etc. The distribution power board comprises an operation key consisting of the soft key and the alphabet which have the function displayed on the display, and a numerical key. Floppy disk drive 28 is written in floppy disk 28a, after creation of a rudder program is completed. The created rudder program is sent to ROM writer 30 connected outside via interface 29, and is written in ROM cassette 31. This ROM cassette 31 is combined and used for PMC (programmable machine controller) which is a kind of PC (programmable controller) built in numerical control unit (CNC) 40. Of course, it can also be used for independent PC (programmable controller). Although the limited functional command explained in the above-mentioned explanation, if the functional command except having raised the example also stores the condition in a command condition table, it can be used like the above. Or [ that which command is used for - boat fishing following a certain command ], By the sequence program created, since it differs, edit of the efficient sequence program which suited each sequence program is attained by resetting those conditions as a command condition table. Drawing 5 is a block diagram of the hardware of the program creation device of operation I lost about the present invention. [Effect of the Invention] The symbol of the command which is decided by the inputted command by the present invention as explained above and which is conditions-ordered or is predicted is displayed on a display screen, since the programmer should just have inputted the data of an address etc., the input of a rudder program becomes easy and the error of an input is also prevented.
[Brief Description of the Drawings]
The figure and Drawing 1 (b) where Drawing 1 (a) expresses the display screen of the sequence program edit method of the present invention are Drawing 1 (a), The flow chart the figure showing the state where the address of the coil was inputted, the figure showing the example of everything [ Drawing / 2 ] but the present invention, the figure in which Drawing 3 shows the 3rd example of the present invention, and Drawing 4 indicate the flow of operation of the present invention to be, 1 Point of Contact 2 - Functional Command (Decoding Command) 3 --Cursor 4 and -- [ ..-.. -----ROM ] -..- One -- ~---coil 5- -...-----.. Address- and ----- and processor 2 3- RAM 4 Nonvolatile Memory 5- -.....------ One display control circuit 6 .... Display 7-- -.... -----distribution power board 8 Floppy Disk Drive 8a Floppy Disk 9 - Interface Applicant for a patent FANUC 1st, LTD. Figure Drawing 2 The Figure (b) Drawing 3
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| WO0007081A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| CN104813246A | Cited by | China | Search report |
| JP5484636B1 | Cited by | Japan | Examiner |
| JP2011028562A | Cited by | Japan | Examiner |
| KR20150077475A | Cited by | Republic of Korea | Search report |
| US6744285B2 | Cited by | United States of America | Applicant |
| US6952811B1 | Cited by | United States of America | Applicant |
| JP2011028552A | Cited by | Japan | Examiner |
3 priority claims, no other members on record
Priority claims3
| Document | Office | Kind | Date |
|---|---|---|---|
| 4242989 | Japan | A | |
| 1042429 | – | – | – |
| JP19890042429 | – | – | – |
Numbers
- Publication
- 2-220102
- Publication, DOCDB
- H02220102
- Publication, EPODOC
- JPH02220102
- Application
- 1042429
- Application, DOCDB
- 4242989
- Application, EPODOC
- JP19890042429
Titles2
- English
- SEQUENCE PROGRAM EDITING SYSTEM
- Japanese
- 【発明の名称】シーケンス・プログラム編集方式
Classification
- IPC, 1
- G05B19 05