JP2760015B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JP2760015B2
JP2760015B2 JP1056696A JP5669689A JP2760015B2 JP 2760015 B2 JP2760015 B2 JP 2760015B2 JP 1056696 A JP1056696 A JP 1056696A JP 5669689 A JP5669689 A JP 5669689A JP 2760015 B2 JP2760015 B2 JP 2760015B2
Authority
JP
Japan
Prior art keywords
retries
data carrier
data
work
error
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.)
Expired - Fee Related
Application number
JP1056696A
Other languages
Japanese (ja)
Other versions
JPH02235104A (en
Inventor
淳 高島
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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP1056696A priority Critical patent/JP2760015B2/en
Publication of JPH02235104A publication Critical patent/JPH02235104A/en
Application granted granted Critical
Publication of JP2760015B2 publication Critical patent/JP2760015B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 《発明の分野》 この発明は、移動するワークに取付けられたデータキ
ャリアと非接触の通信をすることにより、ワークについ
ての固有の情報を収集するID(自動認識)システム用イ
ンターフェースを備えたプログラマブル・コントローラ
に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of the Invention> The present invention relates to an ID (automatic recognition) system that collects unique information about a work by performing non-contact communication with a data carrier attached to a moving work. The present invention relates to a programmable controller having an interface for use.

《発明の概要》 この発明は、IDシステム機能を備えたプログラマブル
・コントローラにおいて、ワークに取付けられたデータ
キャリアとのデータ授受通信に先立って行われる発呼動
作のリトライ数と、データキャリアごとに行われたそれ
までのリトライ数の最大値をそれぞれ表示することによ
り、外乱等により影響される通信状態を容易に把握でき
るようにしたものである。
<< Summary of the Invention >> The present invention relates to a programmable controller having an ID system function, the number of retries of a call operation performed prior to data exchange with a data carrier attached to a work, and the number of retries performed for each data carrier. By displaying the maximum value of the number of retries so far, the communication state affected by disturbance or the like can be easily grasped.

《従来技術とその問題点》 従来、IDシステム機能を備えたプログラマブル・コン
トローラにおいては、ワークに取付けられたデータキャ
リアとのデータ授受が非接触の空間通信であるため、ノ
イズ等の外乱が混入しやすく通信エラーが発生しやす
い。そのため、第4図のフローチャートに示すように、
正常な通信が完了するまでは、通信エラーが発生するた
びに、再度発呼動作を繰返し、その回数をリトライ数と
して計数し、そのリトライ数がリトライカウンタRCに設
定しておいた回数,例えば10に達すると、通信エラーで
あると判断しエラー信号を出力している。
<Prior art and its problems> Conventionally, in a programmable controller having an ID system function, since data exchange with a data carrier attached to a work is non-contact spatial communication, disturbance such as noise is mixed. Communication errors are easy to occur. Therefore, as shown in the flowchart of FIG.
Until normal communication is completed, each time a communication error occurs, the calling operation is repeated again, the number of times is counted as the number of retries, and the number of retries is the number set in the retry counter RC, for example, 10 times. Is reached, it is determined that a communication error has occurred, and an error signal is output.

しかしながらこのように、単に設定されたリトライ数
に達した場合だけ、エラー出力するのでは、個々のワー
クについてどの位のリトライ数でデータ授受通信が成立
しているか、つまり、個々のワークに関する外乱の影響
がどの程度であるかについて知ることができない不具合
がある。
However, as described above, if an error is output only when the set number of retries has been reached, the number of retries that can be established for data transfer communication for each work, that is, the disturbance of each work, There is a problem that it is not possible to know the degree of the effect.

《発明の目的》 この発明は上記の問題を解消するためになされたもの
で、その目的とするところは、個々のワークのデータキ
ャリアと通信が成立した場合であっても、それまでのリ
トライ数を知ることによりどの程度の外乱影響があるか
を容易に把握できるプログラマブル・コントローラを提
供することにある。
<< Object of the Invention >> The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to achieve a retry count up to that point even when communication with a data carrier of an individual work is established. It is an object of the present invention to provide a programmable controller which can easily know the degree of disturbance influence by knowing the degree of disturbance.

《発明の構成と効果》 この発明は、上記目的を達成するために、移動するワ
ークに取付けられワークに関する情報を収納したデータ
キャリアと非接触でデータ授受を行なうID用インターフ
ェースと、 データ授受通信に先立ち、上記ID用インターフェース
からデータキャリアに対して、正当な応答があるまで行
われる発呼動作のリトライ数を記憶する記憶手段と、 同一のデータキャリアに対して、所定のリトライ数が
完了しても応答が得られない場合に、発呼動作を停止
し、エラーを出力するエラー出力手段と、 データキャリアごとのリトライ数の最大値を記憶更新
する記憶更新手段と、 この記憶更新手段に記憶されている最大リトライ数、
および発呼動作最中におけるそのデータキャリアについ
てのリトライ数をそれぞれ出力する出力手段と、 を備えたことを特徴とする。
<< Structure and Effect of the Invention >> In order to achieve the above object, the present invention provides an ID interface for transferring data in a non-contact manner with a data carrier attached to a moving work and storing information on the work, and a data transfer communication. Prior to the above, the storage means for storing the number of retries of a call operation performed until a valid response is made from the ID interface to the data carrier, and the predetermined number of retries for the same data carrier is completed. Error response means for stopping the calling operation and outputting an error when no response is obtained, storage updating means for storing and updating the maximum value of the number of retries for each data carrier, and storing in the storage updating means. Maximum retries,
And output means for outputting the number of retries for the data carrier during the calling operation.

このように構成したことにより、この発明のプログラ
マブル・コントローラでは、ワークに取付けられたデー
タキャリアとのデータ授受通信に先立って行われる発呼
動作のリトライ数と、データキャリアごとに行われたそ
れまでのリトライ数の最大値が出力されることにより、
外乱等に影響される通信状態の把握を容易に行なうこと
ができる。
With this configuration, in the programmable controller of the present invention, the number of retries of the call operation performed prior to the data transfer communication with the data carrier attached to the work, and the number of retries performed for each data carrier. By outputting the maximum value of the retry number of
It is possible to easily grasp the communication state affected by disturbance or the like.

《実施例》 次にこの発明の実施例を図面に基づいて説明する。<< Example >> Next, an example of the present invention will be described with reference to the drawings.

第1図は、実施例に係るプログラマブル・コントロー
ラにより構成されるIDシステムを示すものであり、プロ
グラマブル・コントローラ本体は、IDセンサユニット1,
CPU部2,電源部3等を組合せて構成されている。
FIG. 1 shows an ID system constituted by a programmable controller according to an embodiment.
It is configured by combining a CPU section 2, a power supply section 3, and the like.

IDセンサユニット1には、ワーク6の移動経路に配設
されたリード・ライトヘッド4と、リトライ数の設定デ
ータ等の入力や計数されたリトライ数等のモニタができ
るハンディタイプのプロコン7が接続されている。
The ID sensor unit 1 is connected to a read / write head 4 disposed on the movement path of the work 6 and a handy type computer 7 capable of inputting setting data of the number of retries and monitoring the counted number of retries. Have been.

ワーク6に関する情報を格納しているデータキャリア
5がワーク6の移動に伴い所定の位置に到達すると、リ
ード・ライトヘッド4は、データキャリア5内のデータ
を非接触通信により読取りを開始する。
When the data carrier 5 storing information on the work 6 reaches a predetermined position as the work 6 moves, the read / write head 4 starts reading data in the data carrier 5 by non-contact communication.

第2図は、IDセンサユニット1の電気的構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing an electrical configuration of the ID sensor unit 1.

インターフェース回路11は、本体側のCPU部2とI/Oバ
ス21を介して接続され、本体側と、共有メモリ12および
チャネルデータ用のI/O回路13のデータ入出力の仲介を
する。
The interface circuit 11 is connected to the CPU unit 2 of the main body via an I / O bus 21 and mediates data input / output of the shared memory 12 and the I / O circuit 13 for channel data with the main body.

コネクタ19に接続されているプロコン7は、直接CPU1
5からデータの入出力が制御される。
The computer 7 connected to the connector 19 is directly connected to the CPU1.
Data input / output is controlled from 5.

コネクタ10に接続されているリード・ライトヘッド4
は、R/Wヘッド通信インターフェース18を介してCPU15に
接続されている。
Read / write head 4 connected to connector 10
Are connected to the CPU 15 via the R / W head communication interface 18.

I/O回路14は、SW入力およびLEDへの表示出力が行われ
る。
The I / O circuit 14 performs SW input and display output to an LED.

その他、システムメモリ16,ワークメモリ17,共有メモ
リ12,I/O回路13等は、CPU15に接続され、IDセンサユニ
ットとしての機能を実現するために用いられる。
In addition, the system memory 16, the work memory 17, the shared memory 12, the I / O circuit 13, and the like are connected to the CPU 15 and used to realize a function as an ID sensor unit.

次にこの実施例における動作を第3図のフローチャー
トに基づき説明する。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG.

まず、システムの動作が開始されると、リトライ数の
現在値を計数するカウンタRC1をクリアする(ステップ3
1)。
First, when the operation of the system is started, the counter RC1 for counting the current value of the number of retries is cleared (step 3).
1).

次に、ワーク6が所定の位置に到達し、リード・ライ
トヘッド4がデータキャリア5に対し、発呼動作を開始
する(ステップ32)。
Next, the work 6 reaches a predetermined position, and the read / write head 4 starts a calling operation to the data carrier 5 (step 32).

発呼に対してデータキャリア5から所定のレスポンス
が一定時間内に得られない場合、または通信が開始され
た後にエラーが検出された場合、エラーと判断し(ステ
ップ33N)、カウンタRC1をインクリメントする(ステッ
プ34)。
If a predetermined response is not obtained from the data carrier 5 within a predetermined time for the call, or if an error is detected after the communication is started, it is determined that an error has occurred (step 33N), and the counter RC1 is incremented. (Step 34).

インクリメントしたカウンタRC1の値が設定数1に満
たない場合(ステップ35N)、ステップ32へ進み、発呼
動作を繰返す。
When the incremented value of the counter RC1 is less than the set number 1 (step 35N), the process proceeds to step 32, and the calling operation is repeated.

さらにエラーチェックを行ない、正常に通信ができた
場合は(ステップ33Y)、その時点のカウンタRC1の値
を、メモリR1に記憶する(ステップ37)。
Further, an error check is performed, and if communication is normally performed (step 33Y), the value of the counter RC1 at that time is stored in the memory R1 (step 37).

インクリメントしたカウンタRC1の値が設定数10に到
達した場合(ステップ35Y)、エラー信号を出力する
(ステップ36)。
When the incremented value of the counter RC1 reaches the set number 10 (step 35Y), an error signal is output (step 36).

ここでリトライ数の現在値を計数したカウンタRC1の
値と、それ以前までのワークについてのリトライ数の最
大値を計数したカウンタRC2の値と比較し、RC1の値がそ
れまでの計数値を越えた場合は(ステップ38N)、カウ
ンタRC2にカウンタRC1の値を更新し、さらにその値をメ
モリR2へ記憶する(ステップ39)。
Here, the value of the counter RC1 that counts the current value of the number of retries is compared with the value of the counter RC2 that counts the maximum value of the number of retries for the work up to that point, and the value of RC1 exceeds the count value up to that point. If it has (Step 38N), the value of the counter RC1 is updated to the counter RC2, and the value is stored in the memory R2 (Step 39).

カウンタRC1の値が、カウンタRC2の値に満たない場合
は(ステップ38Y)、そのままで処理を終了する。
If the value of the counter RC1 is less than the value of the counter RC2 (step 38Y), the process ends as it is.

ここでメモリR1,R2に順次記憶更新されたリトライ数
の現在値と、それまでの最大値は、随時、プロコン7の
キー操作でプロコン7の表示部に表示させることができ
る。またこのメモリR1,R2の記憶内容については、キー
操作によりクリアすることもできる。
Here, the current value of the number of retries sequentially stored and updated in the memories R1 and R2 and the maximum value up to that time can be displayed on the display unit of the computer 7 by operating the key of the computer 7 at any time. The contents stored in the memories R1 and R2 can be cleared by key operation.

この実施例では、IDシステムの動作中に、プロコン7
の操作により、リード・ライトヘッド4とデータキャリ
ア5との間の通信のリトライ数が確認できるため、シス
テムの立上げ時や、何等かの外乱要因により、通信エラ
ーが頻発するような場合にも、その通信エラー発生状況
が容易に把握できて、外乱対策を施した結果を的確に判
断できる効果が得られる。
In this embodiment, during operation of the ID system,
Operation, the number of retries of communication between the read / write head 4 and the data carrier 5 can be confirmed. Therefore, even when a communication error frequently occurs at the time of system startup or due to some disturbance factor. Thus, the communication error occurrence status can be easily grasped, and the effect of appropriately taking the result of the disturbance countermeasure can be obtained.

【図面の簡単な説明】 第1図はこの発明の実施例が用いられたIDシステムの構
成図、第2図は第1図要部の電気的構成を示すブロック
図、第3図は動作を示すフローチャート、第4図は従来
例の動作を示すフローチャートである。 1……IDセンサユニット 2……CPU部 3……電源部 4……リード・ライトヘッド 5……データキャリア 6……ワーク 7……プロコン 10……コネクタ 11……インターフェース回路 12……共有メモリ 13……I/O回路 14……I/O回路 15……CPU 16……システムメモリ 17……ワークメモリ 18……R/Wヘッド通信インターフェース 19……コネクタ 21……I/Oバス
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram of an ID system using an embodiment of the present invention, FIG. 2 is a block diagram showing an electric configuration of a main part of FIG. 1, and FIG. FIG. 4 is a flowchart showing the operation of the conventional example. 1 ID sensor unit 2 CPU unit 3 Power supply unit 4 Read / write head 5 Data carrier 6 Work 7 Computer 10 Connector 11 Interface circuit 12 Shared memory 13 I / O circuit 14 I / O circuit 15 CPU 16 System memory 17 Work memory 18 R / W head communication interface 19 Connector 21 I / O bus

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】移動するワークに取付けられワークに関す
る情報を収納したデータキャリアと非接触でデータ授受
を行なうID用インターフェースと、 データ授受通信に先立ち、上記ID用インターフェースか
らデータキャリアに対して、正当な応答があるまで行わ
れる発呼動作のリトライ数を記憶する記憶手段と、 同一のデータキャリアに対して、所定のリトライ数が完
了しても応答が得られない場合に、発呼動作を停止し、
エラーを出力するエラー出力手段と、 データキャリアごとのリトライ数の最大値を記憶更新す
る記憶更新手段と、 この記憶更新手段に記憶されている最大リトライ数、お
よび発呼動作最中におけるそのデータキャリアについて
のリトライ数をそれぞれ出力する出力手段と、 を備えたことを特徴とするプログラマブル・コントロー
ラ。
An ID interface for transferring data in a non-contact manner with a data carrier which is attached to a moving work and stores information on the work. Prior to the data transfer communication, the ID interface transmits a valid data to the data carrier. Storage means for storing the number of retries of a call operation performed until a proper response is received, and stop the call operation when a response is not obtained even if the predetermined number of retries is completed for the same data carrier. And
Error output means for outputting an error, storage update means for storing and updating the maximum value of the number of retries for each data carrier, maximum number of retries stored in the storage update means, and the data carrier during the calling operation Output means for respectively outputting the number of retries for the programmable controller.
JP1056696A 1989-03-09 1989-03-09 Programmable controller Expired - Fee Related JP2760015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1056696A JP2760015B2 (en) 1989-03-09 1989-03-09 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1056696A JP2760015B2 (en) 1989-03-09 1989-03-09 Programmable controller

Publications (2)

Publication Number Publication Date
JPH02235104A JPH02235104A (en) 1990-09-18
JP2760015B2 true JP2760015B2 (en) 1998-05-28

Family

ID=13034622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1056696A Expired - Fee Related JP2760015B2 (en) 1989-03-09 1989-03-09 Programmable controller

Country Status (1)

Country Link
JP (1) JP2760015B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6281175B2 (en) 2012-12-07 2018-02-21 株式会社ジェイテクト PLC communication system
JP6204058B2 (en) * 2013-05-07 2017-09-27 株式会社ジェイテクト PLC communication system
JP7262762B2 (en) * 2019-06-03 2023-04-24 株式会社Kmc PRODUCTION MONITORING DEVICE, PRODUCTION MONITORING SYSTEM, PRODUCTION MONITORING METHOD AND PROGRAM

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60258610A (en) * 1984-06-05 1985-12-20 Yokogawa Hokushin Electric Corp Programmable controller
JPS6374556A (en) * 1986-09-17 1988-04-05 Toshiba Corp Automatic control device for existence

Also Published As

Publication number Publication date
JPH02235104A (en) 1990-09-18

Similar Documents

Publication Publication Date Title
KR880001167B1 (en) Microcomputer system with buffer in peripheral storage control
JPH02504054A (en) How to ensure the integrity of information stored in a control device
JP2994589B2 (en) Electronic wiring system by cyclic automatic communication
JP2760015B2 (en) Programmable controller
US6473841B1 (en) Signal processing apparatus with memory access history storage
JP3017843B2 (en) Elevator transmission control device
JPH0340417B2 (en)
JPH05282244A (en) Information processor
JP2956925B2 (en) Plant control device
US5497481A (en) Microcomputer computer system having plural programmable timers and preventing memory access operations from interfering with timer start requests
JP2676609B2 (en) Data transmission method
JP3089642B2 (en) Data transfer device between processors
JP2919140B2 (en) Semiconductor test method
JP4309800B2 (en) Electronics
JP2838911B2 (en) Electronic disk subsystem
JP2603159B2 (en) Node check device for serial control device and method therefor
JPH0296853A (en) System for checking holding main storage capacity
JPH083727B2 (en) Number duplication detection device in sequence control device
JPH04364538A (en) Information processor
JPH06242821A (en) Programmable controller
JPS5858630A (en) Dma function diagnosing method of centralized control system
JPH0291750A (en) Diagnostic system for bus stack fault
JPS61104387A (en) Magnetic bubble memory control device
JPH0528098A (en) Scsi device
JPS62114047A (en) Storage device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees