JPH0816751A - Counter for transferred materials - Google Patents

Counter for transferred materials

Info

Publication number
JPH0816751A
JPH0816751A JP14881194A JP14881194A JPH0816751A JP H0816751 A JPH0816751 A JP H0816751A JP 14881194 A JP14881194 A JP 14881194A JP 14881194 A JP14881194 A JP 14881194A JP H0816751 A JPH0816751 A JP H0816751A
Authority
JP
Japan
Prior art keywords
counting
data
sensor
detection unit
buffer
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
JP14881194A
Other languages
Japanese (ja)
Inventor
Toshiaki Tani
敏明 谷
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP14881194A priority Critical patent/JPH0816751A/en
Publication of JPH0816751A publication Critical patent/JPH0816751A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Conveyors (AREA)

Abstract

(57)【要約】 【目的】計数対象物の移送路に光電スイッチなどの物体
検知器を配置して通過する計数対象物の数を数える計数
装置におけるノイズ侵入などによる計数誤差の発生を防
止する。 【構成】物体配列検出部1の出力の変化を捉えて検出部
を通過した計数対象物の個数を数える処理を行う計数部
2を、マイクロコンピュータ3と、測定対象物が検出部
を通過中に複数回の検出部出力状態を読み取りが行われ
る周期に設定されたサンプリング周期タイマ5と、検出
部の出力状態を読み取ってマイクロコンピュータに転送
するパラレルインタフェース6と、マイクロコンピュー
タにおいて実行される演算と処理の手順が格納されてい
るROMと、演算処理の過程で生成される符号と数値と
を一時記憶するRAM、ならびにシステムクロックとに
よって構成し、読み取った複数の検出部出力状態値の多
数決によって計数処理を実行する。
(57) [Abstract] [Purpose] An object detector such as a photoelectric switch is arranged in the transfer path of counting objects to prevent occurrence of counting errors due to noise intrusion in a counting device that counts the number of passing counting objects. A counting unit (2) for counting changes in the output of an object array detection unit (1) and counting the number of counting objects that have passed through the detection unit is provided when a microcomputer (3) and a measurement object are passing through the detection unit. Sampling cycle timer 5 that is set to a cycle in which the output state of the detection unit is read a plurality of times, parallel interface 6 that reads the output state of the detection unit and transfers it to the microcomputer, and calculation and processing executed in the microcomputer Is stored in a ROM, a RAM for temporarily storing codes and numerical values generated in the course of arithmetic processing, and a system clock, and counting processing is performed by a majority decision of a plurality of read output state values of the detection unit. To execute.

Description

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

【0001】[0001]

【産業上の利用分野】パチンコ玉あるいは同一形状のビ
ン等を移送の途中で計数する計数装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a counting device for counting pachinko balls or bottles of the same shape during transfer.

【0002】[0002]

【従来の技術】パチンコ玉のような同一形状の多数の物
品の数を計数するときには、計数対象物を連続して移送
する装置を設け、たとえば光源と受光素子とからなる透
過式または反射式の光電スイッチをこの移送路の途中に
配置して、光電スイッチ部を測定対象物が通過したとき
の光電スイッチのONからOFFの変化の回数を計数装
置で計数するような方法がとられている。
2. Description of the Related Art When counting a large number of articles of the same shape such as a pachinko ball, a device for continuously transferring the objects to be counted is provided, for example, a transmission type or reflection type consisting of a light source and a light receiving element. A method is adopted in which a photoelectric switch is arranged in the middle of this transfer path and the number of times the photoelectric switch changes from ON to OFF when the measurement object passes through the photoelectric switch is counted by a counting device.

【0003】ところで光電スイッチの出力およびこの出
力の変化を計数する計数装置はノイズあるいは、出力遷
移時のチャタリングなどによって、測定対象物の通過と
は無関係ににせのON,OFFの変化信号を発信してし
まうことがある。このにせ信号が計数されないようにす
るため、計数回路の入力側にフィルタを設けたり、光電
スイッチ作動区間を通過する被計数物の有無の読み取り
を作動区間通過時間に比べ十分に短い時間で繰返し、あ
らかじめ定めた回数の被計数物“あり”の信号があった
後、被測定物“なし”の信号が定められた回数受信され
たとき、光電スイッチ部を真に被計数物が通過して、光
電スイッチ出力の反転が生じたと判断して計数する方法
が採られている。
By the way, a counting device for counting the output of the photoelectric switch and the change of this output emits a false ON / OFF change signal irrespective of the passage of an object to be measured due to noise or chattering at the time of output transition. It may happen. In order to prevent the false signals from being counted, a filter is provided on the input side of the counting circuit, or the reading of the presence or absence of the object to be counted which passes through the photoelectric switch operating section is repeated in a time sufficiently shorter than the operating section passing time, When the signal of "presence" of the object to be measured is received a predetermined number of times and then the signal of "absence" of the object to be measured is received a predetermined number of times, the object to be counted truly passes through the photoelectric switch section, A method is adopted in which it is determined that the inversion of the photoelectric switch output has occurred, and counting is performed.

【0004】[0004]

【発明が解決しようとする課題】光電スイッチなどのセ
ンサの出力信号の入力回路にフィルタを設けてノイズの
侵入やチャタリングによる早い変動のにせ信号を除去す
る方法を採用とすると、フィルタによって計数回路の応
答速度は遅くなるので、短時間に多数の被測定物の計数
を行う目的には、多数のセンサを並べて装置を構成しな
ければならず、装置が大型になり、またセンサ毎に設け
るフィルタによってもコストが上昇してしまうという問
題がある。
If a method is adopted in which a filter is provided in the input circuit of the output signal of a sensor such as a photoelectric switch to remove the falsified signal caused by the intrusion of noise or chattering, the filter of the counting circuit is used. Since the response speed becomes slow, for the purpose of counting a large number of DUTs in a short time, it is necessary to arrange a large number of sensors side by side to configure the device, which makes the device large and requires a filter provided for each sensor. However, there is a problem that the cost will rise.

【0005】一方、被計数物がセンサ一部を通過する期
間に複数回の読み取りを行って、得られたデータ列をデ
ータの得られる都度多数決判断してノイズなどによって
偶発的にもぐり込むにせ信号を除去する方法を、センサ
のライン毎に適用し、この判断処理を1台のマイクロコ
ンピュータが、各ラインを順次走査して実行することと
なり、各ラインの処理には一定の時間を要するので、数
え落としを生じないようにするには、一台のマイクロコ
ンピュータの監視ラインの数を大きくしないか、また
は、被計数対象物の移送速度を遅く設定する必要があ
る。
On the other hand, reading is performed a plurality of times during the period in which the object to be counted passes through a part of the sensor, a majority decision is made on the obtained data string each time data is obtained, and a signal for accidentally slipping in due to noise etc. The removal method is applied to each line of the sensor, and this determination process is performed by one microcomputer by sequentially scanning each line, and it takes a certain time to process each line. In order to prevent the drop, it is necessary not to increase the number of monitoring lines of one microcomputer or to set the transfer speed of the object to be counted to be slow.

【0006】本発明は、従来技術による計数装置の上記
の問題点を解決し、多数ラインの同時計数を高速度で実
行可能で、コンパクトで低コストの計数装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems of the counting device according to the prior art and to provide a compact and low cost counting device capable of performing simultaneous counting of a large number of lines at high speed.

【0007】[0007]

【課題を解決するための手段】物体センサを配列してな
る物体配列検出部と、この物体配列検出部の出力の変化
を捉えて検出部を通過した計数対象物の個数を数える処
理を行う計数部とからなる移送物の計数装置における上
記の問題点解決のため、本発明による移送物の計数装置
では、計数部を、マイクロコンピュータと、物体配列検
出部の出力の状態を読み取って計数演算を実行する周期
を与えるサンプリング周期タイマと、このサンプリング
タイマのカウントアップ信号毎に物体配列検出部の各物
体センサの出力状態を読み取って物体有無配列状態をビ
ット単位で示す配列符号として前記マイクロコンピュー
タに転送するパラレルインタフェースと、マイクロコン
ピュータにおいて実行される演算と処理の手順が格納さ
れているROMと、演算処理の過程で生成される符号と
数値とを一時記憶するRAM、ならびに計測部の前記各
構成要素の動作の基本タイミングを与えるシステムクロ
ックとによって構成する。
SOLUTION: To solve the problem, an object array detecting section in which object sensors are arrayed, and a counting for performing a process of counting the number of counting objects that have passed through the detecting section by catching a change in the output of the object array detecting section. In order to solve the above-mentioned problems in the transferred object counting apparatus including the parts, in the transferred object counting apparatus according to the present invention, the counting section reads the output state of the microcomputer and the object array detecting section to perform the counting operation. A sampling cycle timer that gives a cycle to be executed, and the output state of each object sensor of the object array detection unit is read for each count-up signal of this sampling timer and transferred to the microcomputer as an array code indicating the object presence / absence array status in bit units. Parallel interface, and a ROM that stores the procedure of calculation and processing executed in the microcomputer RAM for temporarily storing the codes and numbers generated by the arithmetic processing step, and configured by the system clock to provide the basic timing of the operation of each component of the measuring unit.

【0008】そして、サンプリング周期タイマの周期
は、計数対象物が前記物体配列検出部を通過する期間中
に計数対象物の有無の検出読み取りを複数回実行可能な
時間間隔に設定する。また、RAMには、パラレルイン
タフェースから転送されるセンサ出力状態符号を転送順
に複数個格納しておくセンサ出力バッファと、前回のサ
ンプリング周期における演算と処理によって確定した物
体配列状況を表すセンサ出力の真値を格納しておくセン
サ真値バッファと、引き続く次のサンプリング周期に読
み取った物体配列検出部各センサの出力状態符号データ
を含むセンサ出力バッファに格納されている複数のセン
サの出力状態符号データを用いる検査処理によって得ら
れたセンサの出力状態符号データの検査結果を格納する
検査値バッファと、計数対象物が検出される毎に1単位
の加算を繰り返す計数対象物移送路の各々に対応する計
数カウンタ、および演算処理の過程で一時記憶が必要と
なる符号数値を格納しておく補助バッファの領域を確保
する。
Then, the period of the sampling period timer is set to a time interval at which the detection / presence of the presence / absence of the counting object can be executed a plurality of times during the period in which the counting object passes through the object array detecting section. In addition, the RAM has a sensor output buffer that stores a plurality of sensor output state codes transferred from the parallel interface in the order of transfer, and a sensor output true value that indicates the object array status determined by the calculation and processing in the previous sampling cycle. The sensor true value buffer that stores the values, and the output state code data of the multiple sensors stored in the sensor output buffer that includes the output state code data of the object array detection unit each sensor that was read in the next sampling cycle Count corresponding to each of the inspection value buffer that stores the inspection result of the output state code data of the sensor obtained by the inspection process used and the counting object transfer path that repeats addition of one unit each time the counting object is detected A counter and an auxiliary buffer that stores code values that need to be temporarily stored in the process of arithmetic processing. To secure the area.

【0009】一方、サンプリング周期タイマのカウント
アップ毎に、前記ROMからマイクロコンピュータが呼
び出して行う処理は、センサ出力バッファに格納の複数
個のセンサ出力状態データとセンサ真値バッファに格納
情報の比較検査を行って予め定めたサンプリング回数の
内、予め定めた回数一致するデータを検査値バッファに
納める状態検査処理と、続いてセンサ真値バッファ格納
データと検査値バッファ格納データとをビット桁毎に比
較し、センサ真値バッファ格納値が物体有りで、検査値
バッファ格納値が物体無しであるとき、この変化を示す
ビット桁に対応する移送路を実際に物体が通過したもの
としてRAMに設けられた当該移送路に対応する計数カ
ウンタに1単位を加算する計数処理とする。
On the other hand, every time the sampling period timer counts up, the microcomputer calls the process from the ROM to perform a comparison inspection of a plurality of sensor output state data stored in the sensor output buffer and information stored in the sensor true value buffer. Performs the state inspection process of storing the data that matches the predetermined number of times in the inspection value buffer among the predetermined sampling times, and then compares the sensor true value buffer storage data and the inspection value buffer storage data for each bit digit. However, when the sensor true value buffer stored value has an object and the inspection value buffer stored value has no object, it is provided in the RAM as if the object actually passed through the transfer path corresponding to the bit digit indicating this change. The counting process is performed by adding 1 unit to the counting counter corresponding to the transfer path.

【0010】[0010]

【作用】計数部に設けられたサンプリング周期タイマの
周期が、計数対象物が物体配列検出部を通過する期間中
に計数対象物の有無の検出読み取りを複数回実行可能な
時間間隔に設定されているので、センサ出力バッファに
は計数対象物の物体配列検出部通過に対応して物体有無
状態を表す符号データが複数格納されることとなる。
The cycle of the sampling period timer provided in the counting unit is set to a time interval at which detection / presence of the presence or absence of the counting object can be executed a plurality of times during the period in which the counting object passes through the object array detecting unit. Therefore, the sensor output buffer stores a plurality of code data representing the object presence / absence state corresponding to the passage of the object to be counted in the object array detection unit.

【0011】そして、サンプリング周期タイマのカウン
トアップ毎にマイクロコンピュータが呼び出して行う処
理が、センサ出力バッファに取り込んだ物体有無状態を
表す符号データの複数を比較検査し、所定の複数データ
一致を条件に物体有無の状態を確定する処理なので、ノ
イズなどによって唯一偶発的に混入した偽信号は除外さ
れることとなる。
Then, each time the sampling cycle timer counts up, the process called by the microcomputer compares and inspects a plurality of pieces of code data representing the object presence / absence state fetched in the sensor output buffer, and determines that a predetermined plurality of data match. Since the process determines the state of the presence or absence of an object, a false signal that is accidentally mixed due to noise or the like is excluded.

【0012】[0012]

【実施例】本発明による計数装置の一実施例の概略構成
を図1に示す。図1において、1は、図2に例示のよう
な計数対象物を個々に移送する案内路101 〜108 を並列
に並べた移送路100 の各案内路のそれぞれに配置され、
移送路100 を通過する物体109 の有無を検出する光電式
センサ11などと、このセンサの出力段に接続されたレベ
ル弁別器12とからなる物体配列検出部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a schematic structure of an embodiment of a counting device according to the present invention. In FIG. 1, 1 is arranged in each of the guide paths of the transfer path 100 in which the guide paths 101 to 108 for individually transferring the counting objects as illustrated in FIG. 2 are arranged in parallel,
It is an object array detection unit including a photoelectric sensor 11 for detecting the presence or absence of an object 109 passing through the transfer path 100, and a level discriminator 12 connected to the output stage of this sensor.

【0013】この物体配列検出部1に配列するセンサの
数は、物体配列検出部1出力信号を受信して計数の演算
処理を行う計数部2に設けられたマイクロコンピュータ
3のデータバスの巾が上限単位となり、8ビットのマイ
クロコンピュータを使用する場合には8または16個の
センサを設けることができる。物体配列検出部1の出力
データを監視して移送路100 を通過した物体の個数を計
数する計数部2において、4は、前記マイクロコンピュ
ータ3のステップ動作のタイミングを与えるシステムク
ロックであり、5は、物体配列検出部1の各センサの出
力を読み取るサンプリングタイミングを与えるサンプリ
ング周期タイマである。このサンプリング周期タイマ5
の周期STは、計数対象物109 が物体配列検出部1のセ
ンサの検出域を通過する間に複数回の読み取りが行われ
る時間間隔に設定する。
The number of sensors arranged in the object arrangement detection unit 1 is determined by the width of the data bus of the microcomputer 3 provided in the counting unit 2 which receives the output signal of the object arrangement detection unit 1 and performs the calculation processing of counting. This is the upper limit unit, and when an 8-bit microcomputer is used, 8 or 16 sensors can be provided. In the counting unit 2 that monitors the output data of the object array detection unit 1 and counts the number of objects that have passed through the transfer path 100, 4 is a system clock that gives the timing of the step operation of the microcomputer 3, and 5 is , A sampling cycle timer that gives sampling timing for reading the output of each sensor of the object array detection unit 1. This sampling cycle timer 5
The period ST is set to a time interval at which reading is performed a plurality of times while the counting target 109 passes through the detection area of the sensor of the object array detection unit 1.

【0014】サンプリング周期STが上記のように設定
されているので、物体配列検出部1の各センサの検出域
を物体が通過するとき、経時的に連続する複数の物体有
の信号が得られる。そして、パチンコ球あるいは丸ビン
のような断面が円形の物体を検出して計数する装置にお
いては、センサ出力段に接続されるレベル判定器12にお
ける物体有の上位判定水準DLと物体無の下位判定水準
NLとを、センサ出力の異なる水準値に設定してヒステ
リシス性を付与しておくと、センサ出力が上位水準DL
を超えてから物体有の信号が出力され、センサ出力が下
位水準NLを下まわるようになってから物体無の信号が
出力されるので、図3に例示のような円形断面物体が連
接してセンサの検出域を通過する場合でも、連続する円
形物体間に対応する複数個の物体無しの信号NS2をは
さんで物体有の複数信号からなる2郡の物体有の信号D
S1とDS2とが得られる。
Since the sampling cycle ST is set as described above, when the object passes through the detection range of each sensor of the object array detection unit 1, a plurality of object-existing signals continuous with time are obtained. In a device for detecting and counting an object having a circular cross section, such as a pachinko ball or a round bottle, the upper determination level DL with an object and the lower determination without an object in the level determiner 12 connected to the sensor output stage. When the level NL is set to a different level value of the sensor output and hysteresis is given, the sensor output becomes the upper level DL.
Since the signal with the object is output after exceeding, and the signal without the object is output after the sensor output falls below the lower level NL, the circular cross-section objects as illustrated in FIG. 3 are connected. Even when passing through the detection area of the sensor, two groups of object-existing signals D composed of plural object-existing signals sandwiching a plurality of object-less signals NS2 corresponding to consecutive circular objects
S1 and DS2 are obtained.

【0015】計数部2において、6は、サンプリング周
期タイマ5がカウントアップして割込み要求信号INT
1がマイクロコンピュータ3に入力されたとき、この割
込み信号によって呼び出されて物体配列検出部1の出力
信号を読み取るパラレルインタフェースPIOである。
そして、ROM8は、マイクロコンピュータ3の動作プ
ログラムが格納されている読み出し専用の記憶手段であ
り、格納プログラムにはサンプリング周期タイマがカウ
ントアップして割込み要求信号1NT1がマイクロコン
ピュータに入力されたとき、呼び出されて検出部1の出
力状態の検査処理を行う状態判定プログラム(NEP)
と、検査結果を踏えて検出部1を通過した物体の個数を
計数する計数プログラム(TCP)とが含まれている。
In the counting section 2, the sampling period timer 5 counts up 6 to generate an interrupt request signal INT.
1 is a parallel interface PIO that is called by this interrupt signal and reads the output signal of the object array detection unit 1 when the microcomputer 1 is input to the microcomputer 3.
The ROM 8 is a read-only storage means for storing the operation program of the microcomputer 3, and is called when the sampling cycle timer counts up and the interrupt request signal 1NT1 is input to the microcomputer in the storage program. Status determination program (NEP) for inspecting the output status of the detection unit 1
And a counting program (TCP) that counts the number of objects that have passed through the detection unit 1 based on the inspection result.

【0016】一方、RAM7は随時書き込み読み出し可
能な記憶手段であり、このRAM7には、上記のパラレ
ルインタフェース6の入力ポートに読み取られた物体配
列検出部1の出力データを読み取る都度、読み取りデー
タをシフトレジスタ式に読み取り順に複数個保持してお
くセンサ出力バッファSO1〜SOnと、計数した物体
の数を案内路の区分に対応して記憶しておく計数カウン
タOC1〜OC8および、マイクロコンピュータ3の演
算処理の実行課程で一時記憶が必要となる符号ならびに
カウント値の保持領域が確保されている。この一時記憶
保持領域としては検査により確定したセンサ出力状態を
表す符号を格納しておくセンサ真値バッファSTB、セ
ンサ出力サンプリング毎のセンサ出力状態検査結果を格
納しておく検査値バッファIRB、検査処理課程の中間
値の一時記憶領域としての演算バッファEB1〜EB
n、およびセンサ出力状態符号の検査した桁を計数して
いくビットカウンタBTCなどが確保されている。
On the other hand, the RAM 7 is a storage means capable of writing and reading at any time, and the read data is shifted to the RAM 7 each time the output data of the object array detection unit 1 read by the input port of the parallel interface 6 is read. Sensor output buffers SO1 to SOn that hold a plurality of registers in the reading order, counting counters OC1 to OC8 that store the number of counted objects in correspondence with the sections of the guide path, and arithmetic processing of the microcomputer 3 A storage area for the code and the count value that requires temporary storage in the execution process of is secured. As the temporary storage holding area, a sensor true value buffer STB that stores a code indicating a sensor output state determined by inspection, an inspection value buffer IRB that stores a sensor output state inspection result for each sensor output sampling, an inspection process Calculation buffers EB1 to EB as temporary storage areas for intermediate values of the course
n and a bit counter BTC for counting the inspected digits of the sensor output state code are secured.

【0017】次に図4に、以上に説明の計数部2におい
て実行処理される状態判定プログラムNEPと計数プロ
グラムTCPのフローを示し、以下図4によって図1に
例示の本発明による計数装置の動作を説明する。図1に
例示の並列移送物計数装置の計数部2は、初期条件が設
定されてスタンバイされたとき、RAM7のバッファや
カウンタをゼロクリアしてサンプリング周期タイマ5か
らの割込待機状態に入る。
Next, FIG. 4 shows a flow of the state judgment program NEP and the counting program TCP executed and executed in the counting unit 2 described above. The operation of the counting apparatus according to the present invention illustrated in FIG. Will be explained. When the initial conditions are set and the standby unit 2 of the parallel transfer material counting apparatus illustrated in FIG. 1 is in standby, the buffer and the counter of the RAM 7 are cleared to zero and the sampling period timer 5 waits for an interrupt.

【0018】サンプリングタイマ5が周期STをカウン
トアップしたときカウントアップ信号をマイクロコンピ
ュータ3の割込み端子1NT1に出力し、マイクロコン
ピュータ3は、この割込み信号を受付けるとROM8に
格納されている状態判定プログラムNEPを呼び出し、
パラレルインタフェース6にこの時点における物体配列
検出部1の出力状態を入力ポートに読み取ることを指令
する。
When the sampling timer 5 counts up the cycle ST, a count-up signal is output to the interrupt terminal 1NT1 of the microcomputer 3, and when the microcomputer 3 receives this interrupt signal, the state judgment program NEP stored in the ROM 8 is stored. Call
The parallel interface 6 is instructed to read the output state of the object array detection unit 1 at this time point into the input port.

【0019】パラレルインタフェース6の入力ポートに
読み込まれた物体配列検出部1の状態データは、引き続
いてRAM7に確保されたセンサ出力バッファFIFO
の先頭データセルSO1に転送されるが、このときすで
にSO1に格納されているデータは隣のSO2へ、そし
てSO2のデータはSO3へというように、シフトレジ
スタ式に転送され、最終データセルSOnに格納のデー
タは押し出されて棄却される。
The state data of the object array detection unit 1 read into the input port of the parallel interface 6 is subsequently stored in the RAM 7 as a sensor output buffer FIFO.
Is transferred to the first data cell SO1 of the first row, the data already stored in SO1 at this time is transferred to the adjacent SO2, the data of SO2 is transferred to SO3 in a shift register manner, and is transferred to the last data cell SOn. Stored data is pushed out and rejected.

【0020】上記のデータ読み込みと転送処理に引き続
いて状態検査プログラムNEPは以下のSI1ないしS
I3の処理を順次実行する。 SI1; FIFO先頭データセルSO1のデータと、
SO1に先行するあらかじめ定めた複数個のデータセル
SO2〜SOnに格納されているデータとをデータ各桁
Bit毎に照合検査し、予め定めた所定の回数状態値が
一致した桁の状態値は一致したデータ値とし、一致しな
い桁については値0を置き、この処理によって得られた
データを演算バッファの1つ、たとえばEB1に格納す
る。
Subsequent to the above-mentioned data reading and transfer processing, the status inspection program NEP executes the following SI1 to S
The process of I3 is sequentially executed. SI1; data of the FIFO head data cell SO1 and
The data stored in a plurality of predetermined data cells SO2 to SOn preceding SO1 are collated and inspected for each digit Bit, and the state value of the digit in which the state value matches a predetermined number of times in advance matches. The data value obtained by this processing is stored in one of the operation buffers, for example, EB1.

【0021】SI2; SI1の処理において所定の回
数状態値が一致しない桁については、前回のサンプリン
グ周期における計数処理実行において確定し、センサ真
値バッファSTBに格納されている当該桁の格納値を抽
出し、この値を置き所定の回数状態値が一致した桁には
状態値ゼロを置いて得たデータを演算バッファの他の1
つたとえばEB2に格納する。
SI2; Regarding the digit whose state value does not match a predetermined number of times in the processing of SI1, it is decided in the counting processing execution in the previous sampling cycle, and the stored value of the digit stored in the sensor true value buffer STB is extracted. Then, place this value and place the state value zero in the digit where the state value matches a predetermined number of times, and then obtain the data obtained from the other 1 in the operation buffer.
For example, it is stored in EB2.

【0022】SI3; SI1とSI2の処理の結果で
ある演算バッファEB1とEB2とに格納されているデ
ータの論理和を求めてその結果を検査値バッファIRB
に格納する。上記SI1からSI3の処理によって、検
査値バッファIRBには前回のサンプリング処理におけ
る読み取りも含め、あらかじめ定めた複数回の物体配列
検出部出力値の読み取り結果が一致したとき、その一致
したデータ値が格納されることとなる。
SI3: The logical sum of the data stored in the operation buffers EB1 and EB2, which is the result of the processing of SI1 and SI2, is obtained, and the result is checked value buffer IRB.
To be stored. By the processing of SI1 to SI3 described above, when the reading results of the object array detection unit output values that have been determined a plurality of times match, including the reading in the previous sampling processing, are stored in the inspection value buffer IRB, the matched data value is stored. Will be done.

【0023】上記の状態検査プログラムNEPの処理が
終了すると計数プログラムTCPの下記OC1とOC2
の処理が実行される。 OC1; センサ真値バッファSTBの格納値と、検査
値バッファIRB格納値とを、ビットカウンタBTCを
インデックスに用いてビット桁毎に比較検査し、STB
の状態1(物体有)に対しIRBの同一ビット桁につい
て状態0の変化が検出された場合、そのビット桁に対応
する計数カウンタOCiの置数をインクリメントする。
When the processing of the above state inspection program NEP is completed, the following OC1 and OC2 of the counting program TCP are performed.
Is performed. OC1; The stored value of the sensor true value buffer STB and the stored value of the inspection value buffer IRB are compared and inspected for each bit digit using the bit counter BTC as an index, and STB
When the change of the state 0 is detected for the same bit digit of IRB with respect to the state 1 (there is an object) of 1), the number of the count counter OCi corresponding to the bit digit is incremented.

【0024】OC2; センサ真値バッファSTBの格
納値を検査値バッファIRB格納値で書き替える。な
お、この書き替え処理ではSTB格納値とIRB格納値
に差がある場合のみ実質的な書き替えが実行される。次
に、センサ出力バッファFIFOを2段とし、二回一致
のデータを計数に使用する実施例における状態検査プロ
グラム以降のフローを図5に、またFIFOを3段と
し、三回一致のデータを計数に使用する実施例における
状態検査プログラム以後のフローを図6に示し、本発明
の内容を更に具体的に説明する。
OC2: The stored value of the sensor true value buffer STB is rewritten with the stored value of the inspection value buffer IRB. In this rewriting process, substantial rewriting is executed only when there is a difference between the STB stored value and the IRB stored value. Next, FIG. 5 shows a flow after the state inspection program in the embodiment in which the sensor output buffer FIFO has two stages and the data of twice coincidence is used for counting, and the FIFO has three stages and the data of three times coincidence is counted. The flow after the state inspection program in the embodiment used for FIG. 6 is shown in FIG. 6, and the content of the present invention will be described more specifically.

【0025】図5の各ステップは以下のよう作用する。 SI1; センサ出力バッファFIFOのSO1セグメ
ントに格納された今回のサンプリング周期で読み取られ
たセンサ出力状態データaと、SO2セグメントの前回
サンプリング周期読取データbとの論理積処理a×bに
より、aとbのビット各桁で一致しない桁の値は0とな
り、一致桁の値はそのまま残る。
The steps of FIG. 5 operate as follows. SI1; a and b are obtained by the logical product process a × b of the sensor output state data a read in the current sampling cycle stored in the SO1 segment of the sensor output buffer FIFO and the previous sampling cycle read data b in the SO2 segment. The value of the non-matching digit in each bit of 0 becomes 0, and the value of the matching digit remains as it is.

【0026】一方aとbの排他的論理和処理a○bによ
り、引き続く2回のサンプリングにおける読み取り値が
一致しなかった桁に値1が置かれ、その他桁には値0が
置かれる。 SI2; aとbの排他的論理和処理a○bと、センサ
真値バッファに格納されている前回サンプリング時点に
確定されているセンサ出力状態値Tとの論理積処理(a
○b)×Tによって、2回の読み取りにおいて読み取り
値が一致しなかった桁には前回サンプリング時点で確定
した値が置かれ、その他の桁の状態値はゼロとなる。
On the other hand, by the exclusive OR processing a ○ b of a and b, the value 1 is placed in the digit where the read values in the subsequent two samplings do not match, and the value 0 is placed in the other digits. SI2; AND operation of the exclusive OR processing a ○ b of a and b and the sensor output state value T stored in the sensor true value buffer and confirmed at the previous sampling time (a
Due to ◯ b) × T, the value determined at the time of the previous sampling is placed in the digit whose read value does not match in the two readings, and the state value of the other digits becomes zero.

【0027】SI3;SI1とSI2の処理結果の論理
和処理a×b+(a○b)×Tにより、引き続く2回の
サンプリング時に同じ状態値が得られた桁にはその値が
配置され一致しなかった桁には前回サンプリング周期に
確定した状態値が置かれてデータが得られるのでこのデ
ータを検査値バッファに格納する。上記の処理に続いて
下記の計数プログラムの処理を実行する。
SI3: By the logical sum processing a × b + (a∘b) × T of the processing results of SI1 and SI2, the same state value is obtained in the subsequent two samplings, and that value is arranged and matched. Since the state value determined in the previous sampling cycle is placed in the missing digit to obtain data, this data is stored in the inspection value buffer. Following the above processing, the following counting program processing is executed.

【0028】OC1; ビットカウンタをゼロクリアす
る。 OC12; ビットカウンタをインクリメントし、インク
リメントした結果の数値がセンサの個数以内かを調べセ
ンサの個数以上に達している場合には状態変化検出の検
査が終了しているので計数処理終了のステップOC2に
飛ぶ。 OC13; インクリメントしたビットカウンタBTCの
数値iがセンサの個数以内のときには、状態変化検出検
査の途中にあると判断し、センサ真値バッファSTBと
検査値バッファIRBのi番目の桁の状態値を調べST
Bの状態値が物体有を示す1でIRBの値が物体なしを
示す0であるとき物体配列検出部1のi番目のセンサ検
出域を物体が通過したものと判断する。
OC1: The bit counter is cleared to zero. OC12; The bit counter is incremented, and it is checked whether the numerical value of the incremented result is within the number of sensors or not, and if it exceeds the number of sensors, the inspection for state change detection has been completed, so the process proceeds to step OC2 for ending the counting process. jump. OC13; When the incremented numerical value i of the bit counter BTC is within the number of sensors, it is determined that the state change detection inspection is in progress, and the state value of the i-th digit of the sensor true value buffer STB and the inspection value buffer IRB is checked. ST
When the state value of B is 1 indicating that there is an object and the value of IRB is 0 that indicates that there is no object, it is determined that the object has passed the i-th sensor detection area of the object array detection unit 1.

【0029】STBとIRBのi番目の桁が共にゼロの
ときは物体が検出領域に存在しない状態と判断し、共に
1のときは現在物体が検出領域を通過中と判断する。そ
してSTB側が0でIRBが1のときには物体が検出域
に丁度度突入した状態と判断し、ダブルカウントを防ぐ
ためこの状態は計数インクリメントの対象とせず、ST
Bが1で1RBが0を検出された場合以外OC12のステ
ップに戻る。
When both the i-th digit of STB and IRB are zero, it is determined that the object does not exist in the detection area, and when both are 1, it is determined that the object is currently passing through the detection area. When the STB side is 0 and the IRB is 1, it is determined that the object has just entered the detection area, and in order to prevent double counting, this state is not targeted for counting increment, and ST
Return to the step of OC12 except when B is 1 and 1RB is 0.

【0030】OC14;上記OC13のステップでSTBが
1でIRBが0を検出したときのみ、ビットカウンタB
TCの置数iの番号の計数カウンタOCiの置数に1を
加える。図6の実施例はセンサ出力バッファをSO1,
SO2,SO3の3段とし三回一致のデータを計数に使
用する実施例における状態判定プログラム部分のフロー
を示しており、図5のフローと同等に機能する。即ち、
センサ出力バッファに格納された引き続く3ケの読取値
a,b,cの論理積処理a×b×cにより3データが一
致する桁には一致した値が、一致しない桁は0が置かれ
る。
OC14; Bit counter B only when STB is 1 and IRB is 0 is detected in the above OC13 step.
1 is added to the number of the counting counter OCi having the number of the number i of TC. In the embodiment of FIG. 6, the sensor output buffer is SO1,
The flow of the state determination program part in the embodiment in which the data of three stages of SO2 and SO3 and three times coincidence is used for counting is shown, and it functions in the same manner as the flow of FIG. That is,
By the logical product processing a × b × c of the subsequent three read values a, b, and c stored in the sensor output buffer, the value that matches the three data is set to the matched value, and the digit that does not match is set to zero.

【0031】一方、2組のデータ間の排他的論理和処理
と、この処理結果の和を求める処理c○b+a○b+a
○cによってデータが一致しない桁に1が置かれ、その
他の桁には0が置かれたデータEB4が得られるのでこ
のEB4とセンサ真値バッファSTBに格納されている
前回サンプリング周期に確定している物体配列検出部1
の状態の値Tとの論理積をとると、連続する3回のサン
プリングにおいて状態検出値が一致しなかった桁の状態
値に置き替えられ、その他の桁の0となるデータEB6
が得られる。そして、このEB6と3回一致のデータで
あるa×b×cの結果とを論理和を求めると前回サンプ
リング周期における処理も含め3回サンプリング一致の
データが得られるのでこれを検査値バッファに納め状態
検査処理を終了し、次に図5によって説明の検出部を通
過した物体の有無を検出して計数値に加算するOC11か
らOC2を実行してサンプリングタイマ割込処理よりも
どる。
On the other hand, the exclusive OR processing between two sets of data and the processing for obtaining the sum of the processing results c ○ b + a ○ b + a
The data EB4 in which 1 is placed in the digit where the data does not match and 0 is placed in the other digits by c is obtained. Therefore, the EB4 and the previous sampling cycle stored in the sensor true value buffer STB are determined. Object array detector 1
When the logical product is obtained with the value T of the state, the data EB6 is replaced with the state value of the digit whose state detection value does not match in three consecutive samplings and becomes 0 of the other digits.
Is obtained. Then, if the logical sum of EB6 and the result of a × b × c which is the data of three times matching is obtained, the data of three times sampling matching including the processing in the previous sampling cycle is obtained, and this is stored in the inspection value buffer. After the state inspection process is completed, OC11 to OC2, which detect the presence or absence of an object that has passed through the detection unit described with reference to FIG. 5 and add it to the count value, are executed to return to the sampling timer interrupt process.

【0032】3回一致をセンサ出力状態の判定条件とす
ると、精度は高いが処理速度が遅くなり高速の計測がで
きない。そこで連続する3回のサンプリング周期に読み
込まれてセンサ出力バッファのSO1,SO2SO3デ
ータヒグメントに格納された状態データa,b,cを用
いるが二回一致のデータを真値として採用することによ
り処理ステップ数をへらす状態判定プログラムの実施例
を図7に示し以下にこのプログラムを説明する。
If three times coincidence is used as the determination condition of the sensor output state, the accuracy is high, but the processing speed is slow and high-speed measurement cannot be performed. Therefore, the state data a, b, and c that are read in three consecutive sampling cycles and stored in the SO1, SO2SO3 data segments of the sensor output buffer are used, but processing is performed by adopting twice coincident data as a true value. An embodiment of a state determination program for reducing the number of steps is shown in FIG. 7, and this program will be described below.

【0033】図7において前々回サンプリング周期に得
られセンサ出力状態値cと、前回サンプリング周期にお
けるセンサ出力状態値bの排他的論理和b○cを求める
処理によって、bとcとで一致しない桁に値1が置かれ
その他は0となるデータEB1が得られるので、このデ
ータと今回サンプリング周期で得られたデータaとの論
理積EB3をとると、bとc間で一致しなかった桁をa
の相当する桁の値で置き替えたデータつまりb,c間で
不一致の桁についてはaとb,cのいづれか一方と一致
した二者一致の状態値が選択されることとなる。
In FIG. 7, by the process of obtaining the exclusive OR b ○ c of the sensor output state value c obtained in the previous sampling period and the sensor output state value b in the previous sampling period, it is determined that the digits b and c do not match. Since the data EB1 in which the value 1 is placed and 0 otherwise is obtained, the logical product EB3 of this data and the data a obtained in the sampling period this time is taken, and the digit which does not match between b and c is a
For the data replaced by the value of the corresponding digit, that is, for the digit that does not match between b and c, the state value of the binary match that matches either one of a, b, and c is selected.

【0034】そこでbとc間の二者一致データのみが残
るbとcの論理積b×cと上記のEB3のデータの論理
和をとるとa,b,cデータ間で2者が一致した状態値
によってなるデータが得られるのでこれを検査値バッフ
ァIRBに格納し計数処理プログラムの実行に移行す
る。この3周期サンプリング2者一致データ抽出処理方
式においては前回サンプリング処理において確定したセ
ンサ真値バッファSTBに格納されたデータとの照合プ
ロセスは不要となる。
Then, if the logical product of the logical product b × c of b and c and the above-mentioned data of EB3 is obtained, only the binary coincidence data between b and c and the a, b and c data are in agreement. Since the data consisting of the state value is obtained, it is stored in the inspection value buffer IRB, and the counting processing program is executed. In this three-period sampling two-person coincidence data extraction processing method, the collation process with the data stored in the sensor true value buffer STB determined in the previous sampling processing becomes unnecessary.

【0035】[0035]

【発明の効果】本発明による並列移送物の計数装置にお
いては、移送物が物体配列検出部の物体センサの検出域
を通過する時間間隔中に複数回の物体有無の状態を読み
取って検査し、複数回の読み取り値が一致するデータを
物体センサ出力状態値として計数処理しているので、ノ
イズなどによって物体センサの出力に誤信号が侵入する
ことがあっても、誤信号は除去されて正しい計数結果を
得ることができる。
In the counting apparatus for parallel transported objects according to the present invention, the presence or absence of an object is read and inspected a plurality of times during a time interval in which the transported object passes through the detection area of the object sensor of the object array detection unit. Data that matches the readings of multiple times is counted as the output value of the object sensor, so even if an erroneous signal may enter the output of the object sensor due to noise, etc., the erroneous signal is removed and the correct counting is performed. The result can be obtained.

【0036】また、物体配列検出部の出力の読み取りお
よび読み取りデータの処理は、計数部に設けたマイクロ
コンピュータのデータバスのビット巾を単位とするワー
ド単位で行っているので並列移送路の個別移送路毎に処
理する場合にくらべて装置を簡素に構成することができ
るという効果が得られる。そして、センサ出力バッファ
を2段のメモリセグメントで構成し、2データ一致を検
査合格条件とする計数装置は装置の構成と処理のステッ
プが簡素となり3段のメモリセグメントでセンサ出力バ
ッファを構成し3データ一致を検査合格条件とする装置
では高い信頼度の計数結果を得ることができる。
Further, the reading of the output of the object array detection unit and the processing of the read data are performed in word units with the bit width of the data bus of the microcomputer provided in the counting unit as a unit. The effect that the device can be configured simply compared to the case of processing for each road is obtained. Then, the sensor output buffer is composed of two-stage memory segments, and the counting device that uses the two data coincidence as the inspection pass condition simplifies the configuration and processing steps of the device, and configures the sensor output buffer with three-stage memory segments. A device that uses data matching as a condition for passing an inspection can obtain a counting result with high reliability.

【0037】またセンサ出力バッファを3段とし3デー
タの巾2データの一致を検査合格条件とする装置では検
査処理内容が簡素でステップ数も少ないので早い計数処
理速度が得られるという効果が得られる。
Further, in an apparatus in which the sensor output buffer is three stages and the width of three data is the condition of passing the inspection for two data, the inspection processing contents are simple and the number of steps is small, so that an effect that a high counting processing speed can be obtained can be obtained. .

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

【図1】本発明による並列移物の計数装置の一実施例の
概略構成図
FIG. 1 is a schematic configuration diagram of an embodiment of a parallel moving object counting apparatus according to the present invention.

【図2】並列移送路と物体センサの配列説明図FIG. 2 is an explanatory view of an array of parallel transfer paths and object sensors.

【図3】連接して移送される円形断面物の有無読取状況
説明図
FIG. 3 is an explanatory diagram of the presence / absence reading status of circular cross-section objects that are connected and transferred.

【図4】データ処理基本フロー図[Figure 4] Basic data processing flow chart

【図5】2データ一致検査計数処理の論理フロー図FIG. 5 is a logic flow diagram of a 2-data coincidence check counting process.

【図6】3データ一致検査計数処理の論理フロー図FIG. 6 is a logic flow diagram of 3 data coincidence check counting processing.

【図7】3データ中2データ一致検査計数処理の論理フ
ロー図
FIG. 7 is a logic flow diagram of 2 data coincidence check counting processing out of 3 data.

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

1 物体配列検出部 11 センサ 2 計数部 3 マイクロコンピュータ 4 システムクロック 5 サンプリング周期タイマ 6 パラレルインタフェース 7 RAM 8 ROM 1 Object Array Detection Unit 11 Sensor 2 Counting Unit 3 Microcomputer 4 System Clock 5 Sampling Cycle Timer 6 Parallel Interface 7 RAM 8 ROM

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】計数対象物が並列して移送される移送路の
各々に計数対象物の有無を検出する物体センサを配列し
てなる物体配列検出部と、該物体配列検出部の出力の変
化を捉えて検出部を通過した計数対象物の個数を数える
処理を行う計数部とからなる移送物の計数装置であっ
て、 前記計数部は、マイクロコンピュータと、前記物体配列
検出部の出力の状態を読み取って計数演算を実行する周
期を与えるサンプリング周期タイマと、このサンプリン
グタイマのカウントアップ信号毎に物体配列検出部の各
物体センサの出力状態を読み取って物体有無配列状態を
ビット単位で示す配列符号として前記マイクロコンピュ
ータに転送するパラレルインタフェースと、マイクロコ
ンピュータにおいて実行される演算と処理の手順が格納
されているROMと、演算処理の工程で生成される符号
と数値とを一時記憶するRAM、ならびに計測部の前記
各構成要素の動作の基本タイミングを与えるシステムク
ロックとからなり、 前記サンプリング周期タイマの周期は、計数対象物が前
記物体配列検検出部を通過する期間中に計数対象物の有
無の検出読み取りを複数回実行可能な時間間隔であり、 前記RAMには、前記パラレルインタフェースから転送
されるセンサ出力状態符号を転送順に複数個格納してお
くセンサ出力バッファと、前回のサンプリング周期にお
ける演算と処理によって確定した物体配列状況を表すセ
ンサ出力の真値を格納しておくセンサ真値バッファと、
引き続く次のサンプリング周期に読み取った前記物体配
列検出部各センサの出力状態符号データを含む前記セン
サ出力バッファに格納されている複数のセンサの出力状
態符号データを用いる検査処理によって得られたセンサ
の出力状態符号データの検査結果を格納する検査値バッ
ファと、計数対象物が検出される毎に1単位の加算を繰
り返す計数対象物移送路の各々に対応する計数カウン
タ、および演算処理の過程で一時記憶が必要となる符号
数値を格納しておく補助バッファの領域が確保されてお
り、 前記サンプリング周期タイマのカウントアップ毎に、前
記ROMからマイクロコンピュータが呼び出して行う処
理が、前記センサ出力バッファに格納の複数個のセンサ
出力状態データとセンサ真値バッファに格納情報の比較
検査を行って予め定めたサンプリング回数の内、予め定
めた回数一致するデータを前記検査値バッファに納める
状態検査処理と、続いて前記センサ真値バッファ格納デ
ータと前記検査値バッファ格納データとをビット桁毎に
比較し、センサ真値バッファ格納値が物体有りで、検査
値バッファ格納値が物体無しであるとき、この変化を示
すビット桁に対応する移送路を実際に物体が通過したも
のとしてRAMに設けられた当該移送路に対応する計数
カウンタに1単位を加算する計数処理であることを特徴
とする移送物の計数装置。
1. An object array detecting section in which an object sensor for detecting the presence or absence of the counting object is arranged in each of the transfer paths along which the counting object is transferred in parallel, and a change in the output of the object array detecting section. Is a counting device for counting the number of objects to be counted that have passed through the detection unit, and the counting unit is a microcomputer, and the output state of the object array detection unit. Sampling cycle timer that gives a cycle for reading and performing a counting operation, and an array code that indicates the object presence / absence array status in bit units by reading the output state of each object sensor of the object array detection unit for each count-up signal of this sampling timer A parallel interface for transferring data to the microcomputer as an RO and a RO storing the procedure of calculation and processing executed in the microcomputer. M, a RAM that temporarily stores a code and a numerical value generated in the process of arithmetic processing, and a system clock that gives a basic timing of the operation of each component of the measurement unit, and the cycle of the sampling cycle timer is It is a time interval at which the detection / presence of the presence / absence of the counting object can be executed a plurality of times during the period in which the counting object passes through the object array detection / detection unit. A sensor output buffer that stores a plurality of codes in the order of transfer, and a sensor true value buffer that stores the true value of the sensor output that represents the object array state determined by the calculation and processing in the previous sampling cycle,
Output of the sensor obtained by the inspection process using the output state code data of the plurality of sensors stored in the sensor output buffer including the output state code data of each sensor of the object array detection unit read in the subsequent next sampling cycle An inspection value buffer for storing the inspection result of the state code data, a counting counter corresponding to each counting object transfer path that repeats addition of one unit each time the counting object is detected, and temporary storage in the course of arithmetic processing The area of the auxiliary buffer for storing the coded value required for is stored, and the processing that the microcomputer calls from the ROM every time the sampling period timer counts up is stored in the sensor output buffer. Preliminary testing is performed by comparing the output data of multiple sensors and the information stored in the sensor true value buffer. Of the predetermined number of sampling times, a state inspection process of storing data that matches a predetermined number of times in the inspection value buffer, and then compares the sensor true value buffer storage data and the inspection value buffer storage data bit by bit. However, when the sensor true value buffer stored value has an object and the inspection value buffer stored value has no object, it is provided in the RAM as if the object actually passed through the transfer path corresponding to the bit digit indicating this change. An apparatus for counting transferred objects, which is a counting process for adding one unit to a counter corresponding to the transfer path.
【請求項2】センサ出力バッファに格納しておくセンサ
出力状態データが引き続く2回のサンプリング周期に物
体配列検出部から読み取られたデータであり、サンプリ
ング周期タイマのカウントアップ毎に行う状態検査処理
が、2データ一致の検査処理であることを特徴とする請
求項1に記載の移送物の計数装置。
2. A sensor output state data stored in a sensor output buffer is data read from an object array detection unit in two consecutive sampling cycles, and a state inspection process performed every time the sampling period timer counts up. 2. The transported object counting device according to claim 1, wherein the inspection processing is a data matching test.
【請求項3】センサ出力バッファに格納しておくセンサ
出力状態データが引き続く3回のサンプリング周期に物
体配列検出部から読み取られたデータであり、サンプリ
ング周期タイマのカウントアップ毎に行う状態検査処理
が、3データ一致の検査処理であることを特徴とする請
求項1に記載の移送物の計数装置。
3. The sensor output state data stored in the sensor output buffer is data read from the object array detection unit in three consecutive sampling periods, and the state inspection process performed every time the sampling period timer counts up. 3. The counting apparatus for transported objects according to claim 1, wherein the inspection processing is a data matching test.
【請求項4】センサ出力バッファに格納しておくセンサ
出力状態データが引き続く3回のサンプリング周期に物
体配列検出部から読み取られたデータであり、サンプリ
ング周期タイマのカウントアップ毎に行う状態検査処理
処理が、3データのうち2データの一致の検査処理であ
り、前回のサンプリング周期の処理によって確定してセ
ンサ真値バッファに格納されているセンサ真値データは
検査処理に使用しないとを特徴とする請求項1に記載の
移送物の計数装置。
4. The sensor output state data stored in the sensor output buffer is data read from the object array detection unit in three consecutive sampling cycles, and the state inspection processing is performed every time the sampling cycle timer counts up. Is an inspection process for matching 2 data out of 3 data, and the sensor true value data stored in the sensor true value buffer, which is determined by the process of the previous sampling cycle, is not used for the inspection process. The counting device for the transported material according to claim 1.
JP14881194A 1994-06-30 1994-06-30 Counter for transferred materials Pending JPH0816751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14881194A JPH0816751A (en) 1994-06-30 1994-06-30 Counter for transferred materials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14881194A JPH0816751A (en) 1994-06-30 1994-06-30 Counter for transferred materials

Publications (1)

Publication Number Publication Date
JPH0816751A true JPH0816751A (en) 1996-01-19

Family

ID=15461247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14881194A Pending JPH0816751A (en) 1994-06-30 1994-06-30 Counter for transferred materials

Country Status (1)

Country Link
JP (1) JPH0816751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100578013B1 (en) * 2005-05-26 2006-05-11 현대제철 주식회사 Bar Rolling Bundle Performance Process

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100578013B1 (en) * 2005-05-26 2006-05-11 현대제철 주식회사 Bar Rolling Bundle Performance Process

Similar Documents

Publication Publication Date Title
US4784275A (en) Verification systems for small objects
US7765445B2 (en) Analog testing of ring oscillators using built-in self test apparatus
CN109848070A (en) A kind of product sorting system and method
CA1125869A (en) Logic circuit
CA2220713C (en) Target light detection
US5550838A (en) Method for testing characteristics of a semiconductor memory device in a series of steps
JPS60120217A (en) Photoelectric type displacement detecting device
CN112101468B (en) A method for determining abnormal sequences in sequence combinations
JPH0816751A (en) Counter for transferred materials
JPS63276688A (en) Banknote distinguisher
CN112765011A (en) Quality control state determination method and device and electronic equipment
JP2001208795A (en) Carrier identification system, carrier identification method, and storage medium
CA1161557A (en) Data storage means and reading system therefor
CN110225025B (en) Method, device, electronic device and storage medium for acquiring abnormal network data behavior model
CN115591801A (en) A product sorting control method for a multi-stacking station mixed output line
JPH04178895A (en) Coin discriminating/counting device
KR0157591B1 (en) The counting system for fish
KR970056191A (en) ATM switch
SU1442892A2 (en) Method of checking surface defects
SU752137A1 (en) Apparatus for measuring relative deformation of material
CN85105321B (en) Code error detection circuit for digital communication system
JP3357455B2 (en) Detector inspection equipment
SU1278855A1 (en) Device for checking and diagnostic testing of digital units
SU1651362A2 (en) Device for checking the order of pulse signals alternation
RU2194273C1 (en) Multichannel flaw detector