JPH0449422A - Formation of sequence program - Google Patents
Formation of sequence programInfo
- Publication number
- JPH0449422A JPH0449422A JP16063990A JP16063990A JPH0449422A JP H0449422 A JPH0449422 A JP H0449422A JP 16063990 A JP16063990 A JP 16063990A JP 16063990 A JP16063990 A JP 16063990A JP H0449422 A JPH0449422 A JP H0449422A
- Authority
- JP
- Japan
- Prior art keywords
- input
- line
- program
- inputted
- sequence program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、シーケンスプログラムを効率的に入力するこ
とができるシーケンスプログラムの作成方法に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for creating a sequence program that can efficiently input a sequence program.
(従来の技術及び発明が解決しようとする課題)従来か
ら、生産工場などで使用される比較的大型の機械には、
その動作を制御するためのシーケンザーが用いられてい
る。このシーケンサ−は、機械の制御を行なわせるため
に開発された専用のコンピュータである。シーケンサ−
によって制御される機械に動作プログラムを入力する場
合には、通常はCRTI−にラダー図を描かせながら行
なうことが多い。この動作プログラムを入力する場合、
非常に動作の単純な機械であればその入力すべきプログ
ラムの量、換言すれば、使用接点数及び使用コイル数−
1pびに使用機器(例えばリミットスイッチ、押釦スイ
ッチなど)の数はさほど多くはなく、その動作プログラ
ムの入力にはそれほどの時間は要しない。ところが、例
えば自動車の生産設備の1ライン分の機械の動作を制御
するようなコントローラに動作プログラムを入力すると
なると、その必要とされる接点数及びコイル数は想像を
絶するほどの数となり、その動作プログラムの入力及び
整合性のチエツクには非常に多くの時間を要する。(Problems to be solved by conventional technology and inventions) Traditionally, relatively large machines used in production factories, etc.
A sequencer is used to control its operation. This sequencer is a special computer developed to control machines. sequencer
When inputting an operating program to a machine controlled by a machine, it is usually done while drawing a ladder diagram on the CRTI-. When entering this operating program,
If the machine is very simple to operate, the amount of programs that need to be input, in other words, the number of contacts and coils used.
The number of devices (for example, limit switches, push button switches, etc.) used in each page is not so large, and it does not take much time to input the operation program. However, when inputting an operation program to a controller that controls the operation of one line of machinery in automobile production equipment, for example, the number of contacts and coils required is an unimaginable number, and the operation Entering the program and checking its consistency takes a significant amount of time.
また、シーケンスプログラムの入力には、前記したよう
な接点、コイル、使用機器のみならず、後の変更箇所や
修理作業などを考慮して、入力されている動作プログラ
ムがラダー図としてプリントアウトされた際に変更箇所
や修理箇所を簡単に捜せるようにするために、各接点や
コイルさらには機器の上部あるいは下部などに付すコメ
ントの入力をも要求される。このコメントは、例えばそ
の接点が何の作動をさせるための接点であるか等が一目
でわかるように、それぞれの接点やコイルのアドレスを
指定してコメントデータとして入力している。In addition, when inputting a sequence program, the input operation program is printed out as a ladder diagram, taking into account not only the contacts, coils, and equipment used as described above, but also later changes and repair work. In order to be able to easily search for changes or repairs, you are also required to enter comments for each contact, coil, and even the top or bottom of the device. This comment is entered as comment data by specifying the address of each contact or coil so that, for example, it can be seen at a glance what operation the contact is used for.
例えば、第8図に示すようなシーケンスプログラムのリ
ミットスイッチLSIを入力端T′−XOOIに接続す
る入力を行なうには、第9図に示すような順序でその入
力を行なう必要がある。まず、第9図に示すリミットス
イッチ1を入力し、次にこのリミットスイッチ1の一端
とコモン線2とを接続する接続線3を入力する。そして
、リミットスイッチ2の他端と入力端子x001とを接
続する接続線4を入力し、リミットスイッチ1の機器番
−;・LSI と接続線3の線番100とを入力する。For example, in order to input the sequence program shown in FIG. 8 to connect the limit switch LSI to the input terminal T'-XOOI, it is necessary to perform the input in the order shown in FIG. First, the limit switch 1 shown in FIG. 9 is input, and then the connection line 3 connecting one end of this limit switch 1 and the common line 2 is input. Then, the connection line 4 connecting the other end of the limit switch 2 and the input terminal x001 is input, and the device number -;.LSI of the limit switch 1 and the wire number 100 of the connection line 3 are input.
このように、1つの機器を入力端子に接続するだけでも
1−記のように5回の入力作業が必要となる。したがっ
て、上記のようなコントローラへのシーケンスプログラ
ムの入力作業の困難さは容易に想像かつ(であろう。ま
た、入力回数が多いということは、プログラムの誤入力
の可能性が多く内在しているのは明らかであり、プログ
ラム入力後の整合性のチエツクにも多大の時間を要する
ことになる。In this way, just connecting one device to the input terminal requires five input operations as shown in 1-. Therefore, it is easy to imagine how difficult it is to input the sequence program into the controller as described above.Also, the large number of inputs means that there is a high possibility of incorrect program input. Obviously, it takes a lot of time to check the consistency after inputting the program.
本発明は、このような従来の不具合を軽減するために成
されたものであり、効率的なシーケンスプログラムの入
力を行なうことができるシーケンスプログラムの作成方
法の提供を目的とする。The present invention has been made to alleviate such conventional problems, and an object of the present invention is to provide a method for creating a sequence program that can efficiently input a sequence program.
(課題を解決するための手段)
1−2目的を達成するための本発明は、入力装置を用い
てシーケンスプログラムの構成要素を入力し、この入力
された構成要素がそのラインにおける最初に入力された
機器であるときには、その機器を入出力端子とコモン線
とに接続線で接続すると同時にその入力した機器の機器
番−3“とその接続線の線番とを自動作成するようにし
たことを特徴とする。(Means for Solving the Problems) The present invention for achieving the object 1-2 inputs components of a sequence program using an input device, and inputs the input components first in the line. When the device is connected to the input/output terminal and the common line with a connection line, the device number -3'' of the input device and the wire number of the connection line are automatically created at the same time. Features.
(作用)
このような方法によれば、入力された構成要素がそのラ
インにおける最初に入力された機器であるときには、ま
ず、その機器は入出力端子とコモン線とに自動的に接続
線で接続されることになる。(Function) According to this method, when the input component is the first input device on the line, the device is first automatically connected to the input/output terminal and the common line with the connection line. will be done.
この接続線は、その機器の入力のみによって自動的に描
かれる。さらに、その入力した機器の機器番号と自動的
に描かれたその接続線の線番とが自動的にトーされるこ
とになる。したがって、第9図のようなプログラムの入
力をするには、機器でああるリミットスイッチのみを入
力すれば良いことになる。This connection line is automatically drawn based only on the input of that device. Furthermore, the device number of the input device and the wire number of the automatically drawn connection line are automatically toned. Therefore, in order to input a program as shown in FIG. 9, it is only necessary to input the limit switch, which is a device.
(実施例)
以下、本発明の実施例を図面に基づいて詳細に説明する
。(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.
第1図は、本発明の方法を実施するシーケンサ−の概略
構成図、第2図は、本発明の方法に係るフローチャート
、第3図から第7図は、本発明の方法を用いのシーケン
スプログラム作成過程を示した図である。FIG. 1 is a schematic configuration diagram of a sequencer that implements the method of the present invention, FIG. 2 is a flow chart of the method of the present invention, and FIGS. 3 to 7 are sequence programs using the method of the present invention. It is a diagram showing the creation process.
シーケンサ−は、第1図に示すように、CPU10やメ
モリー2を備えた制御部14と、この制御部14にプロ
グラムの新規入力を行なったり、変更入力を行なったり
、さらには、シーケンサ−に接続されている機器を手動
操作したりするための入力装置16と、当該機器に対し
てCPUl0の演算結果に基づく指令を与える出力装置
18とから構成される。また、表示装置20は、制御部
14から出力されている信−」゛をモニターしたり、シ
ーケンスプログラムをラダー図として表示するために用
いられる。As shown in FIG. 1, the sequencer includes a control unit 14 equipped with a CPU 10 and a memory 2, a new program input to the control unit 14, a change input, and a connection to the sequencer. It is comprised of an input device 16 for manually operating the device being operated, and an output device 18 for giving commands to the device based on the calculation results of the CPU10. Further, the display device 20 is used to monitor the signals output from the control section 14 and to display the sequence program as a ladder diagram.
ところで、本発明が完成される過程において得た分析結
果、つまり、通常、シーケンスプログラムを入力すると
きにはどのような順序でその入力が行われているかの分
析結果を記しておく。By the way, the results of analysis obtained in the process of completing the present invention, that is, the results of analysis of the order in which input is normally performed when inputting a sequence program are described below.
プログラムを入力する場合には、全く何もデータのない
ラインに新規に入力する場合と、既に入力されているデ
ータのあるラインに追加して入力する場合との2つの場
合がある。前者の場合には、入力作業の軽減が必要であ
り、後者の場合には、入力済みのデータは変更されない
ほうが良い。さらに、前者の入力が行われる場合には、
作業者は最初に機器を入力する場合がほとんどであり、
その他のものからの入力は特別な入力であること等が判
明した。また、入出力端fの番号はそれに接続される機
器などに関連した番号がトjされていることが多い。し
たがって、入力された機器や接続線などに付す番号は、
その入出力端子に付されている番号を付しても不具合の
発生は考えられないことも判明した。When inputting a program, there are two cases: a new input to a line with no data at all, and a case of input in addition to a line with data that has already been input. In the former case, it is necessary to reduce the input work, and in the latter case, it is better not to change the input data. Furthermore, if the former input is made,
In most cases, the worker first enters the equipment;
It has been found that inputs from other sources are special inputs. Further, the number of the input/output terminal f is often a number related to a device connected thereto. Therefore, the numbers assigned to the input devices, connection lines, etc.
It was also found that no problem would occur even if numbers were attached to the input/output terminals.
このような背景を踏まえて成された本発明の方法を実施
するシーケンサ−にプログラムを入力すると、第2図の
動作フローチャートに基づいて次のような順序でプログ
ラムが作成されることになる。このプログラムの作成過
程を第3図から第7図を参照しながら説明する。When a program is input to a sequencer that implements the method of the present invention, which was developed based on this background, the program will be created in the following order based on the operation flowchart of FIG. The process of creating this program will be explained with reference to FIGS. 3 to 7.
まず、入力装置16によってプログラムの入力が行われ
ると(Sl)、その入力されたプログラムが機器である
かどうかの判断がされ(S2)、機器であれば、さらに
その機器はその入力していようとしているラインでの最
初の入力であるかどうかが判断される。つまり、第3図
のようにまだ何も入力されていない状態で、第4図のよ
うに機器か入力されたかどうかの判断がされることにな
る(S3)。S2.S3のステップにおける判断が両方
ともYESであれは、(4随データの自動入力が行われ
る。すなわち、第5図に示すように入力された機器の両
端と入出力端子及びコモン線の双方に接続線が自動的に
接続されると同時に、機器番号゛と線番が接続された入
出力端r・の番−lに基づいて自動的に入力されること
になる(S4)。First, when a program is input using the input device 16 (Sl), it is determined whether the input program is a device (S2). It is determined whether this is the first input on the line. That is, in a state where nothing has been input yet as shown in FIG. 3, it is determined whether or not a device has been input as shown in FIG. 4 (S3). S2. If both judgments in step S3 are YES, (4) automatic input of data is performed. In other words, as shown in Fig. At the same time that the line is automatically connected, the device number and wire number are automatically input based on the number -l of the connected input/output terminal r and the line number (S4).
一方、S2及びS3のステップのいずれかの判断がNo
である時には、(−J前データの手動入力を行なうため
の処理がされる。つまり、第6図に示されているような
既存のプログラムに、新たにリミットスイッチ30をト
1加するときには、第7図のように入力が必要となるそ
のリミットスイッチ30の機器番号31と新たな線番3
2とは、入力装置16によって手動入力されなければイ
」することはできなくなる(S5)。以上の処理は全て
のプログラム入力あるいは変更部分のプログラムの入力
が終了するまで行われる(S6)。On the other hand, the judgment in either step S2 or S3 is No.
When the limit switch 30 is added to an existing program as shown in FIG. As shown in Figure 7, the device number 31 of the limit switch 30 and the new wire number 3 are required to be input.
2 means that it will not be possible to press the button unless it is manually input using the input device 16 (S5). The above processing is performed until all program input or the input of the changed part of the program is completed (S6).
このように本発明では、機器が最初に入力された場合に
のみ他の必要とされる付随データを自動的に入力し、こ
れ以外の場合には従来通りの手動入力によって必要とさ
れるデータの入力を行なっている。この為に、新規にデ
ータを入力する場合には、その入力に要する時間や整合
性のチエツクに要する時間を各段に少なくすることがで
き、また、データ入力時のミスも低減させることができ
ることになる。In this way, the present invention automatically enters other required ancillary data only when the device is first entered, and otherwise enters the required data by conventional manual entry. Input is being performed. Therefore, when entering new data, the time required to enter data and the time required to check consistency can be significantly reduced, and errors during data entry can also be reduced. become.
(発明の効果)
以」二の説明により明らかなように、本発明では、入力
された構成要素がそのラインにおける最初に入力された
機器であるときには、その機器を入出力端子とコモン線
とに接続線で接続すると同時にその入力した機器の機器
番号とその接続線の線番とを自動作成するようにしたの
で、シーケンスブ0グラムの効率的入力と入力ミスの防
止を図ることができる。(Effects of the Invention) As is clear from the following explanation, in the present invention, when the input component is the first input device on the line, the input component is connected to the input/output terminal and the common line. Since the device number of the input device and the wire number of the connection line are automatically created at the same time as the connection is made using the connection line, it is possible to efficiently input the sequence program and prevent input errors.
第1図は、本発明の方法を実施するシーケン日ノ゛−の
概略構成図、
第2図は、本発明の方法に係るフローチャー1・、第3
図から第7図は、本発明の方法を用いてのシーケンスプ
ログラム作成過程を示した図、第8図及び第9図は、従
来の方法を用いてのシーケンスプログラム作成過程を示
〔た図である。
10・・・CPU、 12・・・メモリ、14・
・・制御部、 16・・・入力装置、30・・・リミ
ットスイッチ(機器)。FIG. 1 is a schematic configuration diagram of a sequence machine for carrying out the method of the present invention, and FIG.
7 to 7 are diagrams showing the process of creating a sequence program using the method of the present invention, and FIGS. 8 and 9 are diagrams showing the process of creating a sequence program using the conventional method. be. 10...CPU, 12...Memory, 14.
...Control unit, 16...Input device, 30...Limit switch (device).
Claims (1)
力し、この入力された構成要素がそのラインにおける最
初に入力された機器であるときには、その機器を入出力
端子とコモン線とに接続線で接続すると同時にその入力
した機器の機器番号とその接続線の線番とを自動作成す
るようにしたことを特徴とするシーケンスプログラムの
作成方法。If a component of a sequence program is input using an input device, and this input component is the first input device on that line, connect that device to the input/output terminal and the common line with a connecting wire. A method for creating a sequence program, characterized in that the equipment number of the input equipment and the wire number of its connection line are automatically created at the same time.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2160639A JP2734176B2 (en) | 1990-06-19 | 1990-06-19 | How to create a sequence program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2160639A JP2734176B2 (en) | 1990-06-19 | 1990-06-19 | How to create a sequence program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0449422A true JPH0449422A (en) | 1992-02-18 |
| JP2734176B2 JP2734176B2 (en) | 1998-03-30 |
Family
ID=15719281
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2160639A Expired - Fee Related JP2734176B2 (en) | 1990-06-19 | 1990-06-19 | How to create a sequence program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2734176B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0854913A (en) * | 1994-08-12 | 1996-02-27 | Toshiba Corp | Programming device |
| JP2009245456A (en) * | 2009-07-27 | 2009-10-22 | Omron Corp | Program development support device and processing method |
| WO2010089862A1 (en) * | 2009-02-04 | 2010-08-12 | 三菱電機株式会社 | Ladder program edition device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63289601A (en) * | 1987-05-21 | 1988-11-28 | Fanuc Ltd | Method for forming sequence program |
| JPS63300302A (en) * | 1987-05-30 | 1988-12-07 | Yaskawa Electric Mfg Co Ltd | Program input display device for programmable controller |
-
1990
- 1990-06-19 JP JP2160639A patent/JP2734176B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63289601A (en) * | 1987-05-21 | 1988-11-28 | Fanuc Ltd | Method for forming sequence program |
| JPS63300302A (en) * | 1987-05-30 | 1988-12-07 | Yaskawa Electric Mfg Co Ltd | Program input display device for programmable controller |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0854913A (en) * | 1994-08-12 | 1996-02-27 | Toshiba Corp | Programming device |
| WO2010089862A1 (en) * | 2009-02-04 | 2010-08-12 | 三菱電機株式会社 | Ladder program edition device |
| CN102308263A (en) * | 2009-02-04 | 2012-01-04 | 三菱电机株式会社 | Ladder program editing device |
| JPWO2010089862A1 (en) * | 2009-02-04 | 2012-08-09 | 三菱電機株式会社 | Ladder program editing device |
| JP2009245456A (en) * | 2009-07-27 | 2009-10-22 | Omron Corp | Program development support device and processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2734176B2 (en) | 1998-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5177420A (en) | Method of and apparatus for generating control program | |
| DE112010005023B4 (en) | USE OF A PROGRAM CREATION SUPPORT DEVICE FOR CREATE PROGRAMS FOR EQUIPMENT TO BE CONTROLLED | |
| JPH0449422A (en) | Formation of sequence program | |
| US5113359A (en) | Method for selecting inputs for a pc in which a ladder program is simulated | |
| JP6632692B1 (en) | Control program creation support tool and control program creation method | |
| WO2018220923A1 (en) | Program development support device, program development support system, program development support method, and program development support program | |
| JPS6217805A (en) | Display method for program error in nc device | |
| JP3170154B2 (en) | SFC program development equipment | |
| EP0345355B1 (en) | Interactive nc apparatus | |
| WO1991000557A1 (en) | Nc data execution method | |
| JP2533372B2 (en) | Control program creation method | |
| JPS58103023A (en) | Field input system for display terminal | |
| JPH077839U (en) | Numerical control device | |
| JPH10161724A (en) | Numerical control unit | |
| JPS6132106A (en) | Programming device of programmable controller | |
| JP2989621B2 (en) | Diagnostic display device for machine tools | |
| JPS62293305A (en) | Software developing device for fa controller | |
| JPH06124113A (en) | Interactive numerical control device | |
| JPS59206983A (en) | Interactive data inputting method | |
| JPH04151772A (en) | Interactive automatic wiring system | |
| JP3246175B2 (en) | Failure analysis support device | |
| JPH08286714A (en) | Monitor device for programmable display device | |
| JP2020021255A (en) | Numerical control device | |
| JPH0346007A (en) | Nc information generation system | |
| KR20020033940A (en) | Exclusive control system by sequential function chart |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090109 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100109 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |