JPH0756993A - Production managing device - Google Patents

Production managing device

Info

Publication number
JPH0756993A
JPH0756993A JP19843493A JP19843493A JPH0756993A JP H0756993 A JPH0756993 A JP H0756993A JP 19843493 A JP19843493 A JP 19843493A JP 19843493 A JP19843493 A JP 19843493A JP H0756993 A JPH0756993 A JP H0756993A
Authority
JP
Japan
Prior art keywords
event
production
data
work
works
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
JP19843493A
Other languages
Japanese (ja)
Inventor
Masamichi Sakaino
真道 境野
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP19843493A priority Critical patent/JPH0756993A/en
Publication of JPH0756993A publication Critical patent/JPH0756993A/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)

Abstract

PURPOSE:To quickly retrieve desired event data with small memory capacity by recording the orders of events before and behind generated in the same work separately from the that of the events before and behind generated in plural works. CONSTITUTION:A line controller 2 issues a production instruction to each work on a production line according to a production information record from a work station 1. When the event of production abnormality is generated in a programmable logic controller(PLC) 3 and a robot 4, a link number is provided in the production information record that is data of fixed length in the inside of the line controller 2, and furthermore, event data is written on an event buffer where variable length data is stored corresponding to the link number. The event buffer allocates a link pointer to record the orders of the events before and behind generated in the same work in the plural works and a link pointer to record that of the events before and behind generated in the plural works, and stores and retrieves the event data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ワークで発生するイベ
ントの管理を行う生産管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a production management device for managing an event that occurs in a work.

【0002】[0002]

【従来の技術】近年、工場は、複数の生産ラインを統括
制御する上位制御処理装置であるワークステーション
(以下、WSと記述する。)と、このWSからの生産情
報レコードにしたがい前記複数の生産ラインから少なく
とも一つの生産ラインを制御する中位制御処理装置であ
るラインコントローラと、このラインコントローラから
の作業内容にしたがい少なくとも一つのワークを制御す
る下位制御装置であるプログラマブルロジックコントロ
ーラ(以下、PLCと記述する。)などによりFA化さ
れている。しかしながら、PLCによりワークを制御す
る過程においては、例えば組み立て不良、車体の異常変
形などの生産不良がイベントとして発生することがあ
り、このイベントで発生するイベントデータはPLCな
どから収集され、全ワーク終了毎に全ワークで発生した
全イベントデータとしてラインコントローラからWSに
書き込まれる。
2. Description of the Related Art In recent years, a factory has a work station (hereinafter, referred to as WS) which is a higher-level control processing unit for integrally controlling a plurality of production lines, and the plurality of productions according to a production information record from the WS. A line controller, which is a middle-level control processing device that controls at least one production line from the line, and a programmable logic controller (hereinafter, referred to as PLC), which is a lower-level control device that controls at least one work according to the work content from the line controller. Described)) and the like. However, in the process of controlling the work by the PLC, defective production such as assembly failure or abnormal deformation of the vehicle body may occur as an event, and event data generated at this event is collected from the PLC or the like, and the whole work is finished. Each time, it is written in the WS from the line controller as all event data generated in all works.

【0003】また、ラインコントローラは、PLCなど
から収集したイベントデータの格納を次の二つの方法の
内どちらかにより行っていた。
Further, the line controller stores event data collected from a PLC or the like by either of the following two methods.

【0004】まず、第一の方法は、図4(a) のようにW
Sからの固定長データである生産情報レコードと同じく
固定長のメモリ領域をイベント情報領域として付属さ
せ、このイベント情報領域にイベントデータを格納する
ことであった。
First, the first method is W as shown in FIG.
It was to attach a fixed-length memory area as an event information area similarly to the production information record which is the fixed-length data from S, and store the event data in this event information area.

【0005】そして、第二の方法は、図4(b) のように
固定長の生産情報レコードとは別にイベントバッファを
設け、このイベントバッファに対応するように識別ナン
バーであるIDを生産情報レコードに付属させ、このI
Dにしたがいイベントバッファを検索し該当イベントバ
ッファにイベントデータを格納することであった。
In the second method, as shown in FIG. 4B, an event buffer is provided separately from the fixed length production information record, and an ID as an identification number corresponding to the event buffer is added to the production information record. To be attached to this I
The event buffer is searched according to D and the event data is stored in the corresponding event buffer.

【0006】[0006]

【発明が解決しようとする課題】したがって、イベント
データを格納するイベント情報領域が固定長のためイベ
ントデータのデータ長に拘らず一定のメモリ容量を確保
しなければならないため大容量のメモリが必要であった
り、ラインコントローラで制御される全てのワークで発
生したイベントデータの中から所望のイベントデータを
検索する場合には、発生した全てのイベントデータを初
めから検索しなければならないので短時間の検索はでき
なかった。
Therefore, since the event information area for storing the event data has a fixed length, it is necessary to secure a constant memory capacity regardless of the data length of the event data, so that a large capacity memory is required. If you want to search for the desired event data from the event data that has occurred in all the workpieces that are controlled by the line controller, you must search all the event data that has occurred, so you can search in a short time. I couldn't.

【0007】そこで、本発明の目的は、イベントデータ
のデータ長に応じてイベントバッファを効率良く割り当
てることにより必要最小限のメモリ容量とし、所望のイ
ベントデータを速やかに検索可能とする生産管理装置を
提供することにある。
[0007] Therefore, an object of the present invention is to provide a production management apparatus capable of promptly searching for desired event data by efficiently allocating an event buffer in accordance with the data length of the event data so as to have a minimum required memory capacity. To provide.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めの本発明は、生産ラインの複数のワークで発生する生
産不良などのイベントのイベントデータを記録するイベ
ントバッファを有し、複数の生産ラインを制御する上位
制御処理装置からの生産指示データである生産情報レコ
ードにしたがい、少なくとも一つのワークを制御する下
位制御装置を制御する中位制御処理装置である生産管理
装置において、前記複数のワークの中にあって同一のワ
ークで発生するイベントの前後の順番を記録するリンク
ポインタと、当該リンクポインタとは別であり、複数の
ワークで発生したイベントの前後の順番を記録するリン
クポインタと、を設けた前記イベントバッファを有する
ことを特徴とする。
SUMMARY OF THE INVENTION To achieve the above object, the present invention has an event buffer for recording event data of events such as defective production occurring in a plurality of works on a production line, and a plurality of production lines. According to the production information record, which is the production instruction data from the upper control processing device that controls the line, in the production management device that is the middle-level control processing device that controls the lower control device that controls at least one work, A link pointer that records the order before and after an event that occurs in the same work, and a link pointer that is separate from the link pointer and that records the order before and after an event that occurs in multiple works, Is provided.

【0009】[0009]

【作用】本発明の生産管理装置は、イベントバッファに
格納するイベントデータに合わせてイベントバッファの
データ長を可変長データとし、このイベントバッファ内
に複数のワークの中にあって同一のワークで発生するイ
ベントの前後の順番を記録するリンクポインタと、当該
リンクポインタとは別であり、複数のワークで発生した
イベントの前後の順番を記録するリンクポインタを割り
付けることによりイベントデータの格納と検索を行う。
According to the production control apparatus of the present invention, the data length of the event buffer is set to variable length data in accordance with the event data stored in the event buffer, and the same work is generated among a plurality of works in this event buffer. The link pointer that records the order before and after the event is different from the link pointer, and the event data is stored and retrieved by allocating the link pointer that records the order before and after the event that occurred in multiple works. .

【0010】[0010]

【実施例】以下添付した図面を参照して、本発明の生産
管理装置を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A production management apparatus of the present invention will be described below with reference to the accompanying drawings.

【0011】本発明の生産管理装置には、生産ライン全
体の生産情報レコードを与える上位制御処理装置である
WS1と、このWS1からの生産情報レコードにしたが
い生産ライン上の各ワークに対して生産指示を与える中
位制御処理装置であるラインコントローラ2と、このラ
インコントローラからの生産指示にしたがい生産設備を
制御する下位制御装置であるPLC3とロボットなどが
あり、これらは互いにLAN5により接続されている。
The production management apparatus of the present invention includes a host control processing apparatus WS1 for giving a production information record of the entire production line, and a production instruction for each work on the production line according to the production information record from the WS1. There is a line controller 2 which is a middle-level control processing device for giving a signal, a PLC 3 which is a lower-level control device for controlling production equipment according to a production instruction from the line controller, a robot and the like, and these are connected to each other by a LAN 5.

【0012】また、ラインコントローラ2は、WS1か
らの生産情報レコードによりPLC3とロボット4など
を制御するが、このPLC3とロボット4はワーク実行
中に例えば組み立て不良または車体の異常変形などの生
産異常のイベントが発生することがある。このイベント
は複数のワークでランダムに起こることがあり、PLC
3とロボット4によりイベントデータとして検出され
る。この検出されたイベントデータはラインコントロー
ラ2内部で図2(a) のように固定長のデータである生産
情報レコードにリンクNoを設け、さらに生産情報レコー
ドの他に可変長データであるイベントバッファを設け
る。この可変長データであるイベントバッファは、生産
情報レコードに設けられたリンクNoに対応するものであ
り、このリンクNoにしたがいイベントデータが書き込ま
れる。このときイベントデータが書き込まれるイベント
バッファのイベントNoはラインコントローラ2内部でイ
ベントバッファにデータが書き込まれていないイベント
Noを検索し決定される。
Further, the line controller 2 controls the PLC 3 and the robot 4 and the like according to the production information record from the WS 1, and the PLC 3 and the robot 4 are in a production abnormality such as an assembly failure or an abnormal deformation of the vehicle body during the execution of the work. Events may occur. This event may occur randomly in multiple work, PLC
3 and the robot 4 detect it as event data. In the line controller 2, the detected event data is provided with a link number in the production information record, which is fixed-length data, as shown in FIG. Set up. The event buffer which is the variable length data corresponds to the link number provided in the production information record, and the event data is written according to this link number. At this time, the event number of the event buffer in which the event data is written is the event in which the data is not written in the event buffer inside the line controller 2.
It is determined by searching No.

【0013】また、イベントバッファには、図2(b) の
ような複数のワークの中にあって同一のワークで発生す
るイベントの前後の順番を記録するリンクポインタ1
と、リンクポインタ1とは別であり、複数のワークで発
生したイベントの前後の順番を記録するリンクポインタ
2が付属している。
In the event buffer, a link pointer 1 for recording the order before and after an event occurring in the same work among a plurality of works as shown in FIG. 2 (b).
, Which is different from the link pointer 1, and is attached with a link pointer 2 for recording the order before and after the events occurring in a plurality of works.

【0014】このリンクポインタ2の設定方法は、例え
ばワーク#20においてイベントが発生しこのイベント
に対してイベントデータの格納先をイベントNo90に決定
した場合、最初にラストイベントNo52に該当するイベン
トNo52のd部とラストイベントNoに、今回決定したイベ
ントNo90の“90”を、イベントNo90のc部にラストイ
ベントNo52の“52”を書き込むことで行われる。
This link pointer 2 setting method is, for example, when an event occurs in work # 20 and the event data storage destination for this event is determined to be event No90, the event No52 corresponding to the last event No52 is first set. This is done by writing "90" of the event No90 determined this time in the d section and the last event No, and by writing "52" of the last event No52 in the c section of the event No90.

【0015】また、このときのリンクポインタ1の設定
方法は、生産情報レコードのワーク#20のリンクNo4
に該当するイベントNo4 から始まる連続したイベントNo
のb部が“0”の値のイベントNoであるイベントNo52の
b部に“90”を、イベントNo90のa部にはワーク#2
0で前回発生したイベントNo52の“52”を同じくb部
には“0”を書き込むことで行われるが、イベントが初
めて発生した場合の生産情報レコードのリンクNoは
“0”であるので新たに設定されるリンクNoに該当する
イベントNoのa部には“0”が書き込まれる。
The setting method of the link pointer 1 at this time is as follows: Link No. 4 of work # 20 in the production information record.
Consecutive event numbers starting from event number 4 corresponding to
"B" of "No" in the b part of the event is "90" in the b part of the event No52, and work # 2 is in the a part of the event No90.
It is performed by writing "52" of the event No52 that occurred last time at 0 in the same way as "0" in the part b. However, when the event occurs for the first time, the link number of the production information record is "0". “0” is written in part a of the event number corresponding to the set link number.

【0016】なお、全てのワークが終了し不要となった
イベントデータは、最後のワークに該当するリンクNoか
ら順番に消去を行い、リンクNoに該当するイベントNoの
c部,の示すイベントNoのd部には消去時のd部の値
を、リンクNoに該当するイベントNoのd部の示すイベン
トNoのc部には消去時のc部の値をそれぞれ書き込む。
The event data which becomes unnecessary after all the works are erased in order from the link No. corresponding to the last work, and the event No. indicated by the c part of the event No. corresponding to the link No. The value of the d section at the time of erasing is written in the d section, and the value of the c section at the time of erasing is written in the c section of the event No. indicated by the d section of the event No corresponding to the link No.

【0017】このように構成され動作する本発明の生産
管理装置は図3のフローチャートのように制御される。
The production control apparatus of the present invention configured and operated as described above is controlled as shown in the flow chart of FIG.

【0018】まず、ラインコントローラは、PLC3ま
たはロボット4においてイベントが発生したか常に監視
し(S10)、イベントが発生した場合にPLC3また
はロボット4からイベントデータが送信されるとイベン
トが発生した該当ワークの生産情報レコードのリンクNo
に該当するイベントNoから順番にイベントNoのb部が
“0”のものを検索する(S11)。
First, the line controller constantly monitors whether an event has occurred in the PLC 3 or the robot 4 (S10), and when the event data is transmitted from the PLC 3 or the robot 4 when the event occurs, the corresponding work in which the event has occurred. Production Information Record Link No
The event No. corresponding to the event No. is searched in sequence for the event No. b of "0" (S11).

【0019】この検索されるイベントNoにイベントデー
タを書き込み(S12)、a,b,c,d部を設定する
(S13)。このとき、全てのワークが終了していない
ときは再びイベントの監視を行い、全てのワークが終了
すると(S14)、最後のワークのリンクNoに該当する
イベントNoから順にデータを消去する(S15)。
Event data is written in the retrieved event number (S12), and a, b, c and d parts are set (S13). At this time, when all the works are not finished, the event is monitored again, and when all the works are finished (S14), the data is erased in order from the event number corresponding to the link number of the last work (S15). .

【0020】このように構成し動作させることにより、
本発明の生産管理装置はイベントバッファのデータ長を
可変長データとしてあるので効率良くイベントデータを
格納できるとともに、リンクポインタ1,2を設けるこ
とにより所望のデータを全ワークまたは一つのワークの
中から速やかに検索することができる。
By configuring and operating in this way,
Since the production management device of the present invention has the data length of the event buffer as variable length data, the event data can be efficiently stored, and by providing the link pointers 1 and 2, desired data can be selected from all works or one work. You can search quickly.

【0021】[0021]

【発明の効果】以上、述べたように本発明によれば、イ
ベントデータのデータ長に応じてイベントバッファを効
率良く割り当てることにより必要最小限のメモリ容量と
し、所望のイベントデータを速やかに検索可能とするこ
とができた。
As described above, according to the present invention, it is possible to quickly search for desired event data by efficiently allocating the event buffer in accordance with the data length of the event data so that the minimum memory capacity is obtained. I was able to

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

【図1】 本発明の生産管理装置の構成を説明するため
の図面である。
FIG. 1 is a drawing for explaining a configuration of a production management device of the present invention.

【図2】 本発明の生産管理装置のデータ形式である生
産情報レコードとイベントバッファとリンクポインタを
説明するための図面である。
FIG. 2 is a diagram for explaining a production information record, an event buffer, and a link pointer, which are data formats of the production management apparatus of the present invention.

【図3】 本発明の生産管理装置の制御を説明するため
のフローチャートである。
FIG. 3 is a flow chart for explaining control of the production management device of the present invention.

【図4】 従来の生産管理装置のデータ形式を説明する
ための図面である。
FIG. 4 is a diagram for explaining a data format of a conventional production control device.

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

1…ワークステーション、 2…ライン
コントローラ、3…プログラマブルコントローラ、
4…ロボット、6…LAN。
1 ... work station, 2 ... line controller, 3 ... programmable controller,
4 ... robot, 6 ... LAN.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 生産ラインの複数のワークで発生する生
産不良などのイベントのイベントデータを記録するイベ
ントバッファを有し、複数の生産ラインを制御する上位
制御処理装置からの生産指示データである生産情報レコ
ードにしたがい、少なくとも一つのワークを制御する下
位制御装置を制御する中位制御処理装置である生産管理
装置において、 前記複数のワークの中にあって同一のワークで発生する
イベントの前後の順番を記録するリンクポインタと、 当該リンクポインタとは別であり、複数のワークで発生
したイベントの前後の順番を記録するリンクポインタ
と、を設けた前記イベントバッファを有することを特徴
とする生産管理装置。
1. A production, which is production instruction data from a host control processing device for controlling a plurality of production lines, having an event buffer for recording event data of an event such as defective production occurring in a plurality of works on a production line. In the production management device, which is a middle-level control processing device that controls at least one lower-level control device that controls at least one work according to the information record, the order before and after the event that occurs in the same work among the plurality of works And a link pointer for recording the sequence before and after an event that has occurred in a plurality of works, and the event buffer having the event buffer provided therein. .
JP19843493A 1993-08-10 1993-08-10 Production managing device Pending JPH0756993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19843493A JPH0756993A (en) 1993-08-10 1993-08-10 Production managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19843493A JPH0756993A (en) 1993-08-10 1993-08-10 Production managing device

Publications (1)

Publication Number Publication Date
JPH0756993A true JPH0756993A (en) 1995-03-03

Family

ID=16391027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19843493A Pending JPH0756993A (en) 1993-08-10 1993-08-10 Production managing device

Country Status (1)

Country Link
JP (1) JPH0756993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012060557A (en) * 2010-09-13 2012-03-22 Toshiba Corp Programmable logic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012060557A (en) * 2010-09-13 2012-03-22 Toshiba Corp Programmable logic controller

Similar Documents

Publication Publication Date Title
US4405952A (en) Apparatus for detecting faulty sectors and for allocating replacement sectors in a magnetic disc memory
AU554707B2 (en) Management of defects in storage media
KR20020011996A (en) Disk Drive Controller Circuit and Method for Skipping Defective and/or Undesired Sectors
US5025432A (en) Autochanger of writable discs including a non-volatile memory for storing most recent defect management information relating to the writable discs
US4903198A (en) Method for substituting replacement tracks for defective tracks in disc memory systems
JPH0756993A (en) Production managing device
JPH0316712B2 (en)
US4814904A (en) Method of controlling erasing following format writing in a magnetic disc apparatus
JPS60186926A (en) Light memory system and communication method utilizing the same
JPH07182792A (en) Processing method for defect of information sector
JPH0643920A (en) Tool control system
JPS5953586B2 (en) Logout control device
JPS601672A (en) Processing method for defective block of magnetic disk device
JP2834921B2 (en) Numerical control unit
JPH01315029A (en) Test method for postscript type optical disk device
JPS59104712A (en) Alterate track processing system of magnetic disk device
JPH0664519B2 (en) Interchangeable recording medium access method
JPS6174040A (en) Address expansion method
EP0417900B1 (en) Disk storage system with access control
JPS58150138A (en) Rotary type storage device
JPS5969856A (en) Method for controlling built-in magnetic disc
JPH02210524A (en) Control system for group medium type input/output device
JPS62209774A (en) Alternate processing system for defective area in magnetic disk device
JPS5987572A (en) Controlling system of disk storage device
JPH0219502B2 (en)