JP2009093258A - Sequence program creation method - Google Patents
Sequence program creation method Download PDFInfo
- Publication number
- JP2009093258A JP2009093258A JP2007260781A JP2007260781A JP2009093258A JP 2009093258 A JP2009093258 A JP 2009093258A JP 2007260781 A JP2007260781 A JP 2007260781A JP 2007260781 A JP2007260781 A JP 2007260781A JP 2009093258 A JP2009093258 A JP 2009093258A
- Authority
- JP
- Japan
- Prior art keywords
- icon
- sequence program
- sensor
- program
- motor
- 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.)
- Pending
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、プログラマブルコントローラの入力点、出力点、入出力点に接続する入力機器、出力機器、入出力機器の動作順番を指定して制御対象をシーケンス制御するためのシーケンスプログラムの作成方式に関するものである。 The present invention relates to a method for creating a sequence program for performing sequence control of an object to be controlled by designating an operation order of input devices, output devices, and input / output devices connected to input points, output points, and input / output points of a programmable controller. It is.
シーケンスプログラムとしては、ラダー言語で作成されたラダープログラムが一般的となっている(特許文献1等参照)。しかしながら、ラダープログラムは、高度な技術知識を備えたユーザで無ければ、その作成や編集等が極めて難しい。
本発明により解決すべき課題は、ラダープログラム等のシーケンスプログラムに関して高度な技術知識を備えたユーザでなくても、シーケンスプログラムを容易に作成できるようにすることである。 The problem to be solved by the present invention is to make it possible to easily create a sequence program even if the user is not a user having advanced technical knowledge about a sequence program such as a ladder program.
本発明によるシーケンスプログラム作成方式は、コンピュータ画面上で、制御対象の制御に用いる機器をその機能を定義したアイコンで可視化表示し、そのアイコンの動作順序を指定することでユーザプログラムであるシーケンスプログラムを作成することを特徴とするものである。 The sequence program creation method according to the present invention visualizes a device used for control of a controlled object on a computer screen with an icon that defines its function, and specifies a sequence program that is a user program by specifying the operation order of the icon. It is characterized by creating.
本発明では、上記機器の機能が定義されたアイコンの動作順序を指定してシーケンスプログラムを作成する方式であるので、シーケンスプログラムに対して高度な技術知識を要求されずに、シーケンスプログラムを容易に作成することができるようになる。 In the present invention, since the sequence program is created by designating the operation order of the icons in which the functions of the devices are defined, the sequence program can be easily executed without requiring high technical knowledge of the sequence program. Will be able to create.
好ましくは、上記アイコンの動作順序を時間軸上の配線接続で指定することである。 Preferably, the operation order of the icons is specified by wiring connection on the time axis.
または、シーケンスプログラムをカテゴリ別に分類表示し、カテゴリ選択でシーケンスプログラムの作成に使用するアイコンを選択可能とすることである。 Alternatively, the sequence program is classified and displayed by category, and an icon used for creating the sequence program can be selected by selecting a category.
または、上記選択したアイコンの動作内容および動作手順を項目別に分類表示し、その項目をユーザ操作で選択することにより、シーケンスプログラムを作成することである。 Alternatively, the operation content and operation procedure of the selected icon are classified and displayed by item, and the sequence program is created by selecting the item by user operation.
本発明によれば、シーケンスプログラムを容易に作成することができる。 According to the present invention, a sequence program can be easily created.
以下、添付した図面を参照して、本発明の実施の形態に係るシーケンスプログラム作成方式を説明する。 Hereinafter, a sequence program creation method according to an embodiment of the present invention will be described with reference to the accompanying drawings.
図1は、シーケンスプログラムを作成するためのコンピュータ画面を示す。このコンピュータは、GUI(グラフィカルユーザインターフェース)部品を用いてシーケンスプログラムを作成する装置として用いる。また、このコンピュータのメモリには、シーケンスプログラム作成のため、GUIを使用するOSのウインドウシステムを利用したアプリケーションプログラムが実装されている。そして、このコンピュータにはそのアプリケーションプログラムを実現するCPUを内蔵する。 FIG. 1 shows a computer screen for creating a sequence program. This computer is used as an apparatus for creating a sequence program using GUI (graphical user interface) parts. In addition, an application program using an OS window system that uses a GUI is installed in the memory of the computer to create a sequence program. The computer incorporates a CPU that implements the application program.
このコンピュータ画面1には、プログラマブルコントローラアイコン3と、制御対象の制御に用いる入力機器の一例であるセンサのアイコン5と、出力機器の一例であるモータのアイコン7とが代表例として表示されている。センサアイコン5とモータアイコン7は、センサとモータそれぞれの機能を定義したアイコンである。これらアイコン5,7は、プログラマブルコントローラアイコン3に接続され、シーケンス制御に沿う時間軸9上に配置されている。この時間軸9は画面上左側から画面上右側へ時間進行するので、ユーザは視覚的にセンサアイコン5が時間軸9左側、モータアイコン7が時間軸9右側に配置されることで、センサアイコン5が動作してプログラマブルコントローラアイコン3に信号を入力し、プログラマブルコントローラアイコン3からモータアイコン7に信号が送られることが容易に判別できる。これらアイコン3,5,7、時間軸9や、配線や、後述するメニュー、ボタン、等はGUI部品である。
On this
なお、時間軸9はユーザの視覚的な便宜を図るうえで模擬的に表示していて、必ずしも、シーケンス制御のリアル時間軸とは一致していない。例えば、センサON出力と同時にモータが例えば駆動されるとした場合、時間軸9上ではセンサON出力の出力時刻とモータ制御開始時刻とは同時ではなく、センサON出力がモータ制御開始よりも先である。
Note that the
センサやモータは各種あり、その仕様も様々である。そのため、シーケンス制御で用いるセンサやモータのコンピュータ画面1上でのアイコン5,7の定義は、コンピュータ画面1上でマウスクリックすると、図2、図3で示すように、ポップアップウインドウが開き、ユーザはそのポップアップウインドウに表示されているセンサやモータ仕様を選択することができるようになっている。コンピュータ画面1上のグラフィカルユーザインターフェース(GUI)を操作するデバイスとして、実施の形態ではマウスを用いているが、これに限定されず、マウスに加え、キーボード、トラックボール、デジタイザ、ペンタブレット、タッチパネル等でもよい。
There are various types of sensors and motors, and the specifications vary. Therefore, the definition of the
図2にセンサアイコン5上へのマウスクリック操作により呼び出したポップアップウインドウ11の表示例を示し、図3にモータアイコン7へのマウスクリック操作により呼び出したポップアップウインドウ13の表示例、図4にプログラム修正のためのポップアップウインドウ15の表示例を示す。
FIG. 2 shows a display example of the pop-up
図2で示すように、センサアイコン5のポップアップウインドウ11にはセンサの種類、特性、等の機能をセンサ定義情報が表示されている。ユーザはマウスクリック操作でセンサの種類等をポップアップウインドウ11から選択し、確定操作することにより、図1のセンサアイコン5の機能を定義することができる。この場合、センサアイコン5がすでに機能定義されていてその定義を変更する必要が無いときは、ポップアップウインドウ11を呼び出さなくてもよいが、その定義を変更する場合は、このポップアップウインドウ11を呼び出し、そのポップアップウインドウ11上でその定義を変更することができるようになっている。
As shown in FIG. 2, sensor definition information is displayed in the pop-
モータアイコン7の定義を変更する場合では図3で示すようにモータアイコン7のポップアップウインドウ13を呼び出してモータアイコン7の定義を変更することができるようになっている。
When the definition of the
また、シーケンスプログラムの一部である「センサ出力ONでモータを回転させる」というプログラムメニューを、「センサ出力ONでモータを回転停止させる」というプログラムメニューに変更する場合、図4で示すように、マウスクリック操作でポップアップウインドウ15を呼び出してそのプログラムの一部を変更することができるようになっている。すなわち、図4では、「1.センサ出力ONでモータ回転」、「2.センサ出力ONでモータ回転停止」、「3.センサ出力OFFでモータ回転」、「4.センサ出力OFFでモータ回転停止」、…のプログラムメニュ−が文章表現されている。ユーザはマウスクリック操作でいずれかのプログラムメニュ−を選択し確定操作すると、センサアイコン5とモータアイコン7との配線が定義される。
In addition, when the program menu “rotate the motor when the sensor output is ON” as a part of the sequence program is changed to the program menu “rotate the motor when the sensor output is ON”, as shown in FIG. A part of the program can be changed by calling the pop-up
このようなシーケンスプログラムを自動作成する例を図5ないし図8を参照して説明すると、図5にシーケンスプログラム作成画面17を表示する。図5のシーケンスプログラム作成画面17にはシーケンスプログラムをオート(Auto)で作成するか、マニュアル(Manual)で作成するかを選択するボタン21,23が画像表示されている。
An example of automatically creating such a sequence program will be described with reference to FIGS. 5 to 8. A sequence
ユーザはマウスクリック操作でオートボタン21を選択すると、図6で示すようにシーケンスプログラム作成画面17内の右側領域にカテゴリ選択領域25が表示され、ユーザはこのカテゴリ選択領域25からカテゴリを選択する。このカテゴリには「1.生産工程」、「2.生産設備」、「3.生産管理」、…がメニュー表示されており、ユーザはそれらを選択することができるようになっている。図6ではハッチングで示すように「1.生産工程」のメニューがマウスクリック操作で選択されている。この「1.生産工程」のメニューが選択され確定操作されると、図示を略するが、さらに生産工程の詳細を示すポップアップウインドウが呼び出され、ユーザはいずれの生産工程を詳細に示すメニューを選択することができるようになっている。そして、カテゴリを選択し確定すると、図7で示すように、カテゴリ選択領域25表示が機器種類および個数選択領域27に変更表示される。例えば、この機器種類および個数選択領域27には「1.プログラマブルコントローラ1台、センサ1台、モータ1台」、「2.プログラマブルコントローラ1台、センサ2台、モータ2台」、「3.…」がメニュー表示されている。ユーザは例えばハッチングで示すように「1.…」のメニューを選択し確定操作すると、プログラム作成画面17上にプログラマブルコントローラアイコン3が1つ、センサアイコン5が1つ、モータアイコン7が1つ、に加えて時間軸9が表示される。この場合、プログラマブルコントローラアイコン3、センサアイコン5、モータアイコン7は、シーケンスプログラム作成画面17に整列配置されるだけで、相互間の配線は定義されていない。
When the user selects the
そして、図8で示すように、シーケンスプログラム作成画面17内の下側に配置した動作手順定義ボタン28をマウスクリック操作すると、時間軸9に沿った動作手順を定義する動作手順定義選択領域29がシーケンスプログラム作成画面17内の右側領域に表示される。動作手順定義選択領域29には「1.センサ出力ONでモータ回転」、「2.センサ出力ONでモータ回転停止」、「3.センサ出力OFFでモータ回転」、「4.センサ出力OFFでモータ回転停止」、…の動作手順が文章でメニュー表示されている。ユーザはマウスクリック操作でいずれかを選択すると、センサアイコン5とモータアイコン7との動作手順が定義される。図8では例えばハッチングで示すように「1.センサ出力ONでモータ回転」の動作手順定義メニューが選択されている。この場合、プログラマブルコントローラアイコン3、センサアイコン5、モータアイコン7は、シーケンスプログラム作成画面17に図8で示すように、配置されかつ配線が定義される。
Then, as shown in FIG. 8, when the operation
以上のようにしてユーザはラダープログラム等を知らなくても、カテゴリが生産工程で、その生産工程に用いるプログラマブルコントローラとセンサとモータとを用いたシーケンス制御に対応したシーケンスプログラムを作成することができる。 As described above, even if the user does not know the ladder program or the like, the category is a production process, and a sequence program corresponding to the sequence control using the programmable controller, sensor, and motor used in the production process can be created. .
以上はシーケンスプログラムを自動作成する例であるが、そのシーケンスプログラムを自動作成するためには、カテゴリデータ、プログラムデータ、動作手順定義データを内蔵する必要がある。そのためのプログラムの基本作成例を図9以降を参照して説明する。 The above is an example of automatically creating a sequence program. However, in order to automatically create the sequence program, it is necessary to incorporate category data, program data, and operation procedure definition data. An example of creating a basic program for this purpose will be described with reference to FIG.
まず、図9で示すコンピュータ画面1は、シーケンスプログラム作成画面17、選択領域19と、選択ボタン領域31が表示されている。選択領域19は作成画面17の右側に、選択ボタン領域31は作成画面17の下側に配置されている。
First, the
選択ボタン領域31は、「カテゴリ」選択ボタン31a、「機器」選択ボタン31b、が表示されている。「カテゴリ」選択ボタン31aが操作されると、選択領域19にカテゴリが一覧表示され、「機器」選択ボタン31bが操作されると、そのカテゴリに用いる機器の選択が一覧表示される。
In the
図10で示すように「機器」選択ボタン31bが操作されて、選択領域19上にプログラマブルコントローラアイコン3、センサアイコン5、モータアイコン7が表示され、プログラマブルコントローラアイコン3を作成画面17上にドラッグアンドドロップする。この場合、ドラッグアンドドロップしたプログラマブルコントローラアイコン3の種類、特性等は、プログラマブルコントローラアイコン3を右クリックして図示略のポップアップウインドウを呼び出す。このポップアップウインドウには、選択したプログラマブルコントローラの種類、特性、等が選択可能に表示されている。ユーザは所望する例えばプログラマブルコントローラの種類を選択してプログラマブルコントローラアイコン3の定義を確定することができるようになっている。
As shown in FIG. 10, the “device”
次いで、図11で示すように、センサアイコン5を作成画面17上にドラッグアンドドロップする。そして、ドラッグアンドドロップしたセンサアイコン5の種類、特性等は、センサアイコン5を右クリックしてポップアップウインドウを呼び出す。このポップアップウインドウには、センサの種類、特性、等が選択可能に表示されている。ユーザは所望する例えばセンサの種類を選択してセンサアイコン5の定義を確定することができるようになっている。
Next, as shown in FIG. 11, the
次いで、図12で示すように、モータアイコン7を作成画面17上にドラッグアンドドロップする。そして、ドラッグアンドドロップしたモータアイコン7の種類、特性等は、モータアイコン7を右クリックしてポップアップウインドウを呼び出す。このポップアップウインドウには、モータの種類、特性、等が選択可能に表示されている。ユーザは所望する例えばモータの種類等を選択してモータアイコン7の定義を確定することができるようになっている。
Next, as shown in FIG. 12, the
次いで、図13で示すように、プログラマブルコントローラアイコン3とセンサアイコン5とモータアイコン7とを結線33すると共に時間軸9に沿ってセンサアイコン5をモータアイコン7よりも時間軸9上先となる位置に配置する。そして、この結線33においては作成画面17上をマウスでドラッグしていくことで行われる。そして、この結線33を上記したように定義する。
Next, as shown in FIG. 13, the
以上により、シーケンスプログラムの作成が行われる。 The sequence program is created as described above.
そして、このように作成したシーケンスプログラムを図14で示すように作成画面17下側に配置したデータ格納ボタン35を操作することにより作成画面17内右側にカテゴリ領域37とプログラム領域39とを表示し、カテゴリ領域37ではそのシーケンスプログラムのカテゴリをハッチングで示す「3.」領域に格納する。このカテゴリ領域37で「3.」を選択確定すると、プログラム領域39ではカテゴリ領域37の「3.」に対応して、自動的に、プログラムが関連付けられて格納される。
Then, the category area 37 and the program area 39 are displayed on the right side in the
以上により、ユーザは図14で格納したデータから次回からはそのデータに基づいてシーケンスプログラムを図5ないし図7を参照して説明したようにして自動作成することができるようになる。 As described above, the user can automatically create a sequence program based on the data stored in FIG. 14 as described with reference to FIGS. 5 to 7 from the next time.
このようにして作成したシーケンスプログラムは、プログラマブルコントローラにダウンロードするためにラダープログラムに自動変換するプログラム変換ボタン41をマウスクリック操作することにより、図15で示すようにラダープログラム43に変換することができるようになっている。このラダープログラムへの変換は、シーケンスプログラムが視覚的に画面上に部品画像で表示されているが、シーケンス制御に沿っているので、ラダープログラムへの変換は、内部にラダー言語を関連付けして変換することで容易に実現できる。
The sequence program created in this way can be converted into a
また、例えば、モータアイコン7の制御をシミュレーションする場合では、図16で示すように、シミュレーションボタン45をマウスクリック操作することにより、シミュレーションの選択画面が表示され、ユーザ操作で例えば台形制御(実線47)、ステップ制御(破線49)、S字制御(一点鎖線51)等を選択することができるようになっている。
Further, for example, in the case of simulating the control of the
以上説明したように本実施の形態では、コンピュータ画面上で、制御対象の制御に用いる機器をその機能を定義したアイコンで可視化表示し、そのアイコンをシーケンス制御に従い時間軸上で接続することでシーケンスプログラムを作成するようにしたので、ラダープログラムに対する高度な技術知識を備えたユーザでなくても、シーケンスプログラムを容易に作成することができるようになる。 As described above, in the present embodiment, a device used for control of a control target is visualized and displayed on the computer screen with an icon that defines its function, and the icon is connected on the time axis according to sequence control. Since the program is created, a sequence program can be easily created even if the user is not a user with advanced technical knowledge about the ladder program.
1 コンピュータ画面
3 プログラマブルコントローラアイコン
5 センサアイコン
7 モータアイコン
9 時間軸
11 センサポップアップウインドウ
13 モータポップアップウインドウ
1
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007260781A JP2009093258A (en) | 2007-10-04 | 2007-10-04 | Sequence program creation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007260781A JP2009093258A (en) | 2007-10-04 | 2007-10-04 | Sequence program creation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009093258A true JP2009093258A (en) | 2009-04-30 |
Family
ID=40665227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007260781A Pending JP2009093258A (en) | 2007-10-04 | 2007-10-04 | Sequence program creation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009093258A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011242933A (en) * | 2010-05-17 | 2011-12-01 | Toshiba Corp | Plant control logic design support device, program and plant control logic design support method |
JP2017138707A (en) * | 2016-02-02 | 2017-08-10 | 株式会社東芝 | Display control device, display control method, and display control program |
US10054926B2 (en) | 2013-09-24 | 2018-08-21 | Mitsubishi Electric Corporation | Programmable controller and control method of programmable controller |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04259035A (en) * | 1991-02-14 | 1992-09-14 | Toshiba Corp | Control program producing device for instrumentation system |
JP2001147704A (en) * | 1999-09-06 | 2001-05-29 | Nippo Precision Co Ltd | System for preparing operational procedure of device, recording medium with its operational procedure and control system recorded thereon |
-
2007
- 2007-10-04 JP JP2007260781A patent/JP2009093258A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04259035A (en) * | 1991-02-14 | 1992-09-14 | Toshiba Corp | Control program producing device for instrumentation system |
JP2001147704A (en) * | 1999-09-06 | 2001-05-29 | Nippo Precision Co Ltd | System for preparing operational procedure of device, recording medium with its operational procedure and control system recorded thereon |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011242933A (en) * | 2010-05-17 | 2011-12-01 | Toshiba Corp | Plant control logic design support device, program and plant control logic design support method |
US10054926B2 (en) | 2013-09-24 | 2018-08-21 | Mitsubishi Electric Corporation | Programmable controller and control method of programmable controller |
JP2017138707A (en) * | 2016-02-02 | 2017-08-10 | 株式会社東芝 | Display control device, display control method, and display control program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2506630C2 (en) | Rendering teaching animations on user interface display | |
JP2024001102A (en) | System and method for configuring and presenting display navigation hierarchy within process plant | |
JP2008299870A (en) | Method and apparatus for providing passive look ahead for user interface | |
MX2011000605A (en) | Pan and zoom control. | |
JP2000305688A (en) | Method for controlling application, graphical user interface and recording medium | |
EP2180400A2 (en) | Image processing apparatus, image processing method, and program | |
EP3223148A1 (en) | Program development support device, program development support method, and program development support program | |
US20140282165A1 (en) | Method for executing a plurality of object and related data processing apparatus | |
US10740073B2 (en) | Method for creating prototype | |
CN103853611A (en) | Method for copying text among application programs rapidly and electronic equipment | |
WO2011033803A1 (en) | Image forming device and program | |
JP5875555B2 (en) | Image creation system | |
EP0745927B1 (en) | Method of and editing system for setting tool button | |
CN104881231B (en) | Touch gestures for stream connection in a flow simulator | |
US6717597B2 (en) | Contextual and dynamic command navigator for CAD and related systems | |
US20150309716A1 (en) | Measuring device and measuring method with interactive operation | |
JP2009217473A (en) | Plant information display device and method | |
JP5988450B2 (en) | Method for displaying nodes, computer for displaying nodes, and computer program therefor | |
US7620912B1 (en) | Graphical assignment of object behaviors | |
JP2009093258A (en) | Sequence program creation method | |
WO2012017992A1 (en) | Program-producing device and image control system | |
TWI569118B (en) | Screen generating software | |
JP2010160655A (en) | Information processor and object setting method | |
JP6939662B2 (en) | Programming support device, programming support method and program | |
TWI751653B (en) | Human-machine interface development method, human-machine interface device and computer program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100930 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110906 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110907 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120110 |