JPH06282309A - Collecting device for production management data - Google Patents

Collecting device for production management data

Info

Publication number
JPH06282309A
JPH06282309A JP7212093A JP7212093A JPH06282309A JP H06282309 A JPH06282309 A JP H06282309A JP 7212093 A JP7212093 A JP 7212093A JP 7212093 A JP7212093 A JP 7212093A JP H06282309 A JPH06282309 A JP H06282309A
Authority
JP
Japan
Prior art keywords
data
product type
collection
production
product
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
JP7212093A
Other languages
Japanese (ja)
Inventor
Yoshinori Sakuragi
祥道 櫻木
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP7212093A priority Critical patent/JPH06282309A/en
Publication of JPH06282309A publication Critical patent/JPH06282309A/en
Pending legal-status Critical Current

Links

Classifications

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

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Multi-Process Working Machines And Systems (AREA)
  • General Factory Administration (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To improve operability at the time of switching sorts by receiving the sort of an object to be processed after starting collection. CONSTITUTION:In the step S21, inputted sort number data are written in a temporary storage area. During the collection of data, the sort number data stored in the sort number area are read out and whether data collection is executed prior to the input of the sort number or not is judged (S23) by judging whether the read data are null data or not. When the sort number has been inputted, whether the sort number data read out from the sort number area coincide with the inputted sort number data stored in the sort temporary storage area or not is judged (S24), and when both the data mutually different, a new storage area is prepared to input a new sort (S25). Then new sort number data written in the sort temporary storage area are written in the newly secured area (S26).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ収集装置、特
に、生産機器から生産管理データを収集する生産管理デ
ータ収集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data collection device, and more particularly to a production management data collection device for collecting production management data from production equipment.

【0002】[0002]

【従来の技術】ファクトリーオートメーションを採用し
た工場では、生産性を向上するために、製品や生産機器
の不具合による設備の停止状況を的確に把握し、生産機
器停止の要因を突き止めて改善していくことが必要であ
る。これらの停止状況の把握や停止要因及び不良要因の
追求を行うために、生産管理システムが用いられる。生
産管理システムは、生産機器からの生産管理データを収
集するデータ収集用端末装置と、データ収集用端末装置
から得た生産管理データを各種加工するホストコンピュ
ータとを備えている。
2. Description of the Related Art In a factory that employs factory automation, in order to improve productivity, it is necessary to accurately grasp the status of equipment outages due to defects in products and production equipment, identify the causes of production equipment suspension, and make improvements. It is necessary. A production management system is used in order to grasp the stop situation and to pursue the stop factor and the defect factor. The production management system includes a data collection terminal device that collects production management data from the production equipment, and a host computer that processes the production management data obtained from the data collection terminal device in various ways.

【0003】この生産管理システムでは、端末装置が、
生産機器の稼働時間、停止時間、生産数、停止回数、不
良要因、停止要因、製品(処理対象物)の品種及びロッ
ト等の生産管理データを、ロットを含む品種番号単位で
区分けして収集する。また、ホストコンピュータが収集
された生産管理データを集計して稼働日報を作成する。
In this production management system, the terminal device is
Collects production management data such as operating hours, stoppage times, number of productions, number of stoppages, defective factors, stop factors, product (processing target) product type and lot, etc., classified by product type number including lots . In addition, the host computer aggregates the collected production control data and creates an operation daily report.

【0004】[0004]

【発明が解決しようとする課題】従来の生産管理システ
ムは、データ収集開始直前に入力された品種番号で生産
管理データを区分けして収集する。したがって、前記従
来の構成では、生産管理データとして品種番号を入力す
る場合には、データ収集開始より前に品種番号を入力す
る必要がある。
The conventional production management system collects production management data by dividing the production management data by the product type number input immediately before the start of data collection. Therefore, in the above conventional configuration, when the product type number is input as the production management data, it is necessary to input the product type number before the start of data collection.

【0005】しかし、その構成では、品種番号を入力す
る手段(例えばバーコードリーダ等)が行程の中間に設
けられており、データ収集開始より前に品種番号を入力
することが困難な場合には適応できない。また、品種番
号を作業者が手入力する場合等、品種の切り替えの都度
品種番号を入力することが煩わしいことがある。特に、
品種番号の桁数が大きく入力キー数が多い場合や、作業
者が複数の生産機器を同時に管理している場合には、品
種切り換えの都度、品種番号を入力するのは困難であ
る。
However, in that structure, means for inputting the product type number (for example, a bar code reader) is provided in the middle of the process, and when it is difficult to input the product type number before the start of data collection. I can't adapt. Further, when the operator manually inputs the product type number, it may be troublesome to input the product type number each time the product type is switched. In particular,
When the number of digits of the product type number is large and the number of input keys is large, or when the operator manages a plurality of production devices at the same time, it is difficult to input the product type number each time the product type is switched.

【0006】本発明の目的は、種別切り替え時の作業性
を向上することにある。
An object of the present invention is to improve workability when switching types.

【0007】[0007]

【課題を解決するための手段】第1の発明に係る生産管
理データ収集装置は、生産機器から生産管理データを収
集する装置であって、データ収集手段と種別受付手段と
処理手段とを備えている。データ収集手段は、生産機器
から処理対象物に関する生産管理データを収集するもの
である。種別受付手段は、処理対象物に関する生産管理
データのデータ収集手段による収集開始よりも後に、当
該処理対象物の種別を受け付けるものである。処理手段
は、生産管理データと受け付けられた種別とを相互に対
応付けて処理するものである。
A production management data collecting apparatus according to a first aspect of the present invention is an apparatus for collecting production management data from a production device, and is provided with a data collecting unit, a type receiving unit and a processing unit. There is. The data collection means collects production management data regarding the object to be processed from the production equipment. The type receiving means receives the type of the processing target object after the start of the collection of the production management data regarding the processing target object by the data collecting means. The processing means processes the production management data and the received types in association with each other.

【0008】第2の発明に係る生産管理データ収集装置
は、データ収集手段と切替受付手段と生産管理データ区
分け手段とを備えている。データ収集手段は、生産機器
から処理対象物に関する生産管理データを収集するもの
である。切替受付手段は、処理対象物の種別が切り替わ
ったことを受け付けるものである。生産管理データ区分
け手段は、切替受付手段が種別の切り替えを受け付けた
ことに基づいて、データ収集手段により収集された生産
管理データを区分けするものである。
A production management data collecting device according to a second aspect of the present invention comprises a data collecting means, a switching receiving means, and a production management data dividing means. The data collection means collects production management data regarding the object to be processed from the production equipment. The switching accepting means is for accepting that the type of the processing object has been switched. The production control data dividing means divides the production control data collected by the data collecting means on the basis of the type change being accepted by the change accepting means.

【0009】[0009]

【作用】第1の発明に係る生産管理データ収集装置で
は、データ収集手段が生産機器から処理対象物に関する
生産管理データを収集する。この収集開始よりも後に、
種別受付手段が、処理対象物の種別を受け付ける。受け
付けられた種別と収集された生産管理データとを、処理
手段が相互に対応付けて処理する。
In the production management data collection device according to the first aspect of the present invention, the data collection means collects the production management data regarding the object to be processed from the production equipment. After the start of this collection,
The type receiving means receives the type of the processing target. The processing means processes the received types and the collected production management data in association with each other.

【0010】ここでは、処理対象物の種別が収集開始よ
りも後に受け付けられるので、処理対象物の種別をデー
タ収集中に入力できる。このため、種別切り替え時の作
業性が向上する。第2の発明に係る生産管理データ収集
装置では、データ収集手段が生産機器から処理対象物に
関する生産管理データを収集する。また、切替受付手段
が処理対象物の種別が切り替わったことを受け付ける。
そして生産管理データ区分け手段が、切替受付手段が種
別の切り替えを受付たことに基づいて、収集された生産
管理データを区分けする。
Here, since the type of the processing object is accepted after the start of collection, the type of the processing object can be input during data collection. Therefore, workability at the time of switching types is improved. In the production management data collection device according to the second aspect of the present invention, the data collection means collects the production management data regarding the object to be processed from the production equipment. Further, the switching reception means receives that the type of the processing target has been switched.
Then, the production control data dividing means divides the collected production control data based on the fact that the change receiving means has accepted the change of the type.

【0011】ここでは、種別を受け付けたか否かに拘ら
ず、処理対象物の種別の切り替えを受け付けたことに基
づいて生産管理データが区分けされるので、種別を入力
せずデータの種別に応じて区分けでき、種別切り替え時
の作業性が向上する。
Here, regardless of whether or not the type has been accepted, the production control data is divided based on the fact that the switching of the type of the object to be processed is accepted, so that the type is not input and the type of data is determined according to the type of data. It can be divided and the workability when switching types is improved.

【0012】[0012]

【実施例】【Example】

〔構成〕図1において、本発明の一実施例を採用した生
産管理システムは、オンラインでリアルタイムに生産管
理を行うシステムである。この生産管理システムは、生
産管理装置としてのホストコンピュータ1と、ホストコ
ンピュータ1に回線コントローラ2及びシリアル通信回
線3を介して接続されたN個(たとえば16個)の端末
1 〜4N とから構成されている。端末41 〜4N
は、それぞれ設備(生産機器)51 〜5N が別々に接続
されている。たとえば、設備51 〜54 はプレス機A〜
D、設備55 はダイキャストマシン、設備56 ,57
ラベル貼り機A,B、設備5N-2 〜5N は梱包機A〜C
である。
[Structure] In FIG. 1, a production management system adopting an embodiment of the present invention is a system for performing online production management in real time. This production control system includes a host computer 1 as a production control device and N (for example, 16) terminals 4 1 to 4 N connected to the host computer 1 via a line controller 2 and a serial communication line 3. It is configured. Facilities (production equipment) 5 1 to 5 N are separately connected to the terminals 4 1 to 4 N , respectively. For example, the equipments 5 1 to 5 4 are press machines A to
D, the equipment 5 5 is a die-casting machine, the equipment 5 6 and 5 7 are labeling machines A and B, and the equipment 5 N-2 to 5 N are packing machines A to C.
Is.

【0013】端末41 〜4N は、接続された設備51
N から生産管理データを品種毎に区分けして取得す
る。生産管理データには、設備の稼働/停止、停止要
因、不良要因、生産数、不良品検出等のデータが含まれ
る。また、製品(処理対象物)の品種やロット番号を含
む品種番号データ及び品種切替信号も含まれる。品種切
替信号は品種切替時に操作者により入力される。
The terminals 4 1 to 4 N are connected to the equipment 5 1 to
The production control data is acquired from 5 N , sorted by product type. The production management data includes data such as equipment start / stop, stop factors, defective factors, the number of productions, and defective product detection. Further, it also includes product type number data including a product (processing target) product type and lot number, and a product type switching signal. The product type switching signal is input by the operator when the product type is switched.

【0014】図2に示すように、各端末41 〜4N (端
末41 のみ図示)の前面には、表示部11とキー入力部
12とが配置されている。表示部11は、7セグメント
のLEDからなるLED表示部13とLCD表示部14
とを有している。キー入力部12は、テンキー部15と
各種データ入力キー部16とファンクションキー部17
と強制キー部18とを有している。ファンクションキー
部17には、操作可能なキーを表示するためのLEDか
らなる表示灯19が、各キーの上方に配置されている。
As shown in FIG. 2, a display unit 11 and a key input unit 12 are arranged on the front surface of each of the terminals 4 1 to 4 N (only the terminal 4 1 is shown). The display unit 11 includes an LED display unit 13 including 7-segment LEDs and an LCD display unit 14.
And have. The key input unit 12 includes a ten-key unit 15, various data input key units 16, and a function key unit 17.
And a compulsory key unit 18. In the function key section 17, an indicator lamp 19 composed of an LED for displaying operable keys is arranged above each key.

【0015】図3に示すように、各端末41 〜4N (端
末41 のみ図示)は制御演算部20を有している。制御
演算部20は、CPU,ROM,RAM等を含むマイク
ロコンピュータから構成されている。制御演算部20に
は、パラレル入力部21、RS232Cインターフェイ
ス23、キー入力部12、ディップスイッチ29、リン
クインターフェイス30、表示部11、内部時計25、
データ記憶部26、及び設定データ記憶部27が接続さ
れている。
As shown in FIG. 3, each of the terminals 4 1 to 4 N (only the terminal 4 1 is shown) has a control calculation section 20. The control calculation unit 20 is composed of a microcomputer including a CPU, ROM, RAM and the like. The control calculation unit 20 includes a parallel input unit 21, an RS232C interface 23, a key input unit 12, a DIP switch 29, a link interface 30, a display unit 11, an internal clock 25,
The data storage unit 26 and the setting data storage unit 27 are connected.

【0016】パラレル入力部21には、設備51 に取り
付けられたプログラマブルコントローラ22が接続され
ている。RS232Cインターフェイス23には、バー
コードリーダ24が接続可能である。ディップスイッチ
29は、制御演算部20における状態を端末4側で設定
するためのものである。ディップスイッチ29により、
たとえば強制キー部18のキー入力の有効/無効の設定
や、品種一時記憶エリア(後述)の内容のクリア等の各
種設定を行える。リンクインターフェイス30は、シリ
アル通信回線3を介して回線コントローラ2に接続され
ている。内部時計25は、稼働時間の測定やタイマーの
設定に用いられる。
A programmable controller 22 attached to the equipment 5 1 is connected to the parallel input section 21. A bar code reader 24 can be connected to the RS232C interface 23. The dip switch 29 is for setting the state in the control calculation unit 20 on the terminal 4 side. With the DIP switch 29,
For example, various settings such as setting valid / invalid of the key input of the compulsory key unit 18 and clearing the contents of a product temporary storage area (described later) can be performed. The link interface 30 is connected to the line controller 2 via the serial communication line 3. The internal clock 25 is used for measuring operating time and setting a timer.

【0017】データ記憶部26はRAMからなり、図4
に示すように、品種番号データを格納する品種番号エリ
ア35と、品種番号毎に区分して収集した生産管理デー
タ及びその加工データを格納するデータ格納エリア36
とが設けられている。設定データ記憶部27は、バッテ
リバックアップされたSRAMからなり、現在の品種通
し番号を記憶する品種通し番号エリア37と、品種番号
データを一時的に記憶する品種一時記憶エリア38と、
ホストコンピュータ1で設定された終了クリアフラグ及
び切替クリアフラグを含む端末の各種フラグを記憶する
フラグ格納エリア39と、他のエリアとが設けられてい
る。
The data storage unit 26 is composed of a RAM and is shown in FIG.
As shown in FIG. 3, a product type number area 35 for storing the product type number data, and a data storage area 36 for storing the production management data and the processing data collected separately for each product type number.
And are provided. The setting data storage unit 27 is composed of a battery-backed SRAM, and has a product type serial number area 37 for storing the current product type serial number, a product type temporary storage area 38 for temporarily storing the product type number data,
A flag storage area 39 for storing various flags of the terminal including the end clear flag and the switch clear flag set by the host computer 1 and another area are provided.

【0018】ここで、品種通し番号は、品種番号データ
を入力しない場合の仮の品種番号であり、たとえば1か
ら順に1ずつ大きくなる文字データである。また、終了
クリアフラグは、例えば1日の収集を終了して翌日の収
集を開始するときに、終了時の品種を引き継ぐか否かを
定めるためのフラグであり、このフラグが「1」のとき
には未設定状態にすることを意味し、このフラグが
「0」の時には前日終了時の品種を引き継ぐことを意味
する。さらに、切替クリアフラグは、品種切替信号によ
り品種を切り替えるとき、内部で自動作成した品種通し
番号を品種番号データとするか、入力された品種番号デ
ータを品種番号データとするかを設定するためのフラグ
である。このフラグが「0」のときには、品種通し番号
を品種番号データとする。このフラグが「1」のときに
は、未設定状態(ヌルデータ)にする。
Here, the product type serial number is a temporary product type number when the product type number data is not input, and is, for example, character data that increases by 1 from 1 in order. Further, the end clear flag is a flag for determining whether or not to inherit the product at the end when, for example, one-day collection is ended and collection of the next day is started, and when this flag is "1". This means that the flag is set to the unset state, and when this flag is "0", it means that the product at the end of the previous day is succeeded. Further, the switching clear flag is a flag for setting whether the serial number automatically created internally is used as the product number data or the input product number data is used as the product number data when the product is switched by the product switching signal. Is. When this flag is "0", the product serial number is used as product number data. When this flag is "1", it is set to an unset state (null data).

【0019】ホストコンピュータ1は、図1に示すよう
に、たとえばパーソナルコンピュータからなり、コンピ
ュータ本体6とディスプレイ7とキーボード8とマウス
9とプリンタ10とを有している。また、ホストコンピ
ュータ1は、図5に示すように、制御演算部31を有し
ている。制御演算部31は、CPU,ROM,RAMを
含むマイクロコンピュータから構成されている。制御演
算部31には、ディスプレイ7、キーボード8、マウス
9、プリンタ10、RS232Cインターフェイス3
2、フロッピーディスク装置33、及びハードディスク
装置34が接続されている。
As shown in FIG. 1, the host computer 1 is composed of, for example, a personal computer and has a computer main body 6, a display 7, a keyboard 8, a mouse 9 and a printer 10. Further, the host computer 1 has a control calculation unit 31, as shown in FIG. The control arithmetic unit 31 is composed of a microcomputer including a CPU, a ROM and a RAM. The control calculation unit 31 includes a display 7, a keyboard 8, a mouse 9, a printer 10, and an RS232C interface 3.
2, a floppy disk device 33, and a hard disk device 34 are connected.

【0020】RS232Cインターフェイス32には回
線コントローラ2が接続されている。ハードディスク装
置34には、端末から収集した各種の加工データ及びそ
れを加工したデータ(例えば稼働率や不良率のデータ)
が日報単位で記録される。またハードディスク装置34
には、それらの集計結果も記録される。 〔動作〕次に、上述の実施例の動作について説明する。端末側 端末の制御動作を、図6〜図8に示す制御フローチャー
トに従って説明する。
The line controller 2 is connected to the RS232C interface 32. The hard disk device 34 includes various processed data collected from terminals and processed data (for example, operating rate and defective rate data).
Is recorded on a daily report basis. In addition, the hard disk device 34
The totaled results are also recorded in. [Operation] Next, the operation of the above-described embodiment will be described. The control operation of the terminal-side terminal will be described with reference to the control flowchart shown in FIGS. 6 to 8.

【0021】まず図6のステップS1では初期設定を行
う。ここでは、各種フラグが初期値に設定される。ステ
ップS2では、品種一時記憶エリア38の内容をクリア
するか否かを判断する。この一時記憶エリア38をクリ
アするか否かは、電源投入時のディップスイッチ29の
所定ビットのオンオフにより判断する。一時記憶エリア
38をクリアすると判断した場合にはステップS3に移
行する。ステップS3では、品種一時記憶エリア38に
ヌルデータを書き込む。このヌルデータは、品種番号デ
ータが未設定であるという状態を作り出すためのデータ
である。
First, in step S1 of FIG. 6, initial setting is performed. Here, various flags are set to initial values. In step S2, it is determined whether to clear the contents of the product type temporary storage area 38. Whether to clear the temporary storage area 38 is determined by turning on / off a predetermined bit of the dip switch 29 when the power is turned on. When it is determined that the temporary storage area 38 is cleared, the process proceeds to step S3. In step S3, null data is written in the product type temporary storage area 38. This null data is data for creating a state in which the product type number data has not been set.

【0022】ステップS4では収集開始信号が入力した
か否かを判断する。この判断は、タイムテーブルによっ
て収集動作を制御している場合には、タイムテーブルが
収集状態に立ち上がることにより、また、外部からの収
集開始信号によって収集動作を制御している場合には、
外部からの収集開始信号の立ち上がりによりそれぞれ行
う。収集開始ではないと判断するとステップS4からス
テップS5に移行する。ステップS5では品種番号デー
タの入力がなされたか否かを判断する。ステップS6で
はホストコンピュータ1から設定データを受信したか否
かを判断する。ステップS7では他の処理を実行し、実
行後にステップS4に戻る。
In step S4, it is determined whether a collection start signal is input. This judgment is made when the collection operation is controlled by the timetable, when the timetable rises to the collection state, and when the collection operation is controlled by the collection start signal from the outside,
It is performed by each rising of the acquisition start signal from the outside. If it is determined that the collection is not started, the process proceeds from step S4 to step S5. In step S5, it is determined whether or not the product type number data has been input. In step S6, it is determined whether or not the setting data has been received from the host computer 1. In step S7, another process is executed, and after execution, the process returns to step S4.

【0023】品種番号が入力されるとステップS5から
ステップS8に移行する。ステップS8では入力された
品種番号を受け付けて品種番号入力処理(後述)を実行
する。設定データを受信するとステップS6からステッ
プS9に移行する。ステップS9では、受信した設定デ
ータにより設定データ記憶部27の内容を更新する。こ
れにより、ホストコンピュータ1からの端末4用設定条
件を受け付ける。たとえば設定データ記憶部27のフラ
グ格納エリア39に格納された各種フラグの値は、ホス
トコンピュータ1から送信された設定データにより更新
される。
When the product type number is input, the process proceeds from step S5 to step S8. In step S8, the inputted product type number is received and a product type number input process (described later) is executed. When the setting data is received, the process proceeds from step S6 to step S9. In step S9, the contents of the setting data storage unit 27 are updated with the received setting data. As a result, the setting conditions for the terminal 4 from the host computer 1 are accepted. For example, the values of various flags stored in the flag storage area 39 of the setting data storage unit 27 are updated by the setting data transmitted from the host computer 1.

【0024】収集開始を判断するとステップS4からス
テップS10に移行する。ステップS10では、品種通
し番号を「0」に設定する。ステップS11では、デー
タ記憶部26に新たな格納エリアを確保する。すなわ
ち、新たな品種番号格納エリア35とデータ格納エリア
36とを確保する。ステップS12では品種一時記憶エ
リア38に記憶された品種番号データをデータ記憶部2
6の品種番号エリア35に書き込む。なお、収集開始時
には、通常、終了クリアフラグの内容により、収集終了
時の品種番号データか又はヌルデータが品種一時記憶エ
リア38に格納されているので、いずれかのデータが品
種番号エリア35に書き込まれる。
When it is determined that the collection is started, the process proceeds from step S4 to step S10. In step S10, the product serial number is set to "0". In step S11, a new storage area is secured in the data storage unit 26. That is, a new product type number storage area 35 and a new data storage area 36 are secured. In step S12, the product type number data stored in the product type temporary storage area 38 is stored in the data storage unit 2
6 in the product type number area 35. At the start of collection, the product type number data or null data at the end of collection is normally stored in the product type temporary storage area 38 depending on the content of the end clear flag, so either data is written in the product type number area 35. .

【0025】ステップS13では、収集終了信号が入力
されたか否かを判断する。この判断は、タイムテーブル
よって収集動作を制御している場合には収集状態の立ち
下がりに基づいて、また、外部からの収集終了信号によ
って収集動作を制御している場合には収集終了信号の立
ち上がりに基づいて行う。収集終了ではないときはステ
ップS14に移行する。
In step S13, it is determined whether a collection end signal has been input. This judgment is based on the fall of the collection state when the collection operation is controlled by the timetable, and the rise of the collection end signal when the collection operation is controlled by the collection end signal from the outside. Based on. If the collection is not completed, the process proceeds to step S14.

【0026】ステップS14ではデータ収集動作を実行
する。ステップS15では操作者から品種番号が入力さ
れたか否かを判断する。品種番号が入力されるとステッ
プS15からステップS17に移行する。ステップS1
7では入力された品種番号データを受け付けて品番入力
処理(後述)を実行する。ステップS16では操作者か
らの品種切替信号が入力されたか否かを判断する。品種
切替信号が入力されるとステップS16からステップS
18に移行する。ステップS18では品種切替処理(後
述)を実行する。そしてステップS13に戻り、収集終
了を受け付けるまではステップS14で収集動作を行
う。
In step S14, a data collection operation is executed. In step S15, it is determined whether or not the product type number has been input by the operator. When the product type number is input, the process proceeds from step S15 to step S17. Step S1
In step 7, the inputted product type number data is received and a product number input process (described later) is executed. In step S16, it is determined whether a product type switching signal has been input by the operator. When the product type switching signal is input, steps S16 to S16
Go to 18. In step S18, a product type switching process (described later) is executed. Then, the process returns to step S13, and the collection operation is performed in step S14 until the end of collection is accepted.

【0027】収集終了を受け付けるとステップS13か
らステップS19に移行する。ステップS19では、ホ
ストコンピュータ1により設定された終了クリアフラグ
が1か否かを判断する。この終了クリアフラグは、前述
したように収集を終了して次の収集を開始するときに、
終了時の品種を引き継ぐか否かを定めるためのフラグで
ある。この終了クリアフラグが「1」のときにはステッ
プS20に移行し、未設定状態にするために品種一時記
憶エリア38にヌルデータを書き込む。また、終了クリ
アフラグが「0」のときには、品種一時記憶エリア38
の内容を書き換えずにステップS4に戻る。これによ
り、次の収集開始時に、終了時の品種番号データが引き
継がれる。
When the collection end is accepted, the process proceeds from step S13 to step S19. In step S19, it is determined whether the end clear flag set by the host computer 1 is 1. This end clear flag is set when the collection ends and the next collection starts as described above.
This is a flag for determining whether or not to inherit the product type at the end. When the end clear flag is "1", the process proceeds to step S20, and null data is written in the product type temporary storage area 38 to bring it into the unset state. When the end clear flag is “0”, the product type temporary storage area 38
The process returns to step S4 without rewriting the contents of. As a result, when the next collection is started, the product type number data at the end is inherited.

【0028】ステップS8又はステップS17の品番入
力処理では、図7のステップS21で、入力された品種
番号データを品種一時記憶エリア38に書き込む。ステ
ップS22では、データ収集中であるか否かを判断す
る。この判断は、タイムテーブル又は収集開始信号が収
集状態であるか否かにより判断する。なお、ステップS
8での品番入力処理ではこの判断はNOとなり、ステッ
プS17での品番入力処理ではこの判断がYESにな
る。
In the product number input process of step S8 or step S17, the inputted product type number data is written in the product type temporary storage area 38 in step S21 of FIG. In step S22, it is determined whether data is being collected. This determination is made based on whether the timetable or the collection start signal is in the collection state. Note that step S
The determination is NO in the product number input process in 8, and the determination is YES in the product number input process in step S17.

【0029】データ収集中の場合はステップS23に移
行する。ステップS23では、現在の品種番号エリア3
5に格納されている品種番号データを読み出し、そのデ
ータがヌルデータであるか否かを判断する。これによ
り、品種番号の入力がデータ収集に先立ってなされたか
否かを判断する。ここでは、品種番号エリア35に格納
されている品種番号データがヌルデータの場合は収集開
始から現在までに品種番号が入力さなかったことを意味
し、品種番号データがヌルデータではない場合はデータ
収集前に品種番号が入力されたことを意味している。
If data is being collected, the process proceeds to step S23. In step S23, the current product type number area 3
The product type number data stored in 5 is read, and it is determined whether or not the data is null data. Thereby, it is determined whether or not the product type number is input prior to data collection. Here, when the product type number data stored in the product type number area 35 is null data, it means that the product type number has not been input from the collection start to the present, and when the product type number data is not null data, before data collection. Means that the product type number has been entered.

【0030】現在の品種番号データがヌルデータではな
い場合(品種番号入力済の場合)にはステップS24に
移行する。ステップS24では、品種番号エリア35か
ら読み出した品種番号データと、品種一時記憶エリア3
8に格納された入力済品種番号データとが一致している
か否かを判断する。一致していない場合には新たな品種
が入力されたことになるのでステップS25に移行し、
記憶エリアを区分けして新たなエリアを確保する。ステ
ップS26では、品種一時記憶エリア38に書き込まれ
た新しい品種番号データを、新たに確保されたエリアの
品種番号エリア35に書き込む。
If the current product type number data is not null data (if the product type number has been input), the process proceeds to step S24. In step S24, the product type number data read from the product type number area 35 and the product type temporary storage area 3
It is determined whether the entered product type number data stored in 8 matches. If they do not match, it means that a new product type has been input, so the process proceeds to step S25,
Divide the storage area to secure a new area. In step S26, the new product type number data written in the product type temporary storage area 38 is written in the product type number area 35 of the newly secured area.

【0031】現在の品種番号データがヌルデータであっ
た場合(品種番号未入力の場合)にはステップS26に
移行する。前述したように、品種番号エリア35に格納
された品種番号データがヌルデータであるということ
は、データ収集を開始してから現在までまだ品種番号デ
ータが入力されていないことを意味している。この場合
には、ステップS26で、データ収集開始後に一時記憶
エリア38に格納された品種番号データが、品種番号エ
リアに格納される。つまり、データ収集開始後に品種番
号が受け付けられる。
When the current product type number data is null data (when the product type number is not input), the process proceeds to step S26. As described above, the fact that the product type number data stored in the product type number area 35 is null data means that the product type number data has not been input from the start of data collection to the present. In this case, in step S26, the product type number data stored in the temporary storage area 38 after the start of data collection is stored in the product type number area. That is, the product type number is accepted after the start of data collection.

【0032】図6のステップS18の品種切替処理で
は、図8のステップS31で品種切替信号が立ち上がっ
たか否かを判断する。この品種切替信号は、品種の切り
替わりの都度操作者により手入力される。品種切替信号
が立ち上がるとステップS32に移行する。ステップS
32では、切替クリアフラグが「1」にセットされてい
るか否かを判断する。この切替クリアフラグは、前述し
たように、品種切替信号により品種を切り替えるとき、
内部で自動作成した品種通し番号を品種番号に設定する
のか否かを設定するためのフラグである。このフラグが
「0」のときには品種通し番号を品種番号に設定し、
「1」のときには未設定状態(ヌルデータ)にする。
In the product type switching process of step S18 of FIG. 6, it is determined whether or not the product type switching signal has risen in step S31 of FIG. The product type switching signal is manually input by the operator each time the product type is switched. When the product type switching signal rises, the process proceeds to step S32. Step S
At 32, it is determined whether the switching clear flag is set to "1". As described above, this switching clear flag is set when the type is switched by the type switching signal.
This is a flag for setting whether or not the product serial number automatically created internally is set as the product number. When this flag is "0", the product serial number is set to the product number,
When it is "1", it is set to an unset state (null data).

【0033】切替クリアフラグが「0」のときはステッ
プS33に移行する。ステップS33では、現在の品種
通し番号に「1」を加算する。ステップS34では、加
算された品種通し番号を文字データに変換する。ステッ
プS35では、変換された文字データを品種一時記憶エ
リア38に記憶する。また、切替クリアフラグが「1」
の場合にはステップS32からステップS36に移行す
る。ステップS36ではヌルデータを一時記憶エリア3
8に書き込む。
When the switching clear flag is "0", the process proceeds to step S33. In step S33, "1" is added to the current product serial number. In step S34, the added product serial number is converted into character data. In step S35, the converted character data is stored in the product type temporary storage area 38. Also, the switch clear flag is "1".
In this case, the process proceeds from step S32 to step S36. In step S36, the null data is temporarily stored in the storage area 3
Write to 8.

【0034】ステップS37では、データエリアを切替
え、新たな格納エリアを確保する。ステップS38で
は、品種一時記憶エリア38に格納されたヌルデータま
たは品種通し番号を品種番号エリア35に書き込む。こ
こでは、品種切替信号により品種通し番号を自動的に仮
の品種番号データとして品種番号エリアに書き込む。こ
のため、真の品種番号データを入力することなく、品種
毎に生産管理データを取り扱える。したがって、品種の
切替えが容易になり、品種切り替え時の作業性が向上す
る。また、このように品種通し番号とともにデータを収
集した場合には、ホストコンピュータ1にデータを転送
した後に、ホストコンピュータ1で品種通し番号を真の
品種番号データに書換えできる。ホスト側 ホストコンピュータ1の制御動作を、図9に示す制御フ
ローチャートにしたがって示す。
In step S37, the data area is switched to secure a new storage area. In step S38, the null data or the product serial number stored in the product temporary storage area 38 is written in the product number area 35. Here, the product serial number is automatically written in the product number area as temporary product number data by the product switching signal. Therefore, the production management data can be handled for each product type without inputting the true product type number data. Therefore, it becomes easy to switch the product type, and the workability when switching the product type is improved. Further, when data is collected together with the product serial number in this way, after transferring the data to the host computer 1, the host computer 1 can rewrite the product serial number to true product number data. The control operation of the host-side host computer 1, shown in accordance with the control flow chart shown in FIG.

【0035】ホストコンピュータ1では、図9のステッ
プP1で、初期設定を行う。ステップP2では、操作メ
ニューを表示する。ステップP3〜P7では、操作メニ
ューからいずれの処理が指定されたかを判断する。ステ
ップP3では、オンラインモニタ処理が指定されたか否
かを判断する。ステップP4では印刷処理が指定された
か否かを判断する。ステップP5ではシステム設定が指
定されたか否かを判断する。ステップP6では他の処理
が指定されたか否かを判断する。他の処理が指定される
とステップS8へ移行し、指定された処理を実行する。
ステップP7では、終了指令がなされたか否かを判断す
る。終了指令がなされるまではステップ2に戻り、終了
指令がなされると処理を終了する。
In the host computer 1, initial setting is performed in step P1 of FIG. In step P2, the operation menu is displayed. In steps P3 to P7, it is determined which process is designated from the operation menu. In Step P3, it is determined whether the online monitor process is designated. In step P4, it is determined whether the print process is designated. In step P5, it is determined whether the system settings have been designated. In step P6, it is determined whether or not another process is designated. When another process is designated, the process proceeds to step S8, and the designated process is executed.
In step P7, it is determined whether or not an end command has been issued. The process returns to step 2 until the end command is issued, and the process ends when the end command is issued.

【0036】オンラインモニタ処理が指定されると、ス
テップP3からステップP9に移行する。ステップP9
では、各端末41 〜4N からデータを収集して表示する
データ収集表示処理を実行する。印刷処理が指定される
とステップP4からステップP10に移行する。ステッ
プP10では、各種のフォームで印刷処理を実行する。
システム設定が指定されるとステップP5からステップ
P11に移行する。
When the online monitor process is designated, the process proceeds from step P3 to step P9. Step P9
In executes data collection display process for displaying and collecting data from each terminal 4 1 to 4 N. When the printing process is designated, the process proceeds from step P4 to step P10. In Step P10, print processing is executed using various forms.
When the system setting is designated, the process moves from step P5 to step P11.

【0037】ステップP11では、切替クリアフラグの
設定を受け付ける。ステップP12では終了クリアフラ
グの設定を受け付ける。ステップP13では他の設定を
受け付ける。この他の設定処理では、たとえば、端末4
1 〜4N のデータ収集時間の設定等の端末4に関する設
定と、このソフトウエアに関する設定とを受け付ける。
ステップP14では、受け付けた各端末に関する設定デ
ータを端末4側に送信する。端末4側では、図6のステ
ップS6で設定データを受信し、設定データ記憶部27
の内容を更新する。 〔他の実施例〕 (a) 品種切替信号は、手入力されるのではなく、品
種切り替えの都度自動的に入力されるようにしてもよ
い。 (b) 前記実施例では、収集開始の前後で品種を受け
付けることができるが、収集開始後のみ品種を受け付け
るようにしてもよい。
At step P11, the setting of the switching clear flag is accepted. In step P12, the setting of the end clear flag is accepted. Other settings are accepted in step P13. In the other setting process, for example, the terminal 4
Settings related to the terminal 4 such as data collection time settings of 1 to 4 N and settings related to this software are accepted.
In Step P14, the received setting data regarding each terminal is transmitted to the terminal 4 side. The terminal 4 receives the setting data in step S6 of FIG.
Update the contents of. [Other Embodiments] (a) The product type switching signal may be automatically input each time the product type is switched, instead of being manually input. (B) In the above embodiment, the type can be accepted before and after the start of collection, but the type may be accepted only after the start of collection.

【0038】[0038]

【発明の効果】第1の発明に係る生産管理データ収集装
置では、収集開始よりも後に処理対象物の種別を受け付
け得るので、種別切り替え時の操作性が向上する。第2
の発明に係る生産管理データ収集装置では、種別受付に
拘らず、種別の切り替えを受け付けたことに基づいて生
産管理データを区分けするので、種別を入力することな
く種別に応じた区分けを行え、種別切り替え時の作業性
が向上する。
As described above, in the production control data collection device according to the first aspect of the present invention, the type of the object to be processed can be accepted after the start of collection, so that the operability at the time of type switching is improved. Second
In the production control data collection device according to the invention, regardless of the type acceptance, since the production control data is classified based on the acceptance of the type switching, it is possible to perform the classification according to the type without inputting the type. Workability at switching is improved.

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

【図1】本発明の一実施例を採用した生産管理システム
の構成ブロック図。
FIG. 1 is a configuration block diagram of a production management system that employs an embodiment of the present invention.

【図2】端末のパネル配置を示す平面図。FIG. 2 is a plan view showing a panel arrangement of the terminal.

【図3】端末の構成ブロック図。FIG. 3 is a configuration block diagram of a terminal.

【図4】データ記憶部及び設定データ記憶部の記憶内容
を示すイメージ図。
FIG. 4 is an image diagram showing stored contents of a data storage unit and a setting data storage unit.

【図5】ホストコンピュータの構成ブロック図。FIG. 5 is a configuration block diagram of a host computer.

【図6】端末の制御フローチャート。FIG. 6 is a control flowchart of the terminal.

【図7】端末の制御フローチャート。FIG. 7 is a control flowchart of the terminal.

【図8】端末の制御フローチャート。FIG. 8 is a control flowchart of the terminal.

【図9】ホストコンピュータの制御フローチャート。FIG. 9 is a control flowchart of the host computer.

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

4 端末 20 制御演算部 21 パラレル入力部 27 設定データ記憶部 4 terminal 20 control arithmetic unit 21 parallel input unit 27 setting data storage unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】生産機器からの生産管理データを収集する
生産管理データ収集装置であって、 前記生産機器から処理対象物に関する生産管理データを
収集するデータ収集手段と、 前記処理対象物に関する前記生産管理データの前記デー
タ収集手段による収集開始よりも後に、当該処理対象物
の種別を受け付ける種別受付手段と、 前記生産管理データと前記種別とを相互に対応付けて処
理する処理手段と、を備えた生産管理データ収集装置。
1. A production management data collection device for collecting production management data from a production device, comprising: data collection means for collecting production management data regarding a processing target from the production device; and the production regarding the processing target. A type receiving unit that receives the type of the processing target after the start of collecting the management data by the data collecting unit, and a processing unit that processes the production management data and the type in association with each other Production control data collection device.
【請求項2】生産機器から生産管理データを収集する生
産管理データ収集装置であって、 前記生産機器から処理対象物に関する生産管理データを
収集するデータ収集手段と、 前記処理対象物の種別が切り替わったことを受け付ける
切替受付手段と、 前記切替受付手段が種別の切り替えを受け付けたことに
基づいて、前記データ収集手段により収集された生産管
理データを区分けする生産管理データ区分け手段と、を
備えた生産管理データ収集装置。
2. A production management data collection device for collecting production management data from a production device, wherein the type of the processing target is switched to a data collection means for collecting production management data relating to the processing target from the production device. And a production control data dividing unit that divides the production control data collected by the data collecting unit based on that the change receiving unit has received the type changeover. Management data collection device.
JP7212093A 1993-03-30 1993-03-30 Collecting device for production management data Pending JPH06282309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7212093A JPH06282309A (en) 1993-03-30 1993-03-30 Collecting device for production management data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7212093A JPH06282309A (en) 1993-03-30 1993-03-30 Collecting device for production management data

Publications (1)

Publication Number Publication Date
JPH06282309A true JPH06282309A (en) 1994-10-07

Family

ID=13480177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7212093A Pending JPH06282309A (en) 1993-03-30 1993-03-30 Collecting device for production management data

Country Status (1)

Country Link
JP (1) JPH06282309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897818A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Data storage method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897818A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Data storage method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US5521842A (en) Diagnostic device and a data communication system for use with the diagnostic device
GB2286903A (en) Remote management system
JPS58222310A (en) Programmable controller provided with state pattern comparison function
DE3314976C2 (en)
JP2000148233A (en) Remote maintenance management device for asphalt plant
JPH06282309A (en) Collecting device for production management data
JPH06282718A (en) Operating state measuring instrument for production equipment
JPH0675029U (en) Production control data processor
JPS63281597A (en) Function checking system for distributed control system
JPH07182421A (en) Production managing device
JP3244576B2 (en) Work record system
JPS5833592B2 (en) Data transmission error handling method
JPH06282307A (en) Production management system and data terminal collecting device
JPH0675002U (en) Production management terminal device and production equipment control system
JP2572392Y2 (en) Barcode data processing device
JP2001202117A (en) Process management system
JP2807007B2 (en) Weighing terminal controller
JPH0675001U (en) Data collection device and production control system
JPH0542576A (en) Method for controlling good/bad of set operation in injection molding machine
JPH0140023Y2 (en)
JPS6411987B2 (en)
JP3338136B2 (en) Production management device and production management method
JPH02214904A (en) Working state monitor device for programmable controller
JP2803864B2 (en) Production quantity analysis system
JP2540914B2 (en) Operation panel with status occurrence frequency display function