JPH11272322A - Design supporting device for process control program - Google Patents

Design supporting device for process control program

Info

Publication number
JPH11272322A
JPH11272322A JP6879098A JP6879098A JPH11272322A JP H11272322 A JPH11272322 A JP H11272322A JP 6879098 A JP6879098 A JP 6879098A JP 6879098 A JP6879098 A JP 6879098A JP H11272322 A JPH11272322 A JP H11272322A
Authority
JP
Japan
Prior art keywords
process control
specifications
control program
data
file
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
Application number
JP6879098A
Other languages
Japanese (ja)
Inventor
Masayuki Maejima
正行 前島
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.)
Kao Corp
Original Assignee
Kao 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 Kao Corp filed Critical Kao Corp
Priority to JP6879098A priority Critical patent/JPH11272322A/en
Publication of JPH11272322A publication Critical patent/JPH11272322A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • General Factory Administration (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)
  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the efficiency of design work by inputting or changing the machine specification and the operation specification of a machine device that previously stores a basic operation program, combining them and designing one factory equipment. SOLUTION: Basic operation programs which are individual at the respective operation parts of a machine device are previously stored in a source generation basic file 3. A fixed form pattern for setting a machine specification by a numeric value and a fixed form pattern for setting an operation specification to the lapse of time on the operation part by the numeric value are previously stored in a data file 4. When the numeric values are inputted to the fixed form patterns of the machine specification and the operation specification, a design support control part 1 inputs or changes the machine specification and the operation specification of the machine device that previously stores the basic operation program. They are combined and simulatively executed on a computer device 2.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多数の物品を連続
的に加工または製造する装置に利用する。本発明は、複
数の自動制御系のプロセス制御システムが組み合わされ
て運転される工場設備に利用する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to an apparatus for continuously processing or manufacturing a large number of articles. INDUSTRIAL APPLICABILITY The present invention is used for factory equipment operated in combination with a plurality of automatic control system process control systems.

【0002】[0002]

【従来の技術】複数のコンベア装置が配置され、その複
数のコンベア装置のそれぞれに沿って物品の加工を行う
装置が多数配置され、この複数のコンベア装置により搬
送される物品が材料の形から次第に半製品となり、さら
に製品となって一つのコンベア装置に合流し、そのコン
ベア装置の出口で多量にかつ連続的に排出される製品が
出荷できる形態に箱詰めされるような工場設備は広く知
られている。
2. Description of the Related Art A plurality of conveyor devices are arranged, and a number of devices for processing articles are arranged along each of the plurality of conveyor devices. Articles conveyed by the plurality of conveyor devices are gradually changed from a material form. Factory equipment that becomes semi-finished products, further merges into one conveyor device as a product, and is packed in a form that can be shipped in large quantities and continuously discharged products at the exit of the conveyor device is widely known. I have.

【0003】このような工場設備は、できるだけ人手に
よる介入を避けて自動化できるように工夫され、そして
製品の種類や性質に応じてこのような工場設備を設計す
る技術は多様に知られている。
[0003] Such factory equipment is devised so that it can be automated with as little human intervention as possible, and various techniques for designing such factory equipment in accordance with the type and properties of products are known.

【0004】近年、シーケンスコントローラあるいはプ
ログラマブルコントローラと呼ばれるコンピュータ化さ
れた制御盤が普及し、柔軟に工場設備の仕様変更を行う
ことができるようになった。
[0004] In recent years, computerized control panels called sequence controllers or programmable controllers have become widespread, and it has become possible to flexibly change the specifications of factory equipment.

【0005】[0005]

【発明が解決しようとする課題】このようなコンピュー
タ化された制御盤では、そのプログラム設計または変更
に専門的な知識を要する場合が多い。したがって、実際
に工場設備を設計した者が、必ずしもプログラム設計ま
たは変更をも行えるとは限らず、別にプログラム設計ま
たは変更のための専従者を置くケースが増えている。
In such a computerized control panel, specialized knowledge is often required for designing or changing the program. Therefore, the person who actually designed the factory equipment is not always able to design or change the program, and there is an increasing number of cases where a dedicated person for designing or changing the program is separately provided.

【0006】しかし、実際に工場設備を設計した者がそ
のままプログラム設計または変更を行うことにより、設
計作業の効率が向上することはいうまでもないことであ
り、そのような作業形態が望まれている。
However, it goes without saying that the efficiency of the design work is improved by the person who actually designed the factory equipment directly designing or changing the program, and such a work form is desired. I have.

【0007】本発明は、このような背景に行われたもの
であって、簡単に工場設備の制御プログラムの設計また
は変更を行うことができるプロセス制御ソフトウェアの
設計支援装置を提供することを目的とする。
The present invention has been made in such a background, and an object of the present invention is to provide a design support apparatus for process control software capable of easily designing or changing a control program for factory equipment. I do.

【0008】[0008]

【課題を解決するための手段】上述したような工場設備
は、その全体構成を個々の工場設備についてみると、当
然のことながらそれぞれが異なる構成であり、また、異
なる動作を行っている。しかし、工場設備を構成してい
る複数の機械装置を個々についてみれば、それらのほと
んどは汎用品であり、あらかじめその基本動作が既知で
あるものが多用されている。
The above-mentioned factory equipment, as a whole, has a different configuration and performs different operations, as a matter of course, when looking at the overall configuration of individual factory equipment. However, looking at a plurality of mechanical devices constituting a factory facility, most of them are general-purpose products, and those whose basic operations are known in advance are frequently used.

【0009】そこで、発明者らはこの点に着目し、これ
ら個々の機械装置の基本動作プログラムをあらかじめ記
憶しておき、工場設備の設計者は、この基本動作プログ
ラムが記憶された機械装置の機械仕様および動作仕様の
入力または変更を行い、これらを組合わせることによ
り、一つの工場設備の設計を行うことを提案するもので
ある。
Therefore, the inventors pay attention to this point, and store in advance the basic operation program of each of these mechanical devices, and the designer of the factory equipment can use the machine operation of the mechanical device in which the basic operation program is stored. The present invention proposes that one factory facility is designed by inputting or changing specifications and operation specifications and combining them.

【0010】さらに、設計した機械装置の組合せをコン
ピュータ上でシミュレーションし、その動作に相互干渉
がないことがわかったら、この動作をこのプロセス制御
プログラムに与えるソースファイルデータに自動的に変
換することにより、プロセス制御プログラム作成のため
の専門的な知識を持たない者でもプロセス制御プログラ
ムを自動的に作成することができる。
[0010] Furthermore, the designed combination of mechanical devices is simulated on a computer, and when it is found that there is no mutual interference in the operation, this operation is automatically converted into source file data to be given to the process control program. Even a person who does not have specialized knowledge for creating a process control program can automatically create a process control program.

【0011】ここで、プロセス制御プログラムは、各機
械装置毎にあらかじめ設定された基本動作プログラムを
組み合わせることにより生成され、ソースファイルデー
タとは、このプロセス制御プログラムを実行するときに
必要になるデータの集合である。例えば、プロセス制御
プログラムがパルスデータにしたがって動作するもので
あれば、動作仕様入力の時点では、所定の動作が速度デ
ータとして入力されていたものをパルスデータに変換す
ることにより、この動作をソースファイルデータに変換
することができる。
Here, the process control program is generated by combining basic operation programs set in advance for each machine, and the source file data is defined as data of data required when executing the process control program. It is a set. For example, if the process control program operates in accordance with pulse data, at the time of inputting the operation specifications, the predetermined operation is converted into pulse data from what was input as speed data. Can be converted to data.

【0012】このように、ソースファイルは対象機器を
仕様どおりに動かすためのプログラムであるが、コンパ
イルリンク作業を経て実行可能なプログラムとなる。
As described above, the source file is a program for operating the target device as specified, but is a program that can be executed through a compile link operation.

【0013】ここで、コンパイルリンク作業とは、コン
パイル作業とリンク作業とを一つのワードにまとめた用
語であり、コンパイル作業とは、ソースファイルをオブ
ジェクトファイルに変換する作業である。オブジェクト
ファイルとは、ソースファイルとライブラリファイルの
中間的なファイルである。ソースファイルは前述したと
おりであり、ライブラリファイルとは、データの入出力
を行ったりする基本的プログラム集のことである。ま
た、リンク作業とは、オブジェクトファイルとライブラ
リファイルとを合体して実行プログラムを生成する作業
である。
Here, the compile link operation is a term in which the compile operation and the link operation are combined into one word, and the compile operation is an operation of converting a source file into an object file. An object file is an intermediate file between a source file and a library file. The source file is as described above, and the library file is a collection of basic programs for inputting and outputting data. The link operation is an operation of combining an object file and a library file to generate an execution program.

【0014】すなわち、本発明は、プロセス制御プログ
ラムの設計支援装置であって、本発明の特徴とするとこ
ろは、被制御系となる機械装置の各動作部分について個
別の基本動作プログラムをあらかじめ記憶する手段と、
その動作部分についての機械仕様を数値で設定するため
の定型パターンおよびその動作部分についての時間の経
過に対する動作仕様を数値で設定するための定型パター
ンをあらかじめ記憶する手段と、前記機械仕様および前
記動作仕様の定型パターンに数値が入力されたときに、
前記基本動作プログラムを前記機械仕様および前記動作
仕様にしたがってコンピュータ上で模擬的に実行させる
手段と、その模擬的に実行させた動作の状態を画面上に
表示する手段とを備えたところにある。
That is, the present invention relates to a design support apparatus for a process control program. A feature of the present invention is that an individual basic operation program is stored in advance for each operation part of a machine to be controlled. Means,
Means for preliminarily storing a fixed pattern for setting a machine specification for the operation part by a numerical value and a fixed pattern for setting an operation specification for the operation part with the passage of time by a numerical value; When a numerical value is entered in the standard pattern of the specification,
There is provided a means for simulating the basic operation program on a computer in accordance with the machine specifications and the operation specifications, and a means for displaying on a screen the state of the simulated operation.

【0015】前記定型パターンは表形式であり、その表
をコンピュータ装置の画面上に表示する手段を備えるこ
とが望ましい。
[0015] The fixed pattern is in a table format, and it is desirable to have means for displaying the table on a screen of a computer device.

【0016】前記定型パターンに設定された動作仕様を
時間軸を横軸とするグラフ形式としてコンピュータ装置
の画面上に表示する手段を備えることが望ましい。
[0016] It is desirable to have a means for displaying the operation specifications set in the fixed pattern on a screen of a computer device in a graph format with a time axis as a horizontal axis.

【0017】前記動作の状態を画面上に表示する手段
は、関連する複数の動作部分の前記動作仕様を等しい時
間軸上に並列表示する手段を含むことが望ましい。
The means for displaying the operation status on the screen preferably includes means for displaying the operation specifications of a plurality of related operation parts in parallel on the same time axis.

【0018】前記模擬的に実行させる手段により複数の
動作部分について相互干渉が矛盾しないものと評価され
たとき、前記模擬的に実行させる手段により実行された
動作をこのプロセス制御プログラムに与えるソースファ
イルデータに変換する手段を備えることが望ましい。
When the simulated execution means evaluates that the mutual interference is not inconsistent with respect to a plurality of operation parts, source file data for giving the operation executed by the simulated execution means to the process control program. It is desirable to have a means for converting to.

【0019】[0019]

【発明の実施の形態】発明の実施の形態を図1を参照し
て説明する。図1は本発明実施例のプロセス制御プログ
ラムの設計支援装置のブロック構成図である。
Embodiments of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of a process control program design support apparatus according to an embodiment of the present invention.

【0020】本発明は、プロセス制御プログラムの設計
支援装置10であって、本発明の特徴とするところは、
被制御系となる機械装置の各動作部分について個別の基
本動作プログラムをあらかじめ記憶する手段であるソー
ス作成用基本ファイル3と、その動作部分についての機
械仕様を数値で設定するための定型パターンおよびその
動作部分についての時間の経過に対する動作仕様を数値
で設定するための定型パターンをあらかじめ記憶する手
段であるデータファイル4と、前記機械仕様および前記
動作仕様の定型パターンに数値が入力されたときに、前
記基本動作プログラムを前記機械仕様および前記動作仕
様にしたがってコンピュータ上で模擬的に実行させる手
段である設計支援制御部1と、その模擬的に実行させた
動作の状態を画面上に表示する手段であるコンピュータ
装置2とを備えたところにある。
The present invention relates to a process control program design support apparatus 10, which is characterized by:
A basic file 3 for source creation, which is a means for pre-storing an individual basic operation program for each operation part of a mechanical device to be controlled, a fixed pattern for setting the machine specifications of the operation part by numerical values, and When a numerical value is input to the data file 4 which is a means for previously storing a standard pattern for setting an operation specification with respect to the elapse of time for the operation portion with a numerical value, and A design support controller 1 for simulating the basic operation program on a computer in accordance with the machine specifications and the operation specifications; and a means for displaying on a screen the state of the simulated operation. And a computer device 2.

【0021】前記定型パターンは表形式であり、設計支
援制御部1は、その表をコンピュータ装置2の画面上に
表示することができる。また、前記定型パターンに設定
された動作仕様を時間軸を横軸とするグラフ形式として
コンピュータ装置2の画面上に表示することができる。
さらに、設計支援制御部1は、関連する複数の動作部分
の前記動作仕様を等しい時間軸上に並列表示することが
できる。
The fixed pattern is in the form of a table, and the design support control section 1 can display the table on the screen of the computer device 2. Further, the operation specifications set in the fixed pattern can be displayed on the screen of the computer device 2 in a graph format with the time axis as a horizontal axis.
Further, the design support controller 1 can display the operation specifications of a plurality of related operation parts in parallel on the same time axis.

【0022】また、設計支援制御部1は、機械装置の基
本動作プログラムを、その機械装置に設定された機械仕
様および動作仕様にしたがって模擬的に実行させること
により、その機械装置の複数の動作部分について相互干
渉が矛盾しないものと評価されたとき、前記模擬的に実
行された動作をこのプロセス制御プログラムに与えるソ
ースファイルデータに変換する。
Further, the design support control section 1 simulates the basic operation program of the machine in accordance with the machine specifications and the operation specifications set for the machine, so that a plurality of operating parts of the machine are provided. When it is evaluated that the mutual interference does not contradict each other, the simulated operation is converted into source file data to be given to the process control program.

【0023】このプロセス制御プログラムは、各機械装
置毎にあらかじめ設定され、ソース作成用基本ファイル
3に格納されている基本動作プログラムを組み合わせる
ことにより生成される。本発明実施例では、プロセス制
御プログラムは、設計者が所望の機械装置を選択したと
きに、設計支援制御部1により自動的に組合わされて生
成される。ソースファイルデータは、このプロセス制御
プログラムを実行するときに必要となるデータの集合で
あり、プロセス制御プログラムがパルスデータにしたが
って動作するものであれば、動作仕様入力の時点では、
所定の動作が速度データとして入力されていたものをパ
ルスデータに変換することにより、この動作をソースフ
ァイルデータに変換する。このソースファイルデータ
は、ソースファイル5に格納される。
This process control program is generated in advance by combining basic operation programs set in advance for each machine and stored in the source creation basic file 3. In the embodiment of the present invention, the process control program is automatically generated by the design support control unit 1 when the designer selects a desired mechanical device. Source file data is a set of data required when executing this process control program.If the process control program operates according to pulse data, at the time of inputting operation specifications,
This operation is converted into source file data by converting what was input as speed data into pulse data. This source file data is stored in the source file 5.

【0024】[0024]

【実施例】本発明実施例を図1〜図15を参照して説明
する。図2は本発明実施例を適用するプロセス制御シス
テムの例を示す図である。図2に示すように、プロセス
制御システムは、プロセス制御装置20から出力される
指令パルスを駆動回路21および22としてのサーボド
ライバが受け、駆動回路21および22はそれぞれサー
ボモータ31および32を駆動する。サーボモータ31
はボールネジ41を回転させ、装置Aにおいてワークを
押し込む動作を行う。また、サーボモータ32はボール
ネジ42を回転させ、装置Bにおいてワークを持ち上げ
る動作を行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a diagram showing an example of a process control system to which the embodiment of the present invention is applied. As shown in FIG. 2, in the process control system, a command pulse output from the process control device 20 is received by servo drivers as drive circuits 21 and 22, and the drive circuits 21 and 22 drive servo motors 31 and 32, respectively. . Servo motor 31
Performs the operation of rotating the ball screw 41 and pushing the work in the apparatus A. Further, the servo motor 32 rotates the ball screw 42 to perform an operation of lifting the work in the apparatus B.

【0025】これらの動作は、プロセス制御装置20に
入力される基準パルスにしたがって行われる。この基準
パルスは、ワークを運搬するためのコンベア装置の同期
パルスであり、コンベア装置の主軸52の回転をエンコ
ーダ51がパルスに変換することにより発生する。これ
により、コンベア装置の運搬速度に合わせて装置Aおよ
び装置Bはそれぞれの動作を行うことができる。
These operations are performed in accordance with a reference pulse input to the process control device 20. The reference pulse is a synchronization pulse of the conveyor device for transporting the work, and is generated by the encoder 51 converting the rotation of the main shaft 52 of the conveyor device into a pulse. Thereby, the apparatus A and the apparatus B can perform each operation | movement according to the conveyance speed of a conveyor apparatus.

【0026】図3は機械仕様の入力状況を示す図であ
る。図1に示すコンピュータ装置2の画面上には、図3
に示すように、動作部分についての仕様を数値で設定す
るための定型パターンが表示される。図3の例では、表
示D3に示すようにハードウェアの各スペック(ハード
スペック)を項目毎に入力することにより、装置Aの機
械仕様が表示D1として表示され、装置Bの機械仕様が
表示D2として表示される。この仕様の設定はデータフ
ァイル4に格納される。
FIG. 3 is a diagram showing the input status of the machine specifications. On the screen of the computer device 2 shown in FIG.
As shown in FIG. 7, a fixed pattern for setting the specification of the operation part by numerical values is displayed. In the example of FIG. 3, by inputting each hardware specification (hard specification) for each item as shown in a display D3, the mechanical specifications of the device A are displayed as a display D1, and the mechanical specifications of the device B are displayed in a display D2. Will be displayed as The settings of this specification are stored in the data file 4.

【0027】図4は動作パターンの入力状況を示す図で
ある。図1に示すコンピュータ装置2の画面上には、図
4に示すように、動作部分について時間の経過に対する
動作パターンを数値で設定するための定型パターンが表
示される。図4の例では、表示D6に示すように時間に
対応する変位をポイント毎に入力することにより、装置
Aの動作パターンが表示D4として表示され、装置Bの
動作パターンが表示D5として表示される。この動作パ
ターンの設定はデータファイル4に格納される。このよ
うに、設定した動作パターンが即座に画面上に表示され
ることから、装置の位置と時間との関係を把握すること
が容易になる。
FIG. 4 is a diagram showing an input state of an operation pattern. On the screen of the computer device 2 shown in FIG. 1, as shown in FIG. 4, a fixed pattern for setting an operation pattern with respect to the elapse of time with respect to an operation portion by a numerical value is displayed. In the example of FIG. 4, by inputting a displacement corresponding to time for each point as shown in the display D6, the operation pattern of the device A is displayed as the display D4, and the operation pattern of the device B is displayed as the display D5. . The setting of the operation pattern is stored in the data file 4. Since the set operation pattern is immediately displayed on the screen, it is easy to grasp the relationship between the position of the apparatus and time.

【0028】図5はシミュレーションによる動作の検討
状況を示す図である。図1に示すコンピュータ装置2の
画面上では、図5に示すように、設定した動作パターン
にしたがってシミュレーションを実行することができ
る。表示D7は装置Aの動作パターンにしたがった経過
時間と変位とを表示し、表示D8は装置Bの動作パター
ンにしたがった経過時間と変位とを表示している。これ
により、数値入力だけでは気付き難い相互干渉の有無を
容易に判定することができる。
FIG. 5 is a diagram showing a state of study of the operation by simulation. On the screen of the computer device 2 shown in FIG. 1, a simulation can be executed according to the set operation pattern as shown in FIG. The display D7 displays the elapsed time and the displacement according to the operation pattern of the device A, and the display D8 displays the elapsed time and the displacement according to the operation pattern of the device B. As a result, it is possible to easily determine the presence or absence of mutual interference that is hardly noticeable only by inputting numerical values.

【0029】図6は本発明実施例の設計作業手順を示す
図である。図6に示すように、機械仕様および動作仕様
を設定し、シミュレーションその他により設定項目チェ
ックを行い、プロセス制御プログラムを作成する。本発
明実施例では、図2に示すような機械装置による構成を
想定しているので、コンベア装置の基準パルスから装置
Aまたは装置Bで用いるパルスパターンを作成すること
により、プロセス制御プログラムの作成を行うことがで
きる。この作成手順は、特開平6−242829号公報
により開示された技術である。
FIG. 6 is a diagram showing a design work procedure according to the embodiment of the present invention. As shown in FIG. 6, machine specifications and operation specifications are set, setting items are checked by simulation and the like, and a process control program is created. In the embodiment of the present invention, since a configuration using a mechanical device as shown in FIG. 2 is assumed, a process control program can be created by creating a pulse pattern used in the device A or the device B from a reference pulse of the conveyor device. It can be carried out. This creation procedure is a technique disclosed in Japanese Patent Application Laid-Open No. 6-242829.

【0030】この技術を簡単に説明すると、設備の1箇
所で、例えば、図2に示すように、コンベアに回転力を
与える主軸52に連動するエンコーダ51で、基準にな
る運転速度に比例する周波数の基準パルス列を発生させ
る。この基準パルスの周波数は例えば10〜20kHz
の範囲で変化する。この基準パルス列を分岐してプロセ
ス制御装置20の入力端子に接続する。
This technology will be briefly described. In one place of the equipment, for example, as shown in FIG. 2, an encoder 51 interlocking with a main shaft 52 for applying a rotating force to a conveyor has a frequency proportional to a reference operating speed. Is generated. The frequency of this reference pulse is, for example, 10 to 20 kHz.
Range. The reference pulse train is branched and connected to the input terminal of the process control device 20.

【0031】そして、プロセス制御装置20では、この
基準パルス列を通過させるか阻止するかを制御して出力
端子に送出する。基準パルス列を全部通過させている期
間はその被制御装置は最高速度で運転されていることに
なる。基準パルス列を全部阻止している期間はその被制
御装置は停止していることになる。基準パルス列を一つ
おきに通過させているときには、その被制御装置は最高
速度の半分の速度で運転していることになる。基準パル
ス列の欠落を徐々に増大させてゆくと被制御装置は減速
することになる。基準パルス列の欠落を徐々に減少させ
てゆくと被制御装置の運転は加速することになる。被制
御装置の運転に逆回転が必要な場合には、上記出力端子
の他にもう一つの出力端子を設けて、そこに極性信号
(例えば1はプラス方向、0はマイナス方向)を追加す
ることにより簡単に構成することができる。
Then, the process control device 20 controls whether to pass or block the reference pulse train and sends it to an output terminal. During the period when the reference pulse train is completely passed, the controlled device is operated at the maximum speed. During a period in which the reference pulse train is completely blocked, the controlled device is stopped. When passing every other reference pulse train, the controlled device is operating at half the maximum speed. As the number of missing reference pulse trains is gradually increased, the controlled device decelerates. As the loss of the reference pulse train is gradually reduced, the operation of the controlled device is accelerated. If reverse rotation is required for the operation of the controlled device, provide another output terminal in addition to the above output terminal, and add a polarity signal (for example, 1 for plus direction and 0 for minus direction). Thus, the configuration can be simplified.

【0032】このような制御はきわめて単純であり、そ
の回路規模を小さくすることができるので装置を安価に
製作することができ、信頼性を高めることができる。ま
た、プロセス制御装置の入力端子と出力端子の信号をオ
シロスコープや周波数カウンタで監視することにより、
保守作業を行う者は目で見て点検することができる。し
たがってソフトウエア制御を伴うものに比べてわかりや
すく安心感がある。故障があるときには即座に対応でき
るし故障を未然に防ぐこともできる。基準パルス列の信
号を分岐して入力端子に接続することにより、設備の追
加は簡単にできる。
Such control is extremely simple and the circuit scale can be reduced, so that the device can be manufactured at low cost and the reliability can be improved. Also, by monitoring the signals at the input and output terminals of the process control device with an oscilloscope or frequency counter,
The person performing the maintenance work can visually inspect. Therefore, there is a sense of security that is easy to understand compared to the one that involves software control. If there is a failure, it can be dealt with immediately and the failure can be prevented. By branching the signal of the reference pulse train and connecting it to the input terminal, it is possible to easily add equipment.

【0033】基準パルス列の周波数を変更することによ
り、全部の装置の運転速度を同期して変更することがで
きる。例えば、上記主軸52の回転速度を変更すること
により、全部の装置の運転速度は同期して一斉に変更さ
れる。
By changing the frequency of the reference pulse train, the operating speeds of all devices can be changed synchronously. For example, by changing the rotation speed of the main shaft 52, the operation speeds of all the devices are simultaneously changed in synchronization.

【0034】基準パルスを何パルス受ける間に、サーボ
モータに指令パルスを何パルス送ればよいのかを動作仕
様、機械仕様に基づいて計算した結果がパルスパターン
であり、図6には、基準パルス10に対して指令パルス
6、基準パルス12に対して指令パルス12、基準パル
ス10に対して指令パルス6の例が示されている。
A pulse pattern is obtained by calculating how many command pulses should be sent to the servomotor while receiving the reference pulse based on the operation specifications and machine specifications. 4 shows an example of the command pulse 6, the command pulse 12 for the reference pulse 12, and the command pulse 6 for the reference pulse 10.

【0035】また、ソースファイルの例として、 〔0,DL, 0,−3516〕 〔1,EX, 10, 0〕 〔2,AN,1880, 1953〕 〔3,CN,2490, 0〕 〔4,DN,1880, 0〕 〔5,EX, 10, 0〕 〔6,AP,1880, 5469〕 というソースファイルがあるときに、左から二列目(D
L、EX、AN、CN、DN、EX、AP)はコマンド
であり、左から三列目(0、10、1880、249
0、1880、10、1880)は基準パルス数であ
り、左から四列目(−3516、0、1953、0、
0、0、5469)は指令パルス数である。このような
文字列がソースファイルデータであり、図6に示すよう
なパルスパターンに基づいて自動的に生成される。
As an example of a source file, [0, DL, 0, -3516] [1, EX, 10, 0] [2, AN, 1880, 1953] [3, CN, 2490, 0] [4 , DN, 1880, 0] [5, EX, 10, 0] [6, AP, 1880, 5469] in the second row from the left (D
L, EX, AN, CN, DN, EX, AP) are commands, and are the third column from the left (0, 10, 1880, 249).
0, 1880, 10, 1880) is the number of reference pulses, and is the fourth row from the left (−3516, 0, 1953, 0,
0, 0, 5469) is the number of command pulses. Such a character string is source file data, and is automatically generated based on a pulse pattern as shown in FIG.

【0036】図7は本発明実施例のサーボパターン設計
作業手順を示すフローチャートである。機械仕様および
動作仕様を入力し(S1)、基本動作プログラムを組み
合わせたプロセス制御プログラムにしたがってシミュレ
ーションを行って干渉の有無などをチェックする(S
2)。さらに、動作可能なパターンであるか否かの判定
を行い(S3)、速度パターンからパルスパターンへの
変換を行う(S4)。このパルスパターンに基づいてソ
ースファイルデータの作成を行い(S5)、コンパイル
リンク作業を行う(S6)。
FIG. 7 is a flowchart showing a servo pattern design work procedure according to the embodiment of the present invention. A machine specification and an operation specification are input (S1), and a simulation is performed according to a process control program in which a basic operation program is combined to check for the presence of interference (S1).
2). Further, it is determined whether the pattern is an operable pattern (S3), and the speed pattern is converted into a pulse pattern (S4). Source file data is created based on the pulse pattern (S5), and a compile link operation is performed (S6).

【0037】図8は変更履歴の管理状況を示す図であ
る。図8に示すように、本発明実施例を用いれば、仕様
変更の履歴をわかりやすく管理することができる。
FIG. 8 is a diagram showing the management status of the change history. As shown in FIG. 8, the use of the embodiment of the present invention makes it possible to easily manage the history of specification changes.

【0038】図9は設計支援制御部1のメインプログラ
ムのアルゴリズムを示す図である。図9に示すように、
メインプログラムを選択すると(S10)、コンピュー
タ装置2の画面上には、メニューが表示される(S1
1)。設計者はこのメニューを選択する(S12、S1
3)。メニューの種類は、機械仕様の新規入力(S2
0)、機械仕様の修正(S30)、動作仕様の新規入力
(S40)、動作仕様の修正(S50)、動作のシミュ
レーション(S60)、ソースファイルへの変換(S7
0)である。
FIG. 9 is a diagram showing an algorithm of a main program of the design support control section 1. As shown in FIG.
When the main program is selected (S10), a menu is displayed on the screen of the computer device 2 (S1).
1). The designer selects this menu (S12, S1
3). The menu type is the new input of the machine specification (S2
0), modification of machine specifications (S30), new input of operation specifications (S40), correction of operation specifications (S50), simulation of operation (S60), conversion to source files (S7)
0).

【0039】図10は機械仕様の新規入力のアルゴリズ
ムを示す図である。図10に示すように、機械仕様の新
規入力を選択し(S20)、データ格納ファイル名を入
力する(S21)。本発明実施例では図1に示すデータ
ファイル4がデータ格納ファイル名になる。データファ
イル4のファイル名を入力すると、データファイル4に
データを入力できる状態に設定される。ここで、機械仕
様を新規入力する(S22、S23)。入力が終了した
らデータをファイルに格納する(S24)。
FIG. 10 is a diagram showing an algorithm for newly inputting machine specifications. As shown in FIG. 10, a new input of a machine specification is selected (S20), and a data storage file name is input (S21). In the embodiment of the present invention, the data file 4 shown in FIG. 1 is a data storage file name. When the file name of the data file 4 is input, the data file 4 is set to a state where data can be input. Here, a new machine specification is input (S22, S23). When the input is completed, the data is stored in a file (S24).

【0040】図11は機械仕様修正のアルゴリズムを示
す図である。図11に示すように、機械仕様の修正を選
択し(S30)、修正ファイル名を入力する(S3
1)。本発明実施例では図1に示すデータファイル4が
修正ファイル名になる。データファイル4のファイル名
を入力すると、データファイル4よりデータの読出しが
可能になるので所望のデータの読出しを行う(S3
2)。この読出したデータに修正を施す(S33、S3
4)。修正が終了したデータを再びデータファイル4に
格納する(S35)。
FIG. 11 is a diagram showing an algorithm for modifying the machine specifications. As shown in FIG. 11, correction of the machine specification is selected (S30), and a correction file name is input (S3).
1). In the embodiment of the present invention, the data file 4 shown in FIG. When the file name of the data file 4 is input, the data can be read from the data file 4, so that desired data is read (S3).
2). The read data is corrected (S33, S3
4). The corrected data is stored in the data file 4 again (S35).

【0041】図12は動作仕様の新規入力のアルゴリズ
ムを示す図である。図12に示すように、動作仕様の新
規入力を選択し(S40)、データ格納ファイル名を入
力する(S41)。本発明実施例では図1に示すデータ
ファイル4がデータ格納ファイル名になる。データファ
イル4のファイル名を入力すると、データファイル4に
データを入力できる状態に設定される。ここで、動作仕
様を新規入力する(S42、S43)。入力が終了した
らデータをファイルに格納する(S44)。
FIG. 12 is a diagram showing an algorithm for newly inputting operation specifications. As shown in FIG. 12, a new operation specification is selected (S40), and a data storage file name is input (S41). In the embodiment of the present invention, the data file 4 shown in FIG. 1 is a data storage file name. When the file name of the data file 4 is input, the data file 4 is set to a state where data can be input. Here, a new operation specification is input (S42, S43). When the input is completed, the data is stored in a file (S44).

【0042】図13は機械仕様修正のアルゴリズムを示
す図である。図13に示すように、動作仕様の修正を選
択し(S50)、修正ファイル名を入力する(S5
1)。本発明実施例では図1に示すデータファイル4が
修正ファイル名になる。データファイル4のファイル名
を入力すると、データファイル4よりデータの読出しが
可能になるので所望のデータの読出しを行う(S5
2)。この読出したデータに修正を施す(S53、S5
4)。修正が終了したデータを再びデータファイル4に
格納する(S55)。
FIG. 13 is a diagram showing an algorithm for modifying the machine specifications. As shown in FIG. 13, correction of the operation specification is selected (S50), and a correction file name is input (S5).
1). In the embodiment of the present invention, the data file 4 shown in FIG. When the file name of the data file 4 is input, the data can be read from the data file 4, so that desired data is read (S5).
2). The read data is corrected (S53, S5
4). The corrected data is stored in the data file 4 again (S55).

【0043】図14は動作シミュレーションのアルゴリ
ズムを示す図である。図14に示すように、動作のシミ
ュレーションを選択し(S60)、データファイル4の
機械仕様ファイルよりデータを読出す(S61)。さら
に、データファイル4の動作仕様ファイルよりデータを
読出す(S62)。シミュレーションの条件を入力する
と(S63)、読出したデータについてのシミュレーシ
ョンが実行されてその結果が表示される(S64)。そ
の結果にしたがって、シミュレーション条件の修正、機
械仕様データおよび動作仕様データの変更を行う(S6
5)。
FIG. 14 is a diagram showing an algorithm of the operation simulation. As shown in FIG. 14, an operation simulation is selected (S60), and data is read from the machine specification file of the data file 4 (S61). Further, data is read from the operation specification file of the data file 4 (S62). When simulation conditions are input (S63), a simulation is performed on the read data and the result is displayed (S64). According to the result, the simulation conditions are corrected and the machine specification data and the operation specification data are changed (S6).
5).

【0044】図15はソースファイルへの変換のアルゴ
リズムを示す図である。図15に示すように、ソースフ
ァイルへの変換を選択すると(S70)、設計支援制御
部1は、ソース作成基本ファイル3より動作仕様のデー
タをソースデータファイルに変換するためのソフトウェ
アとしてのデータを読出し(S71)、データファイル
4の動作仕様ファイルよりデータを読出す(S72)。
設計支援制御部1は、ソース作成用基本ファイル3より
読出された動作仕様のデータをソースデータファイルに
変換するためのソフトウェアにしたがって、動作仕様の
データをソースデータファイルに変換する(S73)。
この変換されたソースデータファイルはソースファイル
5に格納される(S74)。
FIG. 15 is a diagram showing an algorithm for conversion to a source file. As shown in FIG. 15, when the conversion to the source file is selected (S70), the design support controller 1 converts the data as the software for converting the operation specification data into the source data file from the source creation basic file 3. Reading (S71), data is read from the operation specification file of the data file 4 (S72).
The design support controller 1 converts the operation specification data into a source data file according to software for converting the operation specification data read from the source creation basic file 3 into a source data file (S73).
The converted source data file is stored in the source file 5 (S74).

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば、
簡単に工場設備のプロセス制御プログラムの設計または
変更を行うことができる。
As described above, according to the present invention,
It is possible to easily design or change the process control program of the factory equipment.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明実施例のプロセス制御プログラムの設計
支援装置のブロック構成図。
FIG. 1 is a block diagram of a process control program design support apparatus according to an embodiment of the present invention.

【図2】本発明実施例を適用するプロセス制御システム
の例を示す図。
FIG. 2 is a diagram showing an example of a process control system to which an embodiment of the present invention is applied.

【図3】機械仕様の入力状況を示す図。FIG. 3 is a diagram showing an input state of machine specifications.

【図4】動作パターンの入力状況を示す図。FIG. 4 is a diagram showing an input state of an operation pattern.

【図5】シミュレーションによる動作の検討状況を示す
図。
FIG. 5 is a diagram showing a state of study of an operation by simulation.

【図6】本発明実施例の設計作業手順を示す図。FIG. 6 is a diagram showing a design work procedure according to the embodiment of the present invention.

【図7】本発明実施例のサーボパターン設計作業手順を
示すフローチャート。
FIG. 7 is a flowchart showing a servo pattern design work procedure according to the embodiment of the present invention.

【図8】変更履歴の管理状況を示す図。FIG. 8 is a diagram showing a management status of a change history.

【図9】設計支援制御部のメインプログラムのアルゴリ
ズムを示す図。
FIG. 9 is a diagram showing an algorithm of a main program of a design support control unit.

【図10】機械仕様の新規入力のアルゴリズムを示す
図。
FIG. 10 is a diagram showing an algorithm for newly inputting machine specifications.

【図11】機械仕様修正のアルゴリズムを示す図。FIG. 11 is a diagram showing an algorithm for modifying mechanical specifications.

【図12】動作仕様の新規入力のアルゴリズムを示す
図。
FIG. 12 is a diagram showing an algorithm for newly inputting an operation specification.

【図13】機械仕様修正のアルゴリズムを示す図。FIG. 13 is a diagram showing an algorithm for modifying mechanical specifications.

【図14】動作シミュレーションのアルゴリズムを示す
図。
FIG. 14 is a diagram showing an algorithm of an operation simulation.

【図15】ソースファイルへの変換のアルゴリズムを示
す図。
FIG. 15 is a diagram showing an algorithm for conversion to a source file.

【符号の説明】[Explanation of symbols]

1 設計支援制御部 2 コンピュータ装置 3 ソース作成用基本ファイル 4 データファイル 5 ソースファイル 6 コンパイルリンク部 7 ライブラリファイル 8 実行ファイル 10 設計支援装置 20 プロセス制御装置 21、22 駆動回路 31、32 サーボモータ 41、42 ボールネジ 51 エンコーダ 52 主軸 DESCRIPTION OF SYMBOLS 1 Design support control part 2 Computer device 3 Source creation basic file 4 Data file 5 Source file 6 Compile link part 7 Library file 8 Executable file 10 Design support device 20 Process control device 21, 22 Drive circuit 31, 32 Servo motor 41, 42 Ball screw 51 Encoder 52 Spindle

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 被制御系となる機械装置の各動作部分に
ついて個別の基本動作プログラムをあらかじめ記憶する
手段と、 その動作部分についての機械仕様を数値で設定するため
の定型パターンおよびその動作部分についての時間の経
過に対する動作仕様を数値で設定するための定型パター
ンをあらかじめ記憶する手段と、 前記機械仕様および前記動作仕様の定型パターンに数値
が入力されたときに、前記基本動作プログラムを前記機
械仕様および前記動作仕様にしたがってコンピュータ上
で模擬的に実行させる手段と、 その模擬的に実行させた動作の状態を画面上に表示する
手段とを備えたことを特徴とするプロセス制御プログラ
ムの設計支援装置。
1. A means for preliminarily storing an individual basic operation program for each operation part of a mechanical device to be controlled, a fixed pattern for setting machine specifications of the operation part by numerical values, and an operation part thereof Means for storing in advance a fixed pattern for setting the operation specifications with respect to the passage of time by numerical values, and when a numerical value is input to the fixed pattern of the machine specifications and the operation specifications, the basic operation program And a means for simulating execution on a computer in accordance with the operation specifications, and means for displaying on a screen the state of the simulated operation, the design control apparatus for a process control program. .
【請求項2】 前記定型パターンは表形式であり、その
表をコンピュータ装置の画面上に表示する手段を備えた
請求項1記載のプロセス制御プログラムの設計支援装
置。
2. The process control program design support apparatus according to claim 1, wherein the fixed pattern is in a table format, and the table includes means for displaying the table on a screen of a computer device.
【請求項3】 前記定型パターンに設定された動作仕様
を時間軸を横軸とするグラフ形式としてコンピュータ装
置の画面上に表示する手段を備えた請求項1記載のプロ
セス制御プログラムの設計支援装置。
3. The process control program design support apparatus according to claim 1, further comprising means for displaying, on a screen of a computer device, the operation specifications set in the fixed pattern in a graph format having a time axis as a horizontal axis.
【請求項4】 前記動作の状態を画面上に表示する手段
は、関連する複数の動作部分の前記動作仕様を等しい時
間軸上に並列表示する手段を含む請求項3記載のプロセ
ス制御プログラムの設計支援装置。
4. The process control program design according to claim 3, wherein the means for displaying the operation status on the screen includes means for displaying the operation specifications of a plurality of related operation parts in parallel on an equal time axis. Support equipment.
【請求項5】 前記模擬的に実行させる手段により複数
の動作部分について相互干渉が矛盾しないものと評価さ
れたとき、前記模擬的に実行させる手段により実行され
た動作をこのプロセス制御プログラムに与えるソースフ
ァイルデータに変換する手段を備えた請求項4記載のプ
ロセス制御プログラムの設計支援装置。
5. A source for providing an operation executed by the simulated execution means to the process control program when the simulated execution means evaluates that mutual interference is not inconsistent for a plurality of operation parts. 5. The process control program design support device according to claim 4, further comprising means for converting the data into file data.
JP6879098A 1998-03-18 1998-03-18 Design supporting device for process control program Pending JPH11272322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6879098A JPH11272322A (en) 1998-03-18 1998-03-18 Design supporting device for process control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6879098A JPH11272322A (en) 1998-03-18 1998-03-18 Design supporting device for process control program

Publications (1)

Publication Number Publication Date
JPH11272322A true JPH11272322A (en) 1999-10-08

Family

ID=13383879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6879098A Pending JPH11272322A (en) 1998-03-18 1998-03-18 Design supporting device for process control program

Country Status (1)

Country Link
JP (1) JPH11272322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021149297A1 (en) * 2020-01-22 2021-07-29 株式会社日立製作所 Factory management system, factory management method, and factory management program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021149297A1 (en) * 2020-01-22 2021-07-29 株式会社日立製作所 Factory management system, factory management method, and factory management program
JP2021117538A (en) * 2020-01-22 2021-08-10 株式会社日立製作所 Factory management device, factory management method, and factory management program

Similar Documents

Publication Publication Date Title
US20220066628A1 (en) Procedure for Configuring a Modular Safety Switching Device
US20070021868A1 (en) Method of evaluating and correcting robot program and device for evaluating and correcting robot program
JPS6224944A (en) Device and method of controlling machine
EP1310843B1 (en) Simulation device
US20220291670A1 (en) Control data extraction and evaluation of production system
US11467569B2 (en) Simulation device
US20120187889A1 (en) Method and Device for Generating a Variable Motion Profile for a Drive Unit of a Machine
JP2010218036A (en) Robot off-line programming system
JP6129444B1 (en) Engineering tools
JP2017151869A (en) Cell control device for displaying abnormality occurrence situation of manufacturing machine by the area or by the step
JPH11272322A (en) Design supporting device for process control program
JP4556787B2 (en) Programmable controller editing device
JP2759380B2 (en) Control method of machine or process using computer
JP4465920B2 (en) Simulation apparatus and simulation method
JP2875941B2 (en) Robot program creation support system
CN113348415B (en) Device state reproducing device, method and storage medium
JPH07160323A (en) Operation waveform diagnostic device for industrial robot
JP2009048396A (en) Simulator of motor motion
JP2533373B2 (en) Control program creation method
JP2008532130A (en) Method for subprogram translation by a controller interpreter
JPS58222357A (en) Debug system of drive control program
KR100877572B1 (en) Apparatus and method for operation sequence converting and computer readable medium processing the method
JP3152019B2 (en) Inverter device
JP4491165B2 (en) Verification pattern generation apparatus and method, and verification pattern generation program
Attar et al. Development and Fabrication of Automatic Chakali Making Machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041021

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070810

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080311