JPH0788920A - Injection molding machine having calendar registering function for process control - Google Patents

Injection molding machine having calendar registering function for process control

Info

Publication number
JPH0788920A
JPH0788920A JP25626193A JP25626193A JPH0788920A JP H0788920 A JPH0788920 A JP H0788920A JP 25626193 A JP25626193 A JP 25626193A JP 25626193 A JP25626193 A JP 25626193A JP H0788920 A JPH0788920 A JP H0788920A
Authority
JP
Japan
Prior art keywords
calendar
data
month
display
date
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
JP25626193A
Other languages
Japanese (ja)
Inventor
Tetsuaki Neko
哲明 根子
Tatsuhiro Uchiyama
辰宏 内山
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP25626193A priority Critical patent/JPH0788920A/en
Publication of JPH0788920A publication Critical patent/JPH0788920A/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/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

PURPOSE:To easily confirm the outline of the whole of a production plan by providing a process controlling calendar display means displaying the process controlling display data stored in a data memory means corresponding to days. CONSTITUTION:The command of a calender forming start month is issued through a command means and the data of days from the calendar forming start month are automatically formed over a predetermined period by a calendar forming means to be stored in a calendar memory means. Process controlling display data are inputted from a display data setting input means to be stored in a data memory means corresponding to the days of the calendar memory means. The days and the process controlling display data to be stored in the calendar memory means and the data memory means are preliminarily formed on the side of a host computer. By transmitting these data to an injection molding machine from the host computer, the data are stored in the calendar memory means and data memory means of the injection molding machine. The command of a month having to display data is issued by a command means issuing the command of a display month and the production plan of one month is confirmed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、工程管理用カレンダ登
録機能を有する射出成形機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an injection molding machine having a calendar registration function for process control.

【0002】[0002]

【従来の技術】製品の生産計画等に関する工程管理を行
う方法として、射出成形機の生産ショット数カウンタを
用いる方法が知られている。この生産ショット数カウン
タは殆どの射出成形機に設けられており、ショット数の
積算値の表示やリセット操作を任意に行うことができ、
また、生産予定数をプリセットして設定数までの自動運
転を行えるようにした射出成形機もあるが、生産計画全
体のあらまし、例えば、1か月分の生産計画や保守点検
および勤務日程等に関する情報を知ることはできない。
2. Description of the Related Art A method of using a production shot number counter of an injection molding machine is known as a method of performing process control relating to a product production plan and the like. This production shot number counter is provided in most injection molding machines, and it is possible to display the accumulated value of shot numbers and reset operation arbitrarily.
There is also an injection molding machine that presets the planned number of production and can perform automatic operation up to the set number, but it shows the outline of the entire production plan, for example, the production plan for one month, maintenance inspection and work schedule etc. You cannot know the information.

【0003】[0003]

【発明が解決しようとする課題】本発明の目的は、前記
従来技術の不都合を解消し、所定期間、例えば、少なく
とも1か月単位で生産計画全体のあらましを容易に確認
することのできる工程管理用カレンダ登録機能を有する
射出成形機を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the disadvantages of the prior art and to easily check the outline of the entire production plan in a predetermined period, for example, in units of at least one month. An object of the present invention is to provide an injection molding machine having a calendar registration function.

【0004】[0004]

【課題を解決するための手段】本発明は、所定期間に亘
る月日のデータを記憶する暦記憶手段と、前記暦記憶手
段に記憶された各月日に対応して工程管理用の表示デー
タを記憶するデータ記憶手段と、前記データ記憶手段に
工程管理用の表示データを記憶させる表示データ設定入
力手段と、前記暦記憶手段に記憶された各月日を表示す
ると共に前記データ記憶手段に記憶された工程管理用の
表示データを月日に対応させて表示する工程管理用カレ
ンダ表示手段とを備えたことを特徴とする構成により前
記目的を達成した。
SUMMARY OF THE INVENTION According to the present invention, calendar storage means for storing date data for a predetermined period and display data for process control corresponding to each date stored in the calendar storage means. A data storage means for storing, display data setting input means for storing process control display data in the data storage means, and each month and day stored in the calendar storage means and stored in the data storage means. The above-mentioned object is achieved by a configuration characterized in that it is provided with process control calendar display means for displaying the displayed process control display data in correspondence with the date.

【0005】一実施態様としての射出成形機は、ホスト
コンピュータに接続され、該ホストコンピュータより伝
送されるデータを暦記憶手段およびデータ記憶手段に記
憶して工程管理用カレンダ表示手段により表示する。
An injection molding machine according to one embodiment is connected to a host computer, stores data transmitted from the host computer in the calendar storage means and the data storage means, and displays the calendar by the process control calendar display means.

【0006】また、暦の作成開始月を指令する指令手段
で暦作成開始月を指令して暦作成手段により暦作成開始
月からの月日のデータを所定期間に亘り作成して暦記憶
手段に記憶させる構成により、必要とされる期間の工程
管理用の表示データを簡単に設定できるようにすると共
に、表示月を指令する指令手段で月毎の工程管理用デー
タを表示させることで1か月分の生産計画のあらましを
容易に確認できるようにした。
Further, the calendar creating start month is instructed by the commanding means for instructing the calendar creating start month, the month and day data from the calendar creating start month is created by the calendar creating means for a predetermined period, and is stored in the calendar storing means. By storing the data, it is possible to easily set the display data for process control of the required period and to display the process control data for each month by the command means for instructing the display month. Made it easy to check the outline of the production plan for minutes.

【0007】[0007]

【作用】指令手段を介して暦作成開始月を指令し、暦作
成手段により暦作成開始月からの月日のデータを所定期
間に亘り自動作成させて暦記憶手段に記憶させた後、工
程管理用の表示データを表示データ設定入力手段により
入力して暦記憶手段の各月日に対応させてデータ記憶手
段に記憶させる。または、暦記憶手段とデータ記憶手段
に記憶させるべき月日および工程管理用の表示データを
予めホストコンピュータ側で作成しておき、これらのデ
ータをホストコンピュータから射出成形機に伝送するこ
とにより射出成形機の暦記憶手段とデータ記憶手段に記
憶させる。
Operation: The calendar creation start month is commanded through the command means, and the calendar creation means automatically creates the date data from the calendar creation start month for a predetermined period and stores it in the calendar storage means, and then the process management Display data for input is input by the display data setting input means and stored in the data storage means in association with each month and day of the calendar storage means. Alternatively, the date to be stored in the calendar storage means and the data storage means and the display data for process control are created in advance on the host computer side, and these data are transmitted from the host computer to the injection molding machine to perform injection molding. The data is stored in the calendar storage means and the data storage means of the machine.

【0008】表示月を指令する指令手段によりデータを
表示すべき月を指令し、指令された月に対応する暦と、
暦の月日に対応して記憶された工程管理用の表示データ
を月毎に読出して工程管理用カレンダ表示手段により表
示させ、1か月分の生産計画を確認する。
[0008] The month for which data should be displayed is commanded by command means for commanding the display month, and the calendar corresponding to the commanded month,
The display data for process control stored corresponding to the calendar month is read out every month and displayed by the process control calendar display means to confirm the production plan for one month.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図1は本発明を適用した一実施例の射出成形機の
要部を示すブロック図で、符号1は射出成形機の射出シ
リンダ、符号2はスクリューである。スクリュー2は、
駆動源の軸回転を射出軸方向の直線運動に変換するため
の駆動変換機5を介して射出用サーボモータM1により
射出軸方向に駆動され、また、歯車機構3を介してスク
リュー回転用サーボモータM2により計量回転されるよ
うになっている。スクリュー2の基部には圧力検出器4
が設けられ、スクリュー2の軸方向に作用する樹脂圧
力、即ち、射出保圧工程における射出保圧圧力や計量工
程におけるスクリュー背圧がA/D変換器16を介して
検出される。射出用サーボモータM1にはスクリュー2
の位置や移動速度を検出するためのパルスコーダP1が
配備され、また、スクリュー回転用サーボモータM2に
はスクリュー2の回転速度を検出するための速度検出器
P2が配備されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a main part of an injection molding machine according to an embodiment of the present invention. Reference numeral 1 is an injection cylinder of the injection molding machine, and reference numeral 2 is a screw. Screw 2
It is driven in the injection axis direction by the injection servomotor M1 via the drive converter 5 for converting the shaft rotation of the drive source into the linear movement in the injection axis direction, and also the screw rotation servomotor via the gear mechanism 3. It is designed to be metered and rotated by M2. At the base of the screw 2 is a pressure detector 4
Is provided and the resin pressure acting in the axial direction of the screw 2, that is, the injection holding pressure in the injection holding process and the screw back pressure in the measuring process are detected via the A / D converter 16. Screw 2 for injection servomotor M1
Is provided with a pulse coder P1 for detecting the position and the moving speed, and the screw rotation servomotor M2 is provided with a speed detector P2 for detecting the rotation speed of the screw 2.

【0010】射出成形機の制御装置10は、数値制御用
のマイクロプロセッサであるCNC用CPU25,プロ
グラマブルマシンコントローラ用のマイクロプロセッサ
であるPMC用CPU18,サーボ制御用のマイクロプ
ロセッサであるサーボCPU20および射出保圧圧力や
スクリュー背圧のサンプリング処理を行うための圧力モ
ニタ用CPU17を有し、バス22を介して相互の入出
力を選択することにより各マイクロプロセッサ間での情
報伝達が行えるようになっている。
The controller 10 of the injection molding machine includes a CNC CPU 25 which is a numerical control microprocessor, a PMC CPU 18 which is a programmable machine controller microprocessor, a servo CPU 20 which is a servo control microprocessor, and an injection guard. A pressure monitor CPU 17 for sampling pressure and screw back pressure is provided, and information can be transmitted between the microprocessors by selecting mutual input / output via a bus 22. .

【0011】PMC用CPU18には射出成形機のシー
ケンス動作を制御するシーケンスプログラムや工程管理
用カレンダ登録機能を実現するための制御プログラム
(図2〜図8参照)および表示データ(図13参照)等
を記憶したROM13および演算データの一時記憶等に
用いられるRAM14が接続されている。一方、CNC
用CPU25には射出成形機を全体的に制御するプログ
ラム等を記憶したROM27および演算データの一時記
憶等に用いられるRAM28が接続されている。
The PMC CPU 18 has a sequence program for controlling the sequence operation of the injection molding machine, a control program for realizing the calendar registration function for process management (see FIGS. 2 to 8), display data (see FIG. 13), etc. Is connected to a ROM 13 that stores the data and a RAM 14 that is used for temporary storage of calculation data. On the other hand, CNC
A ROM 27 storing a program for controlling the injection molding machine as a whole and a RAM 28 used for temporary storage of calculation data are connected to the CPU 25 for use.

【0012】また、サーボCPU20および圧力モニタ
用CPU17の各々には、サーボ制御専用の制御プログ
ラムを格納したROM21やデータの一時記憶に用いら
れるRAM19、および、成形データのサンプリング処
理等に関する制御プログラムを格納したROM11やデ
ータの一時記憶に用いられるRAM12が接続されてい
る。更に、サーボCPU20には、該CPU20からの
指令に基いて型締め用,エジェクタ用(図示せず)およ
び射出用,スクリュー回転用等の各軸のサーボモータを
駆動するサーボアンプ15が接続され、射出用サーボモ
ータM1に配備したパルスコーダP1およびスクリュー
回転用サーボモータM2に配備したパルスコーダP2か
らの出力の各々がサーボCPU20に帰還され、パルス
コーダP1からのフィードバックパルスに基いてサーボ
CPU20により算出されたスクリュー2の現在位置
や、速度検出器P2で検出されるスクリュー2の回転速
度が、メモリ19の現在位置記憶レジスタおよび現在速
度記憶レジスタの各々に記憶される。
Each of the servo CPU 20 and the pressure monitor CPU 17 stores a ROM 21 storing a control program dedicated to servo control, a RAM 19 used for temporary storage of data, and a control program relating to a sampling process of molding data. The ROM 11 and the RAM 12 used for temporary storage of data are connected. Further, the servo CPU 20 is connected to a servo amplifier 15 for driving a servo motor of each axis for mold clamping, ejector (not shown) and injection, screw rotation, etc. based on a command from the CPU 20. Each of the outputs from the pulse coder P1 provided in the injection servo motor M1 and the pulse coder P2 provided in the screw rotation servo motor M2 is fed back to the servo CPU 20, and the screw calculated by the servo CPU 20 based on the feedback pulse from the pulse coder P1. The current position 2 and the rotation speed of the screw 2 detected by the speed detector P2 are stored in the current position storage register and the current speed storage register of the memory 19, respectively.

【0013】不揮発性メモリ24は射出成形作業に関す
る成形条件(射出保圧条件,計量条件等)と各種設定
値,パラメータ,マクロ変数を従来と同様にして記憶す
る成形データ保存用のメモリであり、更に、本実施例に
おいては、r日に亘る年月日のデータおよび各年月日に
対応する工程管理用のデータを記憶するためのファイル
手段(図14参照)が設けられている。
The non-volatile memory 24 is a memory for storing molding data, which stores molding conditions (injection pressure maintaining condition, measuring condition, etc.) and various set values, parameters and macro variables related to injection molding work in the same manner as in the conventional case. Further, in the present embodiment, a file means (see FIG. 14) is provided for storing the date of r days and the data for process control corresponding to each date.

【0014】インターフェイス23は射出成形機の各部
に配備したリミットスイッチや操作盤からの信号を受信
したり射出成形機の周辺機器等に各種の指令を伝達した
りするための入出力インターフェイス、また、通信イン
ターフェイス30は射出成形機の制御装置10をホスト
コンピュータに接続してデータの入出力を行うためのも
のである。
The interface 23 is an input / output interface for receiving signals from limit switches and operation panels provided in various parts of the injection molding machine and for transmitting various commands to peripheral equipment of the injection molding machine, and The communication interface 30 is for connecting the controller 10 of the injection molding machine to a host computer to input / output data.

【0015】そして、CNC用CPU25がROM27
の制御プログラムに基いて各軸のサーボモータに対して
パルス分配を行い、サーボCPU20は各軸に対してパ
ルス分配された移動指令とパルスコーダP1,速度検出
器P2等の検出器で検出された位置のフィードバック信
号および速度のフィードバック信号に基いて、従来と同
様に位置ループ制御,速度ループ制御さらには電流ルー
プ制御等のサーボ制御を行い、いわゆるディジタルサー
ボ処理を実行する。
Then, the CNC CPU 25 is replaced by the ROM 27.
Based on the control program described above, pulses are distributed to the servo motors of the respective axes, and the servo CPU 20 moves the pulses distributed to the respective axes and the positions detected by the detectors such as the pulse coder P1 and the speed detector P2. Based on the feedback signal and the speed feedback signal, servo control such as position loop control, speed loop control and current loop control is performed as in the conventional case, and so-called digital servo processing is executed.

【0016】工程管理用カレンダ表示手段の一部を構成
するディスプレイ付手動データ入力装置29はCRT表
示回路26を介してバス22に接続され、モニタ表示画
面や機能メニューの選択および各種データの入力操作等
が行えるようになっており、数値データ入力用のテンキ
ーおよび各種のファンクションキー等が設けられてい
る。
A manual data input device 29 with a display, which constitutes a part of the calendar display means for process control, is connected to the bus 22 via a CRT display circuit 26 to select a monitor display screen or a function menu and input various data. Etc., and a numeric keypad for inputting numerical data and various function keys are provided.

【0017】図2〜図8は所定期間に亘る暦の作成と暦
の各月日に対応する工程管理用データの登録、および、
暦と工程管理用データとの対応関係を月毎に表示するた
めに必要とされる処理の概略を示すフローチャートであ
り、以下、これらのフローチャートを参照して、本実施
例における工程管理用カレンダ登録機能を説明する。
2 to 8 show a calendar for a predetermined period, registration of process control data corresponding to each month and day of the calendar, and
It is a flow chart showing an outline of the processing required to display the correspondence between the calendar and the process control data on a monthly basis. Hereinafter, referring to these flow charts, the process control calendar registration in the present embodiment will be described. Describe the function.

【0018】ディスプレイ付手動データ入力装置29の
ファンクションキーの操作により工程管理の機能メニュ
ーが選択されたことを検出したPMC用CPU18は、
ディスプレイ付手動データ入力装置29のファンクショ
ンキーの割り付けを図11に示すような状態に変更した
後、まず、不揮発性メモリ24に暦作成完了フラグdata
がセットされているか否かを判別する(ステップS
1)。暦作成完了フラグdataは、図14のファイル手段
における第1列および第2列のレコードで構成される暦
記憶手段に暦の年月日データが設定された時点でセット
されるフラグであり、この段階で暦作成完了フラグdata
がセットされていなければ暦が未設定であることを意味
する。
The PMC CPU 18, which has detected that the function menu for process control has been selected by operating the function keys of the manual data input device 29 with a display,
After changing the function key assignment of the manual data input device with display 29 to the state shown in FIG. 11, first, the calendar creation completion flag data is stored in the non-volatile memory 24.
Is set (step S)
1). The calendar creation completion flag data is a flag that is set when the calendar date data is set in the calendar storage means composed of the records of the first and second columns in the file means of FIG. Calendar creation completion flag data at the stage
If is not set, it means that the calendar is not set.

【0019】そこで、暦作成完了フラグdataがセットさ
れていない場合、PMC用CPU18は、まず、ディス
プレイ付手動データ入力装置29のディスプレイ画面に
「何年何月から暦を作成しますか?」等のガイダンスメ
ッセージを表示し(ステップS4)、オペレータによる
作成開始年月のテンキー入力を待つ待機状態に入る(ス
テップS5)。そして、オペレータが作成開始月の指令
手段となるディスプレイ付手動データ入力装置29のテ
ンキーを操作して作成開始年月を入力すると、PMC用
CPU18はステップS5の判別処理でこれを検出し、
作成開始年月の値を不揮発性メモリ24の作成開始年月
記憶レジスタydに格納した後(ステップS6)、RA
M14の月偏差記憶レジスタy,アドレスカウンタq,
日付記憶レジスタdの各々に0,1,1を初期設定し
(ステップS7)、作成開始年月ydの値に基いて作成
開始年月yd月の最終日付の値dmax.を求めて一時記憶
する(ステップS8)。なお、各年各月の最終日付の値
は射出成形機の出荷予定日や耐用年数等を考慮し、必要
と想定される年月の月数分のデータが予めROM13に
書き込まれている。
Therefore, when the calendar creation completion flag data is not set, the PMC CPU 18 first displays on the display screen of the manual data input device 29 with a display "from what year and from what year do you want to create a calendar?" Is displayed (step S4), and a standby state is awaited for the operator to input the ten-key pad for the start date of creation (step S5). Then, when the operator operates the ten-key pad of the manual data input device 29 with a display, which is a command means of the creation start month, and inputs the creation start date, the PMC CPU 18 detects this in the determination processing of step S5,
After the value of the creation start date is stored in the creation start date storage register yd of the nonvolatile memory 24 (step S6), RA
M14 month deviation storage register y, address counter q,
Initially set 0, 1, 1 to each of the date storage registers d (step S7), obtain the value dmax. Of the final date of the creation start year yd month based on the value of the creation start year yyd, and temporarily store it. (Step S8). It should be noted that the value of the final date of each month of each year is preliminarily written in the ROM 13 for the required number of months of the year in consideration of the expected shipping date of the injection molding machine, the useful life, and the like.

【0020】次いで、PMC用CPU18は、アドレス
カウンタqの現在値が図14のファイル手段における最
終アドレスrの値を越えているか否か、即ち、記憶可能
なレコード数を越えているか否かを判別するが(ステッ
プS9)、越えていなければ、ファイルの(1列,q
行)スポットのレコードに月偏差記憶レジスタyの現在
値、即ち、作成開始年月を0月として起算した経過月数
の値yを格納すると共に(ステップS10)、(2列,
q行)スポットのレコードに日付記憶レジスタdの現在
値を格納して1日分の暦を作成する(ステップS1
1)。そして、PMC用CPU18は、日付記憶レジス
タdおよびアドレスカウンタqの値を各々インクリメン
トし(ステップS12)、日付記憶レジスタdの現在値
が当月の最終日付の値dmax.を越えているか否かを判別
し(ステップS13)、越えていなければ、以下、日付
記憶レジスタdの現在値が当月の最終日付の値dmax.を
越えるか、もしくは、アドレスカウンタqの現在値がフ
ァイル手段における最終アドレスrの値を越えるまでの
間、前記と同様の処理を繰り返し実行する。
Next, the PMC CPU 18 determines whether or not the current value of the address counter q exceeds the value of the final address r in the file means of FIG. 14, that is, whether or not it exceeds the number of records that can be stored. (Step S9), but if it does not exceed (1 column, q
(Line) The current value of the month deviation storage register y, that is, the value y of the number of elapsed months counted with the creation start year as month 0 is stored in the spot record (step S10), and (2 columns,
(Line q) The current value of the date storage register d is stored in the spot record to create a calendar for one day (step S1).
1). Then, the PMC CPU 18 increments the values of the date storage register d and the address counter q (step S12), and determines whether the current value of the date storage register d exceeds the final date value dmax. If the current value of the date storage register d exceeds the value dmax. Of the final date of the current month, or if the current value of the address counter q is the value of the final address r in the file means (step S13). Until it exceeds, the same processing as described above is repeatedly executed.

【0021】このような処理を繰り返し実行する間に日
付記憶レジスタdの現在値が当月の最終日付の値dmax.
を越えると、PMC用CPU18はステップS13の判
別処理でこれを検出し、日付記憶レジスタdの値を月初
めの初期値1に再設定すると共に(ステップS14)、
月偏差記憶レジスタyの値をインクリメントし(ステッ
プS15)、作成開始年月ydと月偏差記憶レジスタy
の加算値に基いて新たな月の最終日付の値を前記と同様
にして求め、dmax.の値を更新する(ステップS1
6)。そして、再び前記と同様の処理を繰り返し実行し
て、図14に示されるファイルの第1列および第2列の
レコードに作成開始年月ydを0月とするy月d日の暦
を複数月分作成する。
While the above processing is repeatedly executed, the current value of the date storage register d is the value dmax.
When it exceeds, the PMC CPU 18 detects this in the determination processing of step S13 and resets the value of the date storage register d to the initial value 1 at the beginning of the month (step S14).
The value of the month deviation storage register y is incremented (step S15), and the creation start year / month yd and the month deviation storage register y are incremented.
The value of the final date of the new month is obtained in the same manner as above based on the added value of and the value of dmax. Is updated (step S1).
6). Then, the same processing as described above is repeatedly executed again, and the calendars on the day y month d with the creation start year yy as the month 0 are recorded in the records in the first and second columns of the file shown in FIG. Create minutes.

【0022】そして、このような処理を繰り返す間にア
ドレスカウンタqの現在値がファイル手段における最終
アドレスrの値を越え、ファイルの第1アドレスから第
rアドレスの全てに作成開始年月ydを0月とするy月
d日の暦が記憶されると、PMC用CPU18は不揮発
性メモリ24の表示月記憶レジスタyaに0を初期設定
し(ステップS17)、暦作成完了フラグdataをセット
する(ステップS18)。つまり、本実施例における暦
作成手段はステップS5〜ステップS16までの処理で
あり、図14のファイル手段における第1列および第2
列のレコードで構成される暦記憶手段には、yd年月の
1日を初めとして所定日数r日分の暦が記憶されること
になる。
While the above processing is repeated, the current value of the address counter q exceeds the value of the final address r in the file means, and the creation start date yd is set to 0 for all the first to rth addresses of the file. When the calendar of y month d as a month is stored, the PMC CPU 18 initializes 0 in the display month storage register ya of the non-volatile memory 24 (step S17) and sets the calendar creation completion flag data (step S17). S18). That is, the calendar creating means in this embodiment is the processing from step S5 to step S16, and the first column and the second row in the file means in FIG.
The calendar storage means constituted by the records in the column stores calendars for a predetermined number r of days including the first day of the year yd.

【0023】ここで、工程管理用データを構成する生産
管理データの一種である保守日の自動設定指令がディス
プレイ付手動データ入力装置29のキー操作によって入
力されると、PMC用CPU18がこれを検出し(ステ
ップS19)、ディスプレイ付手動データ入力装置29
のディスプレイ画面に「保守作業を実施する第1日目の
日付と間隔を日数で入力して下さい」等のガイダンスメ
ッセージを表示し(ステップS20)、オペレータによ
る第1日目の日付および日数間隔のテンキー入力を待つ
待機状態に入る(ステップS21)。そして、オペレー
タがディスプレイ付手動データ入力装置29のテンキー
を操作して第1日目の日付と日数間隔を入力すると、P
MC用CPU18はステップS21の判別処理でこれを
検出し、レジスタkに日数間隔を一時記憶してアドレス
カウンタqに第1日目の日付を初期設定する(ステップ
S22,ステップS23)。以下、PMC用CPU18
は、アドレスカウンタqの現在値がファイル手段におけ
る最終アドレスrの値を越えるまでの間(ステップS2
4)、日数間隔kの刻み幅で図14に示すファイルの
(4列,q行)スポットの保守管理項目記憶レコードに
保守日の表示データに対応する数値1(図13のテーブ
ルF2を参照)をセットしてゆく(ステップS25,ス
テップS26)。そして、アドレスカウンタqの現在値
がファイル手段における最終アドレスrの値を越えて暦
の全期間に亘る保守日の自動設定処理が完了すると次の
処理へと移行する(ステップS24)。なお、保守日の
自動設定指令が入力されない場合には、ステップS20
〜ステップS26の処理はキャンセルされ、必要に応じ
て後述の手動設定操作を行うことによって保守日の設定
を行う。
When an automatic maintenance date setting command, which is a type of production control data forming the process control data, is input by a key operation of the manual data input device 29 with a display, the PMC CPU 18 detects it. (Step S19), manual data input device 29 with display
A guidance message such as "Please enter the date and interval of the first day to perform maintenance work in days" is displayed on the display screen of (step S20), and the operator can confirm the date and the interval of the first day. A standby state waiting for numeric key input is entered (step S21). Then, when the operator operates the ten keys of the manual data input device 29 with a display to input the date of the first day and the number of days interval, P
The MC CPU 18 detects this in the determination processing of step S21, temporarily stores the number of days interval in the register k, and initializes the date of the first day in the address counter q (steps S22 and S23). Below, CPU18 for PMC
Until the current value of the address counter q exceeds the value of the final address r in the file means (step S2
4), the numerical value 1 corresponding to the display data of the maintenance date in the maintenance management item storage record of the spot (4th column, qth row) of the file shown in FIG. 14 in increments of the number of days interval k (see table F2 in FIG. 13). Are set (steps S25 and S26). When the current value of the address counter q exceeds the value of the final address r in the file means and the automatic maintenance date automatic setting process for the entire calendar period is completed, the process proceeds to the next process (step S24). If the maintenance date automatic setting command is not input, step S20 is performed.
The process of step S26 is canceled, and the maintenance date is set by performing a manual setting operation described later as necessary.

【0024】次いで、PMC用CPU18は、作成開始
年月ydと表示月記憶レジスタyaの加算値および該加
算値の年月に対応する最終日付の値dmax.に基いて該1
か月分のカレンダをファイルから読み出し、図11のよ
うにしてディスプレイ付手動データ入力装置29のディ
スプレイ画面に表示した後、カーソル指定指標xに1を
初期設定してディスプレイ画面上のx日の位置にカーソ
ルを表示する(ステップS27)。図11における“1
993”と“12”は作成開始年月ydと表示月記憶レ
ジスタyaの加算値を年と月に分割した値であり、当
然、月の値が12をこえる毎に年度の値はインクリメン
トされ、月の値は1に再設定される。なお、この段階で
ファイルにおける第3列の生産管理項目記憶レコード,
第4列の保守管理項目記憶レコード,第5列の勤務管理
項目記憶レコードに0以外の数値が記憶されていれば、
ディスプレイ画面に表示された区間の各日付に対応する
ファイルのアドレスに記憶された生産管理項目,保守管
理項目,勤務管理項目の数値に対応する表示データが図
13に示されるようなROM13のテーブルF1〜F3
を参照して表示されるが、暦を新規作成した直後の段階
ではファイルの第3列,第4列,第5列のデータは全て
0に初期化されたままであるので各種管理項目のデータ
は表示されない。但し、前述した保守日の自動設定処理
が実行された場合には、既に第4列の保守管理項目記憶
レコードに所定の日数間隔kでデータ1が設定されてい
るので、テーブルF2のデータ番号1に対応する表示デ
ータ“保守日”が日付に対応して表示される。ここでは
表示されないが、言うまでもなく、第3列の生産管理項
目記憶レコードの数値に従ってテーブルF1の表示デー
タが、また、第5列の勤務管理項目記憶レコードの数値
に従ってテーブルF3の表示データが表示されるのであ
る。
Next, the PMC CPU 18 determines the first based on the creation start year / month yd and the added value of the display month storage register ya and the value dmax. Of the final date corresponding to the year / month of the added value.
After reading the calendar for a month from the file and displaying it on the display screen of the manual data input device 29 with a display as shown in FIG. 11, the cursor designation index x is initialized to 1 and the position of x days on the display screen. The cursor is displayed at (step S27). "1" in FIG.
“993” and “12” are values obtained by dividing the added value of the creation start year / month yd and the display month storage register ya into years and months. Of course, each year when the month value exceeds 12, the year value is incremented. The month value is reset to 1. At this stage, the production control item storage record in the third column in the file,
If a numerical value other than 0 is stored in the maintenance management item storage record in the fourth column and the work management item storage record in the fifth column,
The display data corresponding to the numerical values of the production management items, maintenance management items, and work management items stored at the addresses of the files corresponding to the dates of the sections displayed on the display screen are the table F1 of the ROM 13 as shown in FIG. ~ F3
Although it is displayed with reference to, the data of the third column, the fourth column, and the fifth column of the file are all initialized to 0 immediately after the new calendar is created, so the data of various management items Do not show. However, when the above-described automatic maintenance date setting process is executed, since the data 1 has already been set in the maintenance management item storage record in the fourth column at the predetermined number of days interval k, the data number 1 in the table F2 is set. The display data “maintenance date” corresponding to is displayed corresponding to the date. Although not displayed here, it goes without saying that the display data of the table F1 is displayed according to the numerical value of the production management item storage record in the third column, and the display data of the table F3 is displayed according to the numerical value of the work management item storage record in the fifth column. It is.

【0025】次いで、PMC用CPU18は月偏差積算
カウンタiおよび不揮発性メモリ24の総日数積算カウ
ンタdsの値を0に初期化し(ステップS28)、カウ
ンタiの値が表示月記憶レジスタyaの値よりも小さい
か否かを判別する(ステップS29)。総日数積算カウ
ンタdsは現時点でディスプレイ付手動データ入力装置
29のディスプレイ画面に表示されている月の先頭日付
の直前の日付に対応するファイルのアドレスを示すカウ
ンタであり、該カウンタdsの値にカーソル指定指標x
の値を加算した値、つまり、現時点でディスプレイ付手
動データ入力装置29のディスプレイ画面に表示されて
いる年月分の表示の中でカーソルで指定されている日付
に対応するアドレスのレコードが生産管理項目,保守管
理項目,勤務管理項目の設定対象となる。暦を新規作成
した直後の段階ではya=0(ステップS17参照),
i=0であるからステップS29の判別結果は偽とな
り、ステップS30およびステップS31の処理がキャ
ンセルされて総日数積算カウンタdsの値が初期値0に
保持されるので、カーソル移動キーを操作する前の現時
点ではds+x=1となり、カーソル位置によって示さ
れるyd年月の第1日、つまり、図11のファイルにお
ける第1アドレスのレコードが、このまま工程管理用の
データの設定操作を開始するかどうかは別として、生産
管理項目,保守管理項目,勤務管理項目の設定対象とな
っていることを意味する。作成開始年月であるyd年月
の暦を表示した状態では、カーソル指定指標xの値にd
s=0を加えた値、つまり、カーソル指定指標xの値で
示される日付そのものがファイル手段のアドレスと一致
することになる。
Next, the PMC CPU 18 initializes the values of the monthly deviation integration counter i and the total days integration counter ds of the non-volatile memory 24 to 0 (step S28), and the value of the counter i is calculated from the value of the display month storage register ya. Is also small (step S29). The total number of days integration counter ds is a counter indicating the address of the file corresponding to the date immediately before the first date of the month currently displayed on the display screen of the manual data input device with display 29, and the cursor is set on the value of the counter ds. Designated index x
Is added, that is, the record of the address corresponding to the date designated by the cursor in the display of the year / month portion currently displayed on the display screen of the manual data input device with display 29 is production controlled. Items, maintenance management items, and work management items are set. Immediately after the new calendar is created, ya = 0 (see step S17),
Since i = 0, the determination result of step S29 becomes false, the processing of steps S30 and S31 is canceled, and the value of the total number of days integration counter ds is held at the initial value 0. Therefore, before operating the cursor movement key. At the present time, ds + x = 1, and whether or not the first day of the yy-year indicated by the cursor position, that is, the record of the first address in the file of FIG. 11 starts the data setting operation for the process control as it is. Separately, it means that the items are set as production management items, maintenance management items, and work management items. In the state where the calendar of yd year, which is the creation start month, is displayed, d is displayed in the value of the cursor designation index x.
A value obtained by adding s = 0, that is, the date itself indicated by the value of the cursor designation index x coincides with the address of the file means.

【0026】以上の処理により、作成開始年月ydから
r日分の暦の作成を終了したPMC用CPU18は、ス
テップS3の処理へと移行し、暦を再設定するための新
規作成キーの操作(ステップS3)、表示中の年月より
も1か月先の暦を表示させるための次月キーの操作(ス
テップS32)、表示中の年月よりも1か月前の暦を表
示させるための前月キーの操作(ステップS36)、工
程管理用データを設定するための日付を指定するための
カーソル移動キーの操作(ステップS40)、カーソル
で指定されている日付に対して図13のテーブルF1か
ら生産管理項目の表示データを選択して設定するための
生産管理キーの操作(ステップS42)、カーソルで指
定されている日付に対して図13のテーブルF2から保
守管理項目の表示データを選択して設定するための保守
管理キーの操作(ステップS48)、カーソルで指定さ
れている日付に対して図13のテーブルF3から勤務管
理項目の表示データを選択して設定するための勤務日程
キーの操作(ステップS54)、もしくは、設定行為を
終了または中断させるための終了キーの操作(ステップ
S60)のいずれかを待つ待機状態に入る。
The PMC CPU 18, which has completed the creation of the calendar for r days from the creation start year yd by the above processing, moves to the processing of step S3 and operates the newly created key for resetting the calendar. (Step S3), operation of the next month key for displaying the calendar one month ahead of the displayed year and month (step S32), to display the calendar one month before the displayed year and month Operation of the previous month key (step S36), operation of the cursor movement key for specifying the date for setting the process control data (step S40), and the table F1 of FIG. 13 for the date specified by the cursor. Operation of the production control key for selecting and setting display data of the production control item from step (step S42), display of the maintenance control item from the table F2 of FIG. 13 for the date designated by the cursor Operation of the maintenance management key for selecting and setting the data (step S48), for selecting and setting the display data of the work management item from the table F3 in FIG. 13 for the date designated by the cursor. A standby state is waited for either the operation of the work schedule key (step S54) or the operation of the end key for ending or interrupting the setting action (step S60).

【0027】なお、暦の作成に関する前述の処理を一旦
完了させてしまえば、終了キーの操作および電源のカッ
トはいつでも可能である。例えば、暦の作成に関する前
述の処理を完了させた時点で何の設定操作も行わずに終
了キーを操作して工程管理の機能メニューを終了させ、
再びこの機能メニューを選択したとしても、暦作成完了
フラグdata,作成開始年月記憶レジスタyd,表示月記
憶レジスタyaは共に不揮発性のレジスタであるので、
機能メニューの選択およびステップS1の判別処理実行
後、これらのレジスタの値に基いて前述したステップS
27の処理と全く同様にしてステップS2の処理が最初
に実行され、終了キーの操作もしくは電源カットの直前
に表示されていた1か月分のカレンダが図11のように
してディスプレイ付手動データ入力装置29のディスプ
レイ画面に以前と全く同様にして表示され、第1日目の
位置にカーソルが表示されることとなる。この場合、表
示中の月の先頭日付の直前の日付のアドレスに総日数積
算カウンタdsの値を対応させるために必要とされるス
テップS28〜ステップS31の処理は実行されない
が、表示データ自体に変化がなく、しかも、総日数積算
カウンタdsの値が既に不揮発記憶されているので何ら
問題はなく、ステップS2の表示処理実行後、直ちに当
該表示月に対する工程管理用データ設定のためのカーソ
ル移動操作等に取り掛かることができる。また、作成開
始月ydの入力操作を誤ったような場合には、改めて新
規作成キーを操作することにより、前記と同様の処理を
実行させて所望する暦の作成を行えばよい。
It should be noted that once the above-described process relating to calendar creation is completed, the end key can be operated and the power can be turned off at any time. For example, when the above-mentioned process related to calendar creation is completed, the end key is operated without performing any setting operation to end the process management function menu,
Even if this function menu is selected again, the calendar creation completion flag data, the creation start year / month storage register yd, and the display month storage register ya are all non-volatile registers.
After selecting the function menu and executing the determination processing in step S1, the above-described step S is performed based on the values in these registers.
The process of step S2 is first executed in exactly the same way as the process of 27, and the calendar for one month displayed immediately before the operation of the end key or the power-off is displayed as shown in FIG. It is displayed on the display screen of the device 29 in exactly the same manner as before, and the cursor is displayed at the position of the first day. In this case, the processing of steps S28 to S31 required for associating the value of the total day number integration counter ds with the address of the date immediately before the first date of the displayed month is not executed, but the display data itself is changed. Moreover, since the value of the total day integration counter ds is already stored in the nonvolatile memory, there is no problem. Immediately after the display process of step S2, the cursor movement operation for setting the process control data for the displayed month is performed. You can get started. If the input operation of the creation start month yd is incorrect, the newly created key is operated again to execute the same process as described above to create a desired calendar.

【0028】そこで、暦の作成完了後、オペレータは、
まず、表示月指定手段となる次月キーもしくは前月キー
を操作して工程管理のデータを設定する月を選択し、該
1か月分のカレンダをディスプレイ付手動データ入力装
置29のディスプレイ画面に表示させることとなる。な
お、ディスプレイ付手動データ入力装置29のディスプ
レイ画面に最初に表示されたカレンダが工程管理のデー
タを設定する対象月である場合には次月キーおよび前月
キーの操作は不要である。
Therefore, after the creation of the calendar, the operator
First, a month for which process control data is set is selected by operating the next month key or the previous month key, which is a display month designating means, and the calendar for the one month is displayed on the display screen of the manual data input device 29 with a display. Will be made. If the calendar first displayed on the display screen of the manual data input device with display 29 is the target month for setting the process control data, the next month key and the previous month key need not be operated.

【0029】次月キーが操作された場合、ステップS
3,ステップS32,ステップS36,ステップS4
0,ステップS42,ステップS48,ステップS5
4,ステップS60の判別処理を繰り返し実行するPM
C用CPU18は、ステップS32の判別処理でこの操
作を検出して表示月記憶レジスタyaの値をインクリメ
ントし(ステップS33)、表示月記憶レジスタyaの
現在値がファイルの(1列,r行)スポットのレコード
に記憶された月偏差の最大値A(1,r)を越えている
か否かを判別する(ステップS34)。表示月記憶レジ
スタyaの現在値が月偏差の最大値A(1,r)を越え
ていればyd+ya>yd+A(1,r)となり、yd
+yaの年月に対応する暦がファイルに設定されていな
いことを意味するので、当然、この月のカレンダを表示
させることはできない。従って、この場合、PMC用C
PU18は、作成されている最初の月のカレンダを循環
的に表示させるべく表示月記憶レジスタyaの値を0に
再設定して(ステップS35)、次の処理へと移行す
る。一方、表示月記憶レジスタyaの現在値が月偏差の
最大値A(1,r)を越えていなければyd+ya年月
のカレンダを表示させることができるので、ステップS
35の処理を非実行として次の処理へと移行することと
なる。
If the next month key is operated, step S
3, step S32, step S36, step S4
0, step S42, step S48, step S5
4, PM that repeatedly executes the determination process of step S60
The C CPU 18 detects this operation in the determination processing of step S32 and increments the value of the display month storage register ya (step S33), and the current value of the display month storage register ya is the file (1st column, r row). It is determined whether or not the maximum monthly deviation A (1, r) stored in the spot record is exceeded (step S34). If the current value of the display month storage register ya exceeds the maximum value A (1, r) of the month deviation, yd + ya> yd + A (1, r), and yd
Since it means that the calendar corresponding to the year and month of + ya is not set in the file, naturally the calendar of this month cannot be displayed. Therefore, in this case, C for PMC
The PU 18 resets the value of the display month storage register ya to 0 in order to cyclically display the created calendar of the first month (step S35), and shifts to the next process. On the other hand, if the current value of the display month storage register ya does not exceed the maximum value A (1, r) of the month deviation, the calendar of yd + ya year / month can be displayed.
The process of 35 is not executed, and the process proceeds to the next process.

【0030】また、前月キーが操作された場合、PMC
用CPU18はステップS36の判別処理でこの操作を
検出して表示月記憶レジスタyaの値をディクリメント
し(ステップS37)、表示月記憶レジスタyaの現在
値が0よりも小さくなっているか否かを判別する(ステ
ップS38)。表示月記憶レジスタyaの現在値が0よ
りも小さければyd+ya<ydとなり、作成開始年月
yd以前の暦を表示させようとしていることを意味し、
当然、この様なことは不可能であるから、PMC用CP
U18は、作成されている最終月のカレンダを循環的に
表示させるべく表示月記憶レジスタyaの値をA(1,
r)に再設定して(ステップS39)、次の処理へと移
行する。一方、表示月記憶レジスタyaの現在値が0以
上であればyd+ya年月のカレンダを表示させること
ができるので、ステップS39の処理を非実行として次
の処理へと移行することとなる。なお、既に説明した通
り表示月記憶レジスタyaの値は初期値が0であって、
前月キーおよび次月キーの操作によってのみ増減される
ので、当然、その取り得る値は0≦ya≦A(1,r)
の範囲に規制される。
When the previous month key is operated, the PMC
The CPU 18 for detection detects this operation in the determination processing of step S36 and decrements the value of the display month storage register ya (step S37) to check whether the current value of the display month storage register ya is smaller than 0 or not. It is determined (step S38). If the current value of the display month storage register ya is smaller than 0, then yd + ya <yd, which means that the calendar before the creation start year yy is displayed.
Naturally, such a thing is impossible, so CP for PMC
U18 sets the value of the display month storage register ya to A (1,
r) is reset (step S39), and the process proceeds to the next process. On the other hand, if the current value of the display month storage register ya is 0 or more, the calendar of yd + ya year / month can be displayed, so that the process of step S39 is not executed and the process shifts to the next process. Note that, as described above, the initial value of the value of the display month storage register ya is 0,
Since the value is increased / decreased only by operating the previous month key and the next month key, naturally, the possible values are 0 ≦ ya ≦ A (1, r).
Is regulated in the range of.

【0031】次いで、PMC用CPU18はステップS
27の処理へと移行し、前記と同様にして作成開始年月
ydと表示月記憶レジスタyaの加算値および該加算値
の年月に対応する最終日付の値dmax.に基いて該1か月
分のカレンダをファイルから読み出し、図11のように
してディスプレイ付手動データ入力装置29のディスプ
レイ画面に表示した後、カーソル指定指標xに1を初期
設定してディスプレイ画面上のx日の位置にカーソルを
表示する。次いで、月偏差積算カウンタiおよび不揮発
性メモリ24の総日数積算カウンタdsの値を0に初期
化し(ステップS28)、カウンタiの値が表示月記憶
レジスタyaの値よりも小さいか否かを判別するが(ス
テップS29)、表示月記憶レジスタyaの値がiの初
期値0よりも大きければyd+ya>ydとなり、作成
開始年月ydよりも将来のカレンダが表示されているこ
とを意味する。従って、カーソル指定指標xの値で指定
されている日付の値とこの値に対応するファイルのアド
レスに記憶されている暦の年月日データとは一致せず、
以降の処理においてカーソルを用いた日付指定操作で工
程管理データの設定を行う必要上、現時点でディスプレ
イ付手動データ入力装置29のディスプレイ画面に表示
されている月の先頭日付の直前の日付に対応するファイ
ルのアドレスdsを求める必要が生じる。つまり、カー
ソル指定指標xの値とdsとを加算したファイルのアド
レスが、カーソルで指定されている年月日に対応するレ
コードを有するファイルのアドレスである。
Next, the PMC CPU 18 executes step S
Then, the process proceeds to 27, and the same as the above-mentioned one month based on the creation start year / month yd and the added value of the display month storage register ya and the value dmax. Of the final date corresponding to the year / month of the added value. After reading the minute calendar from the file and displaying it on the display screen of the manual data input device 29 with a display as shown in FIG. 11, the cursor designation index x is initialized to 1 and the cursor is moved to the position of x days on the display screen. Is displayed. Next, the values of the month deviation integration counter i and the total number of days integration counter ds of the nonvolatile memory 24 are initialized to 0 (step S28), and it is determined whether the value of the counter i is smaller than the value of the display month storage register ya. However, if the value of the display month storage register ya is larger than the initial value 0 of i, yd + ya> yd, which means that a calendar in the future from the creation start date yd is displayed. Therefore, the date value designated by the value of the cursor designation index x does not match the date data of the calendar stored in the address of the file corresponding to this value,
Since it is necessary to set the process control data by the date designation operation using the cursor in the subsequent processing, it corresponds to the date immediately before the first date of the month currently displayed on the display screen of the manual data input device with a display 29. It becomes necessary to obtain the address ds of the file. That is, the address of the file obtained by adding the value of the cursor designation index x and ds is the address of the file having the record corresponding to the date designated by the cursor.

【0032】ステップS30〜ステップS31の処理
は、次月キーおよび前月キーの操作により表示対象とし
て選択されている表示月の先頭日付の直前の日付に対応
するファイル上のアドレスをカウンタdsの値として求
めるための処理である。つまり、f(yd,i)は作成
開始年月ydと月偏差iとの加算値に基いて作成開始年
月ydからiか月経過した月の最終日付の値dmax.をR
OM13から読み込むための関数であり、ステップS2
8〜ステップS31の処理で、月偏差iの初期値を0と
してi=0からya−1までの各月の最終日付の値を全
て積算した値dsを求めることにより、総日数積算カウ
ンタdsの値を表示月の先頭日付の直前日付に対応する
ファイル上のアドレスに一致させる。一例として、作成
開始年月ydが1993年8月で表示月記憶レジスタy
aの値が2であったとすると、現時点でディスプレイ付
手動データ入力装置29のディスプレイ画面に表示され
ているカレンダは1993年10月のものであり、f
(yd,0)が1993年8月の最終日付で31日、ま
た、f(yd,1)が1993年9月の最終日付で30
日であるから、これらを加算するとdsの値が61日と
なり、表示月の先頭日付の直前の日付である1993年
9月30日のデータは図14のファイルにおいて第61
アドレスにあることを意味し、例えば、ディスプレイ画
面上のカーソルがx=1、即ち、1993年10月1日
に位置するとすれば、ds+x=62、即ち、図14の
ファイルにおける第62アドレスが1993年10月1
日の工程管理データの設定対象となっていることを意味
する。
In the processing of steps S30 to S31, the address on the file corresponding to the date immediately before the first date of the display month selected as the display target by operating the next month key and the previous month key is set as the value of the counter ds. This is a process for obtaining. That is, f (yd, i) is the value dmax. Of the final date of the month i months after the creation start date yd is R based on the added value of the creation start date yd and the month deviation i.
This is a function for reading from the OM13, and step S2
In the process from 8 to step S31, the initial value of the monthly deviation i is set to 0, and the value ds of all the final date values of each month from i = 0 to ya-1 is calculated to obtain the total day cumulative counter ds. Match the value with the address on the file that corresponds to the day immediately preceding the first day of the displayed month. As an example, the creation start date yd is August 1993, and the displayed month storage register y is displayed.
If the value of a is 2, then the calendar currently displayed on the display screen of the manual data input device with display 29 is that of October 1993, and f
(Yd, 0) is the last date of August 1993, 31 days, and f (yd, 1) is the last date of September 1993, 30.
Since these are days, the value of ds becomes 61 days when these are added, and the data of September 30, 1993, which is the date immediately before the first date of the displayed month, is the 61st day in the file of FIG.
Means that the cursor is at the address, for example, if the cursor on the display screen is x = 1, that is, on October 1, 1993, ds + x = 62, that is, the 62nd address in the file of FIG. October 1st
It means that the process control data for the day is set.

【0033】i=0からya−1までの各月の最終日付
の値を全て積算した値dsを求めたPMC用CPU18
は再びステップS3の処理へと移行し、オペレータによ
るキー操作を待つ待機状態に入る。
The PMC CPU 18 which has obtained a value ds obtained by integrating all the values of the last date of each month from i = 0 to ya-1.
Returns to the processing of step S3, and enters a standby state waiting for a key operation by the operator.

【0034】一方、次月キーおよび前月キーの操作によ
り工程管理データの設定対象となる年月を選択してディ
スプレイ画面に該1か月分のカレンダを表示させたオペ
レータは、以下、ディスプレイ付手動データ入力装置2
9のカーソル移動キーを操作してデータの設定対象とな
る日付を選択し、生産管理キーや保守管理キーおよび勤
務日程キーを操作して設定すべきデータの項目を選択
し、更に、テンキー操作によって各項目毎の表示データ
を選択することにより、図14のファイルの第3列,第
4列,第5列のレコードによって構成されるデータ記憶
手段に工程管理データを逐次設定してゆく。
On the other hand, the operator who selects the year and month for which the process control data is to be set by operating the next month key and the previous month key and causes the display screen to display the calendar for one month is Data input device 2
9 Use the cursor movement keys to select the date for which data is to be set, and use the production control key, maintenance control key, and work schedule key to select the data item to be set, and then use the numeric keypad to operate. By selecting the display data for each item, the process control data is sequentially set in the data storage means composed of the records in the third, fourth and fifth columns of the file of FIG.

【0035】まず、オペレータが表示データ設定入力手
段の一部を構成するカーソル移動キーを操作した場合、
ステップS3,ステップS32,ステップS36,ステ
ップS40,ステップS42,ステップS48,ステッ
プS54,ステップS60の判別処理を繰り返し実行す
るPMC用CPU18は、ステップS40の判別処理で
この操作を検出し、操作されたカーソル移動キーの種
別、例えば、上移動や下移動の種別に応じてカーソル指
定指標xの値をインクリメントまたはディクリメント
し、指標xの現在値に対応するディスプレイ画面上の日
付の表示位置にカーソルを移動させる(以上、ステップ
S41)。指標xの取り得る値は、言うまでもなく、1
から表示月のdmax.までの範囲である。
First, when the operator operates a cursor movement key which constitutes a part of the display data setting input means,
The PMC CPU 18, which repeatedly executes the determination process of step S3, step S32, step S36, step S40, step S42, step S48, step S54, and step S60, detects this operation in the determination process of step S40 and is operated. The value of the cursor designation index x is incremented or decremented according to the type of cursor movement key, for example, the type of up or down movement, and the cursor is moved to the display position of the date on the display screen corresponding to the current value of the index x. It is moved (above, step S41). Needless to say, the possible value of the index x is 1
To the dmax. Of the displayed month.

【0036】また、オペレータが表示データ設定入力手
段の一部を構成する生産管理キーを操作すると、PMC
用CPU18は、ステップS42の判別処理でこの操作
を検出し、図13のテーブルF1に記憶されている表示
データとデータ番号とを図11のように対応させてディ
スプレイ付手動データ入力装置29のディスプレイ画面
に表示すると共に(ステップS43)、「項目番号を入
力して下さい」等のガイダンスメッセージを表示し(ス
テップS43)、項目番号の入力を待つ待機状態に入る
(ステップS45)。そこで、オペレータが表示データ
設定入力手段としてのテンキーを介して項目番号を入力
すると、PMC用CPU18はステップS45の判別処
理でこれを検出し、入力された項目番号をファイルの
(3列,ds+x行)スポットの生産管理項目記憶レコ
ードに記憶し(ステップS46)、項目番号に対応する
テーブルF1の表示データをカーソル現在位置の日付に
対応するディスプレイ画面上の生産管理項目表示位置に
表示してオペレータに確認させる(ステップS47)。
なお、予めデータを記憶したスポットに対してこの操作
を行えば、それまでのデータが消去されて新たに入力さ
れた項目番号が記憶されると共に新たな表示データがカ
ーソル現在位置に表示され、また、項目番号0を入力さ
れた場合には当該スポットのデータが0に初期化されて
カーソル現在位置のデータ表示は消去される。
When the operator operates the production control key forming a part of the display data setting input means, the PMC
The CPU 18 for use detects this operation in the determination process of step S42, and associates the display data and the data number stored in the table F1 of FIG. 13 with each other as shown in FIG. While displaying on the screen (step S43), a guidance message such as "please enter the item number" is displayed (step S43), and a standby state waiting for the input of the item number is entered (step S45). Therefore, when the operator inputs an item number through the ten-key pad as the display data setting input means, the PMC CPU 18 detects this in the discrimination processing of step S45, and detects the input item number in the file (3 column, ds + x row). ) It is stored in the production control item storage record of the spot (step S46), and the display data of the table F1 corresponding to the item number is displayed at the production control item display position on the display screen corresponding to the date of the cursor present position and displayed to the operator. Confirm it (step S47).
If this operation is performed on a spot in which data is stored in advance, the data up to that point will be erased, the newly input item number will be stored, and new display data will be displayed at the current cursor position. When the item number 0 is input, the data of the spot is initialized to 0 and the data display at the current cursor position is erased.

【0037】表示データ設定入力手段としての保守管理
キーおよび勤務日程キーが操作された場合の処理は、使
用されるテーブルがF1ではなくF2またはF3となる
点、項目番号を記憶するスポットが(3列,ds+x
行)ではなく(4列,ds+x行)または(5列,ds
+x行)となる点、および、日付に対応するディスプレ
イ画面上の項目表示位置が重複を避けて右側にシフトさ
れる点で生産監理キーが操作された場合とでは相違する
が、処理の流れ自体は前記と全く同様であるので、ステ
ップS49〜ステップS53およびステップS55〜ス
テップS59の処理に関しては説明を省略する。なお、
保守日の手動設定はステップS49〜ステップS53の
処理によって行われ、また、自動設定された保守日の部
分的な取り消し操作や新たな追加設定操作も同様にして
行うことができる。
When the maintenance management key and the work schedule key as the display data setting input means are operated, the table used is not F1 but F2 or F3, and the spot for storing the item number is (3). Row, ds + x
Row, not (4 columns, ds + x rows) or (5 columns, ds
+ X lines) and that the item display position corresponding to the date on the display screen is shifted to the right while avoiding duplication, which is different from when the production control key is operated, but the process flow itself Is completely the same as that described above, and therefore the description of the processing of steps S49 to S53 and steps S55 to S59 will be omitted. In addition,
The manual setting of the maintenance date is performed by the processing of steps S49 to S53, and the partial cancellation operation of the maintenance date and the new addition setting operation which are automatically set can be performed in the same manner.

【0038】以下、オペレータは、工程管理データを設
定しようとする日付の表示位置に適宜カーソルを移動さ
せ、生産監理キーや保守管理キーおよび勤務日程キーを
操作することにより設定すべきデータの種別を選択し、
テンキーで項目番号を入力することによって各日付に対
応するアドレスのレコードに生産,保守,勤務に関する
データを適宜設定してゆく。また、他の月に対して工程
管理データを設定する必要があれば、次月キーおよび前
月キーを操作して所望する年月のカレンダをディスプレ
イ付手動データ入力装置29のディスプレイ画面に新た
に表示させ、前記と同様の操作を繰り返し実行すること
により工程管理のためのデータを設定してゆく。そし
て、必要とする設定行為が終了したならば終了キーを操
作し、この機能メニューを終了させてデータの設定に関
する処理を完了させる。
Below, the operator appropriately moves the cursor to the display position of the date for which the process control data is to be set, and operates the production control key, the maintenance control key, and the work schedule key to select the type of data to be set. Selected,
By entering the item number with the numeric keypad, data regarding production, maintenance, and work can be set appropriately in the record at the address corresponding to each date. Further, if it is necessary to set the process control data for another month, the calendar of a desired year and month is newly displayed on the display screen of the manual data input device with display 29 by operating the next month key and the previous month key. Then, the data for process control is set by repeatedly executing the same operation as described above. Then, when the required setting action is completed, the end key is operated to end this function menu and complete the process related to the data setting.

【0039】このようにして図14のファイルに設定さ
れたカレンダを確認する場合、オペレータは暦の作成お
よびデータの設定の場合と同様にしてディスプレイ付手
動データ入力装置29のファンクションキーを操作し、
工程管理の機能メニューを選択することとなる。前述し
たように、暦作成完了フラグdata,作成開始年月記憶レ
ジスタyd,表示月記憶レジスタyaは共に不揮発性の
レジスタであるから、機能メニューの選択およびステッ
プS1の判別処理実行後、PMC用CPU18は、これ
らのレジスタの値に基いて前回の設定作業終了時点で表
示されていた1か月分のカレンダをディスプレイ付手動
データ入力装置29のディスプレイ画面に表示すること
になる。従って、同一月内の工程管理計画を知りたけれ
ば機能メニューの選択操作だけでよく、また、将来もし
くは過去の月の工程管理計画を知りたいのであれば、前
記と同様にして次月キーや前月キーを適宜操作して表示
月の変更を行えばよいし、途中で計画に変更が生じたよ
うな場合には、再び前記と同様の設定もしくは再設定も
しくは消去操作等を行うことによりファイルに部分的な
修正を加えればよい。初めに作成された暦の年月日分の
工程管理データを暦の作成完了時点で全て設定しておく
といった必要は無論なく、工程管理計画の進み具合に応
じて後日分の工程管理データを設定するようにしてもよ
いし、ファイルに記憶された最終年月までの期間が経過
してファイルの記憶要領に限界が生じたような場合に
は、ファイルを一旦クリアした後、新規作成キーの操作
により改めて暦の作成に関する処理を行わせるようにす
ればよい。
When confirming the calendar set in the file of FIG. 14 in this manner, the operator operates the function keys of the manual data input device 29 with a display in the same manner as in the case of creating a calendar and setting data.
The function menu for process control is selected. As described above, since the calendar creation completion flag data, the creation start year / month storage register yd, and the display month storage register ya are all non-volatile registers, after the function menu selection and the determination processing of step S1 are executed, the PMC CPU 18 Will display the calendar for one month displayed at the end of the previous setting work on the display screen of the manual data input device 29 with a display based on the values of these registers. Therefore, if you want to know the process control plan for the same month, you only have to select the function menu, and if you want to know the process control plan for the future or past months, do the same as the previous month or the previous month in the same way as above. The displayed month can be changed by operating the keys as appropriate, and if there is a change in the plan in the middle, perform the same setting, resetting, or deleting operation as described above to save the part in the file. You can make a corrective correction. Of course, it is not necessary to set all the process control data for the first created calendar year at the time of completion of calendar creation, and set the process control data for later days according to the progress of the process control plan. Alternatively, if the storage period of the file has reached its limit due to the period up to the last date stored in the file, clear the file once and then operate the new creation key. Therefore, the process relating to the calendar creation may be performed again.

【0040】各年各月の最終日付の値を予めROM13
に書き込んでおいて所定日数r日分の暦を必要に応じて
更新してファイルに作成するといった処理は、ファイル
の記憶容量を所定日数r日分に規制して不揮発性メモリ
24のメモリ容量を節約するためのものであるから、十
分な大きさのファイルが確保され得るような状況下にお
いては暦の自動作成機能(ステップS5〜ステップS1
6)は必ずしも必要ではなく、予め不揮発性メモリ24
に必要期間の暦およびこれに対応した記憶レコードを有
するファイルを設けておいてもよい。
The value of the last date of each month of each year is stored in the ROM 13 in advance.
In order to create a file by updating the calendar for a predetermined number of r days as necessary, the storage capacity of the file is restricted to a predetermined number of r days and the memory capacity of the non-volatile memory 24 is reduced. Since it is for saving, the calendar automatic creation function (step S5 to step S1
6) is not always necessary, and the nonvolatile memory 24
It is also possible to provide a file having a calendar of a necessary period and a storage record corresponding thereto.

【0041】生産監理の項目としてテーブルF1に記憶
されている表示データとしては“生産完了予定日”,
“納期”,“機械停止”,“生産開始日”等があり、ま
た、保守管理の項目としてテーブルF2に記憶されてい
る表示データとしては“保守”,“給脂”等があり、ま
た、勤務管理の項目としてテーブルF3に記憶されてい
る表示データとしては“休日”,“夜間勤務”等がある
が、これらの表示データの内容およびその個数は任意に
決めればよい。また、テーブルF1〜F3に割り当てる
データ記憶領域を予め不揮発性メモリ24に設定してお
き、ユーザの都合に応じてユーザの手で作成された表示
データを不揮発性メモリ24に格納するようにしてもよ
い。カレンダーの表示形式は図11のようなものに限ら
ず、例えば、図12に示すような七曜表に表示させるよ
うにしてもよいし、また、表示スペースに余裕があれば
複数月分のカレンダを同時に表示するようにしてもよ
い。
As the display data stored in the table F1 as the item of production control, "scheduled production completion date",
There are "delivery date", "machine stop", "production start date", etc., and display data stored in the table F2 as maintenance management items include "maintenance", "lubrication", etc. The display data stored in the table F3 as work management items include "holiday", "night work", and the like, and the content and number of these display data may be arbitrarily determined. Further, the data storage areas assigned to the tables F1 to F3 may be set in advance in the non-volatile memory 24, and the display data created by the user according to the convenience of the user may be stored in the non-volatile memory 24. Good. The display format of the calendar is not limited to that shown in FIG. 11, and may be displayed in a seven-day table as shown in FIG. 12, or if there is enough display space, calendars for multiple months may be displayed. You may make it display simultaneously.

【0042】以上で説明した実施例では、生産監理項目
における生産完了予定日の設定をカーソル移動キーおよ
びテンキーの操作による手動操作によって行うようにし
ているが、前述のステップS46およびステップS47
の処理に換えて図9および図10に示すような処理を適
用すれば、生産開始日の設定に基くPMC用CPU18
側の処理によって生産完了予定日を自動設定することも
できる。
In the embodiment described above, the scheduled production completion date in the production control item is set manually by operating the cursor movement key and the ten-key pad. However, the above-mentioned steps S46 and S47.
If the processes shown in FIGS. 9 and 10 are applied instead of the process of FIG.
It is also possible to automatically set the scheduled production completion date by the processing on the side.

【0043】以下、図9および図10のフローチャート
を参照して生産完了予定日の自動設定処理について説明
する。
The automatic setting process of the planned production completion date will be described below with reference to the flowcharts of FIGS. 9 and 10.

【0044】前記実施例の場合と同様にしてステップS
45の判別処理で生産管理項目の項目番号の入力を検出
したPMC用CPU18は、次いで、項目番号の値が4
であるか否か、即ち、生産開始日の設定であるか否かを
判別する(ステップa1)。そして、項目番号の値が4
以外の値であれば、PMC用CPU18は、前記実施例
の場合と同様、入力された項目番号をファイルの(3
列,ds+x行)スポットの生産管理項目記憶レコード
に記憶し(ステップa2)、項目番号に対応するテーブ
ルF1の表示データをカーソル現在位置の日付に対応す
るディスプレイ画面上の生産管理項目表示位置に表示し
てオペレータに確認させ(ステップa3)、前記実施例
と同様ステップS3の処理へと移行して、再び、オペレ
ータのキー操作を待つ待機状態に入る。
Similar to the case of the above embodiment, step S
The PMC CPU 18, which has detected the input of the item number of the production control item in the determination processing of 45, then sets the value of the item number to 4
Or not, that is, whether or not the production start date is set (step a1). And the value of the item number is 4
If it is a value other than, the PMC CPU 18 uses the entered item number of the file (3
(Column, ds + x row) is stored in the spot production control item storage record (step a2), and the display data of the table F1 corresponding to the item number is displayed at the production control item display position on the display screen corresponding to the date of the cursor current position. Then, the operator is asked to confirm (step a3), and the process shifts to step S3 as in the above-described embodiment, and again enters the standby state waiting for the operator's key operation.

【0045】また、項目番号の値が4で生産開始日が設
定されようとしている場合には、PMC用CPU18
は、生産完了予定日を自動設定するか否かを問うガイダ
ンスメッセージをディスプレイ画面に表示し、オペレー
タによる自動設定のためのファンクションキー操作もし
くは手動設定のためのファンクションキー操作を待つ待
機状態に入る(ステップa4)。このとき手動設定のた
めのファンクションキーが操作されれば、PMC用CP
U18は前記と同様にしてステップa2およびステップ
a3の処理を実行し、入力された項目番号4をファイル
の(3列,ds+x行)スポットの生産管理項目記憶レ
コードに記憶し、項目番号4に対応するテーブルF1の
表示データ、即ち、“生産開始日”をカーソル現在位置
の日付に対応するディスプレイ画面上の生産管理項目表
示位置に表示してオペレータに確認させる。
When the item number value is 4 and the production start date is about to be set, the PMC CPU 18
Displays a guidance message on the display screen asking whether to automatically set the planned production completion date, and enters the standby state waiting for the operator to operate the function key for automatic setting or the function key for manual setting ( Step a4). At this time, if the function key for manual setting is operated, CP for PMC
U18 executes the processing of step a2 and step a3 in the same manner as described above, stores the input item number 4 in the production control item storage record of the spot (3 columns, ds + x lines) of the file, and corresponds to the item number 4. The display data of the table F1 to be displayed, that is, "production start date" is displayed at the production control item display position on the display screen corresponding to the date of the cursor current position to be confirmed by the operator.

【0046】一方、自動設定のためのファンクションキ
ーが操作された場合にあっては、PMC用CPU18
は、更に、生産管理項目における機械停止のデータ設定
が完了しているか否かを問うガイダンスメッセージをデ
ィスプレイ画面に表示し、オペレータによるYキー(機
械停止のデータ設定済みの意)またはNキー(機械停止
のデータ未設定の意)の操作を待つ待機状態に入る(ス
テップa5)。そこで、オペレータは自己の判断に基
き、機械停止のデータ設定が完了しているか否に応じて
YキーまたはNキーのいずれか一方を操作することとな
る。当然、射出成形機を停止させる予定のない場合にお
いては、機械停止のデータ設定を行っていない場合であ
ってもオペレータはYキーを操作する。
On the other hand, when the function key for automatic setting is operated, the PMC CPU 18
Also displays a guidance message on the display screen asking whether or not the machine stop data setting in the production control items has been completed, and the Y key (meaning that the machine stop data has been set) or the N key (machine A standby state waiting for an operation of "stop data not set" is entered (step a5). Therefore, the operator operates either the Y key or the N key based on his / her own judgment, depending on whether or not the data setting of the machine stop is completed. As a matter of course, when the injection molding machine is not scheduled to be stopped, the operator operates the Y key even when the machine stop data is not set.

【0047】なお、このときNキーが操作されれば、機
械停止のデータ設定が必要であるにも関わらずその設定
操作が未実行であることを意味するので、PMC用CP
U18は生産完了予定日の自動設定の前に機械停止のデ
ータ設定を実行する旨のガイダンスメッセージをディス
プレイ画面に表示してステップS3の待機処理に移行し
(ステップa15)、オペレータに機械停止のデータ設
定を先に行わせる。この場合、オペレータは、前述の実
施例と同様にして機械停止のデータ設定を行った後、再
び、生産開始日に対応する日付にカーソルを合わせて生
産監理キーを操作してテンキーにより項目番号4を指定
し、生産完了予定日自動設定のためのファンクションキ
ーとYキーを操作することになる。
If the N key is operated at this time, it means that the setting operation has not been executed although the machine stop data setting is necessary.
U18 displays a guidance message on the display screen to execute the data setting of the machine stoppage before the automatic setting of the planned production completion date, and shifts to the standby process of step S3 (step a15) to inform the operator of the data of the machine stoppage. Set the settings first. In this case, the operator sets the machine stop data in the same manner as in the above-described embodiment, again sets the cursor to the date corresponding to the production start date, operates the production control key, and uses the ten-key pad to enter the item number 4 Is designated, and the function key and Y key for automatically setting the planned production completion date are operated.

【0048】そこで、Yキーが操作されると、PMC用
CPU18は、入力された項目番号4をファイルの(3
列,ds+x行)スポットの生産管理項目記憶レコード
に記憶し(ステップa6)、項目番号4に対応するテー
ブルF1の表示データ、即ち、“生産開始日”をカーソ
ル現在位置の日付に対応するディスプレイ画面上の生産
管理項目表示位置に表示してオペレータに確認させ(ス
テップa7)、更に、「成形サイクル時間を入力して下
さい」等のガイダンスメッセージをディスプレイ画面に
表示し(ステップa8)、オペレータのテンキー操作に
よる成形サイクル時間の入力を待つ待機状態に入る(ス
テップa9)。成形サイクル時間の入力を検出したPM
C用CPU18は、成形サイクル時間をレジスタCに一
時記憶した後(ステップa10)、更に、「生産予定シ
ョット数を入力して下さい」等のガイダンスメッセージ
をディスプレイ画面に表示し(ステップa11)、オペ
レータのテンキー操作によるショット数の入力を待つ待
機状態に入り(ステップa12)、オペレータがテンキ
ーを介してショット数を入力すると、この値をレジスタ
Sに一時記憶する(ステップa13)。次いで、PMC
用CPU18は、レジスタCとSの値を乗じて生産開始
から生産完了までに必要とされる総所要時間Csを求め
(ステップa14)、生産開始日を設定したレコードの
アドレスds+xをアドレス検索指標iに初期値として
設定する(ステップa16)。
Then, when the Y key is operated, the PMC CPU 18 sets the input item number 4 to (3
(Column, ds + x row) is stored in the production management item storage record of the spot (step a6), and the display data of the table F1 corresponding to item number 4, that is, "production start date" is displayed on the display screen corresponding to the date at the current position of the cursor. It is displayed at the above production control item display position for operator confirmation (step a7), and a guidance message such as "Enter molding cycle time" is displayed on the display screen (step a8). A standby state waiting for the input of the molding cycle time by operation is entered (step a9). PM that detected input of molding cycle time
The CPU 18 for C temporarily stores the molding cycle time in the register C (step a10), and then displays a guidance message such as "Please input the number of shots to be produced" on the display screen (step a11). When the operator enters the number of shots via the ten-key pad while waiting for the input of the number of shots by the ten-key operation (step a12), this value is temporarily stored in the register S (step a13). Then PMC
The CPU 18 calculates the total required time Cs required from the start of production to the end of production by multiplying the values of the registers C and S (step a14), and determines the address ds + x of the record in which the production start date is set as the address search index i. Is set as an initial value (step a16).

【0049】そして、PMC用CPU18は、アドレス
検索指標iの現在値がファイルにおける最終アドレスr
の値を越えるか(ステップa17)、もしくは、ファイ
ルの(3列,i行)スポットの生産管理項目記憶レコー
ドから機械停止を記憶する数値3(図13のテーブルF
1参照)が検出されるまでの間(ステップa18)、ア
ドレス検索指標iの値を順次インクリメントし(ステッ
プa19)、その都度、総所要時間Csの現在値から射
出成形機の一日分の稼働時間設定値Tsを減じてレジス
タCsに更新記憶し(ステップa20)、該レジスタC
sの値が0未満まで減算されているか否かを判別し(ス
テップa21)、0未満になっていなければ、同様にし
てステップa17〜ステップa21の処理を繰り返し実
行する。また、予め各日付毎に固有の稼働時間を設定し
ておけば、半日稼働等の条件をも考慮した計算を行うこ
とができる。この場合、図14に示すようなファイル手
段の第6列に一日分の稼働時間設定値Tsを設定記憶す
るためのレコードを付加して各日付毎の稼働時間Tsを
設定し、ステップa20の処理では、アドレス検索指標
iの現在値に基いてA(6,i)のデータを読込み、こ
の値をCsから減算するようにする。
Then, the PMC CPU 18 determines that the current value of the address search index i is the final address r in the file.
Is exceeded (step a17), or a numerical value 3 (table F in FIG. 13) for storing the machine stop from the production control item storage record of the spot (3 columns, i row) of the file.
1) is detected (step a18), the value of the address search index i is sequentially incremented (step a19), and each time, the operation of the injection molding machine for one day is started from the current value of the total required time Cs. The time set value Ts is subtracted and updated and stored in the register Cs (step a20).
It is determined whether or not the value of s is subtracted to less than 0 (step a21), and if it is not less than 0, the processing of steps a17 to a21 is repeated in the same manner. Further, by setting a peculiar operating time for each date in advance, it is possible to perform a calculation in consideration of conditions such as half-day operation. In this case, a record for setting and storing the operating time set value Ts for one day is added to the sixth column of the file means as shown in FIG. 14 to set the operating time Ts for each date. In the processing, the data of A (6, i) is read based on the current value of the address search index i, and this value is subtracted from Cs.

【0050】従って、生産開始日に対応するファイルの
アドレスds+x以降、射出成形機が稼働する日のアド
レスが検出される毎に、生産開始から生産完了までに必
要とされる総所要時間Csから射出成形機の一日分の稼
働時間Tsが減算されることとなり、レジスタCsの値
が0よりも小さくなれば、その日のいずれかの時間帯で
生産予定ショット数分の生産が完了することを意味す
る。PMC用CPU18は、レジスタCsの値が0より
も小さくなったときに検出されているファイルのアドレ
スiに対応して、ファイルの(3列,i行)スポットの
生産管理項目記憶レコードに生産完了予定日の表示デー
タを示す数値1(図13のテーブルF1参照)を記憶さ
せて(ステップa22)、生産完了予定日の自動設定処
理を終了する。生産完了予定日が生産開始日と同一月内
にあるとは限らないので、ディスプレイ画面上に現時点
で表示されているカレンダの日付に対応させて生産完了
予定日を表示させることははしないが、ステップa22
の処理の実行に伴って「自動設定終了」等のメッセージ
を表示したり、ファイルにおけるA(1,i),A
(2,i)のデータ、即ち、生産完了予定日の年月日を
表示させるようにすることはできる。また、ステップa
22の処理の実行時点における指標iの値がdsと表示
月のdmax.との和よりも小さいか否かを判別し、小さい
場合に限ってi−dsの日付に対応するディスプレイ画
面上の生産管理項目表示位置に項目番号1の“生産完了
予定日”を表示するようにしてもよい。
Therefore, every time after the address ds + x of the file corresponding to the production start date and after the address of the day on which the injection molding machine operates, injection is performed from the total required time Cs required from the start of production to the end of production. The operating time Ts for one day of the molding machine is subtracted, and if the value of the register Cs becomes less than 0, it means that the production for the number of production shots is completed in any time zone of the day. To do. The PMC CPU 18 completes production in the production management item storage record of the spot (3 columns, i rows) of the file corresponding to the address i of the file detected when the value of the register Cs becomes smaller than 0. The numerical value 1 (refer to the table F1 in FIG. 13) indicating the display data of the scheduled date is stored (step a22), and the automatic setting process of the scheduled production completion date ends. Since the planned production completion date is not necessarily within the same month as the production start date, the planned production completion date will not be displayed in correspondence with the calendar date currently displayed on the display screen, Step a22
A message such as "automatic setting completed" is displayed along with the execution of the process of A, and A (1, i), A in the file is displayed.
It is possible to display the data (2, i), that is, the date when the production is scheduled to be completed. Also, step a
It is determined whether or not the value of the index i at the time of executing the process of 22 is smaller than the sum of ds and dmax. Of the displayed month, and only when it is smaller, the production on the display screen corresponding to the date of i-ds You may make it display the scheduled production completion date of the item number 1 in the management item display position.

【0051】一方、ステップa17〜ステップa21の
処理を繰り返し実行する間にステップa17の判別結果
が偽となった場合はファイルにおける最終アドレスに記
憶されている日まで生産を続けても生産予定ショット数
分の生産が完了しないことを意味するので、PMC用C
PU18は、「生産完了予定日を特定できません」とか
「生産完了予定日はA(1,r),A(2,r)以降と
なります」等のメッセージをディスプレイ画面に表示し
(ステップa23)、自動設定を放棄して処理を終了す
ることとなる。
On the other hand, if the determination result of step a17 becomes false while the processes of steps a17 to a21 are repeatedly executed, the number of shots to be produced is planned even if production is continued until the date stored in the final address in the file. C for PMC because it means that the production of minutes is not completed
The PU 18 displays on the display screen a message such as "The production completion date cannot be specified" or "The production completion date will be A (1, r), A (2, r) or later" (step a23), The automatic setting is abandoned and the process ends.

【0052】以上、所定期間に亘る暦の作成と暦の各月
日に対応する工程管理用データの登録、および、暦と工
程管理用データとの対応関係を月毎に表示するために必
要とされる処理の全てを射出成形機側の制御装置10で
行わせる場合の例について説明したが、成形工場に配備
したセルコントローラ等のホストコンピュータと複数の
射出成形機の制御装置10とが接続されている場合に
は、ホストコンピュータと射出成形機の制御装置10と
を併用してこれらの機能を実現するようにしてもよい。
例えば、図14に示すような制御装置10側のファイル
手段における第1列および第2列のレコードに記憶させ
るべき暦の作成と第3列,第4列,第5列のレコードに
よって構成されるデータ記憶手段に記憶させるべき各射
出成形機毎の工程管理データとを全てホストコンピュー
タの側で作成し、各射出成形機の制御装置10毎に、暦
と各射出成形機毎の工程管理データをダウンロードさせ
るようにし、制御装置10の側では次月キーや前月キー
の操作による各月毎のカレンダ表示のみを行わせるよう
にしてもよい。この場合、前述の実施例のステップS4
〜ステップS18に示すような暦の作成処理をホストコ
ンピュータによって行わせ、ホストコンピュータのメモ
リに各射出成形機毎のデータ記憶手段、例えば、射出成
形機毎の生産管理項目記憶レコード,保守管理項目記憶
レコード,勤務管理項目記憶レコード等を設け、各射出
成形機毎のデータ記憶手段に対して前述の実施例のステ
ップS32〜ステップS39,ステップS27〜ステッ
プS31,ステップS40〜ステップS59の各処理に
対応する処理を実施して工程管理用データの登録を行
い、これらの工程管理用データを各射出成形機に対応し
てダウンロードするようにする。
As described above, it is necessary to create a calendar over a predetermined period, register process management data corresponding to each month and day of the calendar, and display the correspondence between the calendar and process management data for each month. Although an example in which all of the processing to be performed is performed by the control device 10 on the injection molding machine side, a host computer such as a cell controller arranged in a molding factory and a control device 10 for a plurality of injection molding machines are connected. In such a case, the host computer and the controller 10 of the injection molding machine may be used together to realize these functions.
For example, as shown in FIG. 14, it is constituted by creating calendars to be stored in the records in the first and second columns and the records in the third, fourth and fifth columns in the file means on the control device 10 side. All the process management data for each injection molding machine to be stored in the data storage means are created on the host computer side, and the calendar and the process management data for each injection molding machine are created for each control device 10 of each injection molding machine. Alternatively, the control device 10 may display only the calendar for each month by operating the next month key or the previous month key. In this case, step S4 of the above embodiment
~ The host computer is caused to perform the calendar creation process as shown in step S18, and the memory of the host computer stores data for each injection molding machine, for example, a production management item storage record and a maintenance management item storage for each injection molding machine. A record, a work management item storage record, and the like are provided, and the data storage means for each injection molding machine corresponds to each processing of step S32 to step S39, step S27 to step S31, and step S40 to step S59 of the above-described embodiment. The process management data is registered to register the process management data, and the process management data is downloaded corresponding to each injection molding machine.

【0053】また、複数の射出成形機に対して共通のデ
ータ(勤務日程等)を伝送したり、工場全体の計画をホ
ストコンピュータで作成し、それに応じた射出成形機個
別のデータを射出成形機毎に伝送することもできる。
Further, common data (work schedule, etc.) is transmitted to a plurality of injection molding machines, a plan for the entire factory is created by the host computer, and the data for each injection molding machine corresponding to the data is prepared. It can also be transmitted for each.

【0054】[0054]

【発明の効果】本発明の射出成形機によれば、生産,保
守,勤務等に関する工程管理用のデータを各月毎に一括
して確認することができるので、生産計画全体のあらま
しを容易に知ることができる。
According to the injection molding machine of the present invention, it is possible to collectively confirm process management data relating to production, maintenance, work, etc. every month, so that the outline of the entire production plan can be easily performed. I can know.

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

【図1】本発明を適用した一実施例の射出成形機の要部
を示すブロック図である。
FIG. 1 is a block diagram showing a main part of an injection molding machine according to an embodiment of the present invention.

【図2】同実施例の射出成形機の制御装置が工程管理用
カレンダ登録機能を実現するために採用した処理の概略
を示すフローチャートである。
FIG. 2 is a flowchart showing an outline of a process adopted by the control device of the injection molding machine of the embodiment to realize the calendar registration function for process management.

【図3】同処理の概略を示すフローチャートの続きであ
る。
FIG. 3 is a continuation of the flowchart showing the outline of the same processing.

【図4】同処理の概略を示すフローチャートの続きであ
る。
FIG. 4 is a continuation of the flowchart showing the outline of the same processing.

【図5】同処理の概略を示すフローチャートの続きであ
る。
FIG. 5 is a continuation of the flowchart showing the outline of the same processing.

【図6】同処理の概略を示すフローチャートの続きであ
る。
FIG. 6 is a continuation of the flowchart showing the outline of the same processing.

【図7】同処理の概略を示すフローチャートの続きであ
る。
FIG. 7 is a continuation of the flowchart showing the outline of the same processing.

【図8】同処理の概略を示すフローチャートの続きであ
る。
FIG. 8 is a continuation of the flowchart showing the outline of the same processing.

【図9】生産完了予定日の自動設定のために必要とされ
る処理の一例を示すフローチャートである。
FIG. 9 is a flowchart showing an example of processing required for automatic setting of a planned production completion date.

【図10】同処理の一例を示すフローチャートの続きで
ある。
FIG. 10 is a continuation of the flowchart showing an example of the same processing.

【図11】カレンダを表示したディスプレイ画面の一例
を示す図である。
FIG. 11 is a diagram showing an example of a display screen displaying a calendar.

【図12】カレンダを表示したディスプレイ画面の一例
を示す図である。
FIG. 12 is a diagram showing an example of a display screen displaying a calendar.

【図13】表示データを記憶したテーブルを例示する図
である。
FIG. 13 is a diagram illustrating a table that stores display data.

【図14】暦記憶手段およびデータ記憶手段を構成する
ファイル手段の一例を概念的に示す図である。
FIG. 14 is a diagram conceptually showing an example of a file unit that constitutes a calendar storage unit and a data storage unit.

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

10 射出成形機の制御装置 13 ROM 14 RAM 18 PMC用CPU 22 バス 24 不揮発性メモリ 26 CRT表示回路 29 ディスプレイ付手動データ入力装置 10 Injection Molding Machine Control Device 13 ROM 14 RAM 18 PMC CPU 22 Bus 24 Nonvolatile Memory 26 CRT Display Circuit 29 Manual Data Input Device with Display

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 19/418 // G06F 17/60 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G05B 19/418 // G06F 17/60

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 所定期間に亘る月日のデータを記憶する
暦記憶手段と、前記暦記憶手段に記憶された各月日に対
応して工程管理用の表示データを記憶するデータ記憶手
段と、前記データ記憶手段に工程管理用の表示データを
記憶させる表示データ設定入力手段と、前記暦記憶手段
に記憶された各月日を表示すると共に前記データ記憶手
段に記憶された工程管理用の表示データを月日に対応さ
せて表示する工程管理用カレンダ表示手段とを備えたこ
とを特徴とする工程管理用カレンダ登録機能を有する射
出成形機。
1. A calendar storage means for storing data of a month and day over a predetermined period, and a data storage means for storing display data for process control corresponding to each month and day stored in the calendar storage means. Display data setting input means for storing display data for process control in the data storage means, and display data for process control stored in the data storage means while displaying each month and day stored in the calendar storage means An injection molding machine having a calendar registration function for process control, comprising: a calendar display unit for process control, which displays in accordance with the date.
【請求項2】 ホストコンピュータに接続され、該ホス
トコンピュータより伝送されるデータを射出成形機の暦
記憶手段およびデータ記憶手段に記憶して工程管理用カ
レンダ表示手段により表示するようにした請求項1記載
の工程管理用カレンダ登録機能を有する射出成形機。
2. A process connected to a host computer, wherein data transmitted from the host computer is stored in the calendar storage means and the data storage means of the injection molding machine and displayed by the process control calendar display means. An injection molding machine having the calendar registration function for process control described.
【請求項3】 暦の作成開始月を指令する指令手段を有
し、該指令手段から暦作成開始月が入力されると、入力
された暦作成開始月からの月日のデータを所定期間に亘
り作成して前記暦記憶手段に記憶させる暦作成手段を備
えた請求項1または請求項2記載の工程管理用カレンダ
登録機能を有する射出成形機。
3. A calendar means for commanding a calendar creation start month is provided, and when the calendar creation start month is input from the command means, the date data from the input calendar creation start month is set in a predetermined period. An injection molding machine having a calendar registration function for process control according to claim 1 or 2, further comprising a calendar creating means for creating a calendar and storing it in the calendar storage means.
【請求項4】 表示月を指令する指令手段を有し、前記
工程管理用カレンダ表示手段は月毎に表示する請求項
1,請求項2または請求項3記載の工程管理用カレンダ
登録機能を有する射出成形機。
4. A process management calendar registration function according to claim 1, 2 or 3, further comprising command means for commanding a month to be displayed, and said process management calendar display means displaying each month. Injection molding machine.
JP25626193A 1993-09-21 1993-09-21 Injection molding machine having calendar registering function for process control Pending JPH0788920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25626193A JPH0788920A (en) 1993-09-21 1993-09-21 Injection molding machine having calendar registering function for process control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25626193A JPH0788920A (en) 1993-09-21 1993-09-21 Injection molding machine having calendar registering function for process control

Publications (1)

Publication Number Publication Date
JPH0788920A true JPH0788920A (en) 1995-04-04

Family

ID=17290191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25626193A Pending JPH0788920A (en) 1993-09-21 1993-09-21 Injection molding machine having calendar registering function for process control

Country Status (1)

Country Link
JP (1) JPH0788920A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09248664A (en) * 1996-03-18 1997-09-22 Toshiba Mach Co Ltd Method for controlling screen display in die casting machine control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09248664A (en) * 1996-03-18 1997-09-22 Toshiba Mach Co Ltd Method for controlling screen display in die casting machine control device

Similar Documents

Publication Publication Date Title
EP0535340B1 (en) Controller including multi-function
US6885909B2 (en) Numerical controller
EP0689112B1 (en) Numerically controlled machine tool management system
JPH01244819A (en) Molding condition recording device of injection molding machine
JPS6145248B2 (en)
US5327350A (en) Interactive type numerical control apparatus and method thereof
US4661912A (en) Numerical control device for scheduling machining of groups of workpieces
CN111610754B (en) Picture making device and picture making system
US5552688A (en) Machining program execution method for an NC device
US5488564A (en) Numerical control unit with schedule skip capability
JPH0788920A (en) Injection molding machine having calendar registering function for process control
EP0060039A1 (en) Numerically controlled machine tool system
JPH0561525A (en) Method and device for displaying moving action of mobile object
JP2766283B2 (en) Machine maintenance inspection guidance device
JPH03118131A (en) Injection molding machine
JP3193531B2 (en) Molding machine with periodic inspection instruction function
JPH07136897A (en) Cutting area drawing method
JP2918210B2 (en) Molding information display device for injection molding machine
JP3020363B2 (en) Setting method of monitor condition of molding machine
JPH0772789A (en) Method and device for sequence control over automatic machine, and information medium for the same
EP1455252A2 (en) Processing program creation apparatus
JP3184418B2 (en) Automatic programming device for coil spring forming machine
JPH1158479A (en) Molding machine with function for indicating periodical inspection
JP2942812B2 (en) Device for creating a variant and variable production program
JPS6252608A (en) Interactive nc program generating method