Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3088065B2 - Die casting machine and its peripheral device - Google Patents
[go: Go Back, main page]

JP3088065B2 - Die casting machine and its peripheral device - Google Patents

Die casting machine and its peripheral device

Info

Publication number
JP3088065B2
JP3088065B2 JP30441694A JP30441694A JP3088065B2 JP 3088065 B2 JP3088065 B2 JP 3088065B2 JP 30441694 A JP30441694 A JP 30441694A JP 30441694 A JP30441694 A JP 30441694A JP 3088065 B2 JP3088065 B2 JP 3088065B2
Authority
JP
Japan
Prior art keywords
program
child
task
casting machine
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP30441694A
Other languages
Japanese (ja)
Other versions
JPH08141727A (en
Inventor
重傑 神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ryobi Ltd
Original Assignee
Ryobi Ltd
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 Ryobi Ltd filed Critical Ryobi Ltd
Priority to JP30441694A priority Critical patent/JP3088065B2/en
Publication of JPH08141727A publication Critical patent/JPH08141727A/en
Application granted granted Critical
Publication of JP3088065B2 publication Critical patent/JP3088065B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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]
    • 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/30Computing systems specially adapted for manufacturing

Landscapes

  • Injection Moulding Of Plastics Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ダイカストマシンおよ
びその周辺装置の統括管理方法に関し、更に詳細には、
工場や製品によって異なる周辺装置の組み替えに対応で
き、鋳造工程の統括管理を容易に行えるようにしたダイ
カストマシンおよびその周辺装置の統括管理方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrated management method for a die casting machine and its peripheral devices.
The present invention relates to a die-casting machine capable of coping with different types of peripheral devices depending on factories and products and facilitating overall management of a casting process, and a method for overall management of peripheral devices thereof.

【0002】[0002]

【従来の技術】ダイカストの生産工程及び生産工程内の
管理重点項目は製品により異なるため、付帯設備も鋳造
製品に応じて組み替えられる。そのため、従来は、ダイ
カストマシン及びその周辺装置をそれぞれの要素技術単
位毎に独立して管理するか、あるいは鋳造製品に応じて
構築された固定的な統合管理システムによりダイカスト
マシン及びその周辺装置を管理していた。
2. Description of the Related Art Since the production process of die casting and important management items in the production process differ depending on the product, incidental facilities are also changed according to the casting product. Therefore, conventionally, the die casting machine and its peripheral devices are managed independently for each elemental technology unit, or the die casting machine and its peripheral devices are managed by a fixed integrated management system constructed according to the casting product. Was.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、ダイカ
ストマシン及びその周辺装置を要素技術単位毎に管理す
る方法では、例えば、金型温度制御や排気システム、溶
解給湯システム、ダイカストマシンの射出モニター制御
システム等の周辺装置はそれぞれ独立に管理され運転さ
れるので、作業者は複数のシステムを管理しなければな
らないばかりか、個々の周辺装置の管理内容も鋳造製品
により異なるため、管理作業が繁雑化し作業者の負担増
からミスの原因になるという問題がある。
However, in the method for managing the die casting machine and its peripheral devices for each elemental technology unit, for example, a mold temperature control, an exhaust system, a melting and hot water supply system, an injection monitor control system for a die casting machine, and the like. Since the peripheral devices are managed and operated independently of each other, not only must the operator manage multiple systems, but the management of each peripheral device also differs depending on the cast product, which makes management work complicated and There is a problem that an increase in the burden on the user causes a mistake.

【0004】また、固定的な統合管理システムにより管
理する方法では、それぞれの周辺装置のつながりは固定
的でありその従属関係や実行順序、優先順位を変更でき
ないため、鋳造製品が変わるたびに統合管理システムを
再構築しなければならないという問題がある。また、同
一の鋳造製品であっても、新たに開発された周辺装置を
付加したり、既存の周辺装置を改良するには統合管理シ
ステムを修正しなければならずコストがかかるという問
題がある。更に、ダイカストマシンや周辺装置の制御理
論(ソフトウエア)はROMで供給されておりシステ
ム、ハードウエアに対し固定的である。制御理論を変更
するにはプログラムを書き換えたROMの交換が必要で
あるが、ソフトウエアの内容は装置のメーカーのみが変
更可能であるためコストがかかるという問題がある。
[0004] In the method of management by a fixed integrated management system, the connection of each peripheral device is fixed, and its dependency, execution order, and priority cannot be changed. There is a problem that the system must be rebuilt. Further, even with the same cast product, there is a problem that it is necessary to modify the integrated management system in order to add a newly developed peripheral device or to improve an existing peripheral device, which is costly. Further, the control theory (software) of the die casting machine and peripheral devices is supplied in ROM, and is fixed to the system and hardware. To change the control theory, it is necessary to replace a ROM in which the program has been rewritten. However, there is a problem in that the content of software can be changed only by the maker of the apparatus, and thus costs are high.

【0005】周辺装置で行う制御は、その装置の入力値
に対して行われるもので他の装置のデータを活用するこ
とは出来ない。例えば、金型温度制御装置において、適
切な制御を行うためには金型温度以外に、ダイカストマ
シンの運転状況や給湯炉の溶湯温度などが必要である
が、金型温度制御装置はダイカストマシンの制御装置か
らこれらのデータ受け取ることはできない。データを受
け取るには専用の入力機能を付加する必要がある。しか
し、このような入力機能はダイカストマシンの制御装置
に備わっているので、金型温度制御装置に同様の入力機
能を備えようとすると、設備の重複という無駄が生じ
る。
The control performed by the peripheral device is performed on the input value of the device, and cannot utilize the data of another device. For example, in the mold temperature control device, in order to perform appropriate control, in addition to the mold temperature, the operation state of the die casting machine and the temperature of the molten metal in the hot water furnace are required. These data cannot be received from the control unit. To receive data, it is necessary to add a dedicated input function. However, since such an input function is provided in the control device of the die casting machine, if the mold temperature control device is provided with the same input function, there is a waste of duplication of equipment.

【0006】本発明は、上記従来技術の問題点に鑑みな
されたものであって、鋳造製品毎にダイカストの鋳造工
程統括管理システムを容易に構築することができると同
時に、周辺装置の追加、改変に容易に対応することがで
き、更にコストの低減を図ることができるダイカストマ
シンおよびその周辺装置の統括管理方法の提供を目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the related art, and can easily construct a system for managing a casting process of die casting for each casting product, and can add or modify peripheral devices. It is an object of the present invention to provide a die-casting machine and a method for managing and managing peripheral devices thereof, which can easily cope with the problem and further reduce the cost.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明では、鋳造のショット毎に繰り返される鋳造
工程制御ルーチン内の個々の処理または関連性の高い処
理をまとめた子プログラムを複数用意し、当該複数の子
プログラムのうちから鋳造製品に応じて必要な子プログ
ラムを選定し、選定した子プログラムの実行順序を指定
するコンフィグレーションファイルを作成し、当該コン
フィグレーションファイルにおいて選定された子プログ
ラムを指定された実行順序に従い実行する当該複数の子
プログラムからは独立した本体プログラムに従い鋳造工
程におけるダイカストマシンおよびその周辺装置の制御
をシステム管理コンピュータが統括管理すると共に、選
定した子プログラムと本体プログラムの双方からアクセ
スできる共通のデータ領域を設けたダイカストマシンお
よびその周辺装置の統括管理方法を提供する。
In order to achieve the above object, according to the present invention, there is provided a plurality of child programs in which individual processes or highly relevant processes in a casting process control routine repeated for each casting shot are collected. Prepare, select the necessary child program from the plurality of child programs according to the casting product, create a configuration file that specifies the execution order of the selected child program, and select the child file selected in the configuration file. The system management computer controls the control of the die casting machine and its peripheral devices in the casting process according to the main program independent of the plurality of sub programs that execute the program in the specified execution order, and the selected sub program and main program Common data accessible from both sides Providing centralized management method of the die casting machine and its peripheral devices provided with data area.

【0008】また、本発明では、ダイカストの製造工程
で用いられるダイカストマシンとその周辺装置を個々に
監視、制御する予め用意された複数の子プログラムを目
的の鋳造工程に合わせてユーザーが選択し、ルーチン内
における選択した子プログラムの実行順序を設定するよ
うにしたことを特徴とするダイカストマシンおよびその
周辺装置の統括管理方法を提供する。
Further, in the present invention, a user selects a plurality of prepared child programs for individually monitoring and controlling a die casting machine and its peripheral devices used in a die casting manufacturing process in accordance with a desired casting process. An integrated management method for a die casting machine and its peripheral devices, characterized in that an execution order of a selected child program in a routine is set.

【0009】[0009]

【作用】本発明では独立したシステム管理コンピュータ
を用いてダイカストマシンと周辺装置の制御を統括管理
するもので、鋳造サイクル毎に繰り返されるルーチン作
業内の個々の処理または関連性の高い処理をまとめたも
のを本体プログラムから独立した子プログラムとしてい
る。ハードウエア(周辺装置および周辺装置とコンピュ
ータとのインターフェース)に係る処理が全て本体プロ
グラムから独立し、それぞれの周辺装置に対応した子プ
ログラムとして供給されるため、ユーザーはこれら子プ
ログラムの選択と実行順序を設定することにより、工場
や製品によって異なる周辺装置の組み替えに対応でき、
鋳造工程の統括管理が容易に行える。
According to the present invention, the control of the die casting machine and the peripheral devices is controlled and managed by using an independent system management computer, and individual processes or highly relevant processes in a routine work repeated for each casting cycle are summarized. These are child programs independent of the main program. Since all processes related to hardware (peripheral devices and interfaces between the peripheral devices and the computer) are independent of the main body program and are supplied as child programs corresponding to the respective peripheral devices, the user can select and execute these child programs in the order of execution. By setting, it is possible to respond to the rearrangement of peripheral devices that differ depending on the factory or product,
Overall control of the casting process can be easily performed.

【0010】[0010]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて説明する。図1は、本発明が適用されるハードウ
エア環境を示したブロック図である。図1に示すよう
に、ダイカストマシン1には複数の周辺装置2A乃至2
Mが接続されており、それぞれの周辺装置は対応するイ
ンターフェース3A乃至3Mを介してシステム管理コン
ピュータ4に接続されている。システム管理コンピュー
タ4には、RAM5、ROM6、ハードディスク7及び
ディスプレイ8がデータバス等のバスを介して相互に接
続されている。ここで、周辺装置には、溶解給湯装置、
各種データの計測を行う計測装置、金型温度制御装置、
バリの除去あるいは製品を順次パレットに載置するパレ
タイズ等を行うロボット等が含まれる。これらの周辺装
置にはダイカストマシン自体を制御するものの他、溶解
炉のようなダイカストマシンの付属設備を制御するもの
も含まれる。周辺装置の種類によっては内部にデータ入
力部、制御部、記憶部を有しているものがある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a hardware environment to which the present invention is applied. As shown in FIG. 1, the die casting machine 1 includes a plurality of peripheral devices 2A to 2A.
M is connected, and each peripheral device is connected to the system management computer 4 via the corresponding interface 3A to 3M. A RAM 5, a ROM 6, a hard disk 7, and a display 8 are mutually connected to the system management computer 4 via a bus such as a data bus. Here, the peripheral devices include a melting and hot water supply device,
Measuring device for measuring various data, mold temperature control device,
Robots for removing burrs or palletizing products to be sequentially placed on a pallet are included. These peripheral devices include those that control the die-casting machine itself and those that control auxiliary equipment of the die-casting machine such as a melting furnace. Some peripheral devices have a data input unit, a control unit, and a storage unit inside.

【0011】図2は、システム管理コンピュータ4に接
続されているRAM5の記憶領域を概念的に示した図で
ある。図示の通り、RAM5には、子プログラムを記憶
する子プログラム記憶領域、子プログラムとは独立した
本体プログラムを記憶する本体プログラム記憶領域、及
び共通データ領域が確保されている。共通データ領域に
は、各種設定値(目標値、上限値、下限値)、測定値、
比較データ等が記憶されている。これらのデータは、鋳
造工程の計測、制御ルーチン内の流れを状況に応じて制
御する場合に用いたり、測定データと設定値との比較を
行う場合に用いる。共通データ領域に記憶されているデ
ータは子プログラムと本体プログラムの双方からアクセ
ス可能となっている。
FIG. 2 is a diagram conceptually showing a storage area of the RAM 5 connected to the system management computer 4. As shown in the figure, the RAM 5 secures a child program storage area for storing child programs, a main program storage area for storing main programs independent of the child programs, and a common data area. In the common data area, various setting values (target value, upper limit value, lower limit value), measured value,
Comparison data and the like are stored. These data are used for controlling the flow in the measurement and control routine of the casting process according to the situation, and for comparing measured data with set values. The data stored in the common data area is accessible from both the child program and the main program.

【0012】子プログラムは、鋳造のショット毎に繰り
返される本体プログラム内の個々の処理または関連性の
高い処理をまとめたものである。子プログラムとして
は、図4乃至図9に示した金型温度制御装置の制御プロ
グラム、トリガープログラム、鋳造機停止時の処理を行
うプログラム、データ収集プログラム、データ加工プロ
グラム、比較プログラムの他、判定結果を警報装置に出
力する警報出力プログラム、指定のディスクに測定デー
タを保存するためのデータ保存プログラム、データをデ
ィスプレイの画面に表示するための画面表示プログラム
等があるが、更に新しい子プログラムをハードディスク
7に追加記憶することもできる。
The child program is a collection of individual processing or highly relevant processing in the main program that is repeated for each casting shot. The child programs include a control program of the mold temperature control device shown in FIGS. 4 to 9, a trigger program, a program for performing processing when the casting machine is stopped, a data collection program, a data processing program, a comparison program, and a determination result. There are an alarm output program for outputting the alarm data to the alarm device, a data storage program for storing the measurement data on the specified disk, a screen display program for displaying the data on the display screen, and the like. Can be additionally stored.

【0013】図3には、本体プログラムとしての計測、
制御ルーチンが示してあり、図10には、小プログラム
を具体的に設定した設定例が示してある。本体プログラ
ムはハードディスク7に記憶されているが、システム管
理コンピュータ4の起動時にRAM5に常駐するよう制
御される。計測、制御ルーチンは大きく鋳造工程制御ル
ーチンとタスクルーチンに分けることができる。鋳造工
程制御ルーチン内では設定に従って子プログラムを順次
実行し、子プログラムからの要求によりフローの制御や
本体プログラムが有するサブルーチン機能の実施を行
う。
FIG. 3 shows a measurement as a main program,
FIG. 10 shows a setting example in which a small program is specifically set. The main body program is stored in the hard disk 7, but is controlled to be resident in the RAM 5 when the system management computer 4 is started. The measurement and control routines can be broadly divided into a casting process control routine and a task routine. In the casting process control routine, the child programs are sequentially executed in accordance with the settings, and the flow is controlled and the subroutine function of the main body program is performed in response to a request from the child program.

【0014】次に、図3を参照して、計測、制御ルーチ
ンについて説明する。本体プログラムがスタートする
と、ディスプレイ8にはメインメニューが表示される。
メインメニューには「鋳造工程制御」を含む種々の項目
が書き込まれており、メインメニューから「鋳造工程制
御」を選択することにより図3に示した計測、制御ルー
チンが実行される。図中符合Si(i=31、31、3
3...)は各ステップである。
Next, a measurement and control routine will be described with reference to FIG. When the main program starts, a main menu is displayed on the display 8.
Various items including “casting process control” are written in the main menu, and the measurement and control routine shown in FIG. 3 is executed by selecting “casting process control” from the main menu. Symbol Si (i = 31, 31, 3)
3. . . ) Is each step.

【0015】計測、制御ルーチンがスタートすると、当
該ルーチンを実行するために必要な条件が整っているか
どうかの判断がされる(S31)。必要な条件とは、必
要な周辺装置が接続されおり、更に必要なプログラムが
揃っていることであり、これらの条件が全て整っている
と判断されれば(S31:Yes)、S33へ進み、必
要な条件が整っていないと判断されれば(S31:N
o)、メインメニューへループアウトする(S32)。
必要な条件が整っていると判断されると(S31:Ye
s)、タスク(仕事)の処理番号を表すタスクカウンタ
がゼロにセットされる(S33)。後述するように、コ
ンフィグレーションファイルには鋳造製品に応じて予め
選定された子プログラムが実行順に書き込まれており、
この子プログラムの実行順とタスクの処理番号が対応し
ている。
When the measurement and control routine is started, it is determined whether or not conditions necessary for executing the routine are satisfied (S31). The necessary conditions are that necessary peripheral devices are connected and further necessary programs are prepared. If it is determined that all of these conditions are satisfied (S31: Yes), the process proceeds to S33. If it is determined that the necessary conditions are not satisfied (S31: N
o) Loop out to the main menu (S32).
If it is determined that the necessary conditions are satisfied (S31: Ye
s), the task counter indicating the processing number of the task (work) is set to zero (S33). As will be described later, child programs pre-selected according to the casting product are written in the configuration file in the order of execution.
The execution order of the child program corresponds to the processing number of the task.

【0016】次に、鋳造工程制御ルーチン内でのみ有効
なフラッグ郡FLAG_TASKに対する初期設定を実行する。
即ち、FLAG_ROUTINをオフにする(S34)。FLAG_ROUT
INは、16ビットのフラグ郡であり、16通りの2値状
態を記憶しておくことができる。FLGA_ROUTINには、例
えば、射出開始信号の出力を指示するTRGフラグ、鋳造
機停止信号の出力を指示するSTOPフラグ等が含まれ、こ
れらのフラグはRAM5の共通データ領域に記憶されて
いる。S34では、これら16通りのフラッグを全てリ
セットする。次に、タスクルーチン内でのみ有効なフラ
グ郡FLG_TASKに対する初期設定を行う。即ち、FLGA_TAS
Kをオフにする(S35)。FLAG_TASKには、計測、制御
ルーチンを出てメインメニューへ戻ることを指示するLO
OP_OUTフラグ、計測、制御ルーチンの始めに戻りループ
を続行することを指示するCONTINUEフラグ、タスクルー
チンの始めに戻りループを続行することを指示するRETU
RNフラグ等が含まれ、これらのフラグもRAM5の共通
データ領域に記憶されている。
Next, initialization is performed on the flag group FLAG_TASK which is valid only in the casting process control routine.
That is, FLAG_ROUTIN is turned off (S34). FLAG_ROUT
IN is a 16-bit flag group, and can store 16 binary states. FLGA_ROUTIN includes, for example, a TRG flag for instructing output of an injection start signal, a STOP flag for instructing output of a casting machine stop signal, and the like. These flags are stored in the common data area of the RAM 5. In S34, all these 16 flags are reset. Next, initialization is performed on the flag group FLG_TASK which is valid only within the task routine. That is, FLGA_TAS
K is turned off (S35). FLAG_TASK contains LO that instructs to exit the measurement and control routines and return to the main menu.
OP_OUT flag, CONTINUE flag to indicate that the return loop should be continued at the beginning of the measurement and control routine, RETU to indicate that the return loop should be continued at the beginning of the task routine
An RN flag and the like are included, and these flags are also stored in the common data area of the RAM 5.

【0017】次に、コンフィグレーション中のTASK番目
の子プロセスを実行する(S36)。現在タスクカウン
タのカウント値はS33においてTASK=0に設定されてい
るので、コンフィグレーションファイル中の0番目(先
頭)のTASKを実行する。図10に示したコンフィグレー
ションファイルの例では、先頭の金型温度制御装置の制
御プログラムが実行される。当該制御プログラムはハー
ドディスク7に記憶されており、システム管理コンピュ
ータ4がハードディスク7の子プログラム記憶領域から
当該制御プログラムをRAM5の子プログラム領域に読
み出し、実行する。金型温度制御装置の制御プログラム
の内容は図4に示されており、次のような処理を行う。
Next, the TASK-th child process in the configuration is executed (S36). Since the count value of the task counter is currently set to TASK = 0 in S33, the 0th (head) TASK in the configuration file is executed. In the example of the configuration file shown in FIG. 10, the control program of the first mold temperature control device is executed. The control program is stored in the hard disk 7, and the system management computer 4 reads out the control program from the child program storage area of the hard disk 7 to the child program area of the RAM 5 and executes it. The contents of the control program of the mold temperature control device are shown in FIG. 4, and the following processing is performed.

【0018】金型温度制御装置の制御プログラムがスタ
ートすると、周辺装置としての金型温度制御装置に設定
されている金型温度の目標値、上限値及び下限値がシス
テム管理コンピュータ4により読み出され(S40
1)、読み出した値がシステム管理コンピュータ4側の
設定値と比較される(S402)。両者の設定値が一致
していれば(S402:No)、直ちに当該制御プログ
ラムを終了する。両者の設定値が一致していなければ
(S402:Yes)、システム管理コンピュータ4側
の設定値を金型温度制御装置に送出し、金型温度制御装
置側に設定されているデータをシステム管理コンピュー
タ4側のデータに書き換える(S403)。即ち、本実
施例ではシステム管理コンピュータ4側の設定データを
周辺装置側の設定データよりも優先している。次に、金
型温度制御装置からシステム管理コンピュータ4に対し
て書き換えたデータを送出することでデータの書き換え
が完了したことをシステム管理コンピュータ4に確認さ
せ(S404)、金型温度制御装置の制御プログラムを
終了する。尚、システム管理コンピュータ4側における
設定値の入力は、メインメニュー内の該当する項目を選
択して実行される。
When the control program of the mold temperature control device starts, the target value, upper limit value and lower limit value of the mold temperature set in the mold temperature control device as a peripheral device are read out by the system management computer 4. (S40
1) The read value is compared with the set value on the system management computer 4 side (S402). If the two set values match (S402: No), the control program is immediately terminated. If the two set values do not match (S402: Yes), the set value of the system management computer 4 is sent to the mold temperature control device, and the data set in the mold temperature control device is transmitted to the system management computer. The data is rewritten to the data on the fourth side (S403). That is, in the present embodiment, the setting data of the system management computer 4 has priority over the setting data of the peripheral device. Next, by sending the rewritten data from the mold temperature control device to the system management computer 4, the system management computer 4 confirms that the data rewrite has been completed (S404), and controls the mold temperature control device. Quit the program. The input of the set value on the system management computer 4 side is executed by selecting a corresponding item in the main menu.

【0019】以上のように、TASK=0に相当する金型温度
制御装置の制御プログラムを終了すると、図3に示した
計測、制御ルーチンに戻り、L00P_OUTが真(セット)か
どうかの判断を行う(S37)。これは、FLG_TASKに含
まれるLOOP_OUTフラグがセットされているかリセットさ
れているかの判断である。LOOP_OUTフラグは計測、制御
ルーチンを出て、メインメニューへ戻るかどうかを示め
す標識であり、LOOP_OUTフラグを含むFLG_TASKは当初リ
セットとされており(S35)、またTASK=0に相当する
金型温度制御装置の制御プログラム中でこのLOOP_OUTフ
ラグをセットしていないので、LOOP_OUTフラグはリセッ
トされたままである(S37:No)。従って、次の処
理に進みCONTINUEが真(オン)かどうかの判断が行なわ
れる(S38)。LOOP_OUTフラグが別の子プロセスの実
行過程でセットされていると(S37:Yes)、メイ
ンメニューへループアウトする(S32)。
As described above, when the control program of the mold temperature control device corresponding to TASK = 0 is completed, the process returns to the measurement and control routine shown in FIG. 3 to determine whether or not L00P_OUT is true (set). (S37). This is a determination as to whether the LOOP_OUT flag included in FLG_TASK is set or reset. The LOOP_OUT flag is a sign indicating whether to exit the measurement and control routine and return to the main menu. FLG_TASK including the LOOP_OUT flag is initially reset (S35), and the mold temperature corresponding to TASK = 0 Since the LOOP_OUT flag has not been set in the control program of the control device, the LOOP_OUT flag remains reset (S37: No). Therefore, the process proceeds to the next process, and it is determined whether or not CONTINUE is true (ON) (S38). If the LOOP_OUT flag is set during the execution of another child process (S37: Yes), the process loops out to the main menu (S32).

【0020】CONTINEUが真かどうかの判断(S38)
は、FLG_TASKに含まれるCONTINUEフラグがセットされて
いるかリセットされているかの判断である。CONTINEUフ
ラグは計測、制御ルーチンのS34に戻り、ループを続
行するかどうかを示す標識であり、CONTINUEフラグを含
むFLG_TASKは当初リセットされており(S35)、また
TASK=0に相当する金型温度制御装置の制御プログラム中
でこのCONTINUEフラグがセットされないので、CONTINE
フラグはリセット状態にあり(S38:No)、従っ
て、次の処理に進みRETURNが真(セット)かどうかの判
断が行なわれる(S39)。CONTINUEフラグが別の子プ
ロセスの実行過程でセットされていると(S37:Ye
s)、S34に戻り、S35、S36及びS37が繰り
返し実行される。即ち、再度TASK=0に相当するプログラ
ムが実行されることになる。
Determination of whether CONTINEU is true (S38)
Is a determination as to whether the CONTINUE flag included in FLG_TASK is set or reset. The CONTINEU flag returns to S34 of the measurement and control routine, and is an indicator indicating whether or not to continue the loop. FLG_TASK including the CONTINUE flag is initially reset (S35).
Since this CONTINUE flag is not set in the control program of the mold temperature control device corresponding to TASK = 0, CONTINE
The flag is in the reset state (S38: No). Therefore, the process proceeds to the next processing to determine whether RETURN is true (set) (S39). If the CONTINUE flag is set during the execution of another child process (S37: Ye
s) Returning to S34, S35, S36 and S37 are repeatedly executed. That is, the program corresponding to TASK = 0 is executed again.

【0021】RETURNが真かどうかの判断(S38)は、
FLG_TASKに含まれるRETURNフラグがセットされているか
リセットされているかの判断である。RETURNフラグはタ
スクルーチンの始めに戻りループを続行するかどうかを
示す標識であり、子プログラムの中で本体プログラムの
ある種の機能を実行したいときに当該子プログラムの中
でセットされる。RETURNフラグを含むFLG_TASKは当初リ
セットされている(S35)。図10に示した実行プロ
グラムでは、TASK=0に相当する金型温度制御装置の制御
プログラム中でこのRETURNフラグはセットされないの
で、RETURNフラグはリセット状態にあり(S39:N
o)、S41に進む。RETURNフラグが別の子プロセスの
実行過程でセットされていると(S39:Yes)、入
力キーコードに対応する本体プログラムの中のサブルー
チンが実行される(S40)。ここで実行されるプログ
ラムとしては、計測、制御結果をディスプレイ8に表示
させるためのデータの画面表示プログラム、ハードディ
スク等の記憶媒体の記憶容量残量チェックプログラム、
ディスプレイ8における表示条件の変更プログラム等が
ある。サブルーチンの実行が終了するとタスクルーチン
の先頭(S35)に戻り、再度TASK=0に相当するプログ
ラムが実行される。
The determination as to whether RETURN is true (S38)
This is to determine whether the RETURN flag included in FLG_TASK is set or reset. The RETURN flag is an indicator that indicates whether to return to the beginning of the task routine and continue the loop, and is set in the child program when it is desired to execute a certain function of the main program. FLG_TASK including the RETURN flag is initially reset (S35). In the execution program shown in FIG. 10, since this RETURN flag is not set in the control program of the mold temperature control device corresponding to TASK = 0, the RETURN flag is in a reset state (S39: N
o), and proceed to S41. If the RETURN flag is set during the execution of another child process (S39: Yes), a subroutine in the main program corresponding to the input key code is executed (S40). The programs executed here include a data screen display program for displaying measurement and control results on the display 8, a storage capacity remaining amount check program for a storage medium such as a hard disk, and the like.
There is a program for changing display conditions on the display 8 and the like. When the execution of the subroutine ends, the process returns to the beginning of the task routine (S35), and the program corresponding to TASK = 0 is executed again.

【0022】RETURNフラグがリセット状態にあると判断
されると(S39:No)、タスクの処理番号を表すタ
スクカウンタがインクリメントされTASK=1となる(S4
1)。次に、インクリメントしたタスクカウンタのカウ
ント値が予め設定されている最大値MAXと比較され、タ
スクカウンタのカウント値がまだ最大値MAXに達してい
なければ(S42:No)、タスクルーチンの先頭、即
ちS35に戻る。もし、タスクカウンタのカウント値が
最大値MAXに達していると(S42:Yes)、鋳造工
程制御ルーチンの先頭、即ちS33に戻る。図10に示
した実行プログラムの場合には、MAX=8に設定されてい
る。ここで、鋳造工程制御ルーチンとは、ダイカストに
おけるワンショットの仕事に対する処理を指し、タスク
ルーチンとは、ワンショットにおいて実行される複数の
子プログラムのそれぞれの処理を指す。従って、所定の
子プログラムを順次実行した上で鋳造工程制御ルーチン
を一巡するとワンショットの仕事が完了し、同一の鋳造
製品を複数製造するには、かかる鋳造工程制御ルーチン
を繰り返し実行することになる。
If it is determined that the RETURN flag is in the reset state (S39: No), the task counter indicating the processing number of the task is incremented to TASK = 1 (S4).
1). Next, the incremented count value of the task counter is compared with a preset maximum value MAX. If the count value of the task counter has not yet reached the maximum value MAX (S42: No), the beginning of the task routine, that is, It returns to S35. If the count value of the task counter has reached the maximum value MAX (S42: Yes), the process returns to the beginning of the casting process control routine, that is, S33. In the case of the execution program shown in FIG. 10, MAX = 8 is set. Here, the casting process control routine refers to processing for one-shot work in die casting, and the task routine refers to processing of each of a plurality of child programs executed in one shot. Therefore, when a predetermined child program is sequentially executed and a round of the casting process control routine is completed, one-shot work is completed. To manufacture a plurality of identical cast products, the casting process control routine is repeatedly executed. .

【0023】タスクカウンタのカウント値がインクリメ
ントされてTASK=1となり、更にタスクカウンタのカウン
ト値が最大値MAXに達していないと、タスクルーチンが
繰り返し実行される。FLG_TASKをオフにした上で(S3
5)、TASK=1に対応する子プログラムを実行する(S3
6)。図10に示した実行プログラムの場合には、TASK
=1に対応する子プログラムは、トリガープログラムであ
りこれが実行される。トリガープログラムもハードディ
スク7に記憶されており、システム管理コンピュータ4
がハードディスク7から当該制御プログラムを読み出
し、実行する。トリガープログラムは、ハードウエアを
制御するプログラムであり、鋳造サイクルのスタートや
ダイカストマシン1の停止など処理の起点となるトリガ
信号が出力されたかどうかを判断して、後続の子プログ
ラムまたは本体プログラムの実行タイミングを与えるも
のである。トリガープログラムの内容は図5に示されて
おり、次のような処理を行う。
If the count value of the task counter is incremented to TASK = 1 and the count value of the task counter has not reached the maximum value MAX, the task routine is repeatedly executed. After turning off FLG_TASK (S3
5) Execute the child program corresponding to TASK = 1 (S3
6). In the case of the execution program shown in FIG.
The child program corresponding to = 1 is a trigger program and is executed. The trigger program is also stored in the hard disk 7, and the system management computer 4
Reads the control program from the hard disk 7 and executes it. The trigger program is a program for controlling hardware, and determines whether or not a trigger signal serving as a starting point of processing such as a start of a casting cycle or a stop of the die casting machine 1 has been output, and execution of a subsequent child program or main body program. It gives timing. The contents of the trigger program are shown in FIG. 5, and the following processing is performed.

【0024】トリガープログラムがスタートすると、共
通データ領域の先頭アドレスを本体プログラムから受け
取り、トリガーブログラム実行中に共通データ領域にア
クセスできるようにする(S501)。次に、トリガ信
号がオンかどうかの判断をする(S502)。ダイカス
トマシン1の射出時に発生する射出信号をトリガー信号
とする場合には、射出信号が出力されたかどうかの判断
を行うことになる。射出信号が出力されたことを検知す
ることにより鋳造サイクルがスタートしたことを知るこ
とができる。トリガ信号がオンの場合には(S502:
Yes)、FLG_ROUTINに含まれるTRGフラグをセットし
(S503)、トリガプログラムを終了する。トリガ信
号が出力されない場合には(S502:No)、鋳造機
が停止状態の時に出力される停止信号がオンかどうかの
判断が行われる(S504)。トリガ信号も停止信号も
出力されておらず、さらに何等のキー入力もない場合に
は(S506:No)、トリガ信号若しくは停止信号を
検知するか、あるいは何らかのキー入力があるまでS5
02、S504及びS506が繰り返し実行される。ダ
イカストマシン1が正常に動作している場合には所定時
間ごとにトリガ信号(射出信号)が出力されるはずであ
るが、これが出力されず停止信号が出力された状態に
は、何らかのトラブルが発生しダイカストマシン1が停
止していると判断される。そこで、FLG_ROUTINに含まれ
るSTOPフラグをセットし(S505)、トリガプログラ
ムを終了する。
When the trigger program starts, the start address of the common data area is received from the main program, and the common data area can be accessed during execution of the trigger program (S501). Next, it is determined whether the trigger signal is on (S502). When an injection signal generated at the time of injection of the die casting machine 1 is used as a trigger signal, it is determined whether or not the injection signal has been output. By detecting that the injection signal has been output, it is possible to know that the casting cycle has started. When the trigger signal is on (S502:
Yes), sets the TRG flag included in FLG_ROUTIN (S503), and ends the trigger program. When the trigger signal is not output (S502: No), it is determined whether or not the stop signal output when the casting machine is stopped is on (S504). If neither the trigger signal nor the stop signal is output and there is no key input (S506: No), the trigger signal or the stop signal is detected, or S5 is performed until there is any key input.
02, S504 and S506 are repeatedly executed. If the die casting machine 1 is operating normally, a trigger signal (injection signal) should be output at predetermined time intervals. It is determined that the die casting machine 1 has stopped. Therefore, the STOP flag included in FLG_ROUTIN is set (S505), and the trigger program ends.

【0025】トリガ信号と停止信号のいずれも出力され
ていない状況で、キー入力があったと判断されると(S
506:Yes)、それが処理を必要とするキー入力で
あれば(S507:Yes)、計測を中断するためのキ
ー入力であるかどうかを判断する(S508)。計測を
中断するためのキー入力であると判断されると(S50
8:Yes)、FLG_TASKのLOOP_OUTフラグをセットして
トリガプログラムを終了する。キー入力が計測中断のた
めのキー入力ではない場合には(S508:No)、FL
G_TASKのRETURNフラグをセットして(S510)トリガ
プログラムを終了する。尚、説明の便宜上、図10に示
した実行プログラムにおけるトリガプログラムの実行過
程ではTRGフラッグがセットされたとする(S50
3)。
If it is determined that a key input has been made in a situation where neither the trigger signal nor the stop signal has been output (S
506: Yes), if it is a key input that requires processing (S507: Yes), it is determined whether it is a key input for interrupting the measurement (S508). If it is determined that the input is a key input for interrupting the measurement (S50)
8: Yes), the LOOP_OUT flag of FLG_TASK is set, and the trigger program ends. If the key input is not a key input for interrupting measurement (S508: No), FL
The RETURN flag of G_TASK is set (S510), and the trigger program ends. For convenience of explanation, it is assumed that the TRG flag is set during the execution of the trigger program in the execution program shown in FIG. 10 (S50).
3).

【0026】トリガープログラムが終了すると、図3に
示した計測、制御ルーチンに戻る。トリガープログラム
の実行過程でLOOP_OUTフラグがセットされていると(S
49)、トリガープログラムの実行が終了し計測、制御
ルーチンに戻ったときに、S37での判断がYesとな
り、計測、制御ルーチンを終了してメインメニューへ戻
る。LOOP_OUTフラグがセットされていなければ、CONTIN
UEフラグがセットされているかどうかが判断されるが
(S38)、トリガープログラムではこのフラグはセッ
トされないので、次いでRETURNフラグがセットされてい
るかどうかが判断される(S39)。トリガープログラ
ムの実行過程でRETURNフラグがセットされていると(S
510)、S39での判断がYesとなり、S40の処
理を実行した上でタスクルーチンの先頭へ戻る。RETURN
フラグがセットされていなければ、タスクの処理番号を
表すタスクカウンタがインクリメントされTASK=2となる
(S41)。次に、インクリメントしたタスクカウンタ
のカウント値が予め設定されている最大値MAXと比較さ
れ、タスクカウンタのカウント値がまだ最大値MAXに達
していなければ(S42:No)、タスクルーチンの先
頭、即ちS35に戻る。
When the trigger program ends, the process returns to the measurement and control routine shown in FIG. If the LOOP_OUT flag is set during the execution of the trigger program (S
49), when the execution of the trigger program ends and the process returns to the measurement and control routine, the determination in S37 becomes Yes, the measurement and control routine ends, and the process returns to the main menu. CONTIN if the LOOP_OUT flag is not set
Although it is determined whether the UE flag is set (S38), since this flag is not set in the trigger program, it is next determined whether the RETURN flag is set (S39). If the RETURN flag is set during the execution of the trigger program (S
510), the determination in S39 becomes Yes, and the process returns to the beginning of the task routine after executing the process of S40. RETURN
If the flag has not been set, the task counter indicating the processing number of the task is incremented to TASK = 2 (S41). Next, the incremented count value of the task counter is compared with a preset maximum value MAX. If the count value of the task counter has not yet reached the maximum value MAX (S42: No), the beginning of the task routine, that is, It returns to S35.

【0027】以上のようにタスクルーチンが繰り返し実
行される。次のタスクルーチンでは、TASK=3に対応する
子プログラムが実行される。図10に示した実行プログ
ラムの場合、TASK=3に対応する子プログラムはダイカス
トマシン停止時の処理プログラムであり、ダイカストマ
シン1に異常が発生している場合に機能する。鋳造機停
止時の処理プログラムの内容は図6に示されており、次
のような処理を行う。
The task routine is repeatedly executed as described above. In the next task routine, a child program corresponding to TASK = 3 is executed. In the case of the execution program shown in FIG. 10, the child program corresponding to TASK = 3 is a processing program when the die casting machine is stopped, and functions when the die casting machine 1 has an abnormality. The contents of the processing program when the casting machine is stopped are shown in FIG. 6, and the following processing is performed.

【0028】鋳造機停止時の処理プログラムがスタート
すると、まず、FLG_ROUTINに含まれる鋳造機の停止信号
が出力されている状態を表すSTOPフラグがセットされて
いるかどうかが判断される(S601)。STOPフラグが
セットされていなければ、鋳造機は正常に動作している
ので直ちに当該プログラムを終了する。図5に示したト
リガプログラムのS505でSTOPフラグがセットされて
いれば金型温度制御装置に対して停止信号を送出する
(S602)。金型温度制御装置は停止信号を受けて、
金型温度制御装置は金型の温度制御を中止する。次に、
鋳造機1の運転信号をモニターしながら、停止信号がオ
フとなったかどうかが判断される(S603)。停止信
号のオフは鋳造機の運転が回復したことを意味する。鋳
造機の運転が回復すると(S603:Yes)、金型温
度制御装置に対して再運転信号を送出して(S60
4)、金型の温度制御を再開させ、当該プログラムを終
了する。図5に示したトリガプログラムの実行中、トリ
ガフラグTRGがセットされているものとしたので、STOP
フラグはセットされておらず、従って、金型温度制御装
置に対する処理は行われず、次に進む。
When the processing program for stopping the casting machine is started, first, it is determined whether or not a STOP flag, which is included in FLG_ROUTIN and indicates a state in which a stop signal of the casting machine is being output, is set (S601). If the STOP flag is not set, the program immediately ends because the casting machine is operating normally. If the STOP flag is set in S505 of the trigger program shown in FIG. 5, a stop signal is sent to the mold temperature control device (S602). The mold temperature controller receives the stop signal,
The mold temperature controller stops the mold temperature control. next,
While monitoring the operation signal of the casting machine 1, it is determined whether or not the stop signal is turned off (S603). Turning off the stop signal means that the operation of the casting machine has been restored. When the operation of the casting machine is restored (S603: Yes), a re-operation signal is sent to the mold temperature control device (S60).
4) Restart the temperature control of the mold and end the program. During execution of the trigger program shown in FIG. 5, it is assumed that the trigger flag TRG is set,
Since the flag is not set, the process for the mold temperature control device is not performed, and the process proceeds to the next step.

【0029】次のタスクルーチンでは、TASK=4に対応す
る子プログラムが実行される。図10に示した実行プロ
グラムの場合、TASK=4に対応する子プログラムはデータ
収集プログラムであり、これが実行される。データ収集
プログラムは、周辺装置2A乃至2Mからの通信やシス
テム管理コンピュータ4に接続された機器からの時系列
のセンサー入力や周辺装置内において加工されたデータ
を受け取り、RAM5の共通データ領域に格納するため
の処理を行うものである。データ収集プログラムの内容
は図7に示されており、次のような処理を行う。
In the next task routine, a child program corresponding to TASK = 4 is executed. In the case of the execution program shown in FIG. 10, the child program corresponding to TASK = 4 is a data collection program, which is executed. The data collection program receives communication from the peripheral devices 2A to 2M, time-series sensor input from devices connected to the system management computer 4, and data processed in the peripheral device, and stores them in the common data area of the RAM 5. For the purpose. The contents of the data collection program are shown in FIG. 7, and the following processing is performed.

【0030】データ収集プログラムを実行して収集する
データには、ダイカストマシン1の射出速度、鋳造圧
力、キャビティ内のガス圧、キャビティ内の局部に別途
ピストンにより局部加圧を加える場合のストローク等が
含まれる。これらのデータはダイカストマシン1に取り
付けられている各種センサから得られるが、通常は、射
出から溶湯の充填までの数秒間の状態が必要なデータと
なる。データ収集プログラムがスタートすると、共通デ
ータ領域の先頭アドレスを本体プログラムから受取り、
データ収集プログラム実行中に共通データ領域に記憶さ
れているデータを読み込み、または書き込みできるよう
にする(S701)。前述のS501と同様の処理を行
う。次にデータ要求信号を送出し、収集対象のデータを
時系列で入力する(S702)。このようにして入力し
たデータをRAM5の共通データ領域に格納し(S70
3)、データ収集の完了を示すルーチンフラグをセット
して(S704)、当該プログラムを終了する。
The data collected by executing the data collection program includes the injection speed of the die casting machine 1, the casting pressure, the gas pressure in the cavity, and the stroke when a local piston is separately applied to the local portion of the cavity by a piston. included. These data can be obtained from various sensors attached to the die casting machine 1, but usually require data for several seconds from injection to filling of the molten metal. When the data collection program starts, the start address of the common data area is received from the main program,
The data stored in the common data area can be read or written during execution of the data collection program (S701). The same processing as in S501 is performed. Next, a data request signal is transmitted, and data to be collected is input in time series (S702). The input data is stored in the common data area of the RAM 5 (S70).
3) A routine flag indicating the completion of data collection is set (S704), and the program ends.

【0031】次のタスクルーチンでは、TASK=5に対応す
る子プログラムが実行される。図10に示した実行プロ
グラムの場合、TASK=5に対応する子プログラムはデータ
加工プログラムであり、これが実行される。データ加工
プログラムは、周辺装置やシステム管理コンピュータ4
に接続された機器から収集された時系列のデータを処理
加工し、結果をRAM5の共通データ領域に格納するた
めのものであり、ハードウエアに依存しないプログラム
である。データ加工プログラムの内容は図8に示されて
おり、次のような処理を行う。
In the next task routine, a child program corresponding to TASK = 5 is executed. In the case of the execution program shown in FIG. 10, the child program corresponding to TASK = 5 is a data processing program, which is executed. The data processing program is executed by a peripheral device or a system management computer 4.
This is a program for processing and processing the time-series data collected from the devices connected to the RAM 5 and storing the results in a common data area of the RAM 5, and is not hardware-dependent. The contents of the data processing program are shown in FIG. 8, and the following processing is performed.

【0032】データ加工プログラムがスタートすると、
共通データ領域の先頭アドレスを本体プログラムから受
け取る(S801)。次いで、データの加工処理を行う
(S802)。共通データ領域から必要なデータを読み
出し、本実施例では、金型温度の射出時の温度、最高温
度、最低温度等必要なデータを求める。その上で、デー
タ加工が終了したことを示すフラグをセットし(S80
3)、当該プログラムを終了する。
When the data processing program starts,
The head address of the common data area is received from the main program (S801). Next, data processing is performed (S802). Necessary data is read from the common data area, and in the present embodiment, necessary data such as the temperature at the time of injection of the mold temperature, the maximum temperature, the minimum temperature, and the like are obtained. Then, a flag indicating that the data processing has been completed is set (S80).
3) End the program.

【0033】次のタスクルーチンでは、TASK=6に対応す
る子プログラムが実行される。図10に示した実行プロ
グラムの場合、TASK=6に対応する子プログラムはデータ
比較プログラムであり、これが実行される。データ比較
プログラムは、主として良否判定を行うプログラムであ
り、予め設定されているデータと測定データとを比較し
その判定結果をRAM5の共通データ領域に格納するも
のである。データ比較プログラムの内容は図9に示され
ており、次のような処理を行う。
In the next task routine, a child program corresponding to TASK = 6 is executed. In the case of the execution program shown in FIG. 10, the child program corresponding to TASK = 6 is a data comparison program, which is executed. The data comparison program is a program for mainly performing a pass / fail judgment, comparing preset data and measured data, and storing the judgment result in a common data area of the RAM 5. The contents of the data comparison program are shown in FIG. 9 and the following processing is performed.

【0034】データ比較プログラムがスタートすると、
共通データ領域にあるデータのアドレスをセットして、
データ比較プログラム実行中に共通データ領域に記憶さ
れているデータを読み込めるようにする(S901)。
そして、システム管理コンピュータ4側で設定した金型
温度の目標値、上限値、下限値等の設定値と図8に示し
たデータ加工プログラムを実行して得られた測定値をそ
れぞれ読み出して比較処理を行う(S902)。比較処
理の結果をRAM5の共通データ領域に書き込み、当該
プログラムを終了する。
When the data comparison program starts,
Set the address of the data in the common data area,
The data stored in the common data area can be read during execution of the data comparison program (S901).
Then, the set values such as the target value, the upper limit value, and the lower limit value of the mold temperature set by the system management computer 4 and the measured values obtained by executing the data processing program shown in FIG. Is performed (S902). The result of the comparison process is written in the common data area of the RAM 5, and the program ends.

【0035】以下、同様にして、TASK=7、TASK=8及びTA
SK=9に対応する子プログラムが実行される。図10に示
した実行プログラムの場合、TASK=7に対応する子プログ
ラムは警報出力プログラムであり、データ比較プログラ
ムを実行した結果、例えば、金型温度の下限値が設定し
た値よりも低い時には、警報を発する。警報に基づき、
製品を不良品トレイに移動したり製品にマーキングを施
す等の処理を行う。TASK=8に対応する子プログラムはデ
ータ保存プログラムであり、1サイクルのデータをハー
ドディスクやフロッピーディスク等に格納する処理を行
う。TASK=9に対応する子プログラムは画面表示プログラ
ムであり、加工データ、データの比較結果等を表示する
処理を行う。
Hereinafter, similarly, TASK = 7, TASK = 8 and TASK = 8
The child program corresponding to SK = 9 is executed. In the case of the execution program shown in FIG. 10, the child program corresponding to TASK = 7 is an alarm output program. As a result of executing the data comparison program, for example, when the lower limit of the mold temperature is lower than the set value, Raise an alarm. Based on the alert,
Processing such as moving the product to the defective tray or marking the product is performed. The child program corresponding to TASK = 8 is a data storage program, and performs processing for storing one cycle of data on a hard disk, a floppy disk, or the like. The child program corresponding to TASK = 9 is a screen display program, and performs processing for displaying processing data, data comparison results, and the like.

【0036】以上説明したように、子プログラムは処理
の内容から、ハードウエアに直接係わるものとデータの
処理のみを行うものの2通りある。前者は、各ハードウ
エア(周辺装置と周辺装置とシステム管理コンピュータ
4とのインターフェース)に対応してそれぞれ用意され
ている。後者は、ハードウエアの制御方法に対応して供
給される。ハードウエアに依存しない子プログラムとし
ては、上記した以外に、周辺装置やシステム管理コンピ
ュータに接続された機器から収集された入力データを所
定のアルゴリズムに従って制御出力に変換し、所定のメ
モリに格納する制御出力演算プログラムや、予め指定さ
れた領域のデータ群を指定の記憶媒体に指定のフォーマ
ットで保存するデータ保存プログラム、またこれらのプ
ログラムの機能を複数有する複合プログラム等がある。
複合プログラムは、複数のプログラムの機能を分割する
ことにより生じるタイムラグの問題や、周辺装置の性質
上複数の処理をまとめた方が効率が良い場合、処理が固
定されていて変更の可能性が低い場合などに用いられ
る。
As described above, there are two types of child programs, those directly related to hardware and those that only perform data processing, from the processing contents. The former is prepared corresponding to each hardware (peripheral device, interface between the peripheral device and the system management computer 4). The latter is supplied according to the hardware control method. As a child program independent of hardware, in addition to the above, a control program that converts input data collected from peripheral devices and devices connected to a system management computer into a control output according to a predetermined algorithm and stores it in a predetermined memory There are an output operation program, a data storage program for storing a data group in a previously specified area in a specified storage medium in a specified format, and a composite program having a plurality of functions of these programs.
When a compound program is more efficient due to the problem of time lag caused by dividing the functions of multiple programs and due to the nature of peripheral devices, the processing is fixed and the possibility of change is low. Used in some cases.

【0037】[0037]

【発明の効果】以上説明したように、本発明によれば、
鋳造工程制御ルーチン内の処理が装置と機能別に全て子
プログラムに分割され、ユーザーは予め用意されている
子プログラムを選択することによりルーチン内の処理を
自由に設計できる。そのため製品によって異なる管理方
法への対応が容易になり、鋳造工程の統括管理が実現で
きる。本体プログラムのハードウエア(装置)への依存
度が低く、また機能別に子プログラムが分割されている
ため、ハードウエアのアップグレードへの対応やソフト
の部分的改良が容易に行える。
As described above, according to the present invention,
The processes in the casting process control routine are all divided into child programs for each device and function, and the user can freely design the processes in the routine by selecting a prepared child program. Therefore, it is easy to cope with different management methods depending on products, and it is possible to realize overall management of the casting process. The dependence of the main program on the hardware (device) is low, and the child programs are divided according to functions, so that it is possible to easily respond to hardware upgrades and partially improve software.

【0038】また、本発明では独立したシステム管理コ
ンピュータを用いてダイカストマシンと周辺装置の制御
を統括管理するもので、鋳造サイクル毎に繰り返される
ルーチン作業内の個々の処理または関連性の高い処理を
まとめたものを本体プログラムから独立した子プログラ
ムとしている。ハードウエア(周辺装置および周辺装置
とコンピュータとのインターフェース)に係る処理が全
て本体プログラムから独立し、それぞれの周辺装置に対
応した子プログラムとして供給されるため、ユーザーは
これら子プログラムの選択と実行順序を設定することに
より、工場や製品によって異なる周辺装置の組み替えに
対応でき、鋳造工程の統括管理が容易に行える。そのた
め、従来行われてきた確認作業の簡素化が図れる。例え
ば、異常が発生し鋳造機が停止した場合の、 作業者への伝達方法、 異常発生時のデータの保存方法、 異常発生時の製品へのマーキング方法、 異常発生時の周辺装置への制御信号の送出 など工場や製品によって使用するハードウエアや仕様が
異なる。これらハードウエアを制御するソフト(子プロ
グラム)が個々に機能別に分離されているため鋳造工程
制御ルーチン内を子プログラムの組み合わせによりユー
ザーが自由に設計出来る。また、ルーチン内の制御の流
れは本体プログラムと子プログラムのそれぞれからアク
セス出来る制御フラグ(共通データ領域)の存在でトラ
ブルなどの状況変化に対応した制御が実現できる。
Further, in the present invention, the control of the die casting machine and the peripheral devices is comprehensively managed by using an independent system management computer, and individual processing or highly relevant processing in a routine work repeated for each casting cycle is performed. The summary is a child program independent of the main program. Since all processes related to hardware (peripheral devices and interfaces between the peripheral devices and the computer) are independent of the main body program and are supplied as child programs corresponding to the respective peripheral devices, the user can select and execute these child programs in the order of execution. By setting, it is possible to cope with rearrangement of peripheral devices that differ depending on factories and products, and it is possible to easily perform overall management of the casting process. Therefore, it is possible to simplify the conventional checking operation. For example, when an error occurs and the casting machine stops, a method for communicating to workers, a method for storing data when an error occurs, a method for marking products when an error occurs, and a control signal to peripheral devices when an error occurs The hardware and specifications to be used differ depending on the factory or product, such as the transmission of data. Since the software (child programs) for controlling the hardware is separated for each function, the user can freely design the casting process control routine by combining the child programs. Further, the control flow in the routine can realize control corresponding to a situation change such as a trouble by the presence of a control flag (common data area) accessible from each of the main program and the child program.

【0039】本発明では、ハードウエア(周辺装置な
ど)に係る処理が全て本体プログラムから独立している
ため、ハードウエアのバージョンアップや新たに周辺装
置を工程の中に加える場合、子プロセスの修正または、
追加のみで対応でき本体プログラムに手を加えることな
くその資源を活用できる。
In the present invention, since all processes relating to the hardware (peripheral devices and the like) are independent of the main program, when upgrading the hardware or adding a new peripheral device to the process, the child process is modified. Or
It can be dealt with simply by adding it, and its resources can be used without changing the main program.

【0040】更に本発明では、個々の周辺装置に対応し
た制御理論(ソフト)がハードウエアから独立した子プ
ログラムとして供給されるため制御理論のバージョンア
ップは子プログラムの更新のみで対応できる。ただし、
周辺装置の中でも独立して制御機能を持った方が良い場
合(システム管理コンピュータの故障時にマニュアル運
転できる様に)は、周辺装置内に制御機能を組み込み、
入力データと制御結果のみを共通データ領域に記憶させ
る。
Further, in the present invention, since the control theory (software) corresponding to each peripheral device is supplied as a child program independent of hardware, the control theory can be upgraded only by updating the child program. However,
If it is better to have a control function independently among peripheral devices (so that manual operation can be performed when the system management computer fails), incorporate a control function into the peripheral device.
Only the input data and the control result are stored in the common data area.

【0041】子プログラム間で相互にアクセスできる共
通データ領域を有するため個々の周辺装置の機能によっ
て得られた入力データを他の周辺装置の制御に活用する
ことができる。
Since the child program has a common data area which can be accessed mutually, input data obtained by the function of each peripheral device can be used for controlling other peripheral devices.

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

【図1】本発明が適用されるハードウエア環境を示した
ブロック図である。
FIG. 1 is a block diagram showing a hardware environment to which the present invention is applied.

【図2】図1に示したハードディスクの記憶領域を示し
た概念図である。
FIG. 2 is a conceptual diagram showing a storage area of a hard disk shown in FIG.

【図3】本体プログラムである鋳造工程制御ルーチンを
示したフローチャートである。
FIG. 3 is a flowchart showing a casting process control routine which is a main program.

【図4】子プログラムの一種である金型温度制御装置の
制御プログラムの内容を示したフローチャートである。
FIG. 4 is a flowchart showing the contents of a control program of a mold temperature control device which is a kind of a child program.

【図5】子プログラムの一種であるトリガープログラム
の内容を示したフローチャートである。
FIG. 5 is a flowchart showing the contents of a trigger program which is a kind of child program.

【図6】子プログラムの一種である鋳造機停止時の処理
を行うプログラムの内容を示したフローチャートであ
る。
FIG. 6 is a flowchart showing the contents of a program for performing processing when the casting machine is stopped, which is a kind of child program.

【図7】子プログラムの一種であるデータ収集プログラ
ムの内容を示したフローチャートである。
FIG. 7 is a flowchart showing the contents of a data collection program which is a kind of child program.

【図8】子プログラムの一種であるデータ加工プログラ
ムの内容を示したフローチャートである。
FIG. 8 is a flowchart showing the contents of a data processing program which is a kind of child program.

【図9】子プログラムの一種である比較プログラムの内
容を示したフローチャートである。
FIG. 9 is a flowchart showing the contents of a comparison program which is a kind of child program.

【図10】コンフィグレーションファイルにおいて選定
される子プログラムの組み合わせの一例である。
FIG. 10 is an example of a combination of child programs selected in a configuration file.

【符合の説明】[Description of sign]

1 ダイカストマシン1 2A乃至2N 周辺装置2 3A乃至3N インターフェース3 4 システム管理コンピュータ4 5 RAM5 6 ROM6 7 ハードディスク7 8 ディスプレイ8 REFERENCE SIGNS LIST 1 die casting machine 1 2A to 2N peripheral device 2 3A to 3N interface 3 4 system management computer 4 5 RAM 5 6 ROM 6 7 hard disk 7 8 display 8

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 鋳造のショット毎に繰り返される鋳造工
程制御ルーチン内の個々の処理または関連性の高い処理
をまとめた子プログラムを複数用意し、当該複数の子プ
ログラムのうちから鋳造製品に応じて必要な子プログラ
ムを選定し、選定した子プログラムの実行順序を指定す
るコンフィグレーションファイルを作成し、当該コンフ
ィグレーションファイルにおいて選定された子プログラ
ムを指定された実行順序に従い実行する当該複数の子プ
ログラムからは独立した本体プログラムに従い鋳造工程
におけるダイカストマシンおよびその周辺装置の制御を
システム管理コンピュータが統括管理すると共に、選定
した子プログラムと本体プログラムの双方からアクセス
できる共通のデータ領域を設けたことを特徴とするダイ
カストマシンおよびその周辺装置の統括管理方法。
1. A plurality of child programs in which individual processes or highly relevant processes in a casting process control routine repeated for each casting shot are prepared, and a plurality of child programs are prepared according to a casting product from the plurality of child programs. Select the necessary child programs, create a configuration file that specifies the execution order of the selected child programs, and execute the child programs selected in the configuration file according to the specified execution order. The system management computer controls the control of the die casting machine and its peripheral devices in the casting process according to the independent main program, and a common data area accessible from both the selected child program and main program is provided. Die casting machine and A general management method for the peripheral devices.
【請求項2】 ダイカストの製造工程で用いられるダイ
カストマシンとその周辺装置を個々に監視、制御する予
め用意された複数の子プログラムを目的の鋳造工程に合
わせてユーザーが選択し、ルーチン内における選択した
子プログラムの実行順序を設定するようにしたことを特
徴とするダイカストマシンおよびその周辺装置の統括管
理方法。
2. A user selects a plurality of prepared child programs for individually monitoring and controlling a die casting machine and its peripheral devices used in a die casting manufacturing process in accordance with a target casting process, and selects the programs in a routine. An integrated management method for a die casting machine and its peripheral devices, wherein the execution order of the set child programs is set.
JP30441694A 1994-11-14 1994-11-14 Die casting machine and its peripheral device Expired - Fee Related JP3088065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30441694A JP3088065B2 (en) 1994-11-14 1994-11-14 Die casting machine and its peripheral device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30441694A JP3088065B2 (en) 1994-11-14 1994-11-14 Die casting machine and its peripheral device

Publications (2)

Publication Number Publication Date
JPH08141727A JPH08141727A (en) 1996-06-04
JP3088065B2 true JP3088065B2 (en) 2000-09-18

Family

ID=17932744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30441694A Expired - Fee Related JP3088065B2 (en) 1994-11-14 1994-11-14 Die casting machine and its peripheral device

Country Status (1)

Country Link
JP (1) JP3088065B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003145262A (en) * 2001-11-12 2003-05-20 Mitsui Mining & Smelting Co Ltd Die casting system and die casting product quality control method
WO2004048076A2 (en) * 2002-11-22 2004-06-10 Omnova Solutions Inc. Method for modifying existing injection mould machines to utilize an in-mould coating apparatus
CA2508012C (en) 2002-12-12 2012-03-20 Omnova Solutions Inc. Method of designing and producing a mold
JP6678823B1 (en) * 2018-04-27 2020-04-08 三菱電機株式会社 Data processing device, task control method and program
JP7305493B2 (en) * 2019-09-13 2023-07-10 東洋機械金属株式会社 molding system

Also Published As

Publication number Publication date
JPH08141727A (en) 1996-06-04

Similar Documents

Publication Publication Date Title
US7275236B1 (en) Method for programming a multiple device control system using object sharing
KR101472697B1 (en) Logging setup device, logging setup method and recordable medium
WO1997029898A1 (en) Method of collecting molding data for injection molding machines and method of obtaining molding condition
JP3088065B2 (en) Die casting machine and its peripheral device
CN107407922A (en) The control method and control program of programmable logic controller (PLC), programmable logic controller (PLC)
US20030211640A1 (en) Method and system for maintenance of semiconductor manufacturing
JP5156775B2 (en) Plant monitoring / control device and maintenance support method thereof
JP2003131709A (en) Control display system, control program and recording medium storing the program
TWI582555B (en) A programmable controller system, a programmable display, a support device, a program
JP2003295910A (en) Unit and tool equipment and program products
JP3211528B2 (en) Production management device
JP2001325010A (en) Programmable controller system
JP3220372B2 (en) Building management equipment
JP2003036103A (en) Process control system
KR101916771B1 (en) Method for managing a monitoring apparatus
JP2725091B2 (en) Information management system for injection molding machines
WO2024105848A1 (en) Control system and control method
JP7538322B2 (en) Information processing device and computer-readable storage medium
JPH1052843A (en) Information managing system for industrial machine
JPS6146844B2 (en)
JP5117434B2 (en) Control device maintenance device
JP2004302624A (en) Display device, its program, recording medium with the program recorded thereon, and control system
JP2786785B2 (en) Plant data processing equipment
JP5216365B2 (en) Setting device, parameter setting work support method and program
JPS5830607B2 (en) Digital display operating device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees