JP2000056810A - Control unit for production facility and its data managing method - Google Patents

Control unit for production facility and its data managing method

Info

Publication number
JP2000056810A
JP2000056810A JP10226180A JP22618098A JP2000056810A JP 2000056810 A JP2000056810 A JP 2000056810A JP 10226180 A JP10226180 A JP 10226180A JP 22618098 A JP22618098 A JP 22618098A JP 2000056810 A JP2000056810 A JP 2000056810A
Authority
JP
Japan
Prior art keywords
data
area
tag
written
size
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
JP10226180A
Other languages
Japanese (ja)
Inventor
Tetsuya Nakamura
哲也 中村
Hiromoto Morio
宏基 森尾
Tatsuro Morimoto
達郎 森本
Yutaka Naito
豊 内藤
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP10226180A priority Critical patent/JP2000056810A/en
Publication of JP2000056810A publication Critical patent/JP2000056810A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Control By Computers (AREA)
  • Multi-Process Working Machines And Systems (AREA)
  • General Factory Administration (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the control unit for production facilities which efficiently use the limited storage area of an ID tag and its data managing method. SOLUTION: The control unit which controls a work station when writing quality data to a free area in a quality data area of a memory provided to an ID tag writes a code representing 'quality data 4' representing quality data that its own station should write, the head address of the currently written quality data, and the number of the bytes of the data at the tail of the free area of the data management area and the quality data of its own station in order from the head address of the current free area of the quality data area.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、生産設備の制御装
置及びそのデータ管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a production facility and a data management method thereof.

【0002】[0002]

【従来の技術】従来より、工業製品を量産する生産設備
において、特に、同一の製造ラインにおいて仕様の異な
る複数種類の製品を生産する自動車等の生産設備におい
ては、製造ラインを流れる個々のワークを管理すべく、
ワーク毎の仕様等のデータを予め登録したワーク識別用
のタグ(IDタグ)を個々のワークに取り付けておき、
製造ラインをワークが流れるときに、IDタグから読み
出したデータと、ホストコンピュータより入手したデー
タとを比較するデータ管理方法が採用されている。ま
た、このような技術の一例としては、特開平1−183
341号や、本願出願人による特開平8−126941
号等が提案されている。
2. Description of the Related Art Conventionally, in a production facility for mass-producing industrial products, in particular, in a production facility such as an automobile for producing a plurality of types of products having different specifications on the same production line, individual works flowing through the production line are processed. To manage,
A work identification tag (ID tag) in which data such as specifications for each work is registered in advance is attached to each work.
A data management method of comparing data read from an ID tag with data obtained from a host computer when a work flows on a manufacturing line is employed. An example of such a technique is disclosed in
No. 341 and Japanese Patent Application Laid-Open No. 8-126494 by the present applicant.
No. has been proposed.

【0003】[0003]

【発明が解決しようとする課題】一般に、製造ラインに
は、複数の作業ステーション(以下、ステーション)が
設けられており、個々のステーション毎に作業内容が異
なる。このため、IDタグに格納するデータもステーシ
ョン毎に分けて扱う場合が多い。
Generally, a production line is provided with a plurality of work stations (hereinafter, "stations"), and work contents are different for each station. For this reason, data stored in the ID tag is often handled separately for each station.

【0004】図8及び図9は、従来例としてのIDタグ
のメモリマップの構成を示す図である。
FIG. 8 and FIG. 9 are diagrams showing a configuration of a memory map of an ID tag as a conventional example.

【0005】まず、図8に示す例の場合、それぞれのデ
ータエリアは同じ大きさに予め設定されており、各ステ
ーションを制御する所謂PLC(プログラマブルコント
ローラ)等の制御装置には、自ステーションが参照する
データエリアを予め登録しておく。そして、個々のステ
ーションの制御装置においては、自ステーション用のデ
ータエリアを直接参照することにより、データの読み書
きを行なう。このため、例えば、製造ラインに新たなス
テーションを増設するときには、その新たなステーショ
ンに関するデータファイルを、同図に示すようにIDタ
グの空きエリアに追加ファイル(追加ファイル4)とし
て読み書きする必要が有り、追加ファイルの大きさが予
めIDタグに設定してある空きエリアの大きさより大き
い場合には対応することができない。
First, in the case of the example shown in FIG. 8, each data area is set to the same size in advance, and a control device such as a so-called PLC (programmable controller) for controlling each station refers to its own station. The data area to be registered is registered in advance. The control device of each station reads and writes data by directly referring to the data area for the own station. For this reason, for example, when a new station is added to the production line, it is necessary to read and write a data file relating to the new station as an additional file (additional file 4) in an empty area of the ID tag as shown in FIG. If the size of the additional file is larger than the size of the empty area set in the ID tag in advance, it cannot be handled.

【0006】次に、図9に示す例の場合、IDタグ内の
データエリアは、それぞれのデータエリアの間に予備の
エリアが無い効率的な設定となっている。このため、空
きエリアを、図8の場合と比較して大きくすることがで
き、新たなステーションに関するデータファイル(ファ
イル4)を扱う場合には有効な利用方法である。しかし
ながら、例えば、既存のステーションに関するデータ
(ファイル1から3)の構成に変更が生じたとき等に
は、上述したように、個々のステーションの制御装置は
自ステーション用のデータエリアを直接参照しているた
め、一部のステーションに関するデータの変更であって
も、他の全てのステーションの制御装置に新しい自ステ
ーション用の参照エリアを再登録する必要が有り非効率
的である。
Next, in the case of the example shown in FIG. 9, the data area in the ID tag is set efficiently without any spare area between the data areas. Therefore, the free area can be increased as compared with the case of FIG. 8, and this is an effective use method when handling a data file (file 4) relating to a new station. However, for example, when the configuration of the data (files 1 to 3) relating to the existing stations is changed, as described above, the control device of each station directly refers to the data area for its own station. Therefore, even if data for some stations is changed, it is necessary to re-register a new reference area for the own station in the control devices of all other stations, which is inefficient.

【0007】そこで本発明は、IDタグの限られた記憶
領域を効率よく使用する生産設備の制御装置及びそのデ
ータ管理方法の提供を目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a control device for a production facility that efficiently uses a limited storage area of an ID tag and a data management method for the control device.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
め、本発明に係る生産設備の制御装置は、以下の構成を
特徴とする。
In order to achieve the above object, a production equipment control device according to the present invention has the following configuration.

【0009】即ち、ワークの識別データ及びそのワーク
に関するデータを格納可能なIDタグにアクセスすると
共に、生産設備を制御する制御装置であって、所定の記
憶容量のアドレス空間内に、データエリア、データ管理
エリアの順で記憶エリアを有するIDタグに対してデー
タの読み取り/書き込みを行なうアクセス手段と、前記
データエリアの空き領域に新規データを前詰めで書き込
むと共に、その書き込んだ新規データの、識別番号、位
置、並びにサイズを表わすデータを、前記データ管理エ
リアの空き領域に後詰めで書き込むデータ書き込み手段
と、を備えることを特徴とする。
That is, a control device for accessing an ID tag capable of storing work identification data and data relating to the work and controlling a production facility, wherein a data area, a data area and a data area are stored in an address space having a predetermined storage capacity. Access means for reading / writing data from / to an ID tag having a storage area in the order of the management area; and writing new data to the empty area of the data area with the MSB justified and identifying the identification number of the written new data. And data writing means for writing data indicating the position, the size, and the size in the free space of the data management area in a left-justified manner.

【0010】好ましくは、読み込むべきデータの位置と
サイズとを、前記データ管理エリアより識別番号を表わ
すデータに基づいて検出し、その検出した識別番号と共
に書き込まれている位置とサイズとを表わすデータに従
って、前記データエリアよりデータを読み出すデータ読
み取り手段を更に備えることを特徴とする。
Preferably, the position and the size of the data to be read are detected from the data management area based on the data representing the identification number, and the data and the position and the size written together with the detected identification number are written. And data reading means for reading data from the data area.

【0011】また、例えば、前記データエリアに書き込
まれているデータが削除可能となったときに、前記デー
タ管理エリアに書き込まれている該データの識別番号を
表わすデータを、削除可能を表わす所定のデータに変更
するデータ削除手段を更に備え、前記データ書き込み手
段は、前記データエリアに新規データを書き込むにとき
に、前記データ管理エリアに前記所定のデータが存在す
るかを検索し、その検索の結果、前記所定のデータが存
在するときには、その所定のデータと共に書き込まれて
いるサイズと、該新規データのサイズとを比較し、該新
規データのサイズのほうが大きいときには、その新規デ
ータを前記データエリアの空き領域に前詰めで書き込
み、該新規データのサイズのほうが小さいときには、前
記所定のデータと共に書き込まれている位置が示す前記
データエリア内の位置に、該新規データを書き込むとよ
い。
For example, when the data written in the data area can be deleted, the data indicating the identification number of the data written in the data management area is replaced with a predetermined data indicating that the data can be deleted. Further comprising data deletion means for changing to data, wherein the data writing means searches for the presence of the predetermined data in the data management area when writing new data to the data area, and as a result of the search When the predetermined data exists, the size written together with the predetermined data is compared with the size of the new data. When the size of the new data is larger, the new data is stored in the data area. If the size of the new data is smaller than that of the new data, it is written in the empty area with the left justified. The position of the data area indicated by being written position, may write the new data.

【0012】また、上記の目的を達成するため、本発明
に係るデータ管理方法は、以下の構成を特徴とする。
Further, in order to achieve the above object, a data management method according to the present invention has the following configuration.

【0013】即ち、ワークの識別データ及びそのワーク
に関するデータを格納可能なIDタグにアクセスすると
共に、生産設備を制御する制御装置におけるデータ管理
方法であって、所定の記憶容量のアドレス空間内に、デ
ータエリア、データ管理エリアの順で記憶エリアを有す
るIDタグに対してデータの読み取り/書き込みを行な
うに際して、前記データエリアの空き領域に新規データ
を前詰めで書き込むと共に、その書き込んだ新規データ
の、識別番号、位置、並びにサイズを表わすデータを、
前記データ管理エリアの空き領域に後詰めで書き込むデ
ータ書き込み工程を有することを特徴とする。
That is, a data management method in a control device for controlling a production facility while accessing an ID tag capable of storing identification data of a work and data relating to the work, wherein the method includes the steps of: When data is read / written from / to an ID tag having a storage area in the order of a data area and a data management area, new data is written to an empty area of the data area with the MSB justified, and the written new data is Data representing the identification number, position, and size
The method further comprises a data writing step of writing the data in the free space of the data management area with the left justification.

【0014】好ましくは、読み込むべきデータの位置と
サイズとを、前記データ管理エリアより識別番号を表わ
すデータに基づいて検出する検出工程と、その検出した
識別番号と共に書き込まれている位置とサイズとを表わ
すデータに従って、前記データエリアよりデータを読み
出すデータ読み取り工程と、を更に有することを特徴と
する。
Preferably, a detecting step of detecting a position and a size of data to be read based on data representing an identification number from the data management area, and a position and a size written together with the detected identification number are determined. Reading a data from the data area in accordance with the data to be represented.

【0015】[0015]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して詳細に説明する。本実施形態では、本発明に
係る生産設備の制御装置を、一例として、ワークである
自動車に取り付けられたIDタグのデータにより、各ス
テーション(STN)における作業指示及び品質管理を
行なうシステムに適用して説明する。
An embodiment of the present invention will be described below in detail with reference to the drawings. In the present embodiment, for example, the control device for production equipment according to the present invention is applied to a system for performing a work instruction and a quality control in each station (STN) based on data of an ID tag attached to an automobile as a work. Will be explained.

【0016】はじめに、本実施形態におけるシステムの
全体構成及び動作を、図1及び図2を参照して説明す
る。
First, the overall configuration and operation of the system according to the present embodiment will be described with reference to FIGS.

【0017】図1は、本発明の一実施形態としての生産
設備の制御装置が構成するシステム構成を示すブロック
図である。
FIG. 1 is a block diagram showing a system configuration of a production equipment control device according to an embodiment of the present invention.

【0018】同図において、1は、各ステーションを制
御する所謂PLC(プログラマブルコントローラ)等の
制御装置である。2は、外部装置であるホストコンピュ
ータである。10は、不図示のワークである自動車に取
り付けられているIDタグである。IDタグ10には、
一般的な読み書き可能な記憶媒体としてメモリが設けら
れており、同図に示すように、作業データエリア、品質
データエリア、そしてデータ管理エリアがそれぞれ所定
のメモリエリアに設定されている(詳細は後述する)。
制御装置1には、IDタグリーダ/ライタ28が接続さ
れている。制御装置は、IDタグリーダ/ライタ28を
介して、IDタグ10に格納されているデータの読み書
きを行なうことができる。
In FIG. 1, reference numeral 1 denotes a control device such as a so-called PLC (programmable controller) for controlling each station. Reference numeral 2 denotes a host computer which is an external device. Reference numeral 10 denotes an ID tag attached to an automobile, which is a work (not shown). In the ID tag 10,
A memory is provided as a general readable / writable storage medium. As shown in FIG. 1, a work data area, a quality data area, and a data management area are set in predetermined memory areas, respectively (details will be described later). Do).
An ID tag reader / writer 28 is connected to the control device 1. The control device can read and write data stored in the ID tag 10 via the ID tag reader / writer 28.

【0019】ここで、IDタグ10及びIDタグリーダ
/ライタ28の構成としては、非接触式及び接触式何れ
の方式でも良く、例えば、IDタグ10及びIDタグリ
ーダ/ライタ28が、それぞれ受信ユニットと送信ユニ
ットとを備え、相互通信を行なえる一般的なものを採用
すれば良い。
Here, the configuration of the ID tag 10 and the ID tag reader / writer 28 may be any of a non-contact type and a contact type. It is only necessary to adopt a general unit that includes a unit and can perform mutual communication.

【0020】図2は、本発明の一実施形態としての制御
装置のブロック構成図である。
FIG. 2 is a block diagram of a control device according to an embodiment of the present invention.

【0021】図中、24は、ブートプログラム等を記憶
しているROMである。25は、各種処理結果の一時記
憶や、後述するデータ管理処理を実現するプログラム等
を記憶するRAMである。尚、RAM25には、制御装
置の用途に応じて作業指示及び/または品質保証を実現
するプログラムが記憶される。26は、ステーションに
設けられた不図示の加工装置やスイッチ等からの入出力
信号の変換を行なう入出力インタフェースである。27
は、外部の装置と通信回線30を介して通信するための
通信インタフェースである。そして28は、上述したI
Dタグリーダ/ライタである。これらの各構成は、内部
バス29を介して接続されており、CPU21はRAM
25に記憶したプログラムに従って当該制御装置1の全
体を制御する。
In the figure, reference numeral 24 denotes a ROM that stores a boot program and the like. Reference numeral 25 denotes a RAM for temporarily storing various processing results, a program for realizing a data management process described later, and the like. The RAM 25 stores a program for realizing a work instruction and / or quality assurance according to the use of the control device. Reference numeral 26 denotes an input / output interface for converting input / output signals from a processing device, a switch, and the like (not shown) provided in the station. 27
Is a communication interface for communicating with an external device via the communication line 30. And 28 is the I
It is a D tag reader / writer. These components are connected via an internal bus 29, and the CPU 21
In accordance with the program stored in the control device 25, the control device 1 is entirely controlled.

【0022】尚、制御装置1は、PLCに限られるもの
ではなく、入出力インタフェース26が接続可能であれ
ば、パーソナルコンピュータ(PC)であってもよいこ
とは言うまでもない。
The control device 1 is not limited to a PLC, but may be a personal computer (PC) as long as the input / output interface 26 can be connected.

【0023】次に、このような構成を有する図1のシス
テムの全体動作を説明する。
Next, the overall operation of the system of FIG. 1 having such a configuration will be described.

【0024】マスターステーションには、ホストコンピ
ュータ2より当該生産設備の複数のステーションにて行
なうべき作業指示に関する作業データがダウンロードさ
れる。マスターステーションの制御装置1は、作業指示
システムのプログラムの機能により、IDタグ10の作
業データエリアに、そのIDタグが取り付けられたワー
クに対応する作業データを書き込む。ここで、作業デー
タには、後段のステーション毎の作業指示を表わすデー
タが含まれている。
Work data relating to work instructions to be performed at a plurality of stations of the production facility is downloaded from the host computer 2 to the master station. The control device 1 of the master station writes the work data corresponding to the work to which the ID tag is attached to the work data area of the ID tag 10 by the function of the program of the work instruction system. Here, the work data includes data representing a work instruction for each subsequent station.

【0025】マスターステーションより下流にあるステ
ーションの制御装置1は、製造ラインを流れてくるワー
クを一般的な方法により検知すると、IDタグリーダ/
ライタ28を介して、自ステーション用の作業データを
IDタグ10の作業データエリアから後述する方法で読
み出し、作業指示システムのプログラムの機能により、
読み出したデータの内容に応じて作業者に指示を行な
う。また、作業者が作業を完了したときには、品質管理
システムのプログラムの機能により、その時点でのワー
クの品質データを、該ワークのIDタグの品質データエ
リアに後述する方法で書き込む。ここまでの処理が完了
したワークは、次のステーションへと移動していく。
When the control device 1 of the station downstream of the master station detects a work flowing on the production line by a general method, the control device 1 of the ID tag reader / controller 1 detects the work.
Via the writer 28, the work data for the own station is read from the work data area of the ID tag 10 by the method described later,
The operator is instructed according to the contents of the read data. Further, when the worker completes the work, the quality data of the work at that time is written into the quality data area of the ID tag of the work by a method described later by the function of the program of the quality management system. The work for which the processing up to this point has been completed moves to the next station.

【0026】そして、同図に示す最終工程である検査ス
テーションの制御装置1では、IDタグ10の品質デー
タエリアに格納されている全てのデータをIDタグリー
ダ/ライタ28を介して読み出し、その読み出したデー
タを利用して品質の管理や予めホストコンピュータ2に
より設定された所定の作業が当該ワークに対して施され
たか等の検査処理を行ない、それらの処理結果を当該ワ
ークに関する品質情報としてホストコンピュータ2に送
信する。また、この検査ステーションにて何らかの異常
が検出されたワークは、手直しの工程に回送される。
In the control device 1 of the inspection station, which is the final step shown in FIG. 2, all data stored in the quality data area of the ID tag 10 is read out via the ID tag reader / writer 28, and the read out data is read out. The data is used to perform quality control and inspection processing on whether or not a predetermined work set in advance by the host computer 2 has been performed on the work, and the results of the processing are taken as quality information on the work by the host computer 2. Send to A work in which any abnormality is detected in the inspection station is sent to a repair process.

【0027】<データ管理処理>次に、制御装置1にて
行われるデータ管理処理について説明する。
<Data Management Processing> Next, data management processing performed by the control device 1 will be described.

【0028】図3は、本発明の一実施形態におけるID
タグのメモリマップの一部を示す図であり、空き領域に
データを書き込む場合を示す。図4は、本発明の一実施
形態における制御装置によるIDタグへのデータ書き込
み時の処理を示すフローチャートである。
FIG. 3 shows an ID according to an embodiment of the present invention.
FIG. 9 is a diagram illustrating a part of a memory map of a tag, and illustrates a case where data is written in a free area. FIG. 4 is a flowchart illustrating a process when the control device writes data to the ID tag according to the embodiment of the present invention.

【0029】本実施形態において、IDタグ10は、上
述したように、作業データエリア、品質データエリア、
そしてデータ管理エリアの3つのエリアに予め分けられ
ており、図3には、説明の都合上、これら3つのエリア
のうち、品質データエリア及びデータ管理エリアを示し
ている。
In the present embodiment, the ID tag 10 includes a work data area, a quality data area,
The data area is divided into three data management areas in advance. FIG. 3 shows a quality data area and a data management area among these three areas for convenience of explanation.

【0030】図3に示すように、データ管理エリアに
は、データの種類を示すタグネーム(同図では品質デー
タ)、そのデータの格納先の先頭アドレス及び該データ
の大きさを表わすバイト数が所定の容量のデータとして
格納されている。
As shown in FIG. 3, in the data management area, a tag name (quality data in FIG. 3) indicating the type of data, a head address of a storage destination of the data, and the number of bytes indicating the size of the data are specified. Is stored as capacity data.

【0031】そこで、本実施形態において、制御装置1
がIDタグ10に品質データを書き込むときには、品質
データエリア内の空き領域を検索し(ステップS1)、
その空き領域のサイズと、今回書き込むべき品質データ
のサイズとを比較する(ステップS2)。
Therefore, in the present embodiment, the control device 1
When writing the quality data in the ID tag 10, a search is made for a free area in the quality data area (step S1).
The size of the empty area is compared with the size of the quality data to be written this time (step S2).

【0032】そして、ステップS2及びステップS3の
判断にてYESのとき(当該品質データの書き込みが可
能であると判断したとき)には、ステップS4及びステ
ップS5において、データ管理エリアの空き領域の最後
尾に、自ステーションが書き込むべき品質データを表わ
す「品質データ4」を表わすコード、今回書き込む品質
データの先頭アドレス、並びに該データのバイト数を書
き込み(ステップS4)、品質データエリアの現在の空
き領域の先頭アドレスから順に自ステーションにおける
品質データを書き込む(ステップS5)。
If the result of the determination in steps S2 and S3 is YES (when it is determined that the quality data can be written), in steps S4 and S5, the last of the free space in the data management area is determined. At the end, a code indicating "quality data 4" indicating the quality data to be written by the own station, the start address of the quality data to be written this time, and the number of bytes of the data are written (step S4), and the current free area of the quality data area is written. The quality data in the own station is written in order from the head address of (step S5).

【0033】また、ステップS2の判断にてNOのとき
(空き領域が無いとき)、またはステップS3の判断に
てNGのとき(空き領域のデータサイズが小さいと判断
したとき)には、例えばライン停止等の所定のエラー処
理をステップS6にて行なう。
When the determination in step S2 is NO (when there is no free area) or when the determination in step S3 is NG (when it is determined that the data size of the free area is small), for example, the line Predetermined error processing such as stop is performed in step S6.

【0034】このように、上述した図4のデータ管理処
理によれば、品質データをIDタグ10に書き込むに際
して、データエリアは前詰めで、データ管理エリアは後
詰めで使用していくため、IDタグ10の限られた記憶
領域を効率よく使用することができる。
As described above, according to the data management processing of FIG. 4 described above, when writing the quality data into the ID tag 10, the data area is used left justified and the data management area is used left justified. The limited storage area of the tag 10 can be used efficiently.

【0035】尚、図3には不図示であるが、制御装置1
がIDタグ10より作業データを読み込むときには、ま
ずデータ管理エリア内のタグネームに自ステーションが
読み込むべき作業データを表わすコードが格納されてい
るかを検索し、そのコードを見つけたときには、そのタ
グネームに対応する先頭アドレス及び作業データのバイ
ト数を読み込み、その読み込んだデータ対応する領域の
データを、自ステーションの今回の作業データとして読
み込めばよい。
Although not shown in FIG. 3, the control device 1
When the work data is read from the ID tag 10, first, the tag name in the data management area is searched for a code representing the work data to be read by the own station. When the code is found, the code corresponding to the tag name is searched. The head address and the number of bytes of the work data are read, and the data of the area corresponding to the read data may be read as the work data of the own station this time.

【0036】また、本実施形態において制御装置1は、
IDタグ10内のデータを削除することもできる。例え
ば、図5において、品質データ2を削除するときには、
データ管理エリアの品質データ2が設定されているタグ
ネームを、品質データエリアにデータの書き換えを許可
する領域(削除領域)があることを表わす所定のデータ
(以下、削除データ)に変更する。このとき、以降の処
理において削除領域の場所と大きさを識別可能とするた
めに、削除データに変更したタグネームに対応する先頭
アドレスとバイト数を表わすデータはそのまま保持す
る。そして、上述した図4のデータ管理処理では、自ス
テーションにおける品質データが空き領域のデータサイ
ズより大きいときにはステップS6にてエラー処理を行
なったが、削除領域があるときには、以下に説明する処
理を行なっても良い。
In the present embodiment, the control device 1
The data in the ID tag 10 can be deleted. For example, in FIG. 5, when deleting the quality data 2,
The tag name in which the quality data 2 in the data management area is set is changed to predetermined data (hereinafter, deleted data) indicating that the quality data area has an area (deletion area) in which data rewriting is permitted. At this time, in order to make it possible to identify the location and size of the deletion area in the subsequent processing, the data indicating the head address and the number of bytes corresponding to the tag name changed to the deletion data is held as it is. In the data management process of FIG. 4 described above, when the quality data in the own station is larger than the data size of the free area, the error processing is performed in step S6, but when there is a deletion area, the processing described below is performed. May be.

【0037】図6は、本発明の一実施形態におけるID
タグのメモリマップの一部を示す図であり、削除領域ま
たは空き領域にデータを書き込む場合を示す図である。
図7は、本発明の一実施形態における制御装置によるI
Dタグへのデータ書き込み時の処理を示すフローチャー
トである。
FIG. 6 is a diagram showing an ID according to an embodiment of the present invention.
It is a figure which shows a part of memory map of a tag, and shows the case where data is written to a deletion area or a free area.
FIG. 7 is a diagram illustrating an example of the operation of the control device according to the embodiment of the present invention.
It is a flowchart which shows the process at the time of writing data to a D tag.

【0038】図6は、品質データ4をIDタグ10に書
き込む場合を例としており、この場合、品質データ4を
扱う制御装置1は、今回書き込むべき品質データのバイ
ト数に応じて、削除領域または空き領域の先頭アドレス
の位置に当該データを書き込む。
FIG. 6 shows an example in which the quality data 4 is written into the ID tag 10. In this case, the control device 1 handling the quality data 4 determines whether the deletion area or the deletion area is to be written according to the number of bytes of the quality data to be written this time. The data is written at the start address of the free area.

【0039】即ち、制御装置1は、データ管理エリア全
体のタグネームを検索し(ステップS11)、品質デー
タエリア内に削除領域があることを表わす削除データが
あるかを判断する(ステップS12)。ステップS12
にてYESのとき(削除データがあると判断したとき)
には、その削除データが格納されているタグネームに対
応する削除領域の大きさを表わすバイト数と、今回書き
込むべき品質データのバイト数とを比較する(ステップ
S13)。
That is, the control device 1 searches the tag name of the entire data management area (step S11), and determines whether or not there is deletion data indicating that there is a deletion area in the quality data area (step S12). Step S12
When YES (when it is determined that there is deleted data)
In step S13, the number of bytes representing the size of the deletion area corresponding to the tag name storing the deletion data is compared with the number of bytes of the quality data to be written this time.

【0040】そして、ステップS13の判断により、当
該品質データのバイト数が当該削除領域のバイト数以下
のときには、ステップS14及びステップS15におい
て、データ管理エリアの現在削除データが格納されてい
るタグネームに、自ステーションが書き込むべき品質デ
ータを表わす「品質データ4」を表わすコードを書き込
み(ステップS14)、現在削除領域となっているエリ
アに今回書き込むべき品質データを書き込む(ステップ
S15)。
If it is determined in step S13 that the number of bytes of the quality data is equal to or less than the number of bytes of the deletion area, in steps S14 and S15, the tag name of the data management area where the currently deleted data is stored is The own station writes a code indicating "quality data 4" indicating the quality data to be written (step S14), and writes the quality data to be written this time into the area which is the currently deleted area (step S15).

【0041】また、ステップS12の判断にてNOのと
き(削除領域が無い)、またはステップS13の判断に
て削除領域のデータサイズが小さいと判断したときに
は、品質データエリアの最後尾を検索し(ステップS1
6)、その検索した最後尾のアドレスを先頭アドレスと
して順に自ステーションにおける品質データを書き込み
(ステップS17)、データ管理エリアの空き領域の最
後尾に自ステーションが書き込んだ品質データを表わす
「品質データ4」を表わすコード、今回書き込んだ品質
データの先頭アドレス、並びに該データのバイト数を書
き込む(ステップS18)。
If the determination in step S12 is NO (there is no deletion area), or if the determination in step S13 determines that the data size of the deletion area is small, the end of the quality data area is searched ( Step S1
6) The quality data in the own station is written in order with the searched last address as the first address (step S17), and the "quality data 4" representing the quality data written by the own station at the last of the free area of the data management area. , The head address of the currently written quality data, and the number of bytes of the data are written (step S18).

【0042】以上説明したように、このようなデータ管
理処理を各制御装置1において行なえば、扱うデータの
大きさに依存しないデータアクセスが実現すると共に、
IDタグ10の限られた記憶領域を効率よく使用するこ
とができる。これにより、製造ラインにおけるステーシ
ョンの増設、廃止等の変更に迅速に対応することができ
る。
As described above, if such data management processing is performed in each control device 1, data access independent of the size of data to be handled is realized, and
The limited storage area of the ID tag 10 can be used efficiently. As a result, it is possible to quickly respond to a change such as addition or abolition of a station in the production line.

【0043】尚、上述した実施形態においては、IDタ
グ10が有するメモリ内に、データエリア、データ管理
エリアの順で記憶エリアを有する場合を例として説明し
たため、品質データをIDタグ10に書き込むに際し
て、データエリアは前詰めで、データ管理エリアは後詰
めで使用した。従って、データ管理エリア、データエリ
アの順に記憶エリアを有する場合には、書き込み方を逆
にすれば良いことは言うまでもない。
In the above-described embodiment, the case where the memory area of the ID tag 10 has the data area and the data management area in the memory has been described as an example. The data area was left justified and the data management area was left justified. Therefore, when a storage area is provided in the order of the data management area and the data area, it goes without saying that the writing method may be reversed.

【0044】[0044]

【発明の効果】以上説明したように、本発明によれば、
IDタグの限られた記憶領域を効率よく使用する生産設
備の制御装置及びそのデータ管理方法の提供が実現す
る。
As described above, according to the present invention,
A control device for a production facility that efficiently uses a limited storage area of an ID tag and a data management method thereof are provided.

【0045】即ち、請求項1及び請求項6の発明によれ
ば、IDタグの限られた記憶領域に効率よくデータを書
き込むことができる。
That is, according to the first and sixth aspects of the present invention, data can be efficiently written in the limited storage area of the ID tag.

【0046】また、請求項2及び請求項7の発明によれ
ば、IDタグの限られたデータエリアに高効率に書き込
まれているデータの中から、所望するデータを迅速に読
み出すことができる。
According to the second and seventh aspects of the present invention, desired data can be quickly read out of the data written in the limited data area of the ID tag with high efficiency.

【0047】また、請求項3の発明によれば、IDタグ
のデータエリアに書き込まれているデータの一部が不要
となったときには、その不要となったエリアを新規デー
タの書き込み用に転用するため、前記データエリアの空
き領域を使用する機械を少なくすることができ、IDタ
グの限られたデータエリアを効率よく使用することがで
きる。
According to the third aspect of the present invention, when a part of the data written in the data area of the ID tag becomes unnecessary, the unnecessary area is diverted for writing new data. Therefore, the number of machines that use the empty area of the data area can be reduced, and the limited data area of the ID tag can be used efficiently.

【0048】[0048]

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

【図1】本発明の一実施形態としての生産設備の制御装
置が構成するシステム構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a system configuration configured by a control device of a production facility as one embodiment of the present invention.

【図2】本発明の一実施形態としての制御装置のブロッ
ク構成図である。
FIG. 2 is a block configuration diagram of a control device as one embodiment of the present invention.

【図3】本発明の一実施形態におけるIDタグのメモリ
マップの一部を示す図である。
FIG. 3 is a diagram showing a part of a memory map of an ID tag according to an embodiment of the present invention.

【図4】本発明の一実施形態における制御装置によるI
Dタグへのデータ書き込み時の処理を示すフローチャー
トである。
FIG. 4 is a diagram illustrating an example of an I by a control device according to an embodiment of the present invention.
It is a flowchart which shows the process at the time of writing data to a D tag.

【図5】IDタグのデータエリアに削除領域を設定する
場合を説明する図である。
FIG. 5 is a diagram illustrating a case where a deletion area is set in a data area of an ID tag.

【図6】本発明の一実施形態におけるIDタグのメモリ
マップの一部を示す図である。
FIG. 6 is a diagram illustrating a part of a memory map of an ID tag according to an embodiment of the present invention.

【図7】本発明の一実施形態における制御装置によるI
Dタグへのデータ書き込み時の処理を示すフローチャー
トである。
FIG. 7 is a diagram showing an example of an I by a control device according to an embodiment of the present invention.
It is a flowchart which shows the process at the time of writing data to a D tag.

【図8】従来例としてのIDタグのメモリマップの構成
を示す図である。
FIG. 8 is a diagram showing a configuration of a memory map of an ID tag as a conventional example.

【図9】従来例としてのIDタグのメモリマップの構成
を示す図である。
FIG. 9 is a diagram showing a configuration of a memory map of an ID tag as a conventional example.

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

1:制御装置, 2:ホストコンピュータ, 10:IDタグ, 21:CPU, 24:ROM, 25:RAM, 26:入出力インタフェース, 27:通信インタフェース, 28:IDタグリーダ/ライタ, 29:内部バス, 30:通信回線, 1: control device, 2: host computer, 10: ID tag, 21: CPU, 24: ROM, 25: RAM, 26: input / output interface, 27: communication interface, 28: ID tag reader / writer, 29: internal bus, 30: communication line,

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森本 達郎 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 (72)発明者 内藤 豊 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Tatsuro Morimoto 3-1 Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Co., Ltd. (72) Inventor Yutaka Naito 3-1 Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Co., Ltd. Inside

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ワークの識別データ及びそのワークに関
するデータを格納可能なIDタグにアクセスすると共
に、生産設備を制御する制御装置であって、 所定の記憶容量のアドレス空間内に、データエリア、デ
ータ管理エリアの順で記憶エリアを有するIDタグに対
してデータの読み取り/書き込みを行なうアクセス手段
と、 前記データエリアの空き領域に新規データを前詰めで書
き込むと共に、その書き込んだ新規データの、識別番
号、位置、並びにサイズを表わすデータを、前記データ
管理エリアの空き領域に後詰めで書き込むデータ書き込
み手段と、を備えることを特徴とする制御装置。
1. A control device for accessing an ID tag capable of storing identification data of a work and data relating to the work and controlling a production facility, wherein a data area, a data area, and a data area are stored in an address space having a predetermined storage capacity. Access means for reading / writing data from / to an ID tag having a storage area in the order of the management area; and writing new data to the empty area of the data area with the MSB justified and identifying the identification number of the written new data. And a data writing unit for writing data representing the position, size, and size in the free space of the data management area, in a left-justified manner.
【請求項2】 読み込むべきデータの位置とサイズと
を、前記データ管理エリアより識別番号を表わすデータ
に基づいて検出し、その検出した識別番号と共に書き込
まれている位置とサイズとを表わすデータに従って、前
記データエリアよりデータを読み出すデータ読み取り手
段を更に備えることを特徴とする請求項1記載の制御装
置。
2. A position and a size of data to be read are detected based on data representing an identification number from the data management area, and according to data representing a position and a size written together with the detected identification number. 2. The control device according to claim 1, further comprising data reading means for reading data from said data area.
【請求項3】 前記データエリアに書き込まれているデ
ータが削除可能となったときに、前記データ管理エリア
に書き込まれている該データの識別番号を表わすデータ
を、削除可能を表わす所定のデータに変更するデータ削
除手段を更に備え、 前記データ書き込み手段は、前記データエリアに新規デ
ータを書き込むにときに、前記データ管理エリアに前記
所定のデータが存在するかを検索し、その検索の結果、
前記所定のデータが存在するときには、その所定のデー
タと共に書き込まれているサイズと、該新規データのサ
イズとを比較し、該新規データのサイズのほうが大きい
ときには、その新規データを前記データエリアの空き領
域に前詰めで書き込み、該新規データのサイズのほうが
小さいときには、前記所定のデータと共に書き込まれて
いる位置が示す前記データエリア内の位置に、該新規デ
ータを書き込むことを特徴とする請求項1または請求項
2記載の制御装置。
3. When data written in the data area becomes erasable, data representing the identification number of the data written in the data management area is replaced with predetermined data representing erasability. The data writing unit further includes a data deletion unit for changing, when writing new data in the data area, searches for whether the predetermined data exists in the data management area, and as a result of the search,
When the predetermined data exists, the size written together with the predetermined data is compared with the size of the new data. When the size of the new data is larger, the new data is stored in the free space of the data area. 2. The method according to claim 1, wherein the new data is written in an area in the data area indicated by a position where the new data is written together with the predetermined data when the size of the new data is smaller. Or the control device according to claim 2.
【請求項4】 前記データ読み取り手段が前記IDタグ
から読み出すデータは、自制御装置が制御する作業ステ
ーションにおける作業指示データであることを特徴とす
る請求項1または請求項2記載の制御装置。
4. The control device according to claim 1, wherein the data read by the data reading means from the ID tag is work instruction data at a work station controlled by the control device.
【請求項5】 前記データ書き込み手段が前記IDタグ
に書き込む新規データは、自制御装置が制御する作業ス
テーションにおけるワークの品質データであることを特
徴とする請求項1または請求項2記載の制御装置。
5. The control device according to claim 1, wherein the new data written by the data writing means to the ID tag is quality data of a work in a work station controlled by the control device. .
【請求項6】 ワークの識別データ及びそのワークに関
するデータを格納可能なIDタグにアクセスすると共
に、生産設備を制御する制御装置におけるデータ管理方
法であって、 所定の記憶容量のアドレス空間内に、データエリア、デ
ータ管理エリアの順で記憶エリアを有するIDタグに対
してデータの読み取り/書き込みを行なうに際して、 前記データエリアの空き領域に新規データを前詰めで書
き込むと共に、その書き込んだ新規データの、識別番
号、位置、並びにサイズを表わすデータを、前記データ
管理エリアの空き領域に後詰めで書き込むデータ書き込
み工程を有することを特徴とするデータ管理方法。
6. A data management method in a control device that accesses an ID tag capable of storing identification data of a work and data relating to the work, and controls a production facility, comprising: an address space having a predetermined storage capacity; When reading / writing data from / to an ID tag having a storage area in the order of a data area and a data management area, new data is written to the empty area of the data area with the MSB justified, and the written new data is A data management method, comprising: a data writing step of writing data representing an identification number, a position, and a size into a free area of the data management area in a left-justified manner.
【請求項7】 読み込むべきデータの位置とサイズと
を、前記データ管理エリアより識別番号を表わすデータ
に基づいて検出する検出工程と、 その検出した識別番号と共に書き込まれている位置とサ
イズとを表わすデータに従って、前記データエリアより
データを読み出すデータ読み取り工程と、を更に有する
ことを特徴とする請求項6記載のデータ管理方法。
7. A detecting step of detecting a position and a size of data to be read based on data representing an identification number from the data management area, and indicating a position and a size written together with the detected identification number. 7. The data management method according to claim 6, further comprising a data reading step of reading data from the data area according to the data.
JP10226180A 1998-08-10 1998-08-10 Control unit for production facility and its data managing method Pending JP2000056810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10226180A JP2000056810A (en) 1998-08-10 1998-08-10 Control unit for production facility and its data managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10226180A JP2000056810A (en) 1998-08-10 1998-08-10 Control unit for production facility and its data managing method

Publications (1)

Publication Number Publication Date
JP2000056810A true JP2000056810A (en) 2000-02-25

Family

ID=16841148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10226180A Pending JP2000056810A (en) 1998-08-10 1998-08-10 Control unit for production facility and its data managing method

Country Status (1)

Country Link
JP (1) JP2000056810A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002229621A (en) * 2001-01-31 2002-08-16 Toshiba Corp Hardware managing device
JP2003050614A (en) * 2001-08-07 2003-02-21 Incs Inc Metallic mold managing system and method
JP2004320319A (en) * 2003-04-15 2004-11-11 Sony Corp Radio communication system and method therefor, radio communication apparatus and method therefor, and program
JP2005063039A (en) * 2003-08-08 2005-03-10 Sony Corp Data processor, its method, and its program
JP2005063038A (en) * 2003-08-08 2005-03-10 Sony Corp Data processing device, method thereof, program thereof, and recording medium
JP2006039903A (en) * 2004-07-27 2006-02-09 Ntn Corp System for using work instruction with ic tag
JP2007200031A (en) * 2006-01-26 2007-08-09 Mazda Motor Corp Quality control method and system for assembly line
JP2014530728A (en) * 2011-10-27 2014-11-20 サノフィ−アベンティス・ドイチュラント・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Component and assembly method of drug delivery device
TWI625215B (en) * 2015-04-29 2018-06-01 Towa Corp Article manufacturing device and manufacturing method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002229621A (en) * 2001-01-31 2002-08-16 Toshiba Corp Hardware managing device
US7210028B2 (en) 2001-01-31 2007-04-24 Kabushiki Kaisha Toshiba Hardware management apparatus
JP2003050614A (en) * 2001-08-07 2003-02-21 Incs Inc Metallic mold managing system and method
JP2004320319A (en) * 2003-04-15 2004-11-11 Sony Corp Radio communication system and method therefor, radio communication apparatus and method therefor, and program
JP2005063039A (en) * 2003-08-08 2005-03-10 Sony Corp Data processor, its method, and its program
JP2005063038A (en) * 2003-08-08 2005-03-10 Sony Corp Data processing device, method thereof, program thereof, and recording medium
JP4590842B2 (en) * 2003-08-08 2010-12-01 ソニー株式会社 Data writing apparatus, data writing method, data reading apparatus, data reading method, and program
JP2006039903A (en) * 2004-07-27 2006-02-09 Ntn Corp System for using work instruction with ic tag
JP2007200031A (en) * 2006-01-26 2007-08-09 Mazda Motor Corp Quality control method and system for assembly line
JP2014530728A (en) * 2011-10-27 2014-11-20 サノフィ−アベンティス・ドイチュラント・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Component and assembly method of drug delivery device
US9999730B2 (en) 2011-10-27 2018-06-19 Sanofi-Aventis Deutschland Gmbh Component of a drug delivery device and method of assembly
TWI625215B (en) * 2015-04-29 2018-06-01 Towa Corp Article manufacturing device and manufacturing method

Similar Documents

Publication Publication Date Title
US20110093666A1 (en) Numerical controller capable of dividing and combining memory areas to store machining programs and binary data
JPS59175948A (en) Working control device for transfer machine
JP2000056810A (en) Control unit for production facility and its data managing method
CN113064703B (en) Batch downloading configuration method oriented to multiple operation cycles
US5883805A (en) Manufacturing control system capable of changing a manufacturing line easily and its data modifying method
US5179697A (en) System for deleting prioritized data stored in second memory after all the data has been successfully transferred to first memory
JPH01188354A (en) Font cash control
EP1389748A2 (en) Numerical controller
JP3022589B2 (en) Control method of production line
CN105706067A (en) Microcomputer with built-in flash memory, method for writing data to built-in flash memory of microcomputer, and program for writing data to flash memory
JPH06106463A (en) Production control
JPH07121376A (en) Down load information preparing device
JP2007004326A (en) Data access method and program therefor
JPH0482640A (en) Numerical control device
JP3087329B2 (en) Article identification device
JPS61133405A (en) Processing system of rule
JPH0991195A (en) Block memory management device
JPH11259349A (en) Film transfer method
JPH06168074A (en) Common ionput/output device
JPH01183338A (en) Tool use time calculating system
JPH1173480A (en) Ic card
JPS6211903A (en) Programmable controller
JPH05208526A (en) Printer
JPH05224728A (en) Direct numerical control system
JPS62226309A (en) Write system for rom cassette in programmable machine controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050301

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20050301

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080623

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081031