JPH07261238A - Camera and information input device therefore - Google Patents

Camera and information input device therefore

Info

Publication number
JPH07261238A
JPH07261238A JP5226894A JP5226894A JPH07261238A JP H07261238 A JPH07261238 A JP H07261238A JP 5226894 A JP5226894 A JP 5226894A JP 5226894 A JP5226894 A JP 5226894A JP H07261238 A JPH07261238 A JP H07261238A
Authority
JP
Japan
Prior art keywords
data
camera
information input
input device
memory
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
JP5226894A
Other languages
Japanese (ja)
Inventor
Yutaka Yoshida
豊 吉田
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP5226894A priority Critical patent/JPH07261238A/en
Publication of JPH07261238A publication Critical patent/JPH07261238A/en
Priority to US08/579,994 priority patent/US5881327A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)

Abstract

PURPOSE:To provide a camera and an information input device capable of easily exchanging information. CONSTITUTION:When an inserted part 17 is inserted into a cartridge chamber 2a so as to mount a camera 1 on a base part 18, the LED and phototransistor of a reflection type photosensor 22 arranged on the top end part of the inserted part 17 are confronted to the phototransistor and LED of a reflection type photosensor 6 respectively. When a shutter button 8 is half depressed after a photographic mode SW 10 is turned on and a PHLSW is set 'P', the camera 1 enters into an information input/output processing mode. Adjustment data to be set on the camera side is displayed on a monitor screen 20a by the key of the main body part, 20 of an information input device 15 and after that, an execution key is depressed. The adjustment data is transformed into serial data by a serial transfer device, to make the LED of the photosensor 22 flicker and this light is made incident on the phototransistor of the photosensor 6. Its output current is converted into a voltage and then, transformed to information data by the serial transfer device to be written in the EEPROM of the camera 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報のやりとりを簡単
に行うカメラ及びカメラ用情報入力装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera and an information input device for a camera for easily exchanging information.

【0002】[0002]

【従来の技術】近年、カメラのエレクトロニクス化が進
み、いろいろな調整項目,例えば測光出力の補正やスト
ロボの発光レベルやバッテリーチェックレベル等をRO
Mに記憶させておき、これをカメラのマイクロコンピュ
ータが参照しながら種々のシーケンスを実行するように
なっている。さらに最近では、書換えのできないROM
に代えてEEPROM(Electrically Erasable & Prog
rammable ROM)等の書換え可能な不揮発性メモリを採用
し、完成品になってからの調整,検査もできるようにし
たものも知られている。
2. Description of the Related Art In recent years, with the advancement of electronics in cameras, various adjustment items such as correction of photometric output, strobe light emission level, battery check level, etc.
It is stored in M, and the microcomputer of the camera refers to it to execute various sequences. More recently, non-rewritable ROM
Instead of EEPROM (Electrically Erasable & Prog
It is also known that a rewritable non-volatile memory such as a rammable ROM) is adopted so that adjustments and inspections can be performed even after the product is completed.

【0003】[0003]

【発明が解決しようとする課題】上記EEPROMを採
用したカメラでは、このEEPROMに情報を書き込ん
だり、EEPROMに書き込まれた情報を参照するため
に、専用の電気的端子を露呈させ、外部の機器と接続す
る必要がある。この端子は、一般ユーザでは簡単に手を
触れることができず、しかも必要があれば簡単に外部の
機器と接続できなければならない。したがって、この端
子を露呈させる機構は複雑にならざるを得なかった。
In a camera adopting the above-mentioned EEPROM, in order to write information in the EEPROM or refer to the information written in the EEPROM, a dedicated electric terminal is exposed to connect with an external device. Need to connect. This terminal cannot be easily touched by general users, and it should be possible to easily connect it to an external device if necessary. Therefore, the mechanism for exposing this terminal must be complicated.

【0004】本発明は以上のような従来技術の欠点を解
決するためになされたもので、情報のやりとりを簡単に
行うことができるカメラ及びカメラ用情報入力装置を提
供することを目的とする。
The present invention has been made to solve the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide a camera and an information input device for a camera that can easily exchange information.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載のカメラは、スプールと一体に回転す
るバーコード板を有する写真フイルムパトローネが収納
されるパトローネ室に反射型ホトセンサを設け、この反
射型ホトセンサによりバーコード板から読み出されたフ
イルム情報とメモリに書き込まれた調整データとを参照
して撮影シーケンスを実行し、かつ前記メモリに前記調
整データを書き込むためのデータ書込みシーケンスが実
行可能なカメラにおいて、前記データ書込みシーケンス
の実行時に、前記受光部から入力される光信号に対応し
た調整データが前記メモリに書き込まれるようにしたも
のである。したがって、専用の電気的端子を複雑な機構
で覆ったり露呈させたりする必要がなくなり、調整デー
タをメモリに簡単に書き込むことができるようになる。
In order to achieve the above object, a camera according to a first aspect of the present invention has a reflection type photo sensor in a patrone chamber in which a photographic film patrone having a bar code plate which rotates integrally with a spool is housed. A data writing sequence for performing a photographing sequence with reference to the film information read from the bar code plate by the reflective photosensor and the adjustment data written in the memory, and writing the adjustment data in the memory. In the camera capable of executing, the adjustment data corresponding to the optical signal input from the light receiving section is written in the memory when the data writing sequence is executed. Therefore, it is not necessary to cover or expose the dedicated electric terminal with a complicated mechanism, and the adjustment data can be easily written in the memory.

【0006】請求項2記載のカメラは、スプールと一体
に回転するバーコード板を有する写真フイルムパトロー
ネが収納されるパトローネ室に反射型ホトセンサを設
け、この反射型ホトセンサによりバーコード板から読み
出されたフイルム情報とメモリに書き込まれた調整デー
タとを参照して撮影シーケンスを実行し、かつ前記メモ
リから前記調整データを読み出すためのデータ読み出し
シーケンスが実行可能なカメラにおいて、前記データ読
み出しシーケンスの実行時に、前記メモリに書き込まれ
た調整データが反射型ホトセンサの投光部から光信号と
して出力されるものである。したがって、専用の電気的
端子等を設ける必要がなく、簡単にカメラの各種設定や
検査等を行うことができる。
According to a second aspect of the present invention, a reflection type photosensor is provided in a patrone chamber in which a photographic film patrone having a bar code plate which rotates integrally with a spool is housed, and the reflection type photo sensor reads out from the bar code plate. In a camera capable of executing a shooting sequence with reference to the film information and the adjustment data written in the memory, and executing a data read sequence for reading the adjustment data from the memory, when executing the data read sequence. The adjustment data written in the memory is output as an optical signal from the light projecting unit of the reflective photosensor. Therefore, it is not necessary to provide a dedicated electric terminal or the like, and various settings and inspections of the camera can be easily performed.

【0007】請求項3記載のカメラ用情報入力装置は、
請求項1記載のカメラに用いられる情報入力装置であっ
て、この情報入力装置はパトローネ室内に進入して前記
反射型ホトセンサの受光部に対面する投光器と、前記メ
モリに書き込む調整データの入力操作に用いられる操作
装置と、この操作装置から入力された調整データを2値
コードに変換して前記投光器を2値コードに対応して点
滅させる制御手段とを備え、この投光器の点滅による光
信号を前記反射型ホトセンサの受光部に入力するもので
ある。したがって、簡単にカメラのメモリに調整データ
を書き込むことができる。
An information input device for a camera according to a third aspect is
An information input device for use in the camera according to claim 1, wherein the information input device is used for inputting adjustment data to be written into the memory, and a projector that enters a chamber of the cartridge and faces a light receiving portion of the reflective photosensor. An operating device to be used and a control means for converting the adjustment data input from the operating device into a binary code and causing the projector to blink according to the binary code are provided, and the optical signal generated by the blinking of the projector is described above. The light is input to the light receiving portion of the reflective photo sensor. Therefore, the adjustment data can be easily written in the memory of the camera.

【0008】請求項4記載のカメラ用情報入力装置は、
請求項3記載のカメラ用情報入力装置において、パトロ
ーネ室内に進入して前記反射型ホトセンサの投光部に対
面し、この投光部からの光信号を受光する受光器と、こ
の受光器に入力された光信号を解読するデコーダと、こ
のデコーダで解読されたデータを表示するモニタとを備
えたものである。したがって、簡単にカメラの状態を把
握することができ、各種の検査を容易に行うことができ
る。
An information input device for a camera according to a fourth aspect is
4. The information input device for a camera according to claim 3, wherein the light receiver enters the chamber and faces the light projecting portion of the reflective photosensor, and receives a light signal from the light projecting portion. It is provided with a decoder for decoding the decoded optical signal and a monitor for displaying the data decoded by the decoder. Therefore, the state of the camera can be easily grasped, and various inspections can be easily performed.

【0009】請求項5記載のカメラ用情報入力装置は、
請求項3記載の投光器,操作装置及び制御手段を、カメ
ラのパトローネ室内に光密に収納される外形をもつデー
タ入力器に組み込んだものである。したがって、簡単に
カメラのメモリに調整データを書き込むことができる。
An information input device for a camera according to claim 5 is
According to a third aspect of the present invention, the light projector, the operating device, and the control means are incorporated into a data input device having an outer shape that is light-tightly housed in a camera chamber of a camera. Therefore, the adjustment data can be easily written in the memory of the camera.

【0010】[0010]

【実施例】図1及び図2において、カメラ1はスプール
3と一体に回転されるバーコード4を備えた写真フイル
ムパトローネ5を用いるもので、カメラ本体2のパトロ
ーネ室2aにバーコードセンサとして設けた反射型ホト
センサ6によってバーコード4から写真フイルム7の各
種情報,例えばISO感度,ラチチュード,撮影可能枚
数等を読み取るようにしている。この反射型ホトセンサ
6は、周知のように、発光ダイオード(LED)とホト
トランジスタから構成される。また、この反射型ホトセ
ンサ6は、後述するように、カメラ本体2に内蔵したE
EPROMのデータ内容を変更する際にも使用される。
なお、写真フイルムパトローネ5の装填はカメラ本体2
の底からドロップインローディング方式で行われる。ま
た、符号2bはパトローネ室2aを開閉する蓋である。
1 and 2, a camera 1 uses a photographic film cartridge 5 having a bar code 4 which is rotated integrally with a spool 3, and is provided in a camera room 2a of a camera body 2 as a bar code sensor. Various information of the photographic film 7, for example, ISO sensitivity, latitude, and the number of photographable images are read from the bar code 4 by the reflective photo sensor 6. As is well known, the reflective photosensor 6 is composed of a light emitting diode (LED) and a phototransistor. The reflection type photo sensor 6 is incorporated in the camera body 2 as described later.
It is also used when changing the data contents of the EPROM.
The photo film cartridge 5 is loaded in the camera body 2
The drop-in loading method is performed from the bottom. Reference numeral 2b is a lid that opens and closes the cartridge chamber 2a.

【0011】カメラ本体2の上部には、シャッタボタン
8が設けられ、背面には、撮影画面サイズを35mmフ
ルサイズ(L;アスペクト比1.46),ワイドサイズ
(H;アスペクト比1.78),パノラマサイズ(P;
アスペクト比2.86)のいずれかに変更するPHLS
W9と、日中シンクロ等の撮影モードをセットする撮影
モードSW10,セルフタイマSW11,デートセット
SW12,デートモードSW13及びデート,電源電池
の容量,フイルムカウンタ等を表示する液晶パネル14
とが設けられている。
A shutter button 8 is provided on the upper portion of the camera body 2, and a photographing screen size of 35 mm full size (L; aspect ratio 1.46) and wide size (H; aspect ratio 1.78) are provided on the back surface. , Panorama size (P;
PHLS to change to any aspect ratio 2.86)
W9 and a liquid crystal panel 14 for displaying a shooting mode SW10 for setting a shooting mode such as daytime synchronization, a self-timer SW11, a date set SW12, a date mode SW13 and a date, a capacity of a power supply battery, a film counter and the like.
And are provided.

【0012】図1下方に示した情報入力装置15は、カ
メラ本体2のパトローネ室2aに挿入される写真フイル
ムパトローネ5と同一形の挿入部17と、基部18と、
コード19を介して基部18に接続され、モニタ画面2
0aと情報入力用のキーボード20bを備えた本体部2
0とからなる。挿入部17の上部には、反射型ホトセン
サ6と同様の反射型ホトセンサ22が取り付けられてい
る。この反射型ホトセンサ22は、挿入部17をカメラ
本体2のパトローネ室2aに挿入した際に、反射型ホト
センサ22のLEDが反射型ホトセンサ6のホトトラン
ジスタと対向し、かつ反射型ホトセンサ22のホトトラ
ンジスタが反射型ホトセンサ6のLEDと対向するよう
に、挿入部17の上部に配置されている。
An information input device 15 shown in the lower part of FIG. 1 includes an insertion portion 17 having the same shape as the photographic film cartridge 5 inserted into the cartridge chamber 2a of the camera body 2, a base portion 18,
The monitor screen 2 is connected to the base 18 via a cord 19.
0a and a keyboard portion 20b for inputting information 2
It consists of 0 and. A reflective photosensor 22 similar to the reflective photosensor 6 is attached to the upper portion of the insertion portion 17. This reflection type photo sensor 22 is such that the LED of the reflection type photo sensor 22 faces the photo transistor of the reflection type photo sensor 6 and the photo transistor of the reflection type photo sensor 22 when the insertion portion 17 is inserted into the cartridge chamber 2a of the camera body 2. Is arranged above the insertion portion 17 so as to face the LED of the reflective photosensor 6.

【0013】カメラ本体1には、図3中破線で囲んだ回
路ブロックSが内蔵されている。この回路ブロックS
は、1チップのマイクロコンピュータMの他に、測距用
IC25,測光用IC26,各種スイッチ群27,レン
ズ移動装置28,シャッタ駆動装置29,フイルム送り
装置30,パーフォ検出装置31,モータ回転角検知装
置32,EEPROM(Electorical Erasable Program
able ROM)34,LEDドライバ35,光電流電圧変換
回路36,反射型ホトセンサ6を備えている。
The camera body 1 contains a circuit block S enclosed by a broken line in FIG. This circuit block S
In addition to the one-chip microcomputer M, the distance measuring IC 25, the photometric IC 26, various switch groups 27, the lens moving device 28, the shutter driving device 29, the film feeding device 30, the perforation detecting device 31, the motor rotation angle detection. Device 32, EEPROM (Electorical Erasable Program)
an able ROM) 34, an LED driver 35, a photocurrent / voltage conversion circuit 36, and a reflective photosensor 6.

【0014】前記マイクロコンピュータMは、マイクロ
プロセッサユニット(MPU)40,ROM41,RA
M42,シリアル転送装置43,I/Oポート44,デ
ータ転送用及びアドレス指定用のバスライン45を1チ
ップ化したものである。またMPU40は、周知のよう
に演算及び制御のための論理回路47と、プログラムカ
ウンタ48,スタックポインタ49,Aレジスタ50,
Bレジスタ51等のレジスタ群、さらにはクロックジェ
ネレータ(図示省略)等から構成されている。
The microcomputer M includes a microprocessor unit (MPU) 40, ROM 41, RA
The M42, the serial transfer device 43, the I / O port 44, and the bus line 45 for data transfer and address designation are integrated into one chip. As is well known, the MPU 40 includes a logic circuit 47 for calculation and control, a program counter 48, a stack pointer 49, an A register 50,
It is composed of a register group such as the B register 51, and a clock generator (not shown).

【0015】ROM41は、図4に示したように、カメ
ラの撮影シーケンスを遂行するためのシーケンスプログ
ラムを格納したシーケンスプログラム格納エリア41a
(先頭番地P)と、デモプログラム格納エリア41b
(先頭番地Q)とから構成されている。なお、シーケン
スプログラムに対してデバッグ作業を可能とするため
に、ROM41にEEPROMを用いることもできる。
RAM42は、ROM41内のシーケンスプログラムが
実行されるときに、各種のデータやアドレスを一時的に
格納するためのワークリエア、及びマイクロコンピュー
タMのレジスタ群のデータを一時的に退避させるための
スタックエリアとして用いられる。測距用IC25,測
光用IC26は、MPU40からのコマンドに従ってそ
れぞれ測距装置25a,測光装置26aの作動を制御
し、得られた測距データ,測光データに従ってI/Oポ
ート44を操作し、レンズ移動装置28やシャッタ駆動
装置29を制御する。シリアル転送装置については後述
する。
The ROM 41, as shown in FIG. 4, has a sequence program storage area 41a in which a sequence program for executing a photographing sequence of the camera is stored.
(Start address P) and demo program storage area 41b
(Starting address Q). It should be noted that an EEPROM may be used as the ROM 41 in order to enable debugging work on the sequence program.
The RAM 42 serves as a work area for temporarily storing various data and addresses and a stack area for temporarily saving the data of the register group of the microcomputer M when the sequence program in the ROM 41 is executed. Used. The distance measuring IC 25 and the photometric IC 26 respectively control the operation of the distance measuring device 25a and the photometric device 26a in accordance with the command from the MPU 40, operate the I / O port 44 according to the obtained distance measuring data and the photometric data, and operate the lens. The moving device 28 and the shutter driving device 29 are controlled. The serial transfer device will be described later.

【0016】I/Oポート44は、MPU40からのア
ドレス指定にしたがい、測距用IC25,測光用IC2
6,スイッチ群27,レンズ移動装置28,シャッタ駆
動装置29,フイルム送り装置30,,パーフォ検出装
置31,モータ回転角検知装置32及びデート写込み装
置33とMPU40との間でデータの受け渡しを行う。
The I / O port 44 is provided with the distance measuring IC 25 and the photometric IC 2 according to the address designation from the MPU 40.
6, data transfer is performed between the switch group 27, the lens moving device 28, the shutter driving device 29, the film feeding device 30, the perforation detecting device 31, the motor rotation angle detecting device 32, the date imprinting device 33 and the MPU 40. .

【0017】上記カメラの通常の撮影シーケンスは、R
OM41のシーケンスプログラム格納エリア41aに格
納されたシーケンスプログラムに従い図5のフローチャ
ートに沿って実行される。写真フイルムパトローネ5を
パトローネ室2aに挿入してからシャッタボタン8によ
ってシーケンスプログラムをスタートさせる場合、まず
シャッタボタン8の半押しによってスイッチ群27の所
定のものがオンする。この信号がMPU40に入力され
ると、MPU40は撮影モードSW10が押され、しか
もPHLSW9がPを指示しているか否かをチェックす
る。カメラの通常の使用時にはこの撮影モードSW10
は開放されている。
The normal shooting sequence of the above camera is R
It is executed according to the sequence program stored in the sequence program storage area 41a of the OM 41 according to the flowchart of FIG. When the sequence program is started by the shutter button 8 after inserting the photographic film cartridge 5 into the cartridge chamber 2a, first, a predetermined one of the switch group 27 is turned on by pressing the shutter button 8 halfway. When this signal is input to the MPU 40, the MPU 40 checks whether or not the shooting mode SW10 has been pressed and the PHLSW 9 has instructed P. In normal use of the camera, this shooting mode SW10
Is open.

【0018】この撮影モードSW10が開放されている
時は、ROM41の撮影シーケンスが実行される。この
時、後述するように、シリアル転送装置43の作用によ
ってマイクロコンピュータMが反射型ホトセンサ6のL
EDを直接ON/OFFするとともに光電流電圧変換回
路36の値を読むようになる。そして、スプール3が給
送方向に回転され、写真フイルム7の先端が写真フイル
ムパトローネ5から送り出され、カメラの巻取り軸に巻
き取られるようになる。このフイルム搬送中にスプール
3が回転してこれに設けられたバーコード4も回転し、
これが反射型ホトセンサ6によって読み取られる。これ
によって、写真フイルム7の感度やラチチュードや撮影
可能枚数等のデータがRAM42の所定アドレス領域に
格納される。続いて、MPU40から測光用IC26,
測距用IC25に対して測光データ,測距データのサン
プリングコマンドが順次に出力される。これらの測光デ
ータ,測距データは、RAM42の所定アドレス領域に
格納された後、MPU40はこれらのデータに基づいて
AE演算,AF演算を行う。
When the photographing mode SW10 is open, the photographing sequence of the ROM 41 is executed. At this time, as will be described later, by the action of the serial transfer device 43, the microcomputer M causes the reflection photosensor 6 to move to L
The ED is directly turned on / off and the value of the photocurrent-voltage conversion circuit 36 is read. Then, the spool 3 is rotated in the feeding direction, the leading end of the photographic film 7 is fed from the photographic film cartridge 5, and is wound around the winding shaft of the camera. While the film is being conveyed, the spool 3 rotates and the bar code 4 provided on the spool 3 also rotates,
This is read by the reflective photosensor 6. As a result, data such as the sensitivity of the photo film 7, the latitude, and the number of shootable images are stored in a predetermined address area of the RAM 42. Then, from the MPU 40 to the photometric IC 26,
Sampling commands for photometry data and distance measurement data are sequentially output to the distance measurement IC 25. After the photometric data and the distance measurement data are stored in a predetermined address area of the RAM 42, the MPU 40 performs AE calculation and AF calculation based on these data.

【0019】AE演算は、上述のようにして取り込まれ
た測光データの他に、RAM42に格納されているフイ
ルム感度データ等に基づいて適正露光量を求め、この適
正露光量が得られるようなプログラムシャッタの開放時
間を算出するもので、こうして算出された開放時間デー
タはRAM42の他のアドレス領域に保存される。また
AF演算は、測距用IC25からの測距データをもとに
被写体距離を求め、この被写体距離に対する撮影レンズ
の最適合焦位置を算出するもので、この最適合焦位置デ
ータはやはりRAM42の他のアドレス領域に保存され
る。
The AE calculation calculates a proper exposure amount on the basis of the film sensitivity data stored in the RAM 42 in addition to the photometric data fetched as described above, and a program for obtaining the proper exposure amount. The shutter opening time is calculated, and the opening time data thus calculated is stored in another address area of the RAM 42. The AF calculation is to obtain the subject distance based on the distance measurement data from the distance measuring IC 25 and calculate the optimum focus position of the photographing lens for this subject distance. The optimum focus position data is also stored in the RAM 42. It is stored in another address area.

【0020】これらの演算が完了すると、MPU40は
RAM42に格納されている最適合焦位置データを参照
しながらレンズ移動装置28を作動させ、これにより撮
影レンズは測定された被写体距離に対して最適の合焦位
置に移動される。この撮影レンズの移動処理が完了した
信号がMPU40にフィードバックされると、MPU4
0はシャッタボタン8の全押し操作を許容するようにな
る。
Upon completion of these calculations, the MPU 40 operates the lens moving device 28 while referring to the optimum focus position data stored in the RAM 42, whereby the taking lens is optimized for the measured object distance. Moved to the focus position. When the signal that the moving process of the photographing lens is completed is fed back to the MPU 40, the MPU 4
0 allows the shutter button 8 to be fully pressed.

【0021】シャッタボタン8が全押しされると、MP
U40はRAM42に保存されていた前記開閉時間デー
タに基づいてシャッタ駆動装置29を作動させ、プログ
ラムシャッタが開閉して露光が行われる。プログラムシ
ャッタの開閉完了信号が、例えばスイッチ群27の所定
のスイッチがオンした信号としてMPU40にフィード
バックされると、デート写込み装置33により日時デー
タが露光済みのフイルムコマに多重露光される。
When the shutter button 8 is fully pressed, MP
U40 operates the shutter driving device 29 based on the opening / closing time data stored in the RAM 42, and the program shutter is opened / closed to perform exposure. When the opening / closing completion signal of the program shutter is fed back to the MPU 40 as a signal that a predetermined switch of the switch group 27 is turned on, for example, the date imprinting device 33 multiple-exposes the date and time data on the exposed film frame.

【0022】日時データの露光が完了すると、MPU4
0はさらにフイルム送り装置30に作動開始信号を与え
る。これにより露光済みフイルムの給送が開始され、ス
イッチ群27内の光電スイッチがフイルムパーフォレー
ションの通過ごとにパルス信号を出力する。このパルス
信号の個数はMPU40によって監視され、これが8個
に達した時点でフイルム送り装置30に作動停止信号が
出力される。こうしてフイルム1コマ送りが完了して1
回の撮影シーケンスが終了することになる。以上の動作
の最中に必要な調整値がEEPROM34から読み出さ
れる。
When the exposure of the date and time data is completed, the MPU4
0 further gives the film feed device 30 an operation start signal. As a result, the feeding of the exposed film is started, and the photoelectric switch in the switch group 27 outputs a pulse signal each time the film perforation passes. The number of the pulse signals is monitored by the MPU 40, and when the number of the pulse signals reaches eight, an operation stop signal is output to the film feeding device 30. In this way, 1 frame advance is completed and 1
This completes the shooting sequence. The adjustment value required during the above operation is read from the EEPROM 34.

【0023】上記撮影シーケンスを実行させるためのシ
ーケンスプログラムでは、「測光」,「測距」,「AE
演算」,・・・の各処理はサブルーチン処理されるよう
になっている。そして、ROM41の情報入出力プログ
ラム格納エリア41bにはこれらの各サブルーチン処理
を各々独立して実行させることができるような情報入出
力プログラムが格納されている。この情報入出力プログ
ラムは、撮影モードSWがONでPHLSWがPを指
し、しかもシャッタボタン8が半押しされた時にのみ起
動される。これによって、一般ユーザが不用意に情報入
出力プログラムを起動できないようになっている。
In the sequence program for executing the above photographing sequence, "photometry", "distance measurement", "AE"
Each process of "calculation", ... Is performed as a subroutine. An information input / output program storage area 41b of the ROM 41 stores an information input / output program capable of independently executing each of these subroutine processes. The information input / output program is activated only when the photographing mode SW is ON, PHLSW is P, and the shutter button 8 is half-pressed. This prevents general users from inadvertently starting the information input / output program.

【0024】上記の各サブルーチン処理を個別に実行さ
せるには情報入力装置15が使用される。パトローネ室
2aの蓋2bを開けて基部18にカメラ1の低部を密着
させるようにしてパトローネ室2aに挿入部17を挿入
する。情報入出力プログラム中のデモプログラムを起動
させる前に、情報入力装置15からのキー入力によって
RAM42内の所定アドレス位置にデモコード「1」〜
「8」のいずれかを設定しておくことにより、デモンス
トレーションの対象となるサブルーチン処理を選択する
ことができる。この時、同時に各単独の処理を実行する
ために必要なデータパラメータ,例えばシャッタ駆動の
場合はシャッタスピード,絞り値等を対応するアドレス
領域にセットする。そして、デモコードによって指定し
たサブルーチン処理を実行した後、再び情報入出力処理
が行われる。
The information input device 15 is used to individually execute each of the above subroutine processes. The lid 2b of the cartridge chamber 2a is opened so that the lower portion of the camera 1 is brought into close contact with the base portion 18 and the insertion portion 17 is inserted into the cartridge chamber 2a. Before starting the demo program in the information input / output program, a demo code "1" to a predetermined address position in the RAM 42 is input by a key input from the information input device 15.
By setting any of "8", it is possible to select the subroutine process to be the target of the demonstration. At this time, at the same time, data parameters necessary for executing each independent process, such as shutter speed and aperture value in the case of shutter driving, are set in the corresponding address area. Then, after executing the subroutine processing designated by the demo code, the information input / output processing is performed again.

【0025】図6のフローチャートは、ROM41のQ
番地がコールされた以降にMPU40によって行われる
情報入出力処理を表している。なお、以下のフローチャ
ートにおいては、プログラムカウンタ48,スタックポ
インタ49,Aレジスタ50,Bレジスタ51の各々
を、単にPC,SP,A,Bと表した。
The flowchart of FIG.
This shows the information input / output processing performed by the MPU 40 after the address is called. In the following flowchart, each of the program counter 48, the stack pointer 49, the A register 50, and the B register 51 is simply represented as PC, SP, A, and B.

【0026】MPU40が情報入出力処理モードの実行
を開始するとき、Aレジスタ50,Bレジスタ51の内
容が、RAM42内に用意されたスタックエリアに順次
にプッシュダウンされる。この状態でスタックポインタ
49にセットされているアドレスが「K」であると、図
7に示したように、スタックエリア55の「K+1」,
「K+2」,「K+3」,「K+4」番地には、Bレジ
スタ51の内容,Aレジスタ50の内容,プログラムカ
ウンタ48の下位4ビットの内容,プログラムカウンタ
48の上位4ビットの内容が格納されていることにな
る。
When the MPU 40 starts executing the information input / output processing mode, the contents of the A register 50 and the B register 51 are sequentially pushed down to the stack area prepared in the RAM 42. In this state, if the address set in the stack pointer 49 is “K”, as shown in FIG. 7, “K + 1” in the stack area 55,
The contents of the B register 51, the contents of the A register 50, the lower 4 bits of the program counter 48, and the upper 4 bits of the program counter 48 are stored at addresses "K + 2", "K + 3", and "K + 4". Will be there.

【0027】このスタック処理の後、PHLSWがP以
外であることが確認されると、スタックエリア55の
「K+1」番地,「K+2」番地のデータが再びBレジ
スタ51,Aレジスタ50にポップアップされ、リター
ン処理される。したがって、ノンマスカブル割込み要求
によってシーケンスプログラムのMAINルーチン処理
が中断されていた場合には、「K+3」番地,「K+
4」番地に格納されていたプログラムカウンタ49のプ
ログラムアドレス、すなわち情報入出力処理モードがコ
ールされた直後のプログラムを格納したアドレスがプロ
グラムカウンタ49にセットされ、引続きシーケンスプ
ログラムが継続される。
After the stack processing, when it is confirmed that PHLSW is other than P, the data at the addresses "K + 1" and "K + 2" in the stack area 55 is popped up again in the B register 51 and the A register 50. Return processed. Therefore, when the MAIN routine processing of the sequence program is interrupted by the non-maskable interrupt request, the address "K + 3", "K +"
The program address of the program counter 49 stored in the address "4", that is, the address storing the program immediately after the information input / output processing mode is called is set in the program counter 49, and the sequence program is continued.

【0028】PHLSWがPになっている場合には、ま
ずメモリダンプ処理が行われる。メモリダンプ処理は、
RAM42のワークエリア、すなわちシーケンスプログ
ラム実行に際してデータの書き込み,読み出しに使用さ
れるアドレス領域の内容や、測距用IC25,測光用I
C26等からI/Oポート44に転送されてきているデ
ータ,EEPROM34の内容、さらにMPU40の各
レジスタ群にセットされているデータをシリアル転送装
置43から情報入力装置15に出力することによって行
われる。
When PHLSW is set to P, the memory dump processing is first performed. The memory dump process is
The work area of the RAM 42, that is, the contents of the address area used for writing and reading data when the sequence program is executed, the distance measuring IC 25, the photometric I
This is performed by outputting the data transferred from the C26 or the like to the I / O port 44, the contents of the EEPROM 34, and the data set in each register group of the MPU 40 from the serial transfer device 43 to the information input device 15.

【0029】シリアル転送装置43は、これらのデータ
を後述する方法により、例えば以下の表1に示すように
2バイト(1BLOCK)ずつ出力する。なお、RAM
42のワークエリアは10進数表示の「00」番地から
「127」番地までとしてある。
The serial transfer device 43 outputs these data in units of 2 bytes (1 BLOCK) as shown in Table 1 below by a method described later. RAM
The work area 42 is from "00" to "127" in decimal notation.

【0030】[0030]

【表1】 [Table 1]

【0031】シリアル転送装置43から出力されてくる
データは、LEDドライバ35を介して反射型ホトセン
サ6のLEDを点滅発光させる。これを反射型ホトセン
サ22の受光素子が受光し、この出力電流が電圧に変換
されてシリアル転送装置43と同様のシリアル転送装置
(このとき、デコーダとして機能している)を介して情
報入力装置15内のメモリに取り込まれた後、モニタ画
面20aに表示される。したがって、デモコードの設定
(図5参照)で選択したサブルーチン処理がどのような
データ処理を経て実行されていくのかがわかる。なお、
図8のフローチャートは、上記メモリダンプ処理の流れ
を示している。
The data output from the serial transfer device 43 causes the LED of the reflective photosensor 6 to blink and emit light via the LED driver 35. This is received by the light receiving element of the reflection type photo sensor 22, this output current is converted into a voltage, and the information input device 15 is passed through a serial transfer device (which functions as a decoder at this time) similar to the serial transfer device 43. After being taken into the internal memory, it is displayed on the monitor screen 20a. Therefore, it is possible to know what kind of data processing the sub routine processing selected by setting the demo code (see FIG. 5) will be executed. In addition,
The flowchart of FIG. 8 shows the flow of the memory dump process.

【0032】メモリダンプ処理が完了するとMPU40
は待機状態となり、シリアル転送装置43からシリアル
データの入力が可能となる。この状態でキーボード20
bを操作して情報入力装置15から2バイトのデータを
入力した後、キーボード20bの実行キーを操作する
と、このデータに基づいて反射型ホトセンサ22のLE
Dが点滅発光される。これを反射型ホトセンサ6の受光
素子が受光すると、この受光素子からの出力電流が光電
流電圧変換回路36によって電圧に変換され、シリアル
転送装置43に入力される。そして、シリアル転送装置
43からコマンドコードとしてAレジスタ50及び入力
データとしてBレジスタ51に転送される。その後、A
レジスタ50にすでにセットされているコマンドコード
に対応して次の表2のように処理される。
When the memory dump process is completed, the MPU 40
Becomes a standby state, and serial data can be input from the serial transfer device 43. Keyboard 20 in this state
When 2 bytes of data are input from the information input device 15 by operating b, and the execute key of the keyboard 20b is operated, the LE of the reflective photosensor 22 is based on this data.
D flashes and is emitted. When this is received by the light receiving element of the reflection type photo sensor 6, the output current from this light receiving element is converted into a voltage by the photocurrent / voltage conversion circuit 36 and input to the serial transfer device 43. The serial transfer device 43 transfers the command code to the A register 50 and the input data to the B register 51. After that, A
Corresponding to the command code already set in the register 50, it is processed as shown in Table 2 below.

【0033】[0033]

【表2】 [Table 2]

【0034】図6のフローチャートに示したように、シ
リアル転送装置43からAレジスタ50にセットされた
データが「252」未満であると、図9のRAM42も
しくはI/Oポート44のセット処理が実行され、前記
データが「252」あるいは「253」であると、図1
0のレジスタセット処理が行われる。RAMセット処理
及びI/Oポートセット処理は、シリアル転送装置43
を通してAレジスタ50にセットされたコマンドにした
がい、引続きBレジスタ51にセットされたデータを該
当するRAM42,I/Oポート44のアドレス位置に
ストアすることにより行われる。また、レジスタセット
処理は、Bレジスタ51にセットされたデータをスタッ
クエリア55の「K+1」番地あるいは「K+2」番地
に格納することによって行われる。
As shown in the flow chart of FIG. 6, when the data set in the A register 50 from the serial transfer device 43 is less than "252", the setting process of the RAM 42 or the I / O port 44 of FIG. 9 is executed. If the data is “252” or “253”,
A register set process of 0 is performed. The RAM setting process and the I / O port setting process are performed by the serial transfer device 43.
In accordance with the command set in the A register 50, the data set in the B register 51 is subsequently stored in the address location of the corresponding RAM 42 and I / O port 44. The register setting process is performed by storing the data set in the B register 51 in the address "K + 1" or the address "K + 2" of the stack area 55.

【0035】上記メモリダンプ処理,データの書き換え
処理は、Bレジスタ51に「255」をセットするまで
繰返し行うことができる。そして、Bレジスタ51に
「255」をセットした場合にはリターン処理が行わ
れ、デモプログラムがコールされた直後のシーケンスプ
ログラムが継続される。したがって、情報入力装置15
により「0〜8」以外のデモコードをセットして実行キ
ーを操作すれば、初期状態に戻ることができる。また、
適宜のデモコードをセットしてから実行を再開させれ
ば、引続き任意のサブルーチン処理を作動させ、そのモ
ニタを行うことも可能となる。
The above memory dump processing and data rewriting processing can be repeated until "255" is set in the B register 51. Then, when "255" is set in the B register 51, a return process is performed and the sequence program immediately after the demo program is called is continued. Therefore, the information input device 15
By setting the demo code other than "0 to 8" and operating the execute key, the initial state can be returned. Also,
If an appropriate demo code is set and then the execution is resumed, it becomes possible to continuously operate an arbitrary subroutine process and monitor it.

【0036】上記のように、シリアル転送装置43を介
してRAM42,I/Oポート44,EEPROM4
3,スタックエリア55のデータ、すなわちリターン後
のMPU40の内部状態を変更できるようにしておき、
またデモコード(図5)を適宜設定できるようにしてお
くことによって、サブルーチン処理として実行される各
制御ユニット、すなわち測距用IC25,測光用IC2
6,スイッチ群27,レンズ移動装置28等の作動チェ
ック及び調整,検査時に、任意のデータのもとで各制御
ユニットの作動確認を行うことができるようになる。ま
た、各カメラ毎に個別の調整データ,例えば測光レベル
の補正データ等をEEPROM43に書き込むことがで
きる。また、情報入出力プログラムによりEEPROM
43の調整値を求めたり、対応するEEPROMの調整
値を変更しながら最適な値にセットしたりすることもで
きる。
As described above, the RAM 42, the I / O port 44, and the EEPROM 4 are connected via the serial transfer device 43.
3, the data in the stack area 55, that is, the internal state of the MPU 40 after return can be changed,
By setting the demo code (FIG. 5) appropriately, each control unit executed as a subroutine process, that is, the distance measuring IC 25 and the photometric IC 2
6, it is possible to confirm the operation of each control unit based on arbitrary data when checking, adjusting, and inspecting the operation of the switch group 27, the lens moving device 28, and the like. In addition, individual adjustment data for each camera, for example, photometric level correction data, can be written in the EEPROM 43. In addition, the information input / output program allows the EEPROM
It is also possible to obtain the adjustment value of 43 or set the optimum value while changing the corresponding adjustment value of the EEPROM.

【0037】次に、シリアル転送装置の詳細について説
明する。このシリアル転送装置は送信データと受信デー
タのシリアル転送を同じ反射型ホトセンサで実現するた
めに、送受されたデータを確認しながら行う誤り検出訂
正機能及び再送機能,双方向からの送信を防止する衝突
防止機能,相手が受信を受け付けない時には送信するこ
とを防止するハンドシェーク機能を含んでいる。なお、
このシリアル転送装置はカメラ本体側だけでなく同じも
のを情報入力装置側にも設けてある。
Next, details of the serial transfer device will be described. In order to realize serial transfer of transmitted data and received data by the same reflection type photo sensor, this serial transfer device performs an error detection and correction function and a retransmitting function that confirm the transmitted and received data, and a collision that prevents bidirectional transmission. It also includes a prevention function and a handshake function that prevents the other party from transmitting when the other party does not accept the reception. In addition,
This serial transfer device is provided not only on the camera body side but also on the information input device side.

【0038】前記シリアル転送装置43の構成を示す図
11において、送信バッファ61はマイクロコンピュー
タMが外部に送出すべき16ビットのデータをセットす
るバッファメモリである。マイクロコンピュータMは送
信バッファ61へのデータセットと同時に送信要求フラ
グ62をセットする。このフラグの内容により、シリア
ル転送装置43は送信すべきデータが送信バッファ61
に存在するか否かを知る。
In FIG. 11 showing the configuration of the serial transfer device 43, a transmission buffer 61 is a buffer memory for setting 16-bit data which the microcomputer M should send to the outside. The microcomputer M sets the transmission request flag 62 at the same time as setting the data in the transmission buffer 61. Depending on the content of this flag, the serial transfer device 43 determines that the data to be transmitted is the transmission buffer 61.
Know if it exists in.

【0039】受信バッファ63は、シリアル転送装置4
3が外部から受信した内容がセットされるバッファメモ
リである。シリアル転送装置43は受信バッファ63へ
のデータセットと同時に受信完了フラグ64をセットす
る。マイクロコンピュータMは受信完了フラグの値によ
り受信データが受信バッファ63にあるか否かを知る。
The reception buffer 63 is used by the serial transfer device 4
3 is a buffer memory in which the contents received from the outside are set. The serial transfer device 43 sets the reception completion flag 64 at the same time as setting the data in the reception buffer 63. The microcomputer M knows from the value of the reception completion flag whether or not the reception data is in the reception buffer 63.

【0040】転送バッファ65は、処理の段階で一時的
に送受信データを置いておくバッファメモリである。こ
の転送バッファ65は実データ部65a(15ビット)
の他に、誤り訂正のための検査ビット部65b(5ビッ
ト)を含む。出力ポート66,入力ポート67は、LE
Dドライバ35,光電流電圧変換回路36に接続される
各々1ビットのI/Oポートである。論理演算回路68
はデータの比較や確認,誤りの検出・訂正等のための種
々の演算を行う。また、マイクロプログラムユニット6
9は上述した各バッファメモリ等を制御しシリアル転送
機能を実現する。また、情報入出力処理モードフラグ7
0は、カメラ1が情報入出力処理モードになっているか
否かによってマイクロコンピュータMによりON/OF
Fされる。
The transfer buffer 65 is a buffer memory for temporarily storing transmission / reception data at the processing stage. This transfer buffer 65 has an actual data portion 65a (15 bits)
In addition, it includes a check bit portion 65b (5 bits) for error correction. The output port 66 and the input port 67 are LE
Each is a 1-bit I / O port connected to the D driver 35 and the photocurrent / voltage conversion circuit 36. Logical operation circuit 68
Performs various operations for comparing and checking data, detecting and correcting errors, and so on. In addition, the micro program unit 6
Reference numeral 9 controls each buffer memory described above and realizes a serial transfer function. Also, the information input / output processing mode flag 7
0 indicates ON / OF by the microcomputer M depending on whether the camera 1 is in the information input / output processing mode.
F will be done.

【0041】前記シリアル転送装置43は、カメラ1側
と情報入力装置15側の双方に使用しており、図12の
タイミングチャートに示すように、通信中はLEDの発
光(以下パルスという)が2ms以上中断することはな
い。これは、すなわち1BLOCK(16ビット)のデ
ータの転送の区切り(α)を2ms以上のパルスの中断
により検出できることを意味する。そこで、送信時には
まず4ms間パルスがないことを確認する(A)。この
後、ヘッダの送出を行う。これはBLOCKの始まりを
表す6msのパルスである(B)。次に、1msの間隔
(β)をおいて、送出すべきデータの1ビット目が論理
「1」のときは2msのパルス(γ)を、論理「0」の
ときは1msのパルス(δ)を出す。これを16回繰り
返して16ビット分の送出を行う。この後、5ビットの
検査ビットを同様に送出する(C)。この検査ビット
は、周知のハミング符号を用いた誤り検出・訂正方法に
よって16ビットの実データに付加されたもので、1B
LOCKのうちの1ビットの誤り訂正及び2ビット以下
の誤り検出を行うことができる。
The serial transfer device 43 is used on both the camera 1 side and the information input device 15 side. As shown in the timing chart of FIG. 12, during communication, the LED light emission (hereinafter referred to as pulse) is 2 ms. There is no interruption. This means that the break (α) of the transfer of 1 BLOCK (16 bits) data can be detected by the interruption of the pulse of 2 ms or more. Therefore, it is first confirmed that there is no pulse for 4 ms during transmission (A). After that, the header is transmitted. This is a 6 ms pulse that marks the beginning of BLOCK (B). Next, with an interval (β) of 1 ms, a 2 ms pulse (γ) is output when the first bit of the data to be transmitted is a logical “1”, and a 1 ms pulse (δ) is output when the logical “0”. Give out. This is repeated 16 times to transmit 16 bits. After this, 5 check bits are similarly transmitted (C). This check bit is added to 16-bit actual data by a known error detection / correction method using a Hamming code.
It is possible to correct an error of 1 bit of LOCK and detect an error of 2 bits or less.

【0042】計21パルスの送出が終わったところ
(D)で、今度は受信側からの確認のパルス列を読み込
む(E)。この時、正常ならば相手から2ms以内にパ
ルス列の送信が始まる。2ms以内に最初のパルスが確
認できない場合は、相手は受信状態にないと判断でき
る。また、確認できてもそれが2msより後であれば、
相手がこちらが送信し終わるのを待って(4ms待って
から送信する動作,すなわち相手にとってのA)送信を
開始したものと判断できる。いずれにせよこれらの場合
は、転送が正しくなされなかったと判断する。確認のパ
ルス列の内容は送出したものと全く同じものである(た
だしヘッダはない)。送った内容と同じものが返って来
れば、正しく転送されたと判断する。
When the transmission of a total of 21 pulses is completed (D), the pulse train for confirmation from the receiving side is read (E) this time. At this time, if normal, transmission of the pulse train starts within 2 ms from the other party. If the first pulse cannot be confirmed within 2 ms, it can be determined that the other party is not in the receiving state. Also, if it can be confirmed but it is after 2 ms,
It can be determined that the other party has started the transmission after waiting for the end of the transmission (waiting 4 ms before transmitting, that is, A for the other party). In any case, it is judged that the transfer was not successful. The content of the confirmation pulse train is exactly the same as that sent (but no header). If the same content as the one sent is returned, it is determined that the transfer was successful.

【0043】次に、前記マイクロプログラムユニット6
9がどのようにして各バッファメモリ等を制御して転送
機能を実現するかを示す。MAINルーチンを示す図1
3において、センサ電流が確認されかつ受信完了フラグ
64がクリア(OFF)されている場合は直ちにBLO
CK RECEIVE(1BLOCKの受信)を実行す
る。この後、タイマをリセットする(1)。
Next, the micro program unit 6
9 shows how to control each buffer memory and the like to realize the transfer function. FIG. 1 showing a MAIN routine
If the sensor current is confirmed in 3 and the reception completion flag 64 is cleared (OFF), BLO is immediately output.
CK Execute RECIVE (Reception of 1 BLOCK). After that, the timer is reset (1).

【0044】受信完了フラグ64がクリアされていない
場合は、最後に受信したデータをまだマイクロコンピュ
ータMが受け取っていないので、受信状態には入らな
い。この時、相手からの転送は勝手になされるが、後に
述べる確認パルス列を相手は受け取ることができないの
で、相手も転送が正常に行われなかったことを知ること
ができる(2)。
If the reception completion flag 64 is not cleared, the microcomputer M has not yet received the last received data, so the reception state is not entered. At this time, the transfer from the other party is arbitrarily performed, but since the other party cannot receive the confirmation pulse train described later, the other party can also know that the transfer was not normally performed (2).

【0045】送信要求フラグがクリア(OFF)なら
ば、タイマをリセットする(3)。この後、何回かのル
ープの後にタイマの値が3ms以上を計時したら、送信
要求フラグがONでかつ、少なくとも2ms以上相手か
らの送信がなかったことになるので、現在が1BLOC
Kの狭間であると判断してBLOCK SEND(1B
LOCKの送信)を実行する(4)。以上の(1)〜
(4)で説明したMAINルーチンは、無限ループ上で
繰り返し行われる。
If the transmission request flag is cleared (OFF), the timer is reset (3). After this, if the timer value measures 3 ms or more after several loops, it means that the transmission request flag is ON and there is no transmission from the other party for at least 2 ms.
It is judged that it is between K and BLOCK SEND (1B
LOCK transmission) is executed (4). Above (1) ~
The MAIN routine described in (4) is repeatedly executed on the infinite loop.

【0046】BLOCK SENDルーチンを示す図1
4において、まずerror flagを0にする(5)。その
後、送信バッファ61の内容を一度転送バッファ65の
0〜15ビットに転送する(6)。次に、転送バッファ
65の0〜15ビットの内容を参考にして、検査ビット
を演算により求め、それを転送バッファ65の16〜2
1ビットに転送する(7)。次に、転送バッファ65の
内容21ビットを前述したルール(図12参照)に従っ
て相手に転送する(8)(PUT PULSE;図1
5)。
BLOCK FIG. 1 showing a SEND routine
In 4, the error flag is first set to 0 (5). After that, the contents of the transmission buffer 61 are once transferred to bits 0 to 15 of the transfer buffer 65 (6). Next, referring to the contents of 0 to 15 bits of the transfer buffer 65, the check bits are obtained by calculation, and the check bits are calculated from 16 to 2 of the transfer buffer 65.
Transfer to 1 bit (7). Next, 21 bits of the contents of the transfer buffer 65 are transferred to the other party according to the above-described rule (see FIG. 12) (8) (PUT PULSE; Figure 1
5).

【0047】次に、相手からの確認パルスを読む(9)
(GET PULSE;図16)。この時、PUT
ULSEルーチンで最後のパルスを読み終えてから、2
ms以内に最初の確認パルスがこなかった場合は、erro
r flagを1にして終了する(10)。これは相手が受信
状態にないか、あるいはこちらがパルスを送出し終わる
のを待っているかのどちらかである。後者の場合は、4
ms後にパルス送出を始めるが、ここでMAINルーチ
ンに戻っておけば、相手が送出しようとしている1BL
OCK分のデータを後述するBLOCK RECEIV
Eルーチン(図17参照)で最初から正しく受信するこ
とができる。
Next, the confirmation pulse from the other party is read (9).
(GET PULSE; FIG. 16). At this time, PUT P
2 after reading the last pulse in the ULSE routine
If the first confirmation pulse does not come within ms, erro
Set r flag to 1 and end (10). This is either the other party is not ready to receive, or is waiting for it to send out a pulse. 4 in the latter case
Pulse transmission starts after ms, but if you return to the MAIN routine here, the other party tries to transmit 1BL
LOCK data will be described later in BLOCK RECEIV
The E-routine (see FIG. 17) allows correct reception from the beginning.

【0048】最初の確認パルスが確認されたら、このパ
ルス幅を計測する。1.5msより長いなら2msと判
断して論理「1」,1.5ms以下なら1msと判断し
て論理「0」を転送バッファ65のビット0にセットす
る(11)。この時、3ms以上のパルスが確認された
場合は、何らかの手違いで相手が送信動作を開始した結
果ヘッダが検出されたことが考えられるので、error fl
agを1にして終了する(12)。
When the first confirmation pulse is confirmed, this pulse width is measured. If it is longer than 1.5 ms, it is judged to be 2 ms and the logic "1" is set, and if it is 1.5 ms or less, it is judged to be 1 ms and the logic "0" is set to bit 0 of the transfer buffer 65 (11). At this time, if a pulse of 3 ms or more is confirmed, it is considered that the header was detected as a result of the other party starting the transmission operation due to some mistake, so error fl
Set ag to 1 and end (12).

【0049】この後、次のパルスの始まりを認識する。
この時、2ms以内に次のパルスがこなかった場合は、
相手が途中で確認動作をやめてしまったか、こちらが途
中のパルスを読みとばしたことが考えられるので、erro
r flagを1にして終了する(10)。以上の(10)〜
(12)の動作を繰り返して21個のパルスの時間幅を
測定し、対応する転送バッファ65の値をセットする。
After this, the beginning of the next pulse is recognized.
At this time, if the next pulse does not come within 2 ms,
It is possible that the other party has stopped the confirmation operation on the way, or this is because the pulse in the middle was skipped, so erro
Set r flag to 1 and end (10). Above (10)
The operation of (12) is repeated to measure the time width of 21 pulses, and the value of the corresponding transfer buffer 65 is set.

【0050】確認パルスの読み込みが無事終了した場合
は、転送バッファ65の誤り検出・訂正を行う。この
時、誤りの訂正ができなかった場合は、送信確認のどち
らかの時に修復不能なエラーが発生したと判断し、erro
r flagを1にして終了する(ERROR COLLEC
T;図18)(13)。
When the reading of the confirmation pulse is completed successfully, the error detection / correction of the transfer buffer 65 is performed. At this time, if the error cannot be corrected, it is judged that an unrecoverable error has occurred at either of the transmission confirmations, and erro
Set r flag to 1 and exit (ERROR COLLEC
T; FIG. 18) (13).

【0051】この後、送信バッファ61の内容と転送バ
ッファ65の0〜15ビットの内容を比較する。この結
果、異なる場合は正しく相手に情報が転送されなかった
ものとして、error flagを1にして終了する(14)。
以上の(9)〜(14)のBLOCK SENDの過程
で異常が起こり、error flagに1を立てて途中で終了し
た場合は送信要求フラグ62は1(ON)のままなの
で、MAINルーチンで条件が整い次第再び送信動作が
繰り返される。
After that, the contents of the transmission buffer 61 and the contents of 0 to 15 bits of the transfer buffer 65 are compared. As a result, if they are different, it is determined that the information has not been correctly transferred to the other party, and the error flag is set to 1, and the process ends (14).
BLOCK of the above (9) to (14) When an error occurs in the process of SEND and the error flag is set to 1 and the process is ended midway, the transmission request flag 62 remains 1 (ON), and the transmission operation is repeated again as soon as the conditions are satisfied in the MAIN routine.

【0052】上記のBLOCK SENDの過程でエラ
ーが全く発生しなかった場合は送信要求フラグ62をク
リア(0)して、送信が無事終了したことをマイクロコ
ンピュータMに知らせる(15)。
BLOCK above If no error has occurred in the process of SEND, the transmission request flag 62 is cleared (0) and the microcomputer M is notified that the transmission has been completed (15).

【0053】図17において、BLOCK RECEI
VEルーチンでは、まずerror flagを0にクリアする
(16)。次に、相手から送られてくるべきヘッダを検
出する(DETECT HEADER;図19)(1
7)。DETECT HEADERでは、6ms以上の
パルスを一つだけ検出したら終了する。この時点ですで
にパルスが発生している最中であるから、これが6ms
以上続けばヘッダであると認識する(18)。パルスが
6ms以下か、あるいは異常に長い場合(20ms以
上)はerror flagを1にして終了する(19)。
In FIG. 17, BLOCK RECEI
In the VE routine, the error flag is first cleared to 0 (16). Next, the header that should be sent from the other party is detected (DETECT HEADER; FIG. 19) (1
7). DETECT In HEADER, it ends when only one pulse of 6 ms or more is detected. This is 6ms because the pulse is already being generated at this point.
If the above continues, it is recognized as a header (18). If the pulse is 6 ms or less, or is abnormally long (20 ms or more), the error flag is set to 1 and the process ends (19).

【0054】次に、21ビットのパルス列を順次読み込
み、そのパルス長に従って転送バッファメ65の各ビッ
トに値をセットする(GET PULSE:動作は前述
したものと同じ)。GET PULSE中で異常が発生
した場合はerror flagを1にして終了する(20)。G
ET PULSEが無事終了した場合には、転送バッフ
ァメ65の誤り・訂正を行う。訂正不能なエラーが見つ
かった場合は受信の過程で修復不能なエラーが発生した
とみなしてerror flagを1にして終了する(ERROR
COLLECT)(21)。
Next, a 21-bit pulse train is sequentially read, and a value is set in each bit of the transfer buffer 65 according to the pulse length (GET). PULSE: operation is the same as described above). GET If an error occurs during PULSE, the error flag is set to 1 and the process ends (20). G
ET When PULSE is successfully completed, the transfer buffer 65 is error-corrected. If an uncorrectable error is found, it is considered that an uncorrectable error has occurred during the reception process, the error flag is set to 1, and the process ends (ERROR).
COLLECT (21).

【0055】転送バッファメ65の内容が正しいことを
確かめたら、それをそのまま相手に返す(PUT PU
LSE:動作は前述したものと同じ)(22)。なお、
GET PULSEで最後のパルスを読んでから、ER
ROR COLLECTを経てPUT PULSEで最
初のパルスを出すまでの間は上記ルールに従って1〜2
msの間で行うようにする。この時間があまり長いと、
相手はこちらが正しく読んでないと認識してしまうし、
また短すぎると相手の処理スピードが追いつかなくな
り、相手が判断を誤る可能性がある。以上(17)〜
(22)のBLOCK RECEIVEルーチンの過程
で異常が起こり、error flagに1を立てて途中で終了し
た場合は、送信要求フラグ61は1のままなので、MA
INルーチンで条件が整い次第再び受信動作が繰り返さ
れる。
When it is confirmed that the contents of the transfer buffer 65 are correct, it is returned to the other party as it is (PUT PU
LSE: operation is the same as previously described (22). In addition,
GET After reading the last pulse with PULSE, ER
ROR PUT through COLLECT 1 to 2 according to the above rules until the first pulse is output at PULSE
Try to do it in ms. If this time is too long,
The other person will recognize that this is not read correctly,
On the other hand, if it is too short, the processing speed of the other party may not catch up, and the other party may make a wrong decision. Above (17) ~
BLOCK of (22) If an error occurs in the process of the RECEIVE routine and 1 is set in the error flag and the process ends midway, the transmission request flag 61 remains 1, so MA
As soon as the conditions are met in the IN routine, the reception operation is repeated.

【0056】上記のBLOCK RECEIVEルーチ
ンの過程でエラーが全く発生しなかった場合は、転送バ
ッファ65の0〜15ビットを受信バッファ63にコピ
ーする(23)。そして、受信完了フラグ64をセット
(1)して、受信バッファ63内に未読の有効受信デー
タが存在していることをマイクロコンピュータMに知ら
せる。
BLOCK above If no error occurs during the RECEIVE routine, bits 0 to 15 of the transfer buffer 65 are copied to the reception buffer 63 (23). Then, the reception completion flag 64 is set (1) to notify the microcomputer M that there is unread valid reception data in the reception buffer 63.

【0057】このようにして、送受信センサが近傍に配
置された反射型ホトセンサを対面させた組み合わせで、
同時に双方から送信(発光)できないような場合でも、
ここで示したようなシリアル転送装置を構成することに
より、全く問題なく情報の相互転送が可能となる。しか
も、相手が正しく受信したかどうかも検出できるので、
送りっぱなしにならず、相手が受信可能になるまで待っ
たりすることもできる。したがって、例えばカメラ1の
メモリダンプの最中に相手(情報入力装置)が送信デー
タ(コマンド)を送って来ても、マイクロコンピュータ
Mが受信バッファ63を読むまでそれを受信バッファ6
3にとっておくので、マイクロコンピュータMはメモリ
ダンプが終わってからその受信バッファ63を正しく読
むことができ、以下の動作も順序通りに行われる。しか
も、メモリダンプ中に相手が二度以上送信データ(コマ
ンド)を送ってくることも防げる。
In this way, the combination of the reflection type photosensors in which the transmission / reception sensors are arranged in the vicinity is faced to each other,
Even if you can not send (flash) from both sides at the same time,
By configuring the serial transfer device as shown here, mutual transfer of information becomes possible without any problem. Moreover, since it can detect whether the other party received it correctly,
You can also wait until the other party can receive it, instead of leaving it sent. Therefore, for example, even if the other party (information input device) sends the transmission data (command) during the memory dump of the camera 1, the reception data is stored in the reception buffer 6 until the microcomputer M reads the reception buffer 63.
3, the microcomputer M can read the reception buffer 63 correctly after the memory dump is completed, and the following operations are also performed in order. Moreover, it is possible to prevent the other party from sending the transmission data (command) more than once during the memory dump.

【0058】カメラ1が情報入出力処理モードになって
いない時,すなわち撮影モードSW10がOFFの時,
撮影モードSW10がONでもPHLSW9がH又はL
である時,撮影モードSW10がONでPHLSW9が
Pであるがデモコードが「0」である時の何れかの時に
は、情報入出力処理モードフラグ70がOFFになる。
この場合、シリアル転送装置43は転送機能を実行せず
に送信要求フラグ62の値をそのまま出力ポート66に
出し、入力ポート67から読んだ値をそのまま受信完了
フラグ64にセットする。これによって、マイクロコン
ピュータMが、送信要求フラグ62,受信完了フラグ6
4を読み書きすることにより、間接的に反射型ホトセン
サ6のLEDを制御したり、光電流電圧変換回路36か
らの出力を読むことができ、写真フイルムパトローネ5
のバーコード4を解読することができる。
When the camera 1 is not in the information input / output processing mode, that is, when the photographing mode SW10 is OFF,
Even if shooting mode SW10 is ON, PHLSW9 is H or L
When the shooting mode SW10 is ON and the PHLSW9 is P, but the demo code is "0", the information input / output processing mode flag 70 is turned OFF.
In this case, the serial transfer device 43 outputs the value of the transmission request flag 62 to the output port 66 as it is without executing the transfer function, and sets the value read from the input port 67 to the reception completion flag 64 as it is. As a result, the microcomputer M causes the transmission request flag 62 and the reception completion flag 6 to be transmitted.
By reading and writing 4, it is possible to indirectly control the LED of the reflection type photo sensor 6 and read the output from the photocurrent-voltage conversion circuit 36, and the photo film cartridge 5 can be read.
Barcode 4 can be decoded.

【0059】以上のシリアル転送装置はハードウェアと
マイクロプログラムで構成するようにしたが、カメラ
(又は情報入力装置)全体を管理するマイクロコンピュ
ータが割り込み処理を駆使して同等の機能を実現するよ
うにしてもよい。また、本実施例では、論理をパルスの
長さで表す,いわゆるパルス幅変調方式を用いたが、一
定クロックに従って論理が転送される,調歩非同期転送
を行ってもよい。また、カメラにホトセンサが2個以上
備わっている場合には、情報入力装置側にもホトセンサ
を2個用意し、一方のセンサにクロックを送受させて、
調歩非同期式で送受を行ったり、各々を受信,送信専用
にしてしまい、同時に送受信を行うようにしてもよい。
Although the serial transfer device described above is configured by hardware and a microprogram, the microcomputer that manages the entire camera (or information input device) uses interrupt processing to realize the same function. May be. Further, in the present embodiment, the so-called pulse width modulation method in which the logic is represented by the length of the pulse is used, but the asynchronous transfer in which the logic is transferred according to a fixed clock may be performed. If the camera is equipped with two or more photo sensors, two photo sensors are also prepared on the information input device side, and one of the sensors sends and receives a clock,
Transmission / reception may be performed asynchronously, or each may be dedicated to reception and transmission so that transmission / reception is performed at the same time.

【0060】別の情報入力装置を示す図20において、
情報入力装置79はEEPROM80を内蔵した写真フ
イルムパトローネ5と同一形のカートリッジ81と、こ
のEEPROM80に調整データ等の情報を書き込む情
報設定装置82とからなる。情報設定装置82の上部に
は、カートリッジ81を収納する凹部82aが形成さ
れ、この底部には、前記反射型ホトセンサ22と同様の
反射型ホトセンサ83が取り付けられている。また、カ
ートリッジ81を凹部82aに挿入した際に、反射型ホ
トセンサ83と相対するカートリッジ81の底部には、
反射型ホトセンサ84が設けられている。
In FIG. 20 showing another information input device,
The information input device 79 comprises a cartridge 81 having the same shape as the photographic film cartridge 5 having an EEPROM 80 built-in, and an information setting device 82 for writing information such as adjustment data to the EEPROM 80. A recess 82a for accommodating the cartridge 81 is formed in the upper part of the information setting device 82, and a reflective photosensor 83 similar to the reflective photosensor 22 is attached to the bottom of the recess 82a. Further, when the cartridge 81 is inserted into the recess 82a, the bottom of the cartridge 81 facing the reflective photosensor 83 is
A reflective photosensor 84 is provided.

【0061】カートリッジ81と情報設定装置82の双
方には、前記シリアル転送装置を内蔵してあり、反射型
ホトセンサ83,84を介して各種情報の送受信を行う
ことができる。まずカートリッジ81を凹部82aに挿
入してから、キーボード85を操作してカメラに設定す
べき情報をディスプレイ86に表示させる。続いてキー
ボード85の実行キーを押圧すると、カメラに設定すべ
き情報が反射型ホトセンサ83,84を介してカートリ
ッジ81のEEPROM80に転送される。この後、カ
ートリッジ81を凹部82aから引き抜き、カメラ1の
パトローネ室2aに装填する。パトローネ室2aの蓋2
bを閉じた直後に回り始めるスプール駆動軸の回転の開
始を検知して、カートリッジ81のEEPROM80に
書き込まれた情報がカメラ側のEEPROMに転送され
る。また、逆にカメラ側のEEPROMの記憶内容をカ
ートリッジ81のEEPROM80に転送することもで
きる。この場合は、このカートリッジ81を情報設定装
置82に挿入することにより、EEPROM80の内容
を読むことができる。
Both the cartridge 81 and the information setting device 82 have the above-mentioned serial transfer device built therein, and various kinds of information can be transmitted and received through the reflection type photo sensors 83 and 84. First, the cartridge 81 is inserted into the recess 82a, and then the keyboard 85 is operated to display the information to be set in the camera on the display 86. Subsequently, when the execute key of the keyboard 85 is pressed, the information to be set in the camera is transferred to the EEPROM 80 of the cartridge 81 via the reflective photo sensors 83 and 84. After this, the cartridge 81 is pulled out from the recess 82a and loaded into the cartridge chamber 2a of the camera 1. The lid 2 of the cartridge chamber 2a
The information written in the EEPROM 80 of the cartridge 81 is transferred to the camera-side EEPROM by detecting the start of rotation of the spool drive shaft that starts to rotate immediately after closing b. On the contrary, the stored contents of the EEPROM on the camera side can be transferred to the EEPROM 80 of the cartridge 81. In this case, the contents of the EEPROM 80 can be read by inserting the cartridge 81 into the information setting device 82.

【0062】図21において、写真フイルムパトローネ
5と同一形の情報入力装置90は、外周面に配置した設
定レバー91〜95を操作することにより、内部のEE
PROMに調整データ等の各種情報を記憶させることが
できるようにしたものである。情報入力装置90の上部
には、カメラ側と情報の送受信を行う反射型ホトセンサ
96が設けられており、情報入力装置90をカメラ1の
パトローネ室2aに装填することにより、前記カートリ
ッジ81と同様に、カメラ側と情報の送受信を行うこと
ができる。
In FIG. 21, an information input device 90 having the same shape as that of the photographic film cartridge 5 is operated by operating the setting levers 91 to 95 arranged on the outer peripheral surface of the information input device 90.
Various information such as adjustment data can be stored in the PROM. A reflective photosensor 96 for transmitting and receiving information to and from the camera is provided on the upper portion of the information input device 90. By loading the information input device 90 in the cartridge chamber 2a of the camera 1, similar to the cartridge 81. , It is possible to exchange information with the camera side.

【0063】この場合は、調整データをEEPROMに
設定する目的だけでなく、以下に示すようにユーザが自
分の好みに応じた動作モードに設定する目的等に特に適
している。前記設定レバー91は、ストロボ装置の発光
レベルを7〜11LVの何れかに設定する。設定レバー
92は、カメラ側のデート機構に内蔵した世界時計を操
作して写し込むデート情報を独(ドイツ),仏(フラン
ス),日(日本),米(アメリカ),英(イギリス)の
何れかに設定する。また、設定レバー93は、露出の違
う3コマを自動撮影するオートブラケットモードの補正
幅を0.3,0.5,1.0(EV)から選択もしくは
OFFにする。設定レバー94は、TV(シャッタスピ
ード優先AE),AV(絞り優先AE),スポーツ(高
速シャッタになるプログラムAE),パン(被写界深度
が深い絞りを選択する風景等に適したプログラムAE)
の何れかを選択する。設定レバー95は、1コマ撮影す
る度にパトローネ本体から写真フイルムを引き出してゆ
くノーマルワインド方式か、フイルム装填直後に撮影コ
マ数の写真フイルムをパトローネ本体から全て引き出し
た後、1コマ撮影する度に撮影済みのコマをパトローネ
本体内に収納していくプレワインド方式の何れかを選択
する。
This case is particularly suitable not only for the purpose of setting the adjustment data in the EEPROM, but also for the purpose of setting the operation mode according to the user's preference as described below. The setting lever 91 sets the light emission level of the strobe device to any of 7 to 11 LV. The setting lever 92 operates any one of German (Germany), French (France), Japanese (Japan), American (US), and British (UK) date information, which is recorded by operating the world clock built in the date mechanism on the camera side. Set the crab. Further, the setting lever 93 selects or turns off the correction width of the auto bracket mode for automatically photographing three frames with different exposures from 0.3, 0.5 and 1.0 (EV). The setting lever 94 is used for TV (shutter speed priority AE), AV (aperture priority AE), sports (a program AE for high-speed shutter), and pan (a program AE suitable for a landscape that selects a diaphragm with a deep depth of field).
Select either of The setting lever 95 is a normal wind method in which the photo film is pulled out from the Patrone body every time one frame is shot, or every time one frame is shot after pulling out all the photo films of the number of frames to be shot immediately after loading the film. Select one of the prewind methods in which the frames that have been shot are stored in the Patrone body.

【0064】以上説明した実施例では、前記挿入部1
7,カートリッジ81,情報入力装置90を写真フイル
ムパトローネ5と同一形としたが、これらをパトローネ
室に挿入した際にそれぞれの先端部に設けた反射型ホト
センサのLED,ホトトランジスタがカメラ側の反射型
ホトセンサホトトランジスタ,LEDにそれぞれ対面す
るようになっていれば、写真フイルムパトローネ5より
小さくてもよい。また、撮影モードSWがON,PHL
SWが「P」になっている状態でシャッタボタンを半押
しすることによりカメラが情報入出力処理モードに入る
ようにしたが、カメラの反射型ホトセンサのホトトラン
ジスタに外部からLEDの点滅光が入射されることによ
り、カメラが情報入出力処理モードに入るようにしても
よい。また、情報入力装置側にカメラ側と同様の反射型
ホトセンサを設けたが、本発明はこのように投光部と受
光部とを一体的に設けたものに限定されず、投光器と受
光器とを別々に設けるようにしてもよい。
In the embodiment described above, the insertion portion 1
7, the cartridge 81 and the information input device 90 have the same shape as the photographic film cartridge 5, but when these are inserted into the cartridge chamber, the LED and phototransistor of the reflection type photosensor provided at the tip of each are reflected on the camera side. The type photo sensor may be smaller than the photographic film cartridge 5 as long as it faces the photo transistor and the LED. In addition, shooting mode SW is ON, PHL
The camera was set to enter the information input / output processing mode by pressing the shutter button halfway with SW set to "P", but the flashing light of the LED was incident on the phototransistor of the reflective photosensor of the camera from the outside. By doing so, the camera may enter the information input / output processing mode. Further, although the reflection type photosensor similar to that on the camera side is provided on the information input device side, the present invention is not limited to the one in which the light projecting unit and the light receiving unit are integrally provided in this way, and the light projecting unit and the light receiving unit are provided. May be separately provided.

【0065】[0065]

【発明の効果】以上のように、本発明のカメラによれ
ば、データ書込みシーケンスの実行時に、パトローネ室
に設けられた反射型ホトセンサの受光部から入力される
光信号に対応した調整データがメモリに書き込まれるよ
うにしたから、専用の電気的端子を複雑な機構で覆った
り露呈させたりする必要がなくなり、調整データをメモ
リに簡単に書き込むことができる。また、データ読み出
しシーケンスの実行時には、メモリに書き込まれた調整
データが反射型ホトセンサの投光部から光信号として出
力されるようにしたから、専用の電気的端子等を設ける
必要がなく、簡単にカメラの検査等を行うことができ
る。
As described above, according to the camera of the present invention, when the data writing sequence is executed, the adjustment data corresponding to the optical signal input from the light receiving portion of the reflection type photosensor provided in the cartridge chamber is stored in the memory. The adjustment data can be easily written in the memory because it is not necessary to cover or expose the dedicated electric terminal with a complicated mechanism. Further, when the data read sequence is executed, the adjustment data written in the memory is output as an optical signal from the light projecting unit of the reflection type photosensor, so that it is not necessary to provide a dedicated electric terminal or the like, and it is easy to perform. You can inspect the camera.

【0066】本発明のカメラ用情報入力装置によれば、
投光器をパトローネ室の反射型ホトセンサの受光部に対
面させ、操作装置から入力された調整データを2値コー
ドに変換して投光器を点滅させるようにしたから、専用
の電気的端子等を設ける必要がなく、簡単にカメラのメ
モリに調整データを書き込むことができる。
According to the camera information input device of the present invention,
Since the light emitter is made to face the light receiving portion of the reflection type photo sensor in the cartridge room and the adjustment data inputted from the operating device is converted into a binary code to make the light emitter blink, it is necessary to provide a dedicated electric terminal or the like. Without, adjustment data can be easily written in the memory of the camera.

【0067】また、受光器をパトローネ室の反射型ホト
センサの投光部に対面させ、投光部からの光信号を受光
して解読するとともに、解読されたデータをモニタに表
示するようにしたので、簡単にカメラの状態を把握する
ことができ、各種の検査を容易に行うことができる。
Further, the light receiver is made to face the light projecting portion of the reflection type photo sensor in the cartridge room, the optical signal from the light projecting portion is received and decoded, and the decoded data is displayed on the monitor. The state of the camera can be easily grasped, and various inspections can be easily performed.

【0068】また、投光器,操作装置及び制御手段を、
カメラのパトローネ室内に光密に収納される外形をもつ
データ入力器に組み込んだから、簡単にカメラのメモリ
に調整データを書き込むことができる。
Further, the projector, the operating device and the control means are
The adjustment data can be easily written in the memory of the camera because it is incorporated into the data input device having an outer shape that is light-tightly housed in the camera's cartridge room.

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

【図1】本発明のカメラと情報入力装置とを示す外観図
である。
FIG. 1 is an external view showing a camera and an information input device of the present invention.

【図2】スプールと一体的に回転されるバーコードを備
えたパトローネの外観図である。
FIG. 2 is an external view of a cartridge having a bar code that is rotated integrally with a spool.

【図3】図1に示したカメラの回路ブロック図である。FIG. 3 is a circuit block diagram of the camera shown in FIG.

【図4】ROMの構成を示す概念図である。FIG. 4 is a conceptual diagram showing the structure of a ROM.

【図5】マイクロコンピュータによって実行されるシー
ケンスプログラムのフローチャート図である。
FIG. 5 is a flowchart of a sequence program executed by a microcomputer.

【図6】情報入出力処理プログラムのフローチャート図
である。
FIG. 6 is a flowchart of an information input / output processing program.

【図7】スタックエリアの概念図である。FIG. 7 is a conceptual diagram of a stack area.

【図8】メモリダンプ処理のフローチャート図である。FIG. 8 is a flowchart of a memory dump process.

【図9】EEPROMセット処理,RAMセット処理及
びI/Oポートセット処理のフローチャート図である。
FIG. 9 is a flowchart of an EEPROM setting process, a RAM setting process, and an I / O port setting process.

【図10】レジスタセット処理のフローチャート図であ
る。
FIG. 10 is a flowchart of register setting processing.

【図11】シリアル転送装置の内部構成を示すブロック
図である。
FIG. 11 is a block diagram showing an internal configuration of a serial transfer device.

【図12】送信側,受信側の各LEDのタイミングチャ
ートである。
FIG. 12 is a timing chart of each LED on the transmitting side and the receiving side.

【図13】シリアル転送装置のマイクロプログラムユニ
ットのメインルーチンを示すフローチャート図である。
FIG. 13 is a flowchart showing a main routine of a micro program unit of the serial transfer device.

【図14】BLOCK SENDルーチンを示すフロー
チャート図である。
FIG. 14 BLOCK It is a flowchart figure which shows a SEND routine.

【図15】PUT PULSEルーチンを示すフローチ
ャート図である。
FIG. 15: PUT It is a flowchart figure which shows a PULSE routine.

【図16】GET PULSEルーチンを示すフローチ
ャート図である。
FIG. 16 GET It is a flowchart figure which shows a PULSE routine.

【図17】BLOCK RECEIVEルーチンを示す
フローチャート図である。
FIG. 17 BLOCK It is a flowchart figure which shows a RECEIVE routine.

【図18】ERROR COLLECTルーチンを示す
フローチャート図である。
FIG. 18: ERROR It is a flowchart figure which shows a COLLECT routine.

【図19】DETECT HEADERルーチンを示す
フローチャート図である。
FIG. 19 DETECT It is a flowchart figure which shows a HEADER routine.

【図20】内部にEEPROMを内蔵したカートリッジ
型の情報入力装置を示す外観図である。
FIG. 20 is an external view showing a cartridge type information input device having an EEPROM incorporated therein.

【図21】各種設定レバー及びEEPROMを備えたカ
ートリッジ型の情報入力装置を示す外観図である。
FIG. 21 is an external view showing a cartridge type information input device including various setting levers and an EEPROM.

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

1 カメラ 2a パトローネ室 4 バーコード 5 写真フイルムパトローネ 6,22,83,84,96 反射型ホトセンサ 9 PHLSW 10 撮影モードSW 15,79,90 情報入力装置 17 挿入部材 34 EEPROM 43 シリアル転送装置 69 マイクロプログラムユニット 82 情報設定装置 91〜95 設定レバー M マイクロコンピュータ 1 Camera 2a Patrone Room 4 Bar Code 5 Photo Film Patrone 6, 22, 83, 84, 96 Reflective Photo Sensor 9 PHLSW 10 Photographing Mode SW 15, 79, 90 Information Input Device 17 Insertion Member 34 EEPROM 43 Serial Transfer Device 69 Micro Program Unit 82 Information setting device 91 to 95 Setting lever M Microcomputer

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年4月15日[Submission date] April 15, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0002[Name of item to be corrected] 0002

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0002】[0002]

【従来の技術】近年、カメラのエレクトロニクス化が進
み、いろいろな調整項目,例えば測光出力の補正やスト
ロボの発光レベルやバッテリーチェックレベル等をRO
Mに記憶させておき、これをカメラのマイクロコンピュ
ータが参照しながら種々のシーケンスを実行するように
なっている。さらに最近では、書換えのできないROM
に代えてEEPROM(Electrically Erasable & Prog
rammable ROM)等の書換え可能な不揮発性メモリを採用
し、完成品になってからの調整,検査もできるようにし
たものも、例えば特開平2−56532号,実開平2−
30931号により知られている。
2. Description of the Related Art In recent years, with the advancement of electronics in cameras, various adjustment items such as correction of photometric output, strobe light emission level, battery check level, etc.
It is stored in M, and the microcomputer of the camera refers to it to execute various sequences. More recently, non-rewritable ROM
Instead of EEPROM (Electrically Erasable & Prog
A rewritable non-volatile memory such as a rammable ROM) that can be adjusted and inspected after it is completed is also disclosed in, for example, Japanese Patent Laid-Open No. 2-56532.
Known from No. 30931.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Name of item to be corrected] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0027】このスタック処理の後、PHLSWがP以
外であることが確認されると、スタックエリア55の
「K+1」番地,「K+2」番地のデータが再びBレジ
スタ51,Aレジスタ50にポップアップされ、リター
ン処理される。したがって、「K+3」番地,「K+
4」番地に格納されていたプログラムカウンタ49のプ
ログラムアドレス、すなわち情報入出力処理モードがコ
ールされた直後のプログラムを格納したアドレスがプロ
グラムカウンタ49にセットされ、引続きシーケンスプ
ログラムが継続される。
After the stack processing, when it is confirmed that PHLSW is other than P, the data at the addresses "K + 1" and "K + 2" in the stack area 55 is popped up again in the B register 51 and the A register 50. Return processed. Therefore , " K + 3" address, "K +
The program address of the program counter 49 stored in the address "4", that is, the address storing the program immediately after the information input / output processing mode is called is set in the program counter 49, and the sequence program is continued.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 スプールと一体に回転するバーコード板
を有する写真フイルムパトローネが収納されるパトロー
ネ室に反射型ホトセンサを設け、この反射型ホトセンサ
によりバーコード板から読み出されたフイルム情報とメ
モリに書き込まれた調整データとを参照して撮影シーケ
ンスを実行し、かつ前記メモリに前記調整データを書き
込むためのデータ書込みシーケンスが実行可能なカメラ
において、 前記データ書込みシーケンスの実行時に、前記受光部か
ら入力される光信号に対応した調整データが前記メモリ
に書き込まれることを特徴とするカメラ。
1. A reflection type photosensor is provided in a patrone chamber in which a photo film patrone having a bar code plate which rotates integrally with a spool is stored, and the photo information and the memory read from the bar code plate by the reflection type photo sensor are stored in the memory. In a camera capable of executing a shooting sequence with reference to the written adjustment data and executing a data writing sequence for writing the adjustment data in the memory, when the data writing sequence is executed, input from the light receiving unit A camera, wherein adjustment data corresponding to an optical signal to be written is written in the memory.
【請求項2】 スプールと一体に回転するバーコード板
を有する写真フイルムパトローネが収納されるパトロー
ネ室に反射型ホトセンサを設け、この反射型ホトセンサ
によりバーコード板から読み出されたフイルム情報とメ
モリに書き込まれた調整データとを参照して撮影シーケ
ンスを実行し、かつ前記メモリから前記調整データを読
み出すためのデータ読み出しシーケンスが実行可能なカ
メラにおいて、 前記データ読み出しシーケンスの実行時に、前記メモリ
に書き込まれた調整データが反射型ホトセンサの投光部
から光信号として出力されることを特徴とするカメラ。
2. A reflection type photosensor is provided in a patrone chamber in which a photographic film patrone having a bar code plate which rotates integrally with a spool is stored, and the photo information and the memory read from the bar code plate by the reflection type photo sensor are provided. In a camera capable of executing a shooting sequence with reference to the written adjustment data and executing a data read sequence for reading the adjustment data from the memory, when the data read sequence is executed, the data is written in the memory. A camera in which the adjusted data is output as an optical signal from the light projecting unit of the reflective photosensor.
【請求項3】 請求項1記載のカメラに用いられる情報
入力装置であって、この情報入力装置はパトローネ室内
に進入して前記反射型ホトセンサの受光部に対面する投
光器と、前記メモリに書き込む調整データの入力操作に
用いられる操作装置と、この操作装置から入力された調
整データを2値コードに変換して前記投光器を2値コー
ドに対応して点滅させる制御手段とを備え、この投光器
の点滅による光信号を前記反射型ホトセンサの受光部に
入力することを特徴とするカメラ用情報入力装置。
3. An information input device for use in the camera according to claim 1, wherein the information input device enters into a cartridge chamber and faces a light receiving portion of the reflective photosensor, and an adjustment for writing in the memory. An operating device used for inputting data and a control means for converting the adjustment data input from the operating device into a binary code and causing the projector to blink corresponding to the binary code are provided. The blinking of the projector An information input device for a camera, wherein the optical signal according to the above is input to a light receiving portion of the reflection type photo sensor.
【請求項4】 パトローネ室内に進入して前記反射型ホ
トセンサの投光部に対面し、この投光部からの光信号を
受光する受光器と、この受光器に入力された光信号を解
読するデコーダと、このデコーダで解読されたデータを
表示するモニタとを備えたことを特徴とする請求項3記
載のカメラ用情報入力装置。
4. A photodetector that enters the inside of the cartridge and faces the light projecting portion of the reflection type photosensor and receives an optical signal from this light projecting portion, and decodes the optical signal input to this light receiving device. 4. The information input device for a camera according to claim 3, further comprising a decoder and a monitor for displaying the data decoded by the decoder.
【請求項5】 前記投光器,操作装置及び制御手段は、
カメラのパトローネ室内に光密に収納される外形をもつ
データ入力器に組み込まれていることを特徴とする請求
項3記載のカメラ用情報入力装置。
5. The light projector, the operating device, and the control means,
4. The information input device for a camera according to claim 3, wherein the information input device for a camera is incorporated in a data input device having an outer shape that is light-tightly housed in the camera's cartridge chamber.
JP5226894A 1994-03-23 1994-03-23 Camera and information input device therefore Pending JPH07261238A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5226894A JPH07261238A (en) 1994-03-23 1994-03-23 Camera and information input device therefore
US08/579,994 US5881327A (en) 1994-03-23 1995-12-29 Camera and input/output device for camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5226894A JPH07261238A (en) 1994-03-23 1994-03-23 Camera and information input device therefore

Publications (1)

Publication Number Publication Date
JPH07261238A true JPH07261238A (en) 1995-10-13

Family

ID=12910034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5226894A Pending JPH07261238A (en) 1994-03-23 1994-03-23 Camera and information input device therefore

Country Status (1)

Country Link
JP (1) JPH07261238A (en)

Similar Documents

Publication Publication Date Title
US4344682A (en) Data recording device
US7573512B2 (en) Recording operation control device for electronic still camera
JPH07261238A (en) Camera and information input device therefore
JPH06130489A (en) Camera with infrared remote controller
US5642180A (en) Photographic camera with information reading function
US5881327A (en) Camera and input/output device for camera
US5264894A (en) Camera
US5666573A (en) Camera with rewritable memory
JP2709375B2 (en) Auto focus camera
JP2920707B2 (en) Camera film loading detector
JP3665159B2 (en) camera
JP3675197B2 (en) camera
JP2787223B2 (en) Camera with remote control device
JPH09211792A (en) Film cartridge with ic memory, data recording device and data input/output device therefor
JP3315159B2 (en) Camera that can record data
JPH0777740A (en) Auto date device
JPH10170980A (en) Medium size camera
JPH0723775Y2 (en) Film data reader
JP2899839B2 (en) Infrared film camera
JPH10319469A (en) Camera
JP2003131283A (en) Camera device
JPH10177133A (en) Camera focusing method, and camera
JPH11174569A (en) Camera
JPS62209426A (en) Camera with barrier
JPH10177208A (en) Medium-sized camera