JPH0242430A - Camera system - Google Patents

Camera system

Info

Publication number
JPH0242430A
JPH0242430A JP18864889A JP18864889A JPH0242430A JP H0242430 A JPH0242430 A JP H0242430A JP 18864889 A JP18864889 A JP 18864889A JP 18864889 A JP18864889 A JP 18864889A JP H0242430 A JPH0242430 A JP H0242430A
Authority
JP
Japan
Prior art keywords
mode
card
data
switch
focus
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
JP18864889A
Other languages
Japanese (ja)
Inventor
Toshihiko Ishimura
石村 俊彦
Masataka Hamada
正隆 浜田
Katsumi Kosakai
小堺 克己
Hiroshi Otsuka
博司 大塚
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP18864889A priority Critical patent/JPH0242430A/en
Publication of JPH0242430A publication Critical patent/JPH0242430A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

PURPOSE:To simplify display and to improve visibility by displaying two similar types of operating modes by using one and the same display. CONSTITUTION:A display showing that a moving body follow-up focusing function is operating and a display showing a continuous automatic focusing mode are displayed with one and the same display. That is to say, the moving body follow-up focusing function detects whether an object is moving or not, when it is moving, the function follows it and focuses on it and the continuous automatic focusing mode drives a lens so that the object is always in focus. Consequently, these two functions or modes are in common in respect of following the moving object and therefore, the displays can be made the same. Thus, the display can be simplified without confusing an operator.

Description

【発明の詳細な説明】 産JEI匹主」Lr度 本発明はカメラシステムに関し、特に、その自動焦点制
御の表示に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a camera system, and more particularly to an automatic focus control display thereof.

交釆立孜立 被写体に正しく焦点が合うようにレンズを駆動する自動
焦点制御(A F)機能は既に知られてぃるが、このA
F機能にも様々な作動モードが考えられている。例えば
、一旦被写体に焦点が合った(合焦した)後は、それ以
後のレンズ駆動を停止するというワンショットAFモー
ドがあり、それに対し、一旦合焦した後もずっと被写体
に焦点が合うようにレンズを駆動し続けるコンティニュ
アスAFモードがある。
The automatic focus control (AF) function that drives the lens so that the subject is properly focused is already known, but this A
Various operating modes are also considered for the F function. For example, there is a one-shot AF mode that stops the lens from driving once the subject is in focus (in focus); There is a continuous AF mode that continues to drive the lens.

一方、AF機能を利用した動体追随焦点調節機能という
ものも考えられており、これは、一旦被写体に焦点が合
った後も連続して被写体の焦点が合っているか否かで被
写体の動きを判定しく引続き焦点が合っているならば、
その被写体は静止していると考えられ、逆に、一旦焦点
が合った後、焦点が所定量以上ずれたならば、その被写
体は動いていると考えられる。)、その判定に基づいて
動いている被写体に焦点を合わせる機能である。
On the other hand, a moving object tracking focus adjustment function that uses the AF function is also being considered, and this determines the movement of the object by determining whether or not the object continues to be in focus even after the object is in focus. If you are still focused,
The subject is considered to be stationary; conversely, if the focus shifts by a predetermined amount or more after it is once in focus, the subject is considered to be moving. ), this function focuses on a moving subject based on that determination.

が ′しよ と る カメラシステムの作動状況等、撮影に必要な情報をカメ
ラボディやファインダ内に設けたデイスプレィに表示さ
せることは一般に行われているが、従来、各機能は別々
に表示されていた。
It is common practice to display information necessary for shooting, such as the operating status of the camera system, on a display installed in the camera body or viewfinder, but traditionally, each function was not displayed separately. Ta.

しかし、その他のカメラシステムの機能が増加し、デイ
スプレィに表示すべき事項が多くなった場合、あまりに
項目数が多く、複雑な表示は、却って重要な表示を埋も
れさせてしまうという問題がある。
However, when the functions of other camera systems increase and the number of items to be displayed on the display increases, there is a problem that an excessively large number of items and a complicated display may obscure important information.

本発明はこのような問題を解決し、必要な情報は与えな
がら、表示の簡略化および視認性の向上を達成したカメ
ラシステムを提供するものである。
The present invention solves these problems and provides a camera system that provides the necessary information while simplifying the display and improving visibility.

るための 上記目的を達成するため、本発明のカメラシステムでは
、カメラの動作状態を表示する表示装置を備え、複数回
の焦点検出結果に基づいて被写体の動きを予測し、その
予測に基づいて被写体に焦点が合うようにレンズを駆動
する動体追随焦点調節機能と、一旦被写体に焦点が合っ
た後も被写体に焦点が合い続けるようにレンズを駆動す
る連続自動焦点モードとを有するカメラシステムにおい
て、動体追随焦点調節機能が動作中であることを示す表
示と連続自動焦点モードであることを示す表示とを、表
示装置上の同一の表示で行うことを特徴とする。
In order to achieve the above object, the camera system of the present invention includes a display device that displays the operating status of the camera, predicts the movement of the subject based on the results of multiple focus detections, and In a camera system that has a moving object tracking focus adjustment function that drives the lens so that the object is in focus, and a continuous automatic focus mode that drives the lens so that the object continues to be in focus even after the object is in focus, The present invention is characterized in that a display indicating that the moving object tracking focus adjustment function is in operation and a display indicating that the continuous automatic focus mode is in operation are performed on the same display on the display device.

なお、カメラシステムが、前記連続自動焦点モードと、
一旦被写体に焦点が合った後はレンズ駆動を行わないワ
ンショット自動焦点モードとの間で自動焦点モードを選
択可能である場合には、前記動体追随焦点調節機能は、
ワンショット自動焦点モードが選択されていて、かつ、
一旦被写体に焦点が合った後に動作するようにするとよ
い。
Note that the camera system operates in the continuous autofocus mode;
If the autofocus mode can be selected between a one-shot autofocus mode in which the lens is not driven once the subject is in focus, the moving object tracking focus adjustment function
One-shot autofocus mode is selected, and
It is best to operate once the subject is in focus.

また、表示装置には選択された自動焦点モードを表示す
るようにするとよい。
Further, the selected autofocus mode may be displayed on the display device.

レンズ側に設けられたスイッチにより自動焦点モードを
選択することができるようにすると便利である。
It is convenient to be able to select the autofocus mode using a switch provided on the lens side.

表示装置をカメラのファインダ内に設けることにより、
本発明の効果は一層顕著なものとなる。
By installing a display device inside the camera's viewfinder,
The effects of the present invention will be even more remarkable.

在−1− 動体追随焦点調節機能は、被写体が動いているか否かを
検出し、動いている場合には、それに追随して焦点を合
わせようとする(レンズを駆動する)ものである。また
、連続自動焦点モードは、常に被写体に焦点が合うよう
にレンズを駆動するものである。従って、これら2つの
機能或いはモードは、動いている被写体を追いかけると
いう点で共通するため、表示を同一にすることにより、
操作者を混乱させることなく、表示の簡略化が図れる。
Present-1- The moving object tracking focus adjustment function detects whether or not the object is moving, and if it is moving, attempts to follow it and focus (drives the lens). Furthermore, in continuous autofocus mode, the lens is driven so that the subject is always in focus. Therefore, since these two functions or modes share the same feature of chasing a moving subject, by making the display the same,
The display can be simplified without confusing the operator.

(以下余白) 実温」を 第1図は本実施例のカメラの回路ブロック図である。同
図において(μC)はカメラ全体の制御。
Figure 1 is a circuit block diagram of the camera of this embodiment. In the figure, (μC) is the control of the entire camera.

種々の演算を行うマイクロコンピュータ(以下「マイコ
ン」という)でE2FROMを有し内部で書込み及び読
出しが自由に行えるようになっている。(AFct)は
焦点検出を行う焦点検出回路であって、COD。
A microcomputer (hereinafter referred to as a "microcomputer") that performs various calculations has an E2FROM, and internal writing and reading can be performed freely. (AFct) is a focus detection circuit that performs focus detection, and is COD.

積分制御回路、A/D変換回路からなり、後述する3つ
の測距エリアに対して被写体の情報を得ると共にこれを
A/D変換して、マイコン(μC)へ出力する。(LD
I)は低輝度で且つ焦点検出不能のときに被写体に向け
て光を発光し焦点検出可能とする補助光発光素子である
Consisting of an integral control circuit and an A/D conversion circuit, it obtains object information for three distance measurement areas (to be described later), performs A/D conversion on this information, and outputs it to a microcomputer (μC). (LD
I) is an auxiliary light emitting element that emits light toward a subject to enable focus detection when the brightness is low and focus cannot be detected.

(LM)は測光回路で、後述する4つのエリアに対して
測光を行い、その測光値をA/D変換してマイコン(μ
C)へ輝度情報として与える。(DISPC)はマイコ
ン(μC)から表示データ及び表示制御信号を入力して
カメラ本体上面の表示部(DISP+)及びファインダ
ー内の表示部(DISP目)に所定の表示を行わせる表
示制御回路である。
(LM) is a photometry circuit that performs photometry for four areas (described later), converts the photometry values into A/D, and converts the photometry values into microcontroller (μ
C) as luminance information. (DISPC) is a display control circuit that inputs display data and display control signals from a microcomputer (μC) and causes the display section (DISP+) on the top of the camera body and the display section (DISP eye) in the viewfinder to perform a predetermined display. .

本実施例においてICカードはカメラのモードを設定す
るモード設定カードと露出を決定するプログラムカード
の2種類があり、カメラにはそのうちの1枚のみが装着
可能で、カメラは装着されたICカードに基づいて、特
定のモード、露出プログラム、ファンクションの制御を
行う。これに関しては後で詳細に説明する。(ST)は
電子閃光装置、  (IP)はカメラのマイコン(μC
)と電子閃光装置(ST)との間に設けられたインター
フェース、  (STC)は不図示の撮影レンズを通っ
てきた閃光発光時の被写体反射光を受光し、適正露光量
となったときに閃光発光を停止させる調光回路である。
In this example, there are two types of IC cards: a mode setting card that sets the camera mode and a program card that determines exposure. Only one of these cards can be installed in the camera, and the camera will control specific modes, exposure programs, and functions. This will be explained in detail later. (ST) is an electronic flash device, (IP) is a camera microcomputer (μC)
) and an electronic flash device (ST), the (STC) receives the reflected light from the subject when the flash is fired, which has passed through the photographic lens (not shown), and fires the flash when the appropriate exposure amount is reached. This is a dimming circuit that stops light emission.

(LE)はレンズに設けられたレンズ回路で交換レンズ
固有の情報をカメラのマイコン(μC)に出力する。
(LE) is a lens circuit provided in the lens and outputs information specific to the interchangeable lens to the microcomputer (μC) of the camera.

(LECN)は焦点検出情報にもとづいて撮影レンズを
駆動するレンズ駆動制御回路、 (Tvct)はマイコ
ン(μC)からの制御信号に基づいてシャッターを制御
するシャッター制御回路、 (Avct)はマイコン(
μC)からの制御信号に基づいて絞りを制御する絞り制
御回路、  (MD)はマイコン(μC)からの制御信
号に基づいてフィルムの巻上げ9巻戻しの制御を行うモ
ーター制御回路である。(BZ)はシャッタースピード
が手振れとなるスピードになると警゛告を行うブザーで
ある。(E)は電源となる電池、  (DI)は逆流防
止用ダイオード、  (ceu)はマイコン(μC)の
バックアップ用コンデンサーで、容量の大きいものであ
る。(R11)(CIりは電池装着時にマイコン(μC
)ヘリセットをかけるためのリセット用抵抗及びコンデ
ンサーである。(Tri)は上述した回路の一部に電源
を供給する給電用トランジスターである。
(LECN) is a lens drive control circuit that drives the photographing lens based on focus detection information, (Tvct) is a shutter control circuit that controls the shutter based on a control signal from a microcomputer (μC), and (Avct) is a microcomputer (μC).
(MD) is a motor control circuit that controls the winding and rewinding of the film based on control signals from the microcomputer (μC). (BZ) is a buzzer that warns you when the shutter speed reaches a speed that causes camera shake. (E) is the battery that serves as the power source, (DI) is the diode for backflow prevention, and (ceu) is the backup capacitor for the microcomputer (μC), which has a large capacity. (R11) (CI is equipped with a microcomputer (μC) when the battery is installed.
) This is a reset resistor and capacitor for heli-setting. (Tri) is a power supply transistor that supplies power to a part of the circuit described above.

次に、スイッチ類の説明を行うと、(SRE)は電池が
装着されたときにOFFとなる電池装着スイッチであっ
て、電池が装着され該スイッチ(SRE)がOFFにな
るとマイコン(μC)の端子(RE)にrlJ レベル
からrH」レベルに変化する信号が印加されマイコン(
μC)は後述のリセットのルーチンを実行することにな
る。(SEM)は常開の露出モード変更スイッチで、こ
のスイッチ(S EM)の操作と後述するアップスイッ
チ(Sup)、  ダウンスイッチ(Sdn)の操作と
によって露出モードが変更される。(SFUN)は常開
の機能変更スイッチで、このスイッチの操作とアップス
イッチ(Sup)、ダウンスイッチ(Sdn)の操作に
より機能変更(例えば連写・単写の切換え)が行われる
。(SCD)は通常カードが装着されているときに、カ
ード機能の無効、有効とを切換え、モード設定カードが
装着されているときに、データ設定モードが選択されて
いれば変更データ項目が選択される常開のカード機能有
効/無効スイッチである。尚、アップスイッチ(Sup
)、ダウンスイッチ(Sdn)を操作することにより項
目の中での設定値を設定することができる。 (詳細は
後述する)。
Next, to explain the switches, (SRE) is a battery installation switch that turns off when the battery is installed.When the battery is installed and the switch (SRE) is turned off, the microcomputer (μC) A signal changing from rlJ level to rH' level is applied to the terminal (RE), and the microcomputer (
μC) will execute a reset routine to be described later. (SEM) is a normally open exposure mode change switch, and the exposure mode is changed by operating this switch (SEM) and the up switch (Sup) and down switch (Sdn) described later. (SFUN) is a normally open function change switch, and the function is changed (for example, switching between continuous shooting and single shooting) by operating this switch, up switch (Sup), and down switch (Sdn). (SCD) normally switches the card function between disabled and enabled when the card is installed, and if the mode setting card is installed and the data setting mode is selected, the changed data item is selected. This is a normally open card function enable/disable switch. In addition, the up switch (Sup
), the setting value in the item can be set by operating the down switch (Sdn). (Details will be explained later).

(S CD5)はモード設定カード或いは、機能カード
(プログラムカード)が装着されているときに夫々モー
ド設定変更或いは、機能に必要なデータを設定するとき
に操作される常開のカードデータ設定スイッチである。
(S CD5) is a normally open card data setting switch that is operated when changing the mode setting or setting data necessary for the function when a mode setting card or function card (program card) is installed. be.

(SO)はオートフォーカス(以下rAFJという)動
作を除くカメラの動作(例えば、測光及び各種データの
表示)を行う為に操作される測光スイッチであり、不図
示のレリーズ釦をタッチするだけでONとなるタッチス
イッチより構成されている。上記スイッチ(S EM)
(S FUN)(S CD)(8CD5)(S o)の
うち1つのスイッチがONされれば、マイコン(μC)
は後でも述べる第3図の(INTI)の割込みフローを
実行する。(Sl)はAF動作を開始させるAFスイッ
チであり、レリーズ釦の第1のストロークの押下でON
となる。(S2)は撮影動作を行うときに操作されるレ
リーズスイッチで、レリーズ釦の第2のストローク(第
1ストロークより深い)の押下でONとなる。(SWD
)はフィルムの1コマの巻上でONとなる1コマスイツ
チである。(SAEL)はAEフロク(露出ロック)を
行うためのスイッチであって常開のブツシュスイッチで
構成されている。(SAF/M)はAFと手動焦点調節
を切換える焦点調節モード切換えスイッチである。
(SO) is a photometry switch that is operated to perform camera operations (for example, photometry and display of various data) other than autofocus (hereinafter referred to as rAFJ) operation, and can be turned on by simply touching the release button (not shown). It consists of a touch switch. The above switch (SEM)
If one switch among (S FUN) (S CD) (8CD5) (S o) is turned on, the microcomputer (μC)
executes the interrupt flow (INTI) in FIG. 3, which will be described later. (Sl) is an AF switch that starts the AF operation, and is turned on by pressing the first stroke of the release button.
becomes. (S2) is a release switch that is operated when performing a photographing operation, and is turned on when the second stroke (deeper than the first stroke) of the release button is pressed. (SWD
) is a single-frame switch that is turned ON when one frame of film is wound. (SAEL) is a switch for performing AE lock (exposure lock), and is composed of a normally open bush switch. (SAF/M) is a focus adjustment mode changeover switch for switching between AF and manual focus adjustment.

(SSE)は変更すべきデータを選択するための常開の
変更データ選択スイッチである。(S 5ELF)はセ
ルフ撮影のときに操作されるセルフモードスイッチであ
る。(S Av)は露出モードがMモード(マニュアル
モード)のときに、このスイッチの操作とアップスイッ
チ又はダウンスイッチとの操作とで絞り値を変更する絞
り変更スイッチである。Mモードで操作がないときには
アップスイッチ又はダウンスイッチの操作によりシャッ
タースピードの変更となる。(S FLM)はフィルム
が装填されているか否かを検出するもので、スプール室
の近傍のフィルムレール面上に配置され、フィルムが存
在するときにはOFFとなるフィルム検出スイッチであ
る。
(SSE) is a permanently open change data selection switch for selecting data to be changed. (S5ELF) is a self-mode switch operated during self-photography. (S Av) is an aperture change switch that changes the aperture value by operating this switch and operating the up switch or down switch when the exposure mode is M mode (manual mode). When there is no operation in M mode, the shutter speed is changed by operating the up switch or down switch. (S FLM) is a film detection switch that detects whether or not film is loaded, and is placed on the film rail surface near the spool chamber, and is turned off when film is present.

(S RC)は裏蓋が閉められたときにONN開開られ
るとOFFとなる裏蓋閉成検出スイッチで、このスイッ
チのONによりマイコン(μC)は後述する割込みのル
ーチンを実行する。(SRW)はフィルム巻戻しを開始
させる為のスイッチであり、操作されるとONし、後述
の割込みのルーチンを実行し、裏蓋が開けられるとOF
Fする。(S CR)はICカード(CD)が装着され
たときにOFFとなるICカード装着スイッチであり、
OFFになったとき、ICカード(CD)のマイコン(
μC2)にリセットをかける。(X)は所謂X接点であ
り、シャッターの1幕走行完了でONL、不図示のレリ
ーズ部材のチャージと共にOFFとなる。
(SRC) is a back cover close detection switch which turns ON when the back cover is closed and turns OFF when opened. When this switch is turned ON, the microcomputer (μC) executes an interrupt routine to be described later. (SRW) is a switch to start film rewinding. When operated, it turns ON, executes the interrupt routine described below, and turns OFF when the back cover is opened.
F. (SCR) is an IC card installation switch that turns OFF when an IC card (CD) is installed.
When the IC card (CD) is turned off, the microcomputer (
μC2) is reset. (X) is a so-called X contact, which turns ON when the shutter completes one curtain travel, and turns OFF when a release member (not shown) is charged.

(S up)は変更すべきデータの切換え、或いは加算
を行うアップスイッチであり、(Sdn)は同じく減算
を行うダウンスイッチである。Mモードのときの絞り値
の変更時には絞り変更スイッチ(3Av)のONと(S
 up)、 (S dn)の操作で夫々絞り値のアップ
(S up) is an up switch that changes or adds data to be changed, and (Sdn) is a down switch that also performs subtraction. When changing the aperture value in M mode, turn on the aperture change switch (3Av) and turn on the aperture change switch (3Av).
up) and (S dn) to increase the aperture value.

ダウン、絞り変更スイッチのOFFと(S up)、 
(S dn)の操作で夫々シャッター速度のアップ、ダ
ウンの機能を果たす。但し、後述のICカードによる機
能の変更により絞り変更スイッチ(SAv)のOFFで
絞り変更、絞り変更スイッチ(SAv)のONでシャッ
ター速度の変更となりつる。アップスイッチ(S up
)、ダウンスイッチ(Sdn)が操作されたことは端子
(IP20)、 (IP21)がそれぞれ「L」レベル
になったことで検出する。第1図において、上記各スイ
ッチに共通する線路(WI)は接地電位点(GND)に
接続されている。
down, turn off the aperture change switch (S up),
(S dn) functions to increase and decrease the shutter speed, respectively. However, due to the function change using an IC card, which will be described later, turning the aperture change switch (SAv) OFF changes the aperture, and turning the aperture change switch (SAv) ON changes the shutter speed. up switch
), the operation of the down switch (Sdn) is detected when the terminals (IP20) and (IP21) each become "L" level. In FIG. 1, a line (WI) common to each of the switches is connected to a ground potential point (GND).

第1表は上述した各スイッチと、それらの機能をまとめ
て示している。
Table 1 summarizes the above-mentioned switches and their functions.

次に、本実施例のカメラの動作を説明する前に、二こで
用いられる2種類のICカード、即ちモード設定カード
とプログラムカードについて説明する。
Next, before explaining the operation of the camera of this embodiment, two types of IC cards used in the two places, namely a mode setting card and a program card, will be explained.

(I)モード設定カード; このICカードはカメラの有する機能(制御できる機能
)のうち、撮影者にとって必要なものを選択(不必要と
思われるものを削除)、或いは機能の択一的選択を行う
ことによって撮影者の意図、撮影技術に応じたカメラを
提供しようとするものである。また、これによって不必
要な機能を省くことができるので、モード変更時には簡
略化され操作性の良いカメラとなる。次に、このカード
に関する説明及びそれに対して行われる表示内容に関し
て説明する。
(I) Mode setting card: This IC card allows the photographer to select the functions (controllable functions) of the camera that are necessary for the photographer (delete those that are deemed unnecessary), or to select an alternative function. By doing so, we aim to provide a camera that meets the photographer's intentions and photographic techniques. Additionally, unnecessary functions can be omitted, resulting in a camera that is simplified and has good operability when changing modes. Next, the explanation regarding this card and the display contents performed for it will be explained.

まず、このICカードの機能の選択としては、(i)4
つの機能の選択、  (ii)露出モードの選択。
First, to select the functions of this IC card, (i) 4
(ii) selection of exposure mode;

(iii)AE量関係機能の選択(iv)機能の二者択
一(V)レンズ側スイッチの操作による関係等がある。
(iii) Selection of AE amount related function (iv) Choice between two functions (V) Relationship based on operation of a switch on the lens side, etc.

そして、上記(i)の4つの機能とは、(a−1)ハイ
ライト基準・シャドウ基準露出機能(a−2)露出補正
機能 (a−3)フィルム巻き上げモード切換機能(連写・単
写) (a−4)スポットAF/多点AF切換機能であり、こ
れらの機能のうち撮影者にとって必要な機能を選択する
ことができる。そして、その選択に関するカメラ本体上
の表示部(DISP+)の表示としては第2図(a)に
示される全表示内容のうち、第2図(b)に示すものが
用意されている。第2図(b)において左側から頭に上
述した(a−1)〜(a−4)の機能に対応している。
The four functions in (i) above are (a-1) Highlight reference/shadow reference exposure function (a-2) Exposure compensation function (a-3) Film advance mode switching function (continuous shooting/single shooting) (a-4) Spot AF/multi-point AF switching function, which allows the photographer to select the function necessary for the photographer. The display on the display section (DISP+) on the camera body regarding this selection is prepared as shown in FIG. 2(b) out of all the display contents shown in FIG. 2(a). In FIG. 2(b), the functions (a-1) to (a-4) mentioned above correspond from the left side to the top.

撮影者が(a−1)のハイライト基準・シャドウ基準露
出機能のみを必要としない場合は、第2図(C)のよう
に表示される。
If the photographer does not require only the highlight reference/shadow reference exposure function (a-1), a display as shown in FIG. 2(C) is displayed.

選択された各機能に関して、その機能の使用、或いは切
換えに関する表示は、 ハイライト基準・・・・・・第2図(d)シャドウ基準
・・・・・・・・・第2図(e)露出補正 +側・・・
・・・第2図(f)露出補正 −側・・・・・・第2図
(g)連写モード・・・・・・・・・・・・第2図(h
)単写モード・・・・・・・・・・・・第2図(i)ス
ポットAF・・・・・・・・・第2図(j)多 点 A
F・・・・・・・・・第2図(k)となる。例外として
、プログラムによる多点/スポットの選択、後述のスイ
ッチ(SQ)によるスポットの選択の場合には選択され
ているときのみ選択不可であるに拘わらず上記2つによ
り設定されているモードが表示される。尚、連写/単写
、スポットAF/多点AFに関しては、どちらが一方の
機能(例えば連写)は切換え不可であっても、必ず選択
されているものである。ただし、切換えは不可能なので
、表示はしない。
For each selected function, the display regarding the use or switching of that function is as follows: Highlight criteria: Figure 2 (d) Shadow criteria: Figure 2 (e) Exposure compensation + side...
...Fig. 2 (f) Exposure compensation - side...Fig. 2 (g) Continuous shooting mode...Fig. 2 (h
)Single shooting mode......Figure 2 (i) Spot AF......Figure 2 (j) Multi-point A
F......Figure 2 (k). As an exception, in the case of multi-point/spot selection by the program or spot selection by the switch (SQ) described below, the mode set by the above two is displayed only when it is selected, even if it is not selectable. be done. Note that continuous shooting/single shooting and spot AF/multi-point AF are always selected even if one function (for example, continuous shooting) cannot be switched. However, since switching is not possible, it is not displayed.

第2図(1)の表示では、露出補正機能、フィルム巻き
上げモード切換機能が選択され、露出補正+側、単写モ
ードの制御が行われていることを示す。
The display in FIG. 2 (1) shows that the exposure compensation function and the film winding mode switching function are selected, and that the exposure compensation + side and single shooting mode are controlled.

尚、設定時は第2表(a)に示す番号「o」〜「15」
に対して付与されている機能に関してのみ、その機能が
あることを示すべく、第2図(b)〔全機能有9番号「
0」に相当〕、第2図(c) (H/S機能だけなし9
番号「8」に相当〕の表示が行われ、アップスイッチ、
ダウンスイッチの操作により1つずつ進むようになって
いる。
In addition, when setting, use the numbers "o" to "15" shown in Table 2 (a).
In order to show that the function is provided only for the function given to
0”], Fig. 2 (c) (H/S function only and without 9
[equivalent to number 8] will be displayed, and the up switch,
It is designed to advance one step at a time by operating the down switch.

次に上記(ii)の露出モードの選択に関する露出モー
ドとしては、 (b−1)  プログラムモード (Pモード)(b−
2)  絞り優先モード  (Aモード)(b−3) 
 マニュアルモード (Mモード)(b−4)シャッタ
ー優先モード(Sモード)があり、Pモードは基本とし
て必ず入れ、残り3つのモード(A、M、Sモード)の
組み合わせの選択を行えるようにしている。従って、組
み合わせとしては、次の頁の表に示す8通りがあシバ 
表示としては第2図(m)の4つのモード表示(ただし
PROGRAMはPで表わす)のうち、モードの設定時
には選択された組み合わせの表示が例えば第2図(n)
のように行われ、撮影時には選択されている1つの露出
モードの表示〔第2図(o)(Aモード選択)〕が行わ
れる。
Next, the exposure modes related to the exposure mode selection in (ii) above are (b-1) Program mode (P mode) (b-
2) Aperture priority mode (A mode) (b-3)
Manual mode (M mode) (b-4) There is a shutter priority mode (S mode), P mode is always set as a basic, and you can select a combination of the remaining three modes (A, M, S mode). There is. Therefore, there are eight possible combinations shown in the table on the next page.
Among the four modes shown in Fig. 2 (m) (however, PROGRAM is represented by P), when setting the mode, the selected combination is displayed as shown in Fig. 2 (n).
The exposure mode selected at the time of photographing is displayed as shown in FIG. 2(o) (A mode selection).

尚、PモードのときはPROGRAMと表示される〔第
2図(p)〕。
Incidentally, in the P mode, PROGRAM is displayed [Fig. 2 (p)].

次に上記(iii)のAE量関係機能の選択としては、
次のものがある。
Next, as for the selection of the AE amount related function in (iii) above,
There are the following:

(C−1)A Eロック釦関係 (1)A Eロック釦を押している間、AEフロク状態
でカメラの電源保持 (2)AEフロク釦を一度押すとAEフロク状態で再度
AEフロク釦を押す、或いは電源ホールドOFFでAE
フロク状態を解除(C−2)設定シャッター速度を1/
2Evにする。
(C-1) A E lock button relationship (1) While pressing the A E lock button, the power of the camera is maintained in the AE lock state (2) If you press the AE lock button once, press the AE lock button again in the AE lock state , or AE with power hold OFF
Cancel flocking state (C-2) Set shutter speed to 1/
Make it 2Ev.

これは通常IEvずつしか変化させていない設定シャッ
ター速度を17ZEvずつで設定できるようにしたもの
である。
This allows the set shutter speed, which normally changes only in increments of IEv, to be set in increments of 17ZEv.

(C−3)露出モードのMモード時に■絞り変更スイッ
チ(SAv)はOFFのままアップスイッチ、ダウンス
イッチの操作のみで絞り値変更、絞り変更スイッチ(S
Av)の操作(即ちON)と併用でシャッター速度変更
(以下rM2モード」と言う)、或いは■絞り変更スイ
ッチ(S Av)はOFFのままシャッター速度変更、
絞り変更スイッチ(SAv)の操作(即ちON)と併用
で絞り値変更となるモード(以下rM1モード」という
)の切換えを行う。
(C-3) When the exposure mode is M mode, the aperture change switch (SAv) remains OFF and the aperture value can be changed by simply operating the up switch or down switch.
Av) operation (i.e. ON) to change the shutter speed (hereinafter referred to as rM2 mode), or ■ change the shutter speed with the aperture change switch (S Av) OFF,
When used together with the operation (ie, ON) of the aperture change switch (SAv), the mode (hereinafter referred to as rM1 mode) in which the aperture value is changed is switched.

これらの機能の設定時は、第2図(V)に示すように表
示され、 rF−5Jが、このモードの変更を示し、番
号「2」が第2表(e)に示す機能をそれぞれ選択して
いることを示す。
When setting these functions, the display will be as shown in Figure 2 (V), rF-5J will indicate this mode change, and the number "2" will select the function shown in Table 2 (e). Show what you are doing.

次に、(iv)機能の2者択一としては、(d−1)フ
ィルムカウンター順算、或いは減算(d−2)フィルム
終端でのオートリターンの有、或いは無 (d−3)巻戻し終了時フィルムリーダ一部をパトロー
ネに巻き込む、或いはパトローネ外に残す(d−4)手
振れ警告ブザー(BZ)の有、或いは無が有り、この組
み合わせとして16通り考えられ、第2表(b)に示す
ような組み合わせに対して番号が与えられている。そし
て設定時に第2図(q)のように表示され、シャッター
速度の下3桁で変更項目を示し、フィルムカウンターで
、その下位の項目を示している。
Next, (iv) as a choice between the two functions, (d-1) forward counting or subtraction of the film counter, (d-2) presence or absence of auto-return at the end of the film, and (d-3) rewinding. At the end, part of the film leader is rolled into the cartridge or left outside the cartridge (d-4) With or without a camera shake warning buzzer (BZ), there are 16 possible combinations, as shown in Table 2 (b). Numbers are given for the combinations shown. At the time of setting, the screen is displayed as shown in FIG. 2(q), with the last three digits of the shutter speed indicating the item to be changed, and the film counter indicating the items below that.

(V)レンズ側スイッチの操作による関係としては、レ
ンズ側に設けられたスイッチ(後述)が操作されたとき
に、どのようなAF(オートフォーカス)のモードを選
択するかということであり、そのモードとしては、 ■まず、スイッチが操作されていない(但し、AFモー
ド選択)とき、 (E−1)多点/スポットによる領域でのワンショット
AF(合焦後追従判定)(但し、プログラムモードでコ
ンティニュアスAFが選択されることがある) ■スイッチが操作されているとき (E−2)フォーカスロック (E−3)スポットAF (E−4)コンティニュアスAP があり、設定時に第2図(r)のように表示される。
(V) Regarding the operation of the lens-side switch, it is related to which AF (autofocus) mode is selected when the switch provided on the lens side (described later) is operated. The modes are: - First, when the switch is not operated (AF mode selected), (E-1) One-shot AF (follow-up judgment after focus) in a multi-point/spot area (however, program mode (Continuous AF may be selected) ■When the switch is operated (E-2) Focus lock (E-3) Spot AF (E-4) Continuous AP It is displayed as shown in Figure 2 (r).

同図においてrF−2Jがレンズ側スイッチ(SQ)(
第36図参照)による項目を示し、 「3」がモード(
コンティニュアスAF)を示している。選択番号と機能
に関しては第2表(C)に示す。
In the same figure, rF-2J is the lens side switch (SQ) (
(see Figure 36), and "3" indicates the mode (see Figure 36).
continuous AF). The selection numbers and functions are shown in Table 2 (C).

モード設定カードには更に以下(vi)(vii)の機
能も存する。
The mode setting card also has the following functions (vi) and (vii).

(vi)セルフタイマーの秒時設定 モルフモードでの待機中の時間を変更できるようになっ
てあり、例えば2秒、5秒、  10秒という具合に設
定できるようになっている。この場合の表示は第2図(
S)に示されrF−3Jがセルフの秒時設定、 「1」
が設定秒(5秒)時の値を示す。尚、選択番号と機能に
ついては、第2表(d)に示す。
(vi) Setting the self-timer time The waiting time in Morph mode can be changed, for example, to 2 seconds, 5 seconds, or 10 seconds. The display in this case is shown in Figure 2 (
S), rF-3J is self-setting the second, "1"
indicates the value at the set second (5 seconds). The selection numbers and functions are shown in Table 2 (d).

(vii)A Eレベル変更 これはカメラの露出レベルを常時一定量だけ補正しよう
とするものである設定レベルとしては、+ 0.5. 
+ 0.25. O,−0,25,−0,5(Ev)と
なっており、左側から順に選択番号が0〜4(表なし)
とつけられている。表示は、第2図(1)に示され、 
rF−4JがAEレベル変更モード、 「3」がr +
 0.25EVJ変更されていることを示している。尚
、上記(i)〜(vii)において、モード設定時にカ
ードキーを1回ONすることにより(i)〜(vii)
のモードが順次選択され、アップスイッチ又はダウンス
イッチを押すことによりそのモードの中での機能(設定
値)が選択される。夫々、モード(i)〜(vii)及
び機能は、循環的に設定可能となっている。
(vii) A E level change This is to always correct the exposure level of the camera by a certain amount.The setting level is +0.5.
+0.25. O, -0, 25, -0, 5 (Ev), and the selection numbers are 0 to 4 from the left (no table)
It is attached. The display is shown in FIG. 2 (1),
rF-4J is AE level change mode, "3" is r +
It shows that 0.25EVJ has been changed. In addition, in (i) to (vii) above, by turning on the card key once when setting the mode, (i) to (vii)
modes are selected in sequence, and by pressing the up switch or down switch, the function (setting value) in that mode is selected. Each of the modes (i) to (vii) and functions can be set cyclically.

(II)プログラムカード: プログラムカードとしては、比較的明るい場所での動き
のある被写体に対して手振れしない高速シャッターで撮
影を行うことを目的にして作られた露出プログラム制御
及びカメラの種々の制御を行っている(詳細は後述する
)。
(II) Program card: A program card is used to control exposure programs and various camera controls, which are designed to take pictures of moving subjects in relatively bright places with a high-speed shutter that prevents camera shake. (Details will be explained later).

次に、カメラの動作を第3図以降に示すマイコン(μC
)のフローチャートに基づいて説明すると共に、必要に
応じて各部の詳細な説明を行う。
Next, we will explain the operation of the camera using a microcomputer (μC) shown in Figures 3 onwards.
) will be explained based on the flowchart, and each part will be explained in detail as necessary.

電池(E)が装着されると、電池装着スイッチ(SRE
)がOFFとなり、端子(RE)に「L」レベルから「
H」レベルに変わる信号が入力し内蔵のクロッグが発振
を開始し、端子(φ)を介してICカード(CD)にも
グロックがマイコン(μC)から送られる。
When the battery (E) is installed, the battery installation switch (SRE
) turns OFF, and the terminal (RE) changes from “L” level to “
When a signal that changes to the "H" level is input, the built-in clock starts oscillating, and the clock is also sent from the microcomputer (μC) to the IC card (CD) via the terminal (φ).

そして、マイコン(μC)は第3図に示す〔RESET
Iのルーチンを実行する。そのルーチンにおいて、マイ
コン(μC)は、まず電池装着が行われたことによる初
期セットを行う(#5)。このサブルーチンを第4図に
示す。
The microcomputer (μC) is shown in Figure 3.
Execute routine I. In this routine, the microcomputer (μC) first performs an initial setting based on the fact that the battery has been installed (#5). This subroutine is shown in FIG.

第4図において、マイコン(μC)はこのフローへの割
込みを全て禁止すると共に出力端子を全て[Ljレベル
にする。また、RAM内のフラグ〔第8表(後述)〕及
びRAM(レジスタ)を全てリセットし、電池装着時を
示すフラグ(BATF)をセットt 6 (#100〜
#110)。これにより露出モードをPモード、スポッ
ト/多点AFを多点AFモード、単写(S)/連写(C
)を単写(S)とし、露出補正、ハイライト()り/シ
ャドー(S)を行わないモード、及びワンショットAF
、Ful1発光しないモード、強制非発光、多点測光の
各モードがセットされる。この機能データの内容を第3
表に示す。
In FIG. 4, the microcomputer (μC) prohibits all interrupts to this flow and sets all output terminals to [Lj level. Also, reset all the flags in the RAM [Table 8 (described later)] and RAM (registers), and set the flag (BATF) indicating when the battery is installed.
#110). This allows you to set the exposure mode to P mode, spot/multi-point AF to multi-point AF mode, single shooting (S)/continuous shooting (C).
) with single shooting (S), exposure compensation, highlight ()/shadow (S) mode, and one-shot AF
, Full1 non-flash mode, forced non-flash mode, and multi-point photometry mode are set. The contents of this function data are
Shown in the table.

次に、上述した2種類のICカードのうちのモード設定
カードが一度は装着され、モード設定が既に行われてい
るかをE2FROMの内容(後述のMSb4の内容)を
調べることによって検出する。そして、設定法でないな
ら、ICカー ド装着による割込み(CDINT)以外
の割込みを禁止してリターンする(#135、#14.
O)。モード設定法であれば、どのモードが設定されて
いるかをg2PROMの内容(後述のMSbO〜MSb
3の内容)から調べ、変更データの表示をする部分を決
定する。ハイライト/シャドウモード(H/Sモード)
、露出補正モード(十/−モード)、単写/連写切換え
モード(S/Cモード)、スポット/多点AF切換えモ
ード(S/Aモード)と頭にモード設定されているかを
検出し、設定されていれば、設定されている最初のモー
ドのところの変更データをセットする(#145〜#1
82)、  RAMの変更データとE2PROMの設定
モードデータとを第4表及び第5表に示す。尚、前記ス
テップ(#145〜71182)は表示に関していえば
後述するカーソルの位置を決めることに相当する。
Next, it is detected whether the mode setting card of the two types of IC cards described above has been installed at least once and the mode setting has already been performed by checking the contents of the E2FROM (the contents of MSb4, which will be described later). If the setting method is not correct, interrupts other than those caused by inserting an IC card (CDINT) are prohibited and the process returns (#135, #14.
O). If using the mode setting method, the contents of g2PROM (MSbO to MSb described later) can be used to determine which mode is set.
3) and determine the part where the changed data will be displayed. Highlight/Shadow mode (H/S mode)
, exposure compensation mode (10/- mode), single shooting/continuous shooting switching mode (S/C mode), and spot/multi-point AF switching mode (S/A mode). If set, change data for the first mode set is set (#145 to #1
82), RAM change data and E2PROM setting mode data are shown in Tables 4 and 5. Note that the steps (#145 to #71182) correspond to determining the position of a cursor, which will be described later, in terms of display.

次に、これらの設定モードの表示を行うべく、表示制御
回路(DISPC)にデータを送る制御を行う。
Next, in order to display these setting modes, control is performed to send data to a display control circuit (DISPC).

まず、端子(C8DISP)をr HJ レベルにし、
データ交信を表示制御回路(DISPC)に知らせ、デ
ータ(第9表参照)を作成して、シリアル交信を行い、
データ転送が終了すれば端子(C:5DISP)を「L
」レベルにし、シリアル交信終了を表示制御回路(DI
SPC)に出力する(#185〜#200)。
First, set the terminal (C8DISP) to r HJ level,
Inform the display control circuit (DISPC) of data communication, create data (see Table 9), and perform serial communication.
When data transfer is completed, terminal (C:5DISP) is set to “L”.
” level, and the display control circuit (DI
SPC) (#185 to #200).

ここでシリアル交信の場合の動作に関して簡単に説明す
ると、まず、シリアル交信の命令によりシリアルクロッ
ク端子(SCK)からクロックが出力される。このクロ
ッグの立上りに同期して出力側はデータを1ビツト出力
し、立下りに同期して入力側はデータを1ビツト入力す
る。これを必要なだけ行うことによって必要なデータが
得られる。通常の撮影状態の表示例を第2図(u)に示
す。
To briefly explain the operation in the case of serial communication, first, a clock is output from the serial clock terminal (SCK) in response to a serial communication command. The output side outputs one bit of data in synchronization with the rising edge of the clock, and the input side inputs one bit of data in synchronization with the falling edge of the clock. By doing this as many times as necessary, the necessary data can be obtained. An example of a display in a normal photographing state is shown in FIG. 2(u).

表示内容としては、第2図(U)の例でいえば、シャッ
ター速度[:1000] 、  絞り値C5,6L  
AEモード(PROGRAM) 、フィルム枚数(フィ
ルム有無台)〔17〕、フォーカスモード(ONE 5
HOT AF)、ファンクションモード(最下行に示す
図形)の表示がある。これらの表示データを第9表に示
す(説明はシーケンスに基づいた表示制御に従って行う
)。ここでの表示データは、アドレス(03)()のビ
ットb2〜b4のICカード(CD)により選択されて
いるAEモード、アドレス(04H)のビットbo−b
7のICカード(CD)によるモード設定の有/無、ア
ドレス(08H)のビットb4〜b7、(091()の
ビットbo−b7のICカード(CD)による(iv)
〜(vii)の変更モードで設定されている選択番号を
E2FROMから読み出し各アドレスにセットする。
In the example of Fig. 2 (U), the displayed contents are shutter speed [:1000] and aperture value C5, 6L.
AE mode (PROGRAM), number of films (with or without film) [17], focus mode (ONE 5)
HOT AF) and function mode (shape shown on the bottom line) are displayed. These display data are shown in Table 9 (explanation will be made according to sequence-based display control). The display data here is the AE mode selected by the IC card (CD) in bits b2 to b4 of address (03) (), and bits bo to b of address (04H).
Presence/absence of mode setting by IC card (CD) of 7, bits b4 to b7 of address (08H), bits bo to b7 of (091()) by IC card (CD) (iv)
The selection number set in the change mode of (vii) is read from the E2FROM and set in each address.

また、データ変更表示のデータ(アドレス05Bのす。Also, the data for data change display (address 05B).

〜b2)、電池装着時(OAHのb4=1)(OA)(
のb1〜b3.b5、b6=o)をそれぞれの番地にセ
ットする。表示制御回路(DISPC)では、電池装着
の信号を受は取って、0.5秒間隔でE2FROMに設
定されていた機能のデータに応じて第34図(a)〜第
34図(e)の表示を行わせるべく表示部(DISP+
)を駆動する。
~ b2), when the battery is installed (OAH b4 = 1) (OA) (
b1 to b3. b5, b6=o) are set at their respective addresses. The display control circuit (DISPC) receives the signal indicating that the battery is installed, and changes the data shown in Figs. 34(a) to 34(e) at 0.5 second intervals according to the function data set in the E2FROM. The display unit (DISP+
) to drive.

上記以外のデータも表示制御回路に送られるが、表示制
御回路では電池装着の信号を受けとって、上述の第34
図(a)〜第34図(e)の表示を行わせるように動作
する。マイコン(μC)はステップ(#205)で2.
5秒待って、この表示を2.5秒間行わせる。そして、
E2 PROMに記憶したフィルム枚数Nl(MSb1
3〜MSb18)、フィルム感度Sv(MSb20〜M
Sb25)の内容を読み出してRAMのフィルム枚数N
l、  フィルム感度Sv内に転送する(#207)。
Data other than the above is also sent to the display control circuit, but the display control circuit receives the battery installation signal and
It operates to display the displays shown in FIGS. 34(a) to 34(e). The microcomputer (μC) performs 2. at step (#205).
Wait 5 seconds and let this display continue for 2.5 seconds. and,
E2 Number of films stored in PROM Nl (MSb1
3~MSb18), film sensitivity Sv (MSb20~M
Read the contents of Sb25) and determine the number of films in RAM N.
l. Transfer to film sensitivity Sv (#207).

しかる後、ICカードの装着の有無、及びICカードの
種類を知るためのカードデータ交信Iを行う(#210
)。
After that, card data communication I is performed to check whether an IC card is installed and the type of IC card (#210).
).

このカードデータ交信Iのサブルーチンを第5図(a)
に示す。同図において、まずICカード(CD)との交
信をICカード(CD)に知らせるべく端子(C8CD
)を「H」レベルにし、データ出力モードにしてデータ
交信■であることを示すデータ(第6表参照)をシリア
ル転送でICカードに送る(#300及び#305)。
The subroutine of this card data communication I is shown in FIG. 5(a).
Shown below. In the same figure, first, a terminal (C8CD) is used to inform the IC card (CD) of communication with the IC card (CD).
) is set to "H" level, and the data output mode is set and data indicating data communication (see Table 6) is sent to the IC card by serial transfer (#300 and #305).

ICカード(CD)側でこれを入力して必要なデータを
作成して出力するのに要する所定時間をマイコン(μC
)は待つ(#31の。そして今度はデータがICカード
(CD)から送られてくるので入力モードで動作し、I
Cカード(CD)とシリアル転送を行い(#315)、
これが終了すると、端子(C3CD)を「L」レベルに
する(#320)。
A microcomputer (μC) takes a certain amount of time to input this information on the IC card (CD) side, create the necessary data, and output it.
) waits (#31. Then, this time, data is sent from the IC card (CD), so it operates in input mode, and the I
Perform serial transfer with C card (CD) (#315),
When this is completed, the terminal (C3CD) is set to "L" level (#320).

この動作においてICカード(CD)側では2バイトの
データを出力するが、このデータはカードの有/無、カ
ードの種類を示すバイトの信号及びカメラの機能を示す
1バイトの信号でカメラ内のアドレス(20H,21H
)に入力される。
In this operation, the IC card (CD) side outputs 2 bytes of data, but this data is a byte signal indicating the presence/absence of the card, a byte signal indicating the type of card, and a 1 byte signal indicating the camera function. Address (20H, 21H
) is entered.

次いで、(#321)でICカードの種類を判別するが
、モード設定カードの場合、データとしては、ICカー
ドの種類を示しているだけで、2バイト目は全てrQJ
なのですぐにリターンし、一方プログラムカードの場合
にはデータとしてはICカードの種類だけでなく、AF
モードのコンティニュアス/ワンショット(詳細は後述
)、AFゾーンのスポット/多点、測光ゾーンのスポッ
ト/多点。
Next, the type of IC card is determined in (#321), but in the case of a mode setting card, the data only indicates the type of IC card, and the second byte is all rQJ.
Therefore, it returns immediately, and on the other hand, in the case of a program card, the data includes not only the type of IC card but also the AF
Mode continuous/one shot (details will be explained later), AF zone spot/multi-point, metering zone spot/multi-point.

連写/単写の内のいずれが一方、或いは特に指定のない
こと(撮影者の設定)を示す機能データが含まれている
ので、次にカード機能が選択されているか否かを判定す
る(#322)。カード機能が選択されている(CDF
NF= 1)とき、機能データのFb2. Fb3゜F
b8. Fb12のビットを書き換えてデータ設定しく
#323)、リターンする。一方、カード機能が選択さ
れていないときはデータ書き換えを行わずにリターンす
る。
Since function data indicating which one of continuous shooting/single shooting is the other, or whether there is no particular specification (setting by the photographer) is included, it is next determined whether the card function is selected ( #322). Card function is selected (CDF
When NF=1), the function data Fb2. Fb3゜F
b8. Rewrite the bit of Fb12 to set the data #323) and return. On the other hand, if the card function is not selected, the process returns without rewriting the data.

第4図に戻って、マイコン(μC)は入力したデータ(
第7表参照)よりICカードが装着されているか否かを
判定し、装着されていないとき(20Hのbo= O)
にはICカードの種類の表示をしないでリターンする。
Returning to Figure 4, the microcomputer (μC) inputs the input data (
(See Table 7) to determine whether or not the IC card is installed, and if it is not installed (bo = O in 20H)
returns without displaying the type of IC card.

ICカードが装着されている(20Hのbo=1)とき
、ICカードの種類を判定し、モード設定カード(20
Hのbl=1)の場合、このICカード用の表示データ
(08Hのbo= O)を作成しく#230)、プログ
ラムカード(20Hのbl=0)の場合プログラム用表
示データ(08Hのbo=1)を作成する(#245)
When an IC card is installed (20H bo = 1), the type of IC card is determined and the mode setting card (20H
If H bl = 1), create the display data for this IC card (08H bo = O) #230), and if the program card (20H bl = 0), create the display data for the program (08H bo = 1) Create (#245)
.

また、カード機能0N(04Hのbo=1)、制御信号
「0AH=0.0,0,1,0,0,0.OJ (bO
〜b7の頑)として、表示制御回路(DISPC)に全
表示データを出力する。
In addition, the card function 0N (04H bo = 1), the control signal ``0AH = 0.0, 0, 1, 0, 0, 0.OJ (bO
As part of ~b7), all display data is output to the display control circuit (DISPC).

表示制御回路(DISPC)では、ICカードが装着さ
れたときを示す信号を入力して、一定時間(0,5秒)
、カードの種類に応じたデータ表示を行う。この表示例
を第35図(a)、 (b)に示す。第35図(a)は
プログラムカード、(b)はモード設定カードが装着さ
れたときであり、このときカード機能は強制的にONと
なるのでこのデータも作成され、送られてくる。
The display control circuit (DISPC) inputs a signal indicating when the IC card is inserted and waits for a certain period of time (0.5 seconds).
, displays data according to the card type. Examples of this display are shown in FIGS. 35(a) and 35(b). FIG. 35(a) shows the state when the program card is installed, and FIG. 35(b) shows the state when the mode setting card is installed. At this time, the card function is forcibly turned on, so this data is also created and sent.

マイコン(μC)はステップ(#270)でこの表示時
間(0,5秒)を待って、カード機能有効を示すフラグ
をセットしく#273)、次のステップで全割込みを許
可して(#275)、第3図のステップ(#10)に移
行する。
The microcontroller (μC) waits for this display time (0.5 seconds) in step (#270), sets a flag indicating that the card function is valid (#273), and enables all interrupts in the next step (#275). ), the process moves to step (#10) in FIG.

第3図において、上記初期セット(#5)を終えると露
出モード変更スイッチ(SEM)、機能変更スイッチ(
SFIJH)、カード機能有効/無効スイッチ(SCD
)カードデータ設定スイッチ(SCI)S)、測光スイ
ッチ(So)のいずれかがONされているか否かをステ
ップ(#10)において端子(IF5)のレベルによっ
て判定し、上記スイッチのうちいずれ+JONされてい
ない場合(IP5= rHJ )、電池装着フラグ(B
ATI’)がセ・ントされているか否かをステップ(#
15)で判定し、セットされている場合は、電池装着後
、何も行われずにこのステップにきたとしてステップ(
#45)にジャンプし、ステップ(#45)以降のフロ
ーに従って表示の消灯及びICカード(CD)の停止の
制御を行う。
In Fig. 3, after completing the initial setting (#5), the exposure mode change switch (SEM) and the function change switch (
SFIJH), card function enable/disable switch (SCD
) Card data setting switch (SCI) S) and photometry switch (So) are turned ON or not is determined by the level of the terminal (IF5) in step (#10), and if any of the above switches is +JON. If not (IP5 = rHJ), the battery installation flag (B
ATI') is set or not.
15), and if it is set, it is assumed that this step has been reached without doing anything after the battery is installed, and step (
The process jumps to step #45) and controls turning off the display and stopping the IC card (CD) according to the flow from step (#45) onwards.

まず、表示データとして0AH= 0.0.1゜o、 
o、 o、 o、 oとし、このデータを表示制御回路
(DISPC)に出力する(#45〜#60)。従って
、表示は全消灯となる。
First, the display data is 0AH = 0.0.1゜o,
o, o, o, o, and outputs this data to the display control circuit (DISPC) (#45 to #60). Therefore, the display is completely turned off.

マイコン(μC)は上述のように消灯データを表示制御
回路(DISPC)に送った後ICカード(CD)にス
リーブサイン(ICカードを停止させる命令)信号を送
る(#65〜#75)。このスリーブサインは第6表に
示すようにビットcsboとcsbiが共に1になるこ
とによって構成される。
After sending the light-off data to the display control circuit (DISPC) as described above, the microcomputer (μC) sends a sleeve sign (command to stop the IC card) signal to the IC card (CD) (#65 to #75). This sleeve sign is constructed by bits csbo and csbi both being 1, as shown in Table 6.

しかる後、端子(pw)を「L」とすることによりトラ
ンジスタ(Tri)をOFFとし、AEフロクを示すフ
ラグ(AELF)及び電池装着時を示すフラグ(BAT
F)をそれぞれリセットし、全割込みを許可して停止す
る(#77〜#95)。尚、この停止(l(ALT)に
よって内蔵クロックの発振も停止する。
After that, the transistor (Tri) is turned off by setting the terminal (pw) to "L", and the flag (AELF) indicating the AE block and the flag (BAT) indicating when the battery is installed are turned off.
F), and all interrupts are enabled and stopped (#77 to #95). Note that this stop (l(ALT)) also stops the oscillation of the built-in clock.

上記ステップ(#10)において、5つのスイ・ソチ(
S EM)、 (S FUN)、 (S CD)、 (
S CD5)、 (S o)のうち1つがONされてい
ればステップ(#91)に進み、電池装着時を示すフラ
グ(BATF)をリセットすると共に、次のステップ(
#92)で上記5つのスイッチのうち1つが操作された
ことを示すフラグ(OFF)をセ・ソトしてルーチンI
:SO)を実行L(#93)、ステップ(#10)にリ
ターンする。ルーチン〔SCDは測光、AF、  表示
、露出制御等を行うルーチンであって、これについては
後で詳述する。
In the above step (#10), the five Sui Sochi (
S EM), (S FUN), (S CD), (
If one of S CD5) and (S o) is ON, proceed to step (#91), reset the flag (BATF) indicating when the battery is installed, and proceed to the next step (
#92) sets the flag (OFF) indicating that one of the five switches mentioned above has been operated, and returns to routine I.
:SO) is executed L (#93) and returns to step (#10). Routine [SCD is a routine that performs photometry, AF, display, exposure control, etc., and will be described in detail later.

ステップ(#10)において、上記5つのスイッチのい
ずれもONされておらず、且つ電池装着時でな)1とき
(BATF=0)には、−度ルーチン〔SCDを通った
場合にセットされるフラグ(OPF)がセットされてい
るか否かを判定する(#15.#25)。このフラグが
セットされているときには、電源保持用のタイマー(T
1)をリセットスタートし、フラグ(OPF)をリセッ
トする(#30.#35)。ここで、タイマー(T1)
をリセットスタートさせる(#30)のは、−度ステッ
プ(#10)から(#91)(#92)を経てルーチン
(#93)を通ったが現在は前記5つのスイッチがいず
れも押されていないものの、再度ONされる可能性があ
ることを考慮して電源保持を一定時間だけ延長させるた
めであり、フラグ(OFF)をリセットする(#35)
のは、ステップ(#30)を通ったことを示すためであ
る。
In step (#10), when none of the above five switches are turned on and the battery is not installed (BATF=0), - degree routine [set when passing through SCD] Determine whether the flag (OPF) is set (#15, #25). When this flag is set, the timer (T
1) Reset start and reset the flag (OPF) (#30.#35). Here, the timer (T1)
To reset and start (#30), the routine (#93) has been passed through the -degree step (#10), (#91), (#92), and currently none of the five switches are pressed. Although not, this is to extend the power retention for a certain period of time in consideration of the possibility of being turned on again, and the flag (OFF) is reset (#35)
This is to show that step (#30) has passed.

ステップ(#25)において、フラグ(OPF)がセッ
トされていないときには、ステップ(#30) (#3
5)をスキップして、上記リセットスタートさせたタイ
マーが10秒経過したか否かを検出しく#40)、10
秒経過した場合には(#45)以降のステップに進んで
表示の消灯、  ICカード(CD)の停止を行う。1
0秒が経過していない場合はステップ(#93)に入り
、〔SCDのルーチンを繰り返す。
In step (#25), if the flag (OPF) is not set, step (#30) (#3
Skip step 5) and detect whether 10 seconds have passed for the reset-started timer described above #40), 10
If seconds have elapsed, proceed to steps after (#45) to turn off the display and stop the IC card (CD). 1
If 0 seconds have not elapsed, step (#93) is entered and the [SCD routine is repeated.

次にICカード(CD)が装着されたときのカメラの制
御を説明するとICカードが装着されると端子(CDI
NT)にr]=Jレベルから「H」レベルになる信号が
入力し、第4図に示す(CDINT)の割込みルーチン
を実行する。そして、このルーチンに入ると、マイコン
(μC)はレンズ駆動を停止して電源保持を行うべくフ
ラグ(OPF)をセットする(#290. #292)
。次に、装着カードの種類の表示を最優先させるべくス
テップ(#295)でこのフローへの他の割込みを全て
禁止してステップ($1210)以降のステップに進み
、上述のようにICカードの種類を第35図(a)又は
(b)の如く一定時間表示した後、カード機能を強制的
に付加すべくフラグ(CDFNF)をセットして全割込
みを許可する状態とし、もとのフロー〔第3図のステッ
プ(#10) コヘリターンする。その割込みが許可さ
れている状態でスイッチ(SEM)、(SFtlN)、
(SCD)、(SCDS)、(So)のうち、いずれか
1つでもONされて割込み端子(INTI)に「H」レ
ベルから「L」レベルへ遷移する信号が入力すると、第
3図に示す割込み[:lNT1]の動作に入り、ステツ
ブ(#91)以降のフローを実行する。
Next, we will explain how to control the camera when an IC card (CD) is inserted.
A signal that changes from r]=J level to "H" level is input to NT), and the interrupt routine (CDINT) shown in FIG. 4 is executed. Then, when entering this routine, the microcomputer (μC) sets a flag (OPF) to stop lens drive and maintain power supply (#290. #292).
. Next, in order to give top priority to displaying the type of installed card, all other interruptions to this flow are prohibited in step (#295), and the process proceeds to step ($1210) and subsequent steps, and as described above, After displaying the type for a certain period of time as shown in Fig. 35 (a) or (b), a flag (CDFNF) is set to forcibly add the card function, and all interrupts are permitted, and the original flow [ Step (#10) in Figure 3: Return. switch (SEM), (SFtlN), with its interrupts enabled;
When any one of (SCD), (SCDS), and (So) is turned ON and a signal that transitions from "H" level to "L" level is input to the interrupt terminal (INTI), the signal shown in Fig. 3 It enters the interrupt [:lNT1] operation and executes the flow after step (#91).

尚、停止(HALT) L、ている状態で、いずれの割
込み(INTI)  (INT2)又は(COINT)
がかかつてもクロックは発振を開始するようになってお
り、ICカード(CD)にもクロック(φ)が送られる
In addition, in the state of halt (HALT) L, any interrupt (INTI) (INT2) or (COINT)
The clock is designed to start oscillating even when the clock is turned on, and the clock (φ) is also sent to the IC card (CD).

次に上記〔SO〕のルーチンを第6図に従って説明する
Next, the above routine [SO] will be explained with reference to FIG.

まず、このフローに対する( INTIIの割込みを禁
止する(#400)。これは、本制御の途中に第3図の
割込み[:INTl)が入ると、制御動作が先へ進まな
くなるからである。次に、(#405)でマイコン(μ
C)の端子(pw)を「H」レベルにし、インバータ(
INI)を介してPNP型トランジスタ(Tri)のベ
ースにローレベルを印加することにより該トランジスタ
(Tri)をOWL、、測光回路(LM)、  A F
回路(AFct)等に電源を供給する1次にレンズ回路
(LE)から交換レンズ固有の情報を入力する(#41
0)。これを第7図に示し、説明すると、まず端子(C
8LE)を「H」レベルとしく#600)、シリアル交
信を行ってレンズから情報を入力する(#605)。第
36図にレンズ内の回路を示し説明すると、カメラから
入力したクロックをデコーダー(2)でカウントし、ア
ドレス信号を作成する。このとき、所定のアドレスにな
ったときには、ズームによって変化するレンズデータ、
或いは距離によって変化するレンズデータとなるため、
焦点距離及び距離を検出するエンコーダ(3)(4)に
より、焦点距離及び距離を検出しアドレス回路(5)で
アドレスを上記焦点距離酸いは距離によって変えて、所
定のデータをカメラ本体に出力するようにする。スイッ
チ(SQ)はレンズ(10)上に設けられたレンズ側ス
イッチ(第37図参照)であり、これによっても、デー
タを変えなければならないのでアドレスの変更を行って
いる。このようにして設定されたアドレスをROMに出
力する。ROM(6)は指定されたアドレスに基づいて
データを出力する。この出力はパラレル・シリアル変換
回路(7)でシリアル信号に変換されてカメラ本体に与
えられる。
First, interrupts of (INTII) for this flow are prohibited (#400). This is because if the interrupt [:INTl] in FIG. 3 occurs during this control, the control operation will not proceed further. Next, (#405) the microcontroller (μ
Set the terminal (pw) of C) to “H” level and turn on the inverter (
By applying a low level to the base of the PNP transistor (Tri) through the INI), the transistor (Tri) is set to OWL, the photometry circuit (LM), and the photometry circuit (LM).
Input information specific to the interchangeable lens from the primary lens circuit (LE) that supplies power to the circuit (AFct), etc. (#41
0). This is shown in Fig. 7 and explained. First, the terminal (C
8LE) is set to the "H" level (#600), and serial communication is performed to input information from the lens (#605). FIG. 36 shows the circuit inside the lens and will explain it. A decoder (2) counts the clock input from the camera and creates an address signal. At this time, when the predetermined address is reached, the lens data that changes depending on the zoom,
Or, because the lens data changes depending on the distance,
The encoders (3) and (4) detect the focal length and distance, and the address circuit (5) changes the address depending on the focal length or distance, and outputs predetermined data to the camera body. I'll do what I do. The switch (SQ) is a lens-side switch (see FIG. 37) provided on the lens (10), and since it is also necessary to change the data, the address is changed. The address thus set is output to the ROM. ROM (6) outputs data based on the designated address. This output is converted into a serial signal by a parallel-to-serial converter circuit (7) and is applied to the camera body.

次にレンズ情報について説明する。カメラ本体に送られ
てくるレンズ情報は第12表に示すようにレンズの装着
信号、レンズの開放絞り値(Avo)、レンズの最大絞
り値(Avn^×)、距離情報、焦点距離情報、(レン
ズ駆動量/デフォーカス量)変換係数、上記レンズ側ス
イッチ(SQ)のON、0LIF1  レンズの駆動を
行って良いか否かを示すもの(LOK)などであり、表
に示すボディ内アドレスのRAMに入力される。
Next, lens information will be explained. As shown in Table 12, the lens information sent to the camera body includes the lens attachment signal, the lens's open aperture value (Avo), the lens's maximum aperture value (Avn^×), distance information, focal length information, ( Conversion coefficient (lens drive amount/defocus amount), ON of the above lens side switch (SQ), 0LIF1 indicates whether or not to drive the lens (LOK), etc., and the RAM at the address in the body shown in the table. is input.

信号(L OK)は本実施例のカメラ本体側では特に関
係がないが、AFができないような状態になったときに
アドレスを切換え、それに応じて「1」→rQJに変化
するものである。常にAFが可能である場合には「1」
でよく、2バイトを必要としない。カメラ本体は、この
信号を入力してモータの停止を行う。
Although the signal (L OK) is not particularly relevant to the camera body of this embodiment, the address is switched when the state becomes such that AF cannot be performed, and the signal changes from "1" to rQJ accordingly. "1" if AF is always possible
, and does not require 2 bytes. The camera body receives this signal and stops the motor.

一方、レンズ(10)側では第10表に示すようなRO
M及びアドレス構成となっている。(A)、 (B)は
同一のROMの中にSQ量関係びLOK関係のみ異なる
2つの同様のデータをメモリーしている。従来からレン
ズ情報は比較的少なく、1つのROM内に複数種類、同
一機能のレンズ情報が記憶でき、使用されるレンズに応
じて、レンズ情報を切り換えることを行っている。この
場合、1つのレンズあたりの情報量は決っており、これ
に応じて必要なROMを決めである。このようなときに
スイッチのON、 OFFによることを示す新たなデー
タを作る(増加させる)ことは、ROMに対してスイッ
チのON。
On the other hand, on the lens (10) side, the RO as shown in Table 10
M and address configuration. In (A) and (B), two similar data are stored in the same ROM, differing only in SQ quantity relation and LOK relation. Conventionally, lens information has been relatively small, and a plurality of types of lens information with the same function can be stored in one ROM, and the lens information can be switched depending on the lens used. In this case, the amount of information per lens is fixed, and the required ROM is determined accordingly. In such a case, creating (increasing) new data that indicates whether the switch is ON or OFF means that the switch is ON in the ROM.

OFFに応じてアドレスを変えてデータ変更することに
なり、更に2バイト(ON、 0FF)が必要となるこ
とを意味する。1種類当りのROMに余裕があれば、第
11表に示すように068.08Hという2バイトを増
加して、レンズ側スイッチ(SQ)のOFF、 ONに
応じてアドレスを変更し06H,081(を選択するよ
うにすればよい。しかし、このような余裕がないときに
は、第10表に示すように、複数種類用に設けられたR
OM〔本実施例では(B)〕にスイッチON、 OFF
による変更するデータ以外を同一のデータとし、スイッ
チのOFF、 ONに応じて(A)又は(B)を選択す
るようにすればできる。但し、この場合、このROMに
対し使用できるレンズの種類は少なくなる。さて、レン
ズ側スイッチ(SQ)がOFFの場合は06Hと07H
1逆にONの場合は16Hと17H(bO= O,A 
Fモータ停止)が送られるようになる。尚、アドレス中
(XXX)はズーム或いは距離によって変更するアドレ
スデータであることを示し、エンコーダ(3)(4)か
ら入力される。
The data will be changed by changing the address depending on the OFF status, which means that an additional 2 bytes (ON, 0FF) are required. If there is enough ROM for each type, add 2 bytes 068.08H as shown in Table 11 and change the address according to the OFF/ON of the lens side switch (SQ) to 06H, 081( However, if there is no such margin, as shown in Table 10, R
Switch ON and OFF to OM [(B) in this example]
This can be done by keeping the data the same except for the data changed by , and selecting (A) or (B) depending on whether the switch is OFF or ON. However, in this case, the types of lenses that can be used with this ROM are reduced. Now, if the lens side switch (SQ) is OFF, 06H and 07H
1 Conversely, in the case of ON, 16H and 17H (bO = O, A
F motor stop) is now sent. Note that (XXX) in the address indicates address data that changes depending on zoom or distance, and is input from encoders (3) and (4).

上記レンズ内の信号(LOK)はレンズがAF用でない
ことを示している。この信号を受は取ったカメラ本体側
ではAF動作(レンズ駆動)を禁止して、焦点検出動作
のみを行うようになっている。第10表にAF動作が必
ず行えるレンズを示す。例えばマクロ付ズームレンズの
中にはマクロモードになったときにAF動作が行えない
レンズがあり、このようなレンズではAF動作禁止とし
てLOKのす。
The signal (LOK) in the lens indicates that the lens is not for AF. Upon receiving this signal, the camera body side prohibits AF operation (lens drive) and performs only focus detection operation. Table 10 shows lenses that can always perform AF operation. For example, some zoom lenses with macros cannot perform AF operation when in macro mode, and LOK is set to prohibit AF operation for such lenses.

−〇(これはアドレス変更或いはROM切換えで可能と
なる。)とし、マグロモードでないときAF動作許可と
してLOKのbO=1となっている。
-〇 (this can be done by changing the address or switching the ROM), and when not in tuna mode, bO of LOK is set to 1 to permit AF operation.

今、上記スイッチ(SQ)の機能を持ったレンズを、こ
のビットを読んでいない(新設データの為)旧カメラに
装着されたときにも、このレンズ側スイッチ(SQ)の
機能を持たせようとするとき(但し、ICカードによる
機能の変化−フォーカスロック。
Now, even when a lens that has the function of the above switch (SQ) is attached to an old camera that does not read this bit (because it is new data), it will also have the function of this lens side switch (SQ). (However, when the function changes due to the IC card - focus lock.

コンティニュアス、スポットAFの選択−のうち後者の
2つはICカードが旧カメラではないので、できず、フ
ォーカスロックのみ可能とする)、上記スイッチ(SQ
)のONに応じてLOK信号をAF禁止とすれば、旧カ
メラは恰もAFができないレンズであるとして、AF動
作を禁止し、焦点検出のみを行う。これを実行する為に
、上記スイッチ(3Q)がONされたときには第10表
ではA、第11表では08H。
Continuous and Spot AF selection - the latter two cannot be done because the IC card is not an old camera, so only focus lock is possible), the above switch (SQ
) is turned on and the LOK signal is set to prohibit AF, the old camera is considered to be a lens that cannot perform AF, and AF operation is prohibited and only focus detection is performed. In order to execute this, when the switch (3Q) is turned on, the value is A in Table 10 and 08H in Table 11.

09H1そしてスイッチ(SQ)がOFFのときには第
10表ではB、第11表では06H,07Hとそれぞれ
変化させるようにすればよい。
09H1 and when the switch (SQ) is OFF, the values may be changed to B in Table 10 and 06H and 07H in Table 11, respectively.

旧カメラ側の制御については、上記レンズのデータを読
みとったときにAF禁止するかどうかを判定し、AF禁
止の有無の制御を行えばよいだけなので図面を参照して
の説明は省略する。
Regarding the control on the old camera side, it is only necessary to determine whether or not to inhibit AF when reading the lens data, and to control whether or not to inhibit AF, so a description with reference to the drawings will be omitted.

以上に述べたレンズ情報の入力を終えると、端子(C3
LE)を「L」レベルとしリターンする($1610)
After entering the lens information described above, the terminal (C3
LE) to “L” level and return ($1610)
.

第6図に戻って、引き続きマイコン(μC)は電子閃光
装置(ST)から電子閃光装置の情報を入力する(11
415)。その情報としては、発光量を示すガイドナン
バー(GN)、  充電完了状態にあるが否が9強制発
光、或いはオート発光(これについては後述する)であ
るかという3つの情報が存する。ここで、その情報の交
信方法の動作説明を行う。尚、第9図(a)に電子閃光
装置(ST)、第9図(b)にインターフェース(IF
)の回路図をそれぞれ示しである。
Returning to FIG. 6, the microcomputer (μC) continues to input electronic flash device information from the electronic flash device (ST) (11
415). The information includes three types of information: a guide number (GN) indicating the amount of light emitted, and whether the battery is fully charged, 9 forced light emission, or automatic light emission (this will be described later). Here, the operation of the information communication method will be explained. In addition, FIG. 9(a) shows the electronic flash device (ST), and FIG. 9(b) shows the interface (IF).
) are shown in their respective circuit diagrams.

まず、マイコン(μC)は、第1図に示す端子(C3S
T)を一定時間(tl)だけ「H」レベルとし、この信
号を電子閃光装置(ST)に出力する。電子閃光装置(
ST)ではこの信号の時間(tl)を検出してデータ出
力モードと認識し、マイコン(μC)からのクロッグに
応じてデータを出力する。
First, the microcomputer (μC) connects the terminal (C3S) shown in Figure 1.
T) is set to the "H" level for a certain period of time (tl), and this signal is output to the electronic flash device (ST). Electronic flash device (
ST) detects the time (tl) of this signal, recognizes the data output mode, and outputs data in response to the clock from the microcomputer (μC).

第9図(b)に示したインターフェース回路(IF)で
はマイコン(μC)の端子(C3ST)の信号をオア回
路(OR21)を介して電子閃光装置の端子(S’rl
)へ出力する。このとき、オア回路(OR21)に入力
している信号は共にrI、Jレベルとなっている。電子
閃光装置(ST)では端子(STI)からの信号がアン
ド回路(ANDll)に入力され、そのためアンド回路
(ANDII)は能動状態となシバ 発振回路(O8(
:)からの信号をカウンター(CNT12)に出力する
。カウンターはこれをカウントし、その時間(tl)を
計測する。時間(tl)を計時すると端子(T1)を「
H」レベルとし、RSフリップフロップ(SRII)を
セットする。このときRSフリップフロップ(SR12
)はリセットのままで、その出力口は「H」レベルであ
る。従ってアンド回路(AND12)は能動状態となる
In the interface circuit (IF) shown in FIG. 9(b), the signal from the terminal (C3ST) of the microcomputer (μC) is passed through the OR circuit (OR21) to the terminal (S'rl) of the electronic flash device.
). At this time, the signals input to the OR circuit (OR21) are both at rI and J levels. In the electronic flash device (ST), the signal from the terminal (STI) is input to the AND circuit (ANDll), so the AND circuit (ANDII) is in the active state.
:) is output to the counter (CNT12). The counter counts this and measures the time (tl). When the time (tl) is measured, the terminal (T1) is
"H" level and set the RS flip-flop (SRII). At this time, the RS flip-flop (SR12
) remains reset, and its output port is at the "H" level. Therefore, the AND circuit (AND12) becomes active.

次に、マイコン(μC)はシリアル交信用のクロック(
SCK)を出力する。このクロック(SGK)はインタ
ーフェース回路(IF)のオア回路(OR21)を介し
て、電子閃光装置(ST)の端子(STI)に出力され
る。電子閃光装置(ST)では、入力されたクロッグ(
SCK)がアンド回路(AND12)を介して、並列/
直列変換回路(P/S)のクロック用の端子に入力され
る。この並列/直列変換回路(P/S)は、ガイドナン
バー(GN)、充電完了状態を示す信号1強制発光或い
は、オート発光かを示す信号をクロックに同期して出方
する。
Next, the microcontroller (μC) uses a serial communication clock (
SCK). This clock (SGK) is output to the terminal (STI) of the electronic flash device (ST) via the OR circuit (OR21) of the interface circuit (IF). In an electronic flash device (ST), the input clog (
SCK) is connected in parallel/through an AND circuit (AND12).
It is input to the clock terminal of the serial conversion circuit (P/S). This parallel/serial conversion circuit (P/S) outputs a guide number (GN) and a signal 1 indicating a charging completion state in synchronization with the clock, a signal indicating forced light emission or automatic light emission.

電子閃光装置(ST)のカウンター(CNTII)は入
力したクロッグ(SCK)をカウントし、所定の必要な
数をカウントすると「H」レベルをオア回路(ORII
)に出力する。この信号は、オア回路(ORII)、ワ
ンショット回路(O8II)を介してカウンター(CN
T12)のリセット端子に入力され、カウンターはリセ
ットする。
The counter (CNTII) of the electronic flash device (ST) counts the input clock (SCK), and when a predetermined required number is counted, the "H" level is output to the OR circuit (OR II).
). This signal is passed through the OR circuit (ORII) and the one-shot circuit (O8II) to the counter (CN
T12) is input to the reset terminal, and the counter is reset.

前記カウンター(CNTII)は所定のグロックの数を
数えるとリセットするカウンターとなっている。
The counter (CNTII) is a counter that is reset after counting a predetermined number of Glocks.

前記電子閃光装置は上述した回路素子以外に電源として
の電池(EST)、該電池の電圧を閃光発光に必要な電
圧にまで昇圧するための昇圧回路(UV)、この昇圧回
路(UV)からの出力電圧を整流する整流ダイオード(
Dll)、閃光発光に必要なエネルギーを蓄積するメイ
ンコンデンサ(MC)、該メインコンデンサ(MC)の
充電電圧を検出する充電電圧検出回路(CVD)、発光
の開始及び停止の制御を行う発光制御回路(FCC)を
有している。
In addition to the above-mentioned circuit elements, the electronic flash device includes a battery (EST) as a power source, a voltage booster circuit (UV) for boosting the voltage of the battery to the voltage required for flashlight emission, and a voltage from the voltage booster circuit (UV). A rectifier diode (
Dll), a main capacitor (MC) that stores the energy necessary for flash light emission, a charging voltage detection circuit (CVD) that detects the charging voltage of the main capacitor (MC), and a light emission control circuit that controls the start and stop of light emission. (FCC).

第6図に戻り、AFのモードをステップ(#417)で
決定する。このAFモード決定のサブルーチンを第6図
(a)に示す。まず、レンズ情報から、上述のレンズ側
スイッチ(SQ)がONされているか否かを判定する(
#4000)。このスイッチがONされている場合には
、電源保持時間をリセット・スタートすべ<(10秒か
ら開始)、ステップ(#4005)でフラグ(opF)
をセットし、次にE2PROMから、情報を読み出しI
Cカードにより設定されているAFモードがフォーカス
ロックモードであるか否かをステップ(#4010)で
判定する。ここで、フォーカスロックモードである場合
(MSb26.27=1.1)、これを示すビット(F
b14)をセットすると共に補助光モードを示すビット
(Fb13)をリセットし、更に追随モードの表示がつ
いているときには、これを消灯する(#4020〜#4
030)。
Returning to FIG. 6, the AF mode is determined in step (#417). This subroutine for determining the AF mode is shown in FIG. 6(a). First, it is determined from the lens information whether the above-mentioned lens side switch (SQ) is turned on (
#4000). If this switch is ON, reset and start the power hold time (starts from 10 seconds) and set the flag (opF) in step (#4005).
and then read the information from the E2PROM.
It is determined in step (#4010) whether the AF mode set by the C card is the focus lock mode. Here, if the focus lock mode is selected (MSb26.27=1.1), a bit indicating this (F
b14) and reset the bit (Fb13) indicating the auxiliary light mode, and if the tracking mode display is on, it is turned off (#4020 to #4
030).

これは、フォーカスロックモードでは、AF動作を禁止
することから、これ以後のAF動作を必要としないので
、これに要する補助光の発光を禁止し、省電を図るため
である。
This is because in the focus lock mode, since AF operation is prohibited, subsequent AF operation is not required, and the emission of the auxiliary light required for this is prohibited, thereby saving power.

追随表示もフォーカスロック以後は、レンズを駆動する
ことがなく追随動作ができず、無駄であるので、追随フ
ラグをリセットして消灯する。
The tracking display is also wasteful since the lens is not driven and the tracking operation cannot be performed after the focus is locked, so the tracking flag is reset and turned off.

次に、ICカード(CD)により設定されているAFモ
ードがスポットAFであるかを判定する(#4035)
。このステップ(#4035)へは、上記ステップ(#
4010)において、フォーカスロックモードでないと
きにもくる。ここでスポットAFである場合(MSb2
6、27=0.1)、スイッチ(SQ)がONされて、
初めてこのフローを通ったことを示すフラグ(SQON
F)がセットされているか否かをステップ($4036
)で判定し、セットされていない場合、ステップ(#4
037)へ進んでスイッチ(SQ)がオンする前の多点
/スポットのモードを記憶すべく、ビット(Fb2)の
内容をビット(Fb15)に移し、ステップ(#404
0)へ進む。またフラグ(SQONF)がセットされて
いる場合は、ステップ(194037)をスキップして
ステップ(#4Q4Q)へ進む。ステップ(#4040
)では、スポットAFを示すビット(Fb2)をセット
し、このモードの表示を行うべく、ICカードの選択に
拘わらず、ステップ(#4042)で多点/スポット表
示フラグをセットしてステップ(#4045)へ進む。
Next, determine whether the AF mode set by the IC card (CD) is spot AF (#4035)
. This step (#4035) requires the above step (#4035).
4010), it also occurs when the focus lock mode is not in effect. Here, if spot AF is used (MSb2
6, 27=0.1), the switch (SQ) is turned on,
A flag indicating that this flow has passed for the first time (SQON
Step ($4036
), and if it is not set, step (#4
Step 037), in order to memorize the multi-point/spot mode before the switch (SQ) is turned on, move the contents of bit (Fb2) to bit (Fb15), and proceed to step (#404).
Proceed to 0). If the flag (SQONF) is set, step (194037) is skipped and the process proceeds to step (#4Q4Q). Step (#4040
), the bit (Fb2) indicating spot AF is set, and in order to display this mode, the multi-point/spot display flag is set in step (#4042) regardless of the IC card selection, and the multi-point/spot display flag is set in step (#4042). 4045).

ステップ(#4035)においてスポットAFでない場
合はステップ(#4036〜#4042)をスギツブし
て、ステップ(#4(145)へ進む。ステップ(#4
045)ではコンティニュアスAFであるか否か判定り
、、コンティニュアスAFである場合(MSb2B、 
27=1.O)、これを示すビット(Fb8=1)をセ
ットしく#4050)、補助光を示すビット(Fb13
)をステップ(#4055)でリセットし、このフロー
を通ったことを示すフラグ(SQONF)をステップ(
#4057)でセットしてリターンする。今、コンティ
ニュアスAFに対する補助光モードは、省電を考えて、
禁止しているものとする。焦点検出が終わることのない
コンティニュアスAFで、焦点検出(積分)のたびに、
補助光を発光させていては、電源である電池の消耗が早
く、撮影できるフィルム枚数が少なくなってしまうから
である。ステップ($14045)でコンティニュアス
AFでない場合はステップ(#4057)に進み、フラ
グ(SQONF)をセットしてリターンするゆ 尚、ス
イッチ(SQ)がオンのときのフローにおいて、ICカ
ードではフォーカスロック、スポットAF、  コンテ
ィニュアスAFのいずれか1つが設定されているだけで
あるから、例えば、ステップ(#4010)でフォーカ
スロックである場合には、ステップ(#4035)及び
(#4045)ではいずれもNoとなる。
If it is not spot AF in step (#4035), skip steps (#4036 to #4042) and proceed to step (#4 (145).Step (#4
045), it is determined whether or not it is continuous AF, and if it is continuous AF (MSb2B,
27=1. O), the bit indicating this (Fb8=1) should be set #4050), the bit indicating the auxiliary light (Fb13
) is reset in step (#4055), and the flag (SQONF) indicating that this flow has passed is reset in step (#4055).
#4057) and return. Currently, the auxiliary light mode for continuous AF is designed to save power.
shall be prohibited. With continuous AF, which never finishes focus detection, each time focus detection (integration) is performed,
This is because if the auxiliary light is emitted, the battery, which is the power source, will wear out quickly, and the number of films that can be photographed will decrease. If it is not continuous AF in step ($14045), proceed to step (#4057), set the flag (SQONF), and return. Since only one of lock, spot AF, and continuous AF is set, for example, if step (#4010) is focus lock, step (#4035) and (#4045) are set. In both cases, the answer is No.

上記ステップ(# 4000 ”)でレンズ側のスイッ
チ(SQ)がOFFのときはステップ(#4060)に
進む。このステップ(#4060)では、フォーカスロ
ック機能を示すビット(Fb14)をリセットする。
If the switch (SQ) on the lens side is OFF in the above step (#4000''), the process proceeds to step (#4060). In this step (#4060), the bit (Fb14) indicating the focus lock function is reset.

次に、ステップ(#4061)でICカード(CD)に
よるスポットAF/多点AFの設定も無いかどうか判定
し、無ければ多点/スポットの表示を消すべく、多点/
スポット表示フラグをリセットする(#4062)。そ
してスイッチ(SQ)がONからOFFになったか否か
をステップ(#4063)で判定し、OFFになった場
合(SQONF=1)にはスイッチ(SQ)がONする
前の多点/スポットのAFモードに移すべくステップ(
#4064)でビット(Fb15)の内容をビット(F
b2)に移す。スイッチ(SQ)がONからOFFにな
っていない場合(SQONF=0)には、スイッチ(S
Q)がOFFの状態でこのフローを通ったとしてステッ
プ(#4064)をスキップする。そして、いずれの場
合にもステップ(#4080)へ至る。
Next, in step (#4061), it is determined whether there is also a setting for spot AF/multi-point AF using an IC card (CD), and if there is no setting, multi-point/multi-point AF is set to erase the multi-point/spot display.
The spot display flag is reset (#4062). Then, it is determined in step (#4063) whether the switch (SQ) has changed from ON to OFF, and if it has turned OFF (SQONF=1), the multi-point/spot before the switch (SQ) was turned ON is determined. Step (
#4064) changes the contents of bit (Fb15) to bit (Fb15).
Move to b2). If the switch (SQ) has not changed from ON to OFF (SQONF=0), the switch (SQ)
Assuming that this flow is passed while Q) is OFF, step (#4064) is skipped. In either case, the process proceeds to step (#4080).

上記ステップ(#4061)において、設定有りと判定
されると、多点/スポットの表示を、カードによる選択
可能に拘わらず、実行するためにステップ(11406
5)へ歩進して多点/スポット表示フラグをセットする
。次いで、ステップ(#4067)でスポットAFかど
うかを判定し、スポットAFであればこれを示すビット
(Fb2)をステップ(#4070)でセットし、AF
スポットでなければ、ステップ(#4075)でこのビ
ット(Fb2)をリセットして(即ち多点AFにして)
、それぞれステップ(#4080)に進む。ステップ(
#4080)では、ワンショットAF/コンティニュア
スAFのどちらの設定も無いかどうかを判定し、無けれ
ばステップ(#4090)に進んでFb8=O(ワンシ
ョットAF)にしてステップ(#4097)へ進む。設
定があれば、ステップ(#4085)でワンショットA
Fかどうかを判定し、ワンショットAFであれば、ステ
ップ(#4090)でこれを示すべくビット(Fb8)
をリセットし、そうでなければ、ステップ(#4095
)でビットをセットして、(即ちコンティニュアスAF
として)、それぞれ次のステップ(#4097)でフラ
グ(SQONF)をリセットしてリターンする。
In the above step (#4061), if it is determined that the setting is set, step (11406
Step 5) to set the multi-point/spot display flag. Next, in step (#4067) it is determined whether it is spot AF, and if it is spot AF, the bit (Fb2) indicating this is set in step (#4070), and the AF
If it is not a spot, reset this bit (Fb2) in step (#4075) (that is, set it to multi-point AF)
, respectively proceed to step (#4080). Step (
In #4080), it is determined whether there is either one-shot AF/continuous AF setting, and if there is not, proceed to step (#4090) and set Fb8=O (one-shot AF) to step (#4097). Proceed to. If there is a setting, one shot A in step (#4085)
Determine whether it is F or not, and if it is one-shot AF, set the bit (Fb8) to indicate this in step (#4090)
If not, step (#4095
) to set the bit (i.e. Continuous AF
), the flag (SQONF) is reset in the next step (#4097), and the process returns.

第6図に戻り、マイコン(μC)は上記のAFモード決
定を行った後、ICカード(CD)の種類を判別するた
めにICカード(CD)とカードデータ交信■を行う(
#420)。このカードデータ交信■については第5図
を参照して既に説明したので、ここでは説明を省略する
。該カードデータ交信後、ICカードが装着され且つデ
ータ設定モードが設定されていることを示すフラグ(S
ETF)がセットされているか否かを(#425)で判
定し、セットされていない場合は、AF開始スイッチ(
Sl)がONされているか否かを端子(H’6)のレベ
ルによって判定する(#427)。上記スイッチ(Sl
)がONされている場合(IP6−「L」レベル)、A
Fの制御を行う(#429)。一方、データ設定モード
を示すフラグ(SETF)がセットされているとき、或
いは、スイッチ(Sl)が0FF(IP6=「H」レベ
ル)のときは、AFの動作を禁止すべく、AF駆動用モ
ータを停止する信号をレンズ制御回路(LECN)に出
力してレンズ駆動を停止しく#431)、AFを行って
いないことを示すフラグ(AFNF)をセットしく#4
35)、  更にスイッチ(Sl)のONを示すフラグ
(SIONF)をリセットする(#437)。このよう
にデータ設定モードが設定されているときには、AF制
御を禁止してデータ設定を優先させることにより、デー
タ設定中に誤ってAF開始スイッチ(Sl)が押されて
もAF動作が行われないようにしている。
Returning to FIG. 6, after the microcomputer (μC) determines the AF mode described above, it performs card data communication with the IC card (CD) in order to determine the type of the IC card (CD).
#420). Since this card data communication (2) has already been explained with reference to FIG. 5, the explanation will be omitted here. After the card data communication, a flag (S
(ETF) is set or not (#425), and if it is not set, press the AF start switch (
SL) is turned on or not based on the level of the terminal (H'6) (#427). The above switch (Sl
) is turned on (IP6-“L” level), A
Control F (#429). On the other hand, when the flag (SETF) indicating the data setting mode is set or when the switch (Sl) is 0FF (IP6 = "H" level), the AF drive motor is turned off to prohibit AF operation. Output a signal to the lens control circuit (LECN) to stop lens drive #431), and set a flag (AFNF) indicating that AF is not being performed #4
35), and further resets the flag (SIONF) indicating ON of the switch (Sl) (#437). When the data setting mode is set in this way, AF control is prohibited and data setting is prioritized, so even if the AF start switch (Sl) is pressed by mistake during data setting, AF operation will not be performed. That's what I do.

ここで、上述のAF制御について第10図(a)〜第1
0図(f)に示されるフロチャートを撮影画面中の焦点
検出範囲を示す第11図を参照して説明する。その際に
、測光範囲も説明する。
Here, regarding the above-mentioned AF control, FIGS. 10(a) to 1
The flowchart shown in FIG. 0(f) will be explained with reference to FIG. 11 showing the focus detection range in the photographic screen. At that time, the photometry range will also be explained.

まず、第11図において、外側の長方形(12)は、撮
影画面を示す。その中の(LMI)〜(LM4)は測光
範囲を示し、(AFL)〜(AF3)は焦点検出範囲を
示す。焦点検出範囲に関して述べると、カメラではスポ
ット/多点AFを切換可能となっており、スポットAF
を選択したときには、焦点検出範囲(AF2)の被写体
情報に基づいてAFが行われ、多点AFが選択されたと
きには、上記3つの範囲(AFL)〜(AF3)の中か
ら最もカメラに近い被写体にピントが合うようにAFが
行われる。以下、(AFL)を第1アイランド、 (A
F2)を第2アイランド、 (AF3)を第3アイラン
ドと呼ぶことにする。
First, in FIG. 11, the outer rectangle (12) indicates the photographing screen. Among them, (LMI) to (LM4) indicate the photometry range, and (AFL) to (AF3) indicate the focus detection range. Regarding the focus detection range, the camera can switch between spot/multi-point AF, and spot AF
When you select , AF is performed based on the subject information in the focus detection range (AF2), and when multi-point AF is selected, the subject closest to the camera is selected from the above three ranges (AFL) to (AF3). AF is performed to bring the subject into focus. Hereinafter, (AFL) is the first island, (A
F2) will be called the second island, and (AF3) will be called the third island.

第10図(a)のフローチャートに示したAF制御の説
明を行うと、まず、AF開始スイッチ(Sl)が初めて
押されたか否かを検出すべく、フラグ(SIONF)を
判定し、セットされていないときには、初めて押された
として、ステップ(#702)で合焦を示すフラグ(A
FEF)をリセットしてステップ(#705)へ進む。
To explain the AF control shown in the flowchart of FIG. 10(a), first, in order to detect whether the AF start switch (Sl) is pressed for the first time, a flag (SIONF) is determined and whether it is set or not is determined. If not, it is assumed that it is pressed for the first time, and the flag (A
FEF) and proceed to step (#705).

セットされているときは、ステップ(#702)を通る
ことなしに直接ステップ(#705)に進む。そしてレ
ンズからの入力信号に基づいてレンズが装着されている
か否かを判定する(#705)、  そして、ステップ
(#705)でレンズが装着されていない場合には、A
Fを行っていないことを示すフラグ(AFNF)をセッ
トしてリターンする(#80の。
If it is set, proceed directly to step (#705) without passing through step (#702). Then, it is determined whether the lens is attached based on the input signal from the lens (#705), and if the lens is not attached in step (#705), A
A flag (AFNF) indicating that F is not performed is set and the process returns (#80).

レンズが装着されている場合には、焦点調節モードがA
FモードであるかMモードであるかを端子(IPIO)
のレベルによって判定しく#710)、AFモードであ
るときには、ステップ(#711)でフォーカスロック
モードが選択されているかを、ビット(Fb14)によ
って判定する。、Mモードのときには、ステップ(#7
98)で補助光モードを禁止して(Fb13=■、次の
ステップ(#799)でマニュアルフォーカスのサブル
ーチン(MFOCUSI e実行した後、AFを行って
いないことを示すフラグ(AFNF)をセットして(#
800)、ステップ(#780)に進み合焦か否かを判
定する。合焦であればフラグ(AFEF)をセットし、
合焦でなければフラグ(AFEF)をリセットしてリタ
ーンする。
If a lens is attached, focus adjustment mode is A.
Pin (IPIO) to indicate whether it is F mode or M mode.
If the AF mode is selected, it is determined by the bit (Fb14) whether the focus lock mode is selected in step (#711). , when in M mode, step (#7
98), disable the auxiliary light mode (Fb13=■, and execute the manual focus subroutine (MFOCUSIe) in the next step (#799), then set the flag (AFNF) indicating that AF is not being performed. (#
800), the process proceeds to step (#780) and it is determined whether or not focus is achieved. If it is in focus, set the flag (AFEF),
If it is not in focus, the flag (AFEF) is reset and the process returns.

このマニュアルフォーカスのサブルーチンを第10図(
d)に示し説明すると、まず、マニュアルフォーカスを
示すフラグ(MFF)をセットし、積分を制御してデー
タダンプを実行する積分制御を行う。そしてマニュアル
フォーカスでは、AFエリアの3つのアイランドのうち
、第2アイランドを示すフラグ(AF2F)をセットし
、このアイランドのデイフォーカス量(DF2)を算出
し、これをデイフォーカス量として、リターンする(#
4100〜#4110)。
This manual focus subroutine is shown in Figure 10 (
As shown and explained in d), first, a flag (MFF) indicating manual focus is set, and integration control is performed to control integration and execute data dump. In manual focus, a flag (AF2F) indicating the second island among the three islands in the AF area is set, the day focus amount (DF2) of this island is calculated, and this is set as the day focus amount and returned ( #
4100~#4110).

上述のステップ(#4101)における積分制御のサブ
ルーチンを第1O図(b)に示し説明すると、まず、焦
点検出不能であるとき(LCONF=1)、或いは補助
光モードでないとき(Fb13=0)には、補助光発光
を行わず積分、及び積分終了後のデータダンプを行って
、リターンする(#4150. #4155. #41
65. #417の。焦点検出不能でないときで、且つ
補助光モードであるときは、積分開始の前から発光し、
一定時間の発光を行うべく、端子(OLD)を一定時間
「H」レベルにして、積分を行う(#4150〜#41
70)。
The integral control subroutine in the above step (#4101) is shown in FIG. performs integration without emitting auxiliary light, dumps data after completion of integration, and returns (#4150. #4155. #41
65. #417. When the focus is not detectable and the auxiliary light mode is activated, the light is emitted before the start of integration.
In order to emit light for a certain period of time, the terminal (OLD) is set to "H" level for a certain period of time and integration is performed (#4150 to #41
70).

第10図(a)に戻って、ステップ(11710)及び
(#711)の判定の結果、AFモードで、フォーカス
ロックが選択されている場合はステップ($1712)
でレンズの駆動を止め、合焦していたかを、フラグ(A
FEF)がセットされているかで判定しく$713)、
  セットされているときには、ステップ(#714)
に進み、Mフォーカスの制御を行ってステップ(178
0)へ進む。
Returning to FIG. 10(a), as a result of the determination in steps (11710) and (#711), if focus lock is selected in the AF mode, step ($1712)
to stop the lens drive, and check whether the lens is in focus by checking the flag (A).
FEF) is set ($713),
When set, step (#714)
Proceed to step (178) to control the M focus.
Proceed to 0).

セットされていないときは、ステップ(#799)へ進
む。ここで、合焦を判定するのは、合焦後にフォーカス
ロックされた場合には測光値を決めるときに合焦時の被
写体の距離データ(像倍率に用いる)を用いて測光値を
決めたいからである。
If not set, proceed to step (#799). The reason for determining focus here is that if the focus is locked after focusing, you want to use the distance data of the subject at the time of focus (used for image magnification) to determine the photometric value. It is.

第10図(a)のステップ(#710)でAPと判定さ
れ、次のステップ(#711)でフォーカスロックがな
された後、ステップ($1715)でAFを行っていな
いことを示すフラグ(AFNF)をリセットすると共に
、ステップ(#717)でマニュアルフォーカスを示す
フラグ(MFF)をリセットする。マイコン(μC)は
測距用のCODにおいて入射光量に応じて発生する電荷
の蓄積(積分)を制御し、その積分終了後、積分値をデ
ジタル変換して得られたデータを入力する(#720)
。そして、ステップ(#730)でスポットAFか否か
を検出(機能データのFb2で検出)し、スポットAF
 (Fb2= 1)であれば、ステップ(#735)へ
進んで第10図(d)に示すスポットAFのサブルーチ
ンを実行する。このサブルーチンでは第2アイランドに
基づいて、八Fが行われていることを示すフラグ(AF
2F)をセットし、入力したデータから第2アイランド
のデイフォーカス量(DF2)を算出し、これをレンズ
駆動用デイフォーカス量とする(#4102〜#411
0)。
After the AP is determined in step (#710) of FIG. 10(a) and the focus is locked in the next step (#711), a flag (AFNF ), and at the same time, a flag (MFF) indicating manual focus is reset in step (#717). The microcomputer (μC) controls the accumulation (integration) of the charge generated according to the amount of incident light in the COD for distance measurement, and after the integration is completed, the data obtained by digitally converting the integral value is input (#720 )
. Then, in step (#730), it is detected whether or not spot AF is used (detected by Fb2 of the function data).
If (Fb2=1), the process proceeds to step (#735) and executes the spot AF subroutine shown in FIG. 10(d). In this subroutine, a flag (AF
2F), calculate the day focus amount (DF2) of the second island from the input data, and use this as the day focus amount for lens driving (#4102 to #411
0).

一方、第10図(a)のステップ(#730)で多点A
Fモードが選択されているときには、ステップ(#74
0)へ進んで第10図(C)に示す通常のAF制御のサ
ブルーチンを実行する。その際、第1.第2.第3アイ
ランドのデイフォーカス量(DF)を算出し、上記のう
ち、カメラに最も近い被写体に対するデイフォーカス量
を算出する(#4200〜#4215)。
On the other hand, in step (#730) of FIG. 10(a), multiple points A
When F mode is selected, step (#74
0) and executes the normal AF control subroutine shown in FIG. 10(C). At that time, 1. Second. The day focus amount (DF) of the third island is calculated, and among the above, the day focus amount for the subject closest to the camera is calculated (#4200 to #4215).

このデイフォーカス量の決定のサブルーチンを第10図
(f)に示し説明すると、今デイフォーカス量としては
、前ビン(被写体がレンズのピント位置より遠い)の場
合には負、後ビン(被写体がレンズのピント位置よりカ
メラ側)の場合には正のデイフォーカス量を示し、その
絶対値がデイフォーカスの大きさを示すようになってお
り、カメラに最も近い被写体を検出するには3つのアイ
ランドのデイフォーカス量のうち、最大(正、負を含め
て)のデイフォーカス量を検出すれば良く、主被写体は
、その焦点検出エリアに存在すると考える。
The subroutine for determining the day focus amount is shown in FIG. If the object is closer to the camera than the focus position of the lens), it indicates a positive day focus amount, and its absolute value indicates the size of the day focus.To detect the subject closest to the camera, three islands are It is sufficient to detect the maximum (including positive and negative) day focus amount among the day focus amounts, and it is assumed that the main subject exists in the focus detection area.

第10図(f)では、マイコン(μC)はまず、アイラ
ンドを示すフラグ(AFIF−AF3F)をリセットし
、最大のデイフォーカスアイランドを検出し、検出した
アイランドデイフォーカス量をレンズ駆動用デイフォー
カス量として、そのアイランドに応じた上述のフラグ(
AFIF −AF3F)をセットしてリターンする(#
810〜#865)。
In FIG. 10(f), the microcomputer (μC) first resets the flag indicating the island (AFIF-AF3F), detects the largest day focus island, and converts the detected island day focus amount into the lens driving day focus amount. , the above flag (
AFIF - AF3F) and return (#
810~#865).

デイフォーカス量の算出を行った後、第10図(a)の
ステップ(#745)で焦点検出不能(データが信頼で
きない)であるかを調べ(例えば、コントラストが低い
か否かを判定し、低ければ、焦点検出不能とする)焦点
検出不能であれば、ステップ(#747)へ進んで補助
光モードであったか否がを判定し、補助光モードであっ
たときには、これ以上の焦点検出を行っても無駄である
ので、これを示すフラグ(LCONF)をセットしく#
752)、追随モード(後述)であることを示すフラグ
をリセットして(#755)、リターンする。ステップ
(#747)にて、補助光モードでないときは、ステッ
プ(#757)へ進んで輝度が低いか否かを検出し、輝
度が低くないときには、補助光発光しても無駄なので、
ステップ(#752)に進み、上述と同じ処理を行う。
After calculating the day focus amount, in step (#745) of FIG. 10(a), it is checked whether the focus cannot be detected (the data is unreliable) (for example, it is determined whether the contrast is low, If it is low, focus detection is disabled) If focus detection is not possible, proceed to step (#747) to determine whether or not it was in auxiliary light mode, and if it was in auxiliary light mode, further focus detection is performed. It is useless to do this, so please set a flag (LCONF) to indicate this.#
752), resets a flag indicating that it is the tracking mode (described later) (#755), and returns. In step (#747), if it is not the auxiliary light mode, proceed to step (#757) to detect whether the brightness is low or not, and if the brightness is not low, it is useless to emit the auxiliary light.
Proceed to step (#752) and perform the same processing as described above.

一方、輝度が低いときには、ステップ(#760)で補
助光モード(Fb13=1)として、ステップ(#75
5)に進む。
On the other hand, when the brightness is low, step (#760) sets the auxiliary light mode (Fb13=1), and step (#75
Proceed to 5).

次に、マイコン(μC)は焦点検出不能でないときは、
フラグ(LCONF)をリセットしく#762)、レン
ズ駆動用デイフォーカス量から合焦が否かをステップ(
#765)で判定し、合焦である場合、合焦状態を示す
フラグ(AFEF)をセットしく#767)、且つフラ
グ(AFEIF)をセットしてステップ(#755)へ
進む。
Next, if the microcomputer (μC) is not unable to detect the focus,
Reset the flag (LCONF) (#762), and check whether or not focus is achieved based on the day focus amount for lens drive (
If the focus is determined in #765), a flag (AFEF) indicating the focused state should be set in #767), and the flag (AFEIF) is set, and the process proceeds to step (#755).

ステップ($1765)で合焦でないときは、ステップ
(#775)へ進んでレンズ駆動制御のサブルーチンを
実行した後、リターンする。このサブルーチンを第10
図(e)に示し説明すると、ワンショットAF(一旦合
焦すると以後のレンズ駆動を停止するもので、このとき
焦点検出も停止して良い)か、コンティニュアスAF(
合焦後も被写体に追随し、求められたデイフォーカス量
に応じてレンズ駆動を行うもの)かをデータ(Fb8)
によって判定する(#4250)。
If the focus is not in focus at step ($1765), the process proceeds to step (#775), executes a subroutine for lens drive control, and then returns. This subroutine is the 10th subroutine.
The explanation shown in Figure (e) is one-shot AF (once focus is achieved, subsequent lens driving is stopped, and focus detection may also be stopped at this time), continuous AF (
(Fb8)
(#4250).

ワンショットAFの場合(Fb8=O)合焦を示すフラ
グ(AFEF)がセットされているか否かを(#425
5)で判定し、セットされていない場合、或いはコンテ
ィニュアスAFの場合(Fb8= 1)にはステップ(
#4327)、 (#4330)を経てステップ(#4
340)に進み、レンズ駆動の制御を行う。ステップ(
#4327)では合焦を示すフラグ(AFEF)をリセ
ットし、ステップ(#4330)では、レンズの駆動量
(LN)を、デイフォーカス量(DF)にに値を掛ける
ことによって算出し、ステップ(#4340)でレンズ
を駆動させてリターンする。尚、このステップ(#43
40)でのレンズ駆動は、レンズ駆動回路(LECN)
が上記駆動量(LN)に対応した値だけレンズを駆動す
ることによりなされる。
In the case of one-shot AF (Fb8=O), check whether the flag (AFEF) indicating focus is set (#425).
5), and if it is not set or continuous AF (Fb8 = 1), step (
#4327), (#4330) and step (#4
The process proceeds to step 340), where the lens drive is controlled. Step (
In step (#4327), the flag (AFEF) indicating focus is reset, and in step (#4330), the lens driving amount (LN) is calculated by multiplying the day focus amount (DF) by the value. #4340) to drive the lens and return. Note that this step (#43
The lens drive in 40) is performed by the lens drive circuit (LECN).
is performed by driving the lens by a value corresponding to the driving amount (LN).

ステップ(114255)において、合焦したことを示
すフラグ(AFEF)がセットされているとき、ステッ
プ(#4260)に進み、合焦でない状態から合焦した
ときを示すフラグ(AFEIF)がセットされているか
を判定する。セットされているときには、後述の追随判
定(被写体が移動しているかを判定する)の為の準備の
処理を行う。まずステップ(#4265)において、デ
イフォーカス量をメモリするレジスタ(DF2)、 (
DF3)をリセットし、同様のレジスタ(DPI)に、
求めたデイフォーカス量(DF)をメモリさせ(#42
70)、変数(N)を0にセットしく$14275)、
上記(AFEIF)をリセットして(#4280)、リ
ターンする。ステップ(#4260)において、合焦後
(AFEF・1)、2回目以降の焦点検出を行うとき(
AFEIF=O)、ステップ(#4285)に進み、デ
イフォーカス量をメモリするレジスタに順次デイフォー
カス量をメモリして行き〔レジスタ(DF2)の内容を
レジスタ(DF3)に、レジスタ(DPI)の内容をレ
ジスタ(DF2)に、求めたデイフォーカス量(DF)
をレジスタ(DPI)にメモリする〕変数(N)に1を
加え、この(N)が2以上、即ち合焦後、3回焦点検出
を行ったかを判定し、2回以内のとき、レンズ駆動を行
わずリターンする(#4285〜#4305)。
In step (114255), when the flag (AFEF) indicating that the focus is set is set, the process proceeds to step (#4260), and the flag (AFEIF) indicating that the focus is achieved from the out-of-focus state is set. Determine if there are any. When set, preparation processing for tracking determination (determining whether the subject is moving), which will be described later, is performed. First, in step (#4265), a register (DF2) for storing the day focus amount, (
DF3) and set the same register (DPI) as
The obtained day focus amount (DF) is memorized (#42
70), set the variable (N) to 0 $14275),
Reset the above (AFEIF) (#4280) and return. In step (#4260), after focusing (AFEF 1), when performing the second and subsequent focus detection (
AFEIF=O), proceed to step (#4285), and sequentially memorize the day focus amount in the register that stores the day focus amount [the contents of the register (DF2) are stored in the register (DF3), the contents of the register (DPI) into the register (DF2), and the obtained day focus amount (DF)
[Memorize in the register (DPI)] Add 1 to the variable (N), determine if this (N) is 2 or more, that is, focus detection has been performed 3 times after focusing, and if it is within 2 times, lens drive Returns without performing (#4285 to #4305).

ステップ(#4305)において、3回以上行っている
とき(N22)には、ステップ(#4310)に進み、
過去3回のデイフォーカス量の平均(レジスタにメモリ
されている内容の平均)でデイフォーカス量を求め、次
のステップ(#4315)でこの値が所定値KDF以上
か否かを判定する。これは、過去3回の焦点検出で、被
写体が所定の速度で(像面上で)動いているか否かを判
定していることになる。所定値未満のとき、被写体は移
動していないとして、追随フラグはリセットして(#4
320)、リターンする。
In step (#4305), if it has been performed three or more times (N22), proceed to step (#4310),
The day focus amount is calculated from the average of the past three day focus amounts (the average of the contents stored in the register), and in the next step (#4315) it is determined whether this value is greater than or equal to a predetermined value KDF. This means that it has been determined in the past three focus detections whether the subject is moving at a predetermined speed (on the image plane). When the value is less than the predetermined value, it is assumed that the subject is not moving, and the tracking flag is reset (#4).
320), return.

このフラグは、表示(インファインダー)の為に用いる
。一方、上記デイフォーカス量が所定値以上のときは、
被写体が動いているとき、追随モードとして、フラグ(
追随F)をセットしく#4325)、且つステップ(#
4327)で合焦表示用のフラグ(合焦F)をリセット
して(これは、既に被写体が移動しているのでこれをリ
セットして)レンズの駆動量を、デイフォーカス量にに
値(レンズ駆動量/デイフォーカス)を掛けて求め、レ
ンズ駆動を行ってリターンする(#4330. #43
40)。
This flag is used for display (infinder). On the other hand, when the day focus amount is more than a predetermined value,
When the subject is moving, the flag (
Follow F) should be set #4325) and step (#
4327) to reset the focus display flag (focus F) (this is done because the subject is already moving) and set the lens drive amount to the day focus amount (lens Multiply the driving amount/day focus), drive the lens, and return (#4330. #43
40).

ここで、焦点検出に関するファインダー内の表示に関し
て、第38図に示したファインダー内表示に基づいて説
明すると、(101)は合焦或いは焦点検出不能を示す
もので、表示用合焦フラグ(合焦F)に基づいてセット
されているときには、緑のLEDで点灯し、そうでない
ときは(合焦F=0)は消灯する。又、焦点検出不能の
とき(LCONF・1)には、赤色のLEDでこれを点
滅させ、そうでないとき(LCONF=O)には消灯と
する。(102)は、焦点検出領域を示し、内部の領域
(102a)を表示しているときはスポットAFを示し
、外側の領域(102b)のみのときは、多点測距を示
している。(103)はコンティニュアス用モード、或
いは追随モードを示しているとき(追随F=1)表示さ
れ、コンティニュアスAF及び追随モードでない時消灯
となる。(104)の「AF/Muは、AFモードのと
き(AFNF=O)はAF表示、それ以外のとき(AF
NF=1)はM表示を行う。尚、AFスイッチ(Sl)
がOFFのとき(31OFF=O)、ファインダー内表
示は消灯される。
Here, the display in the finder regarding focus detection will be explained based on the display in the finder shown in FIG. When set based on F), the green LED lights up, and otherwise (focus F=0) turns off. Further, when the focus cannot be detected (LCONF.1), the red LED is blinked, and when it is not (LCONF=O), it is turned off. (102) indicates a focus detection area, and when the inner area (102a) is displayed, it indicates spot AF, and when only the outer area (102b) is displayed, it indicates multi-point distance measurement. (103) is displayed when the mode for continuous AF or tracking mode is indicated (following F=1), and is turned off when the mode is not continuous AF or tracking mode. (104) "AF/Mu displays AF when in AF mode (AFNF=O), and displays AF in other cases (AF
NF=1) performs M display. In addition, the AF switch (Sl)
When is OFF (31OFF=O), the display in the viewfinder is turned off.

再び、第6図に戻りマイコン(μC)は、各種キースイ
ッチが操作されることによる各種データの変更の制御を
行う(#440)。
Returning to FIG. 6 again, the microcomputer (μC) controls changes to various data by operating various key switches (#440).

これを第12図に示し説明すると、まず各キースイッチ
の状態を確認しこれをメモリーする(#900)。
To explain this as shown in FIG. 12, first, the status of each key switch is checked and this is stored in memory (#900).

次にカード設定モードであることを示すフラグ(SET
F )がセットされているか否かを(#905)で判定
し、フラグ(SETF)がセットされているときには、
ステップ(#945)に進む。フラグ(SETF)がセ
ットされていないときには、ステップ(#910)へ進
んで露出モード変更スイッチ(SEM)がONされてい
るか否か判定する。ここで、該スイッチ(SEM)がO
Nされているときには、この変更のサブルーチン(#9
15)に進みリターンする(詳細は後述)。上記スイッ
チ(SEM)がONされ゛ていないときには、ステップ
(#920)に進んで機能変更スイッチ(SFUN)が
ONされているか否か判定する。そして、このスイッチ
(S FUN)がONされているときにはその変更のサ
ブルーチン(#925)に進みリターンする。
Next, set the flag (SET) indicating that the card is in card setting mode.
F ) is set or not is determined in (#905), and if the flag (SETF) is set,
Proceed to step (#945). If the flag (SETF) is not set, the process advances to step (#910) and it is determined whether the exposure mode change switch (SEM) is turned on. Here, the switch (SEM) is O
When N is selected, this change subroutine (#9
Proceed to step 15) and return (details will be described later). If the switch (SEM) is not turned on, the process proceeds to step (#920) and it is determined whether or not the function change switch (SFUN) is turned on. Then, when this switch (S FUN) is turned on, the process proceeds to the subroutine for that change (#925) and returns.

ここで、上記2つのサブルーチンを第13図、第14図
に夫々示し説明すると、まず露出モード変更であるが、
アップスイッチ(Sup)が1回ONされるごとに漸次
P−4A−4S−>Mと進んで更にPへ戻る如く、サイ
クリックに進み、ダウンスイッチ(Sdn)が1回ON
されるごとに順次P4−A4−84−Mのように進み、
Pの次はMに進む如く上記アップ方向とは逆方向にサイ
クリックに進むようになっているが、ICカード(CD
)により設定されている露出モードに応じて変更され、
選択されていないモードは飛び越される。
Here, the above two subroutines are shown and explained in FIGS. 13 and 14, respectively. First, the exposure mode is changed.
Each time the up switch (Sup) is turned ON once, the process progresses cyclically as if it progresses gradually from P-4A-4S->M and then returns to P, and the down switch (Sdn) is turned ON once.
Each time, the process progresses like P4-A4-84-M,
After P, it moves cyclically in the opposite direction to the above-mentioned upward direction, such as moving to M. However, when an IC card (CD
) is changed according to the exposure mode set by
Modes that are not selected are skipped.

これを第13図を参照して説明すると、マイコン(μC
)はステップ(#1000)においてアップスイッチ(
Sup)がONされているか否かを判定し、ONされて
いない場合は、ステップ(#1055)に進む。ONさ
れているときにはステップ(#1005)に進み、RA
Mの機能データ(Fbn)の(Fbo) (Fbl)を
調べ、制御露出モードとしてPモードが現在選択されて
いるかを判定し、選択されている場合は、ステップ(#
1010)に進んでICカードによりAモードが選択さ
れているかを内部のE2PROMの(MSb6)〜(M
Sb8)(第4表参照)によって判定し選択されていれ
ば、露出モードをPからAに変更し、機能データ(Fb
O,Fbl)を(0,0)から(0,1)に変更しリタ
ーンする(#1015)。上記ステップ(#1010)
において、ICカードによりAモードが選択されていな
いと判定されたときには、ステップ(#1025)へ進
み、Sモードが選択されているか判定し、ここでSモー
ドが選択されていないときには、更にステップ(#10
40)へ進んでMモードが選択されているかと、順次カ
ードにより選択されているモードを捜す。そして、選択
されているモードがあればそれを設定するようになって
いる。
To explain this with reference to FIG.
) is the up switch (
It is determined whether Sup) is turned on, and if it is not turned on, the process proceeds to step (#1055). If it is ON, proceed to step (#1005) and set the RA
Check (Fbo) (Fbl) of M function data (Fbn) to determine whether P mode is currently selected as the control exposure mode. If selected, step (#
1010) and check whether the A mode is selected by the IC card by checking the internal E2PROM (MSb6) to (M
Sb8) (see Table 4) and if selected, the exposure mode is changed from P to A and the function data (Fb8) is selected.
O, Fbl) from (0, 0) to (0, 1) and return (#1015). Above step (#1010)
In step (#1025), if it is determined that the A mode is not selected by the IC card, it is determined whether the S mode is selected, and if the S mode is not selected, the process proceeds to step (#1025). #10
Proceed to step 40) to check whether the M mode is selected and sequentially search for the selected mode by card. Then, if there is a selected mode, it is set.

そして、A、  S、  Mモードが選択されていない
とき、即ちPモードだけ選択されているときは、Pモー
ドとなる(#1050)。
Then, when the A, S, and M modes are not selected, that is, when only the P mode is selected, the P mode is selected (#1050).

以下同様に、今制御露出モードとしてAモードが選択サ
レテイルトキ(Fbo、Fb1=o、1)ニハ、ICカ
ードによりSモードが選択されているが、選択されてい
ないときにはMモードが選択されているかを判定し、選
択されているモードに露出モードを変更しビット(Fb
O)、 (Fbl)を変更し、リターンする(#102
0〜1030)。
Similarly, if A mode is selected as the control exposure mode (Fbo, Fb1=o, 1), S mode is selected by the IC card, but if it is not selected, check whether M mode is selected. The exposure mode is changed to the selected mode and the bit (Fb
O), (Fbl) and return (#102
0-1030).

今、制御露出モードとしてSモードが選択されティ6 
トキニハ(FbO,Fbl= 1.1)、MモードがI
Cカードにより選択されているがを判定し、選択されて
いる場合は、Mモードとし、選択されていない場合は、
Pモードにしてリターンする(#1035〜#1045
)。制御露出モードがSモードでないとき、即ちMモー
ドであるときには、次にはPモードになる。これは本実
施例でPモードは必ず選択されているためである。
Now, S mode is selected as the control exposure mode.
Tokiniha (FbO, Fbl = 1.1), M mode is I
Determine which is selected by the C card, if selected, set to M mode, if not selected,
Change to P mode and return (#1035 to #1045
). When the control exposure mode is not the S mode, that is, when it is the M mode, the mode then becomes the P mode. This is because the P mode is always selected in this embodiment.

ステップ(#1055)においてダウンスイッチ(Sd
n)がONされているときは露出モードの変更方向が異
なる以外は、上述したアップスイッチ(S up)と同
様の制御を行っているので説明を省略する。
In step (#1055), the down switch (Sd
When n) is turned on, the same control as the above-mentioned up switch (S up) is performed, except that the direction of changing the exposure mode is different, so a description thereof will be omitted.

尚、両スイッチ(S up)(S dn)がいずれもO
FFのときは何もせずリターンする。
In addition, both switches (S up) (S dn) are set to O.
If it is FF, do nothing and return.

次に第14図(a)に示す機能変更スイッチ(S FU
N)がONされたときの制御を説明する。マイコン(μ
C)は上述した4つの機能、即ち、ハイライト/シャド
ー(H/S)、露出補正(+/−)、単写/連写(S/
C)、スポットAF/多点A F (s/A)のうち1
つでも選択されているかをE2PROMのビット(MS
bO〜MSb3)で検出し、これらのビットがいずれも
セットされていない場合は、モード選択が無いとしてリ
ターンする(#1200)。少なくとも、1つがセット
されている場合は少なくとも1つはモードが選択されて
いるとして、データ変更すべきステップ(#1205)
以降のフローを実行する。マイコン(μC)は、変更す
べき機能を示すスイッチ(S SE)がONされている
か否かを判定し、ONされている場合には変更すべき機
能がH/S→+/−→S/C→S/Aと進み、S/Aの
次はH/Sへ戻るという如くサイクリックに進んでいく
が、ICカードにより機能が選択されていない場合は、
それを飛び越すようになっている。ステップ(#121
0)において、今、変更すべき機能がl(/Sモードを
示しているとき(第5表に示すRAMデータノCDbO
,CDbl、 CDb2= O,0゜0)、+/−モー
ドがICカードにより選択されているカラステラフ(#
1215)テE2PRoMノヒット(Msbl)ニより
判定し、+/−モードが選択されているときは、+/−
モードのデータ変更モードとし、データCDbO〜CD
b2= O,0,1としテリターンす6 (#1220
)。+/−モードが選択されていないときはステップ(
#1227)へ進んで、S/Cモードが選択されている
かを(MSb2)により判定し、これも選択されていな
いとき(MSb2=0)にはステップ(#1240)へ
進んでA/Sモードが選択されているかを(MSb3)
により判定し、これも選択されていないとき(に5b3
=O)は、更にステップ(#1250)へ進んでH/S
モードが選択されているかを判定する(MSbO)。今
、少なくとも11/sモードは選択されているので、H
/Sモードの機能を変更すべく、CDbO〜CDb2=
 0. O,Oトする。S/Cモード、  A/5−E
−ドが選択されているときには、これを変更するモード
とするべく CDbO〜CDb2を設定する。以下同様
に、今変更すべき機能のモードの次のモード(H/Sモ
ードなら+/−モード、÷/−モードならS/Cモード
、S/CモードならS/Aモード、 S/Aモードなら
H/Sモード)がカードにより選択されているかを判定
し、選択されているなら変更モードを次のモードとし、
選択されていない場合にはH/S→+/−→S/C→S
/A−+H/S−一と頑にICカードにより選択されて
いる機能を捜し、選択されている機能を変更すべき機能
としてデータCDbO〜CDb2をセットし、リターン
する。
Next, the function change switch (S FU
The control when N) is turned on will be explained. Microcomputer (μ
C) has the four functions mentioned above, namely, highlight/shadow (H/S), exposure compensation (+/-), single shooting/continuous shooting (S/
C), 1 of spot AF/multi-point AF (s/A)
The E2PROM bit (MS
bO to MSb3), and if none of these bits are set, it is determined that there is no mode selection and the process returns (#1200). If at least one is set, at least one mode is selected, and the step to change data (#1205)
Execute the following flow. The microcomputer (μC) determines whether the switch (SSE) indicating the function to be changed is turned on, and if it is turned on, the function to be changed is H/S→+/−→S/ The process progresses cyclically from C to S/A, then back to H/S after S/A, but if no function is selected by the IC card,
It's like jumping over that. Step (#121
0), when the function to be changed now indicates l(/S mode (RAM data NOCDbO shown in Table 5)
, CDbl, CDb2=O, 0゜0), +/- mode is selected by the IC card (#
1215) Determine from the E2PRoM no hit (Msbl) and if +/- mode is selected, +/-
mode data change mode, data CDbO~CD
b2 = O, 0, 1 and return 6 (#1220
). If +/- mode is not selected, step (
Step #1227) determines whether the S/C mode is selected by (MSb2), and if it is not selected (MSb2=0), advance to step (#1240) and switch to A/S mode. is selected (MSb3)
When this is also not selected (5b3
=O), proceed further to step (#1250) and H/S
Determine whether the mode is selected (MSbO). At least 11/s mode is selected now, so H
/ To change the function of S mode, CDbO to CDb2=
0. O, O. S/C mode, A/5-E
- When mode is selected, CDbO to CDb2 are set to change this mode. Similarly, the next mode after the mode of the function to be changed now (+/- mode for H/S mode, S/C mode for ÷/- mode, S/A mode for S/C mode, S/A mode If H/S mode) is selected by the card, determine if it is selected, and if it is selected, set the change mode to the next mode,
If not selected, H/S→+/-→S/C→S
/A-+H/S-1, the process stubbornly searches for the function selected by the IC card, sets data CDbO to CDb2 as the function to be changed from the selected function, and returns.

これから分かるように、予めカードにより選択されてい
ないモードは変更モードに関し飛び越されることになる
。例えば、選択法の変更可能なモードが+/−とS/C
の2つである場合、機能変更スイッチ(SFON)が押
されると、フローはステップ(#1225)へ行き、こ
こでステップ(#1227)へ進んでS/Cモードが変
更すべきモードとなる。これを表示上でいえば、カーソ
ルが+/−からS/Cへ移動することを意味する。次に
、機能変更スイッチ(S FUN)が再び押されると、
フローはステップ(#1235)へ行き、ここからステ
ップ(#1240)→(#1250)→(#1215)
と歩進し、+/−が変更すべきモードとなり表示上のカ
ーソルは+/−へ移動する。これらの場合、H/Sモー
ドとA/Sモードは選択されていないので、変更モード
の設定に関し実質的に飛び越されることになる。
As can be seen, modes not previously selected by the card will be skipped with respect to the change mode. For example, the selectable modes are +/- and S/C.
If the function change switch (SFON) is pressed, the flow goes to step (#1225), and then to step (#1227), where the S/C mode becomes the mode to be changed. On the display, this means that the cursor moves from +/- to S/C. Next, when the function change switch (S FUN) is pressed again,
The flow goes to step (#1235), and from here step (#1240) → (#1250) → (#1215)
+/- becomes the mode to be changed, and the cursor on the display moves to +/-. In these cases, since the H/S mode and A/S mode are not selected, the setting of the change mode is essentially skipped.

ステップ(#1205)において、スイッチ(SSE)
がONされていない場合は、ステップ(#1265)に
進む。
In step (#1205), the switch (SSE)
If not turned on, the process advances to step (#1265).

ステップ(#1265)ではアップスイッチ(Sup)
がONされているかを判定し、ONされている場合には
、今変更すべき機能が何であるかをデータ(CDbO〜
CDb2)により判定し、H/Sモードであれば今設定
されているモードをデータ(FbO) (Fb7)によ
り判定して、次のモード(→H−IS→)l/Sなしを
サイクリックに進む)に移行すべく、データ(FbO)
、 (Fb7)を設定しく#1270. #1275)
、リターンする。
In step (#1265), up switch (Sup)
Determines whether or not is turned on, and if it is turned on, data (CDbO ~
If it is H/S mode, the currently set mode is determined by data (FbO) (Fb7), and the next mode (→H-IS→) without l/S is determined cyclically. Data (FbO)
, (Fb7) should be set #1270. #1275)
, return.

機能が+/−モードであれば(#1285)で露出補正
量(ΔEv)に0.5を加え、その大きさを判定するサ
ブルーチン(#1287)に進む。このサブルーチンは
第14図(b)に示されるが、補正量(ΔEv)が正で
あれば+側補正としてデータFb4. Fb5= 0.
1とし、−側補正であればデータFb4. Fb5= 
1. Oとし、さらに補正が零であれば、補正なしとし
てデータFb4. Fb5= 0.0として、リターン
する($11350〜$11370)。
If the function is in +/- mode (#1285), 0.5 is added to the exposure correction amount (ΔEv), and the process proceeds to a subroutine (#1287) for determining the magnitude. This subroutine is shown in FIG. 14(b), and if the correction amount (ΔEv) is positive, the data Fb4. Fb5=0.
1, and if it is negative side correction, data Fb4. Fb5=
1. O, and if the correction is zero, no correction is assumed and data Fb4. Return with Fb5=0.0 ($11350 to $11370).

第14図(a)に戻って、S/Cモードであれば、デー
タ(Fb3)によって今のモードを単写(S)か連写で
あるかを判定し、今のモードと反対になるようにデータ
を変更しく#1295)、リターンする。上記3つのモ
ード(H/Sモード、十/−モード、 S/Cモード)
のいずれでもないとき、即ちS/Aモードのときは今の
モードがスポットA F (S)か多点A F (A)
であるかをデータ(Fb2)によって判定し、今のモー
ドと反対になるようにデータ(Fb2)を変更しく#1
300)、リターンする。
Returning to Figure 14 (a), if it is S/C mode, it is determined whether the current mode is single shooting (S) or continuous shooting based on the data (Fb3), and the current mode is set to be the opposite of the current mode. Change the data to #1295) and return. The above three modes (H/S mode, 10/- mode, S/C mode)
If neither of these is selected, that is, in S/A mode, the current mode is spot A F (S) or multi-point A F (A).
Determine whether it is by data (Fb2) and change the data (Fb2) so that it is opposite to the current mode #1
300), return.

ステップ(#1265)においてアップスイッチ(Su
p)がONされていないときステップ(#1305)に
進み、ダウンスイッチ(Sdn)がONされているかを
判定し、ONされていない場合はリターンする。ONさ
れている場合は、H/Sモード内のモードを変更する場
合、その変更の順序が逆(←H4−34−H/Sなし←
)であること、また十だモードであれば露出補正量(△
Ev)から0.5Evを引くこと以外は上述のアップス
イッチ(S up)がONのときのフローと同様である
ので、説明は省略する(#1310〜#1340)。
In step (#1265), the up switch (Su
p) is not turned on, the process advances to step (#1305), where it is determined whether the down switch (Sdn) is turned on, and if it is not turned on, the process returns. If it is ON, when changing the mode in H/S mode, the order of change is reversed (←H4-34-No H/S←
), and if it is in Juda mode, the exposure compensation amount (△
Except for subtracting 0.5Ev from Ev), the flow is the same as the flow when the up switch (Sup) is ON, so the explanation will be omitted (#1310 to #1340).

第12図に戻り、露出モード変更スイッチ(SEM)、
機能変更スイッチ(SFUN)が共にOFFである場合
はアップスイッチ(Sup)及びダウンスイッチ(Sd
n)による絞り値(Av)、シャッター速度(Tv)の
変更のサブル−チンを示すステップ(#927)に進む
Returning to Figure 12, the exposure mode change switch (SEM),
If both function change switches (SFUN) are OFF, the up switch (Sup) and down switch (Sd
The process advances to step (#927) showing a subroutine for changing the aperture value (Av) and shutter speed (Tv) according to n).

このサブルーチンを第21図(a)(b)に示し、説明
すると、まずマイコン(μC)はアップスイッチ(Su
p)がONされているか否かをステップ(#1800)
で判定し、ONされていない場合はステップ(#180
5)に進みダウンスイッチ(Sdn)がONされている
が否かを判定し、ONされていないとき、リターンする
。アップスイッチ(Sup)がONされているとき、ス
テップ(#1800)からステップ(#1810)に進
み、Mモードであるか否かを判定する。ここでMモード
であるとき(FbO,Fbl=1.O)、ステップ(#
1811)に進み、M1モード(アップ、ダウンスイッ
チの操作のみでは、シャッター速度変更)であるが否か
を、E2PROMのビット(MSb28)により判定し
、M1モードであれば(M5b28・0)、次のステッ
プ(#1821)で絞り変更スイッチ(SAv)がON
されているか否かを判定し、ONされていれば(IP1
3= rLj )絞りを変更すべくステップ(#183
0)へ、ONされていなければ(IP13= rHJ 
’I、シャッター速度を変更すべくステップ(#182
3)に進む。まずシャッター速度変更の説明を行うと、
この速度変更が1/2Evきざみ、或いはIEvきざみ
で行うかをE2 PROMのビット(MSb29)によ
り判定しく#1823)、1/2Ev設定モード(MS
b29=1)であれば、ステップ(#1850)に移行
し、現在のシャッター速度(Tv)に0.5を加えて、
更にステップ(#1855)に移行する。−方、IEv
きざみで行う場合(MSb29=O)、ステップ(#1
824)で現在のシャッター速度がEv/2であるか否
か判定し、Ev/2の設定値〔例えばTv= 6.5(
SS  1/90)の0.5〕であれば、ステップ(#
1825)でこれに0.5Evを加え(Tv−6,5−
+Tv=7(SS  1/90→33 1/120)〕
、IEv単位とし、この値に更にステップ(#1826
)でIEvを加えてステップ(#1855)に進む。ス
テップ(#1855)では、設定されたシャッター速度
が、最高速(TV@#う)を超えているか否かを判定し
、超えている場合のみ、最高速に制限しく#1860)
、リターンする。超えていない場合は、ステップ(#1
860)をスキップしてリターンする。ステップ(#1
821)において、絞り変更スイッチ(SAv)がON
されているときには、絞り値変更モードであるとして、
ステップ(#1830)で絞り値(Av)に0.5Ev
を加え、これが制御可能な最大の絞り値(Av、、、)
を超えているか否かを判定する(#1835)。超えて
いる場合には、絞り値(Av)として最大の絞り値(A
vsax)を設定しく#1840)、超えていない場合
には何もせずにステップ(#1845)に進んでPモー
ドであるか否かを判定し、Pモードである場合には、第
21図(b)のフローチャートのステップ(#1879
)に進む。Pモードでないときはリターンする。ステッ
プ(#1.811)において、M1モードでないとき(
MSb28=1)、ステップ(#1822)で絞り変更
スイッチ(SAv)がONされているか否かを判定し、
ONされている場合、シャッター速度変更として、ステ
ップ(#1823)へ、ONされていない場合には絞り
変更して、ステップ(#1830)に進む。
This subroutine is shown in FIGS. 21(a) and 21(b). To explain it, first, the microcomputer (μC)
Step (#1800) to check whether p) is turned on or not.
If it is not ON, step (#180
Proceed to step 5) to determine whether the down switch (Sdn) is turned on or not, and if it is not turned on, return. When the up switch (Sup) is turned on, the process proceeds from step (#1800) to step (#1810), and it is determined whether or not the M mode is set. Here, when in M mode (FbO, Fbl=1.O), step (#
1811), the E2PROM bit (MSb28) determines whether or not the mode is M1 mode (the shutter speed can be changed only by operating the up and down switches), and if it is the M1 mode (M5b28.0), the next At step (#1821), the aperture change switch (SAv) is turned on.
If it is ON (IP1
3=rLj) Step (#183) to change the aperture
0), if not turned on (IP13 = rHJ
'I, step to change the shutter speed (#182
Proceed to 3). First, I will explain how to change the shutter speed.
The E2 PROM bit (MSb29) should be used to determine whether this speed change is performed in 1/2Ev increments or IEv increments (#1823), 1/2Ev setting mode (MS
b29=1), move to step (#1850), add 0.5 to the current shutter speed (Tv),
Further, the process moves to step (#1855). - way, IEv
When performing in increments (MSb29=O), step (#1
824), it is determined whether the current shutter speed is Ev/2 or not, and the set value of Ev/2 [for example, Tv=6.5 (
0.5] of SS 1/90), step (#
1825), add 0.5Ev to this (Tv-6,5-
+Tv=7 (SS 1/90 → 33 1/120)]
, IEv unit, and further step (#1826
), add IEv and proceed to step (#1855). In step (#1855), it is determined whether or not the set shutter speed exceeds the maximum speed (TV@#u), and only if it exceeds, the shutter speed is limited to the maximum speed (#1860).
, return. If not, step (#1
860) and return. Step (#1
821), the aperture change switch (SAv) is turned on.
is in the aperture value change mode.
Step (#1830) sets the aperture value (Av) to 0.5Ev.
This is the maximum controllable aperture value (Av,...)
(#1835). If it exceeds the maximum aperture value (Av),
vsax) (#1840), and if it does not exceed it, do nothing and proceed to step (#1845) to determine whether or not it is in P mode. If it is in P mode, b) Step (#1879) of the flowchart
). Returns if not in P mode. In step (#1.811), when not in M1 mode (
MSb28=1), determine whether the aperture change switch (SAv) is turned on in step (#1822),
If it is turned on, the shutter speed is changed and the process goes to step (#1823); if it is not turned on, the aperture is changed and the process goes to step (#1830).

ステップ(#1810)でMモードでないときは、ステ
ップ(#1815)及び(#1820)で順次Pモード
であるかAモードであるか否かを判定し、Pモード、A
モードのどちらか一方(FbO,Fbl = 0.0又
は0.1)であればステップ(#1830)に進み、絞
り値(Av)のアップ制御を行い、どちらでもない、即
ちSモードであるとき(FbO,Fbl= 1.1)は
ステップ(#1823)に進みシャッター速度(Tv)
のアップの制御を行う。
If it is not M mode in step (#1810), it is determined whether it is in P mode or A mode in steps (#1815) and (#1820), and P mode, A
If it is either one of the modes (FbO, Fbl = 0.0 or 0.1), proceed to step (#1830) and increase the aperture value (Av), and if it is neither, that is, S mode. (FbO, Fbl= 1.1) goes to step (#1823) and shutter speed (Tv)
Control the up of the.

ステップ(#1805)でダウンスイッチ(3dn)が
ONされているときは、第21図(b)のステップ(#
1865)に進み、Mモードであるか否かを判定し、M
モードであるとき(FbO,Fbl = 1. O)、
ステップ(#1876)に進み、M1モードであるか否
かを判定し、M1モードであるとき(MSb28=O)
、絞り変更スイッチ(SAv)がONされているかを判
定しく#1877)、ONされていれば、絞り変更とし
て、ステップ(#1885)へ、ONされていなければ
、シャッター速度変更としてステップ(#1879)に
進む。ステップ(#1879)では、1/2Evきざみ
の設定モードであるか否かを判定し、1/ZEvきざみ
であれば(MSb29=1)、ステップ(#1905)
に進み、設定シャッター速度から、0.5Evを減算し
、これがカメラの最低シャッター速度(TV@l。)よ
り遅いか否かを判定しく#1907)、遅い場合には、
最低シャッター速度に制限しく#1908)、そうでな
い場合は何もせずリターンする。lEvきざみであれば
(MSb29=0)、現在の設定値が1./2Ev単位
であるか否かを判定し、1/2Ev単位である場合、0
.5Evを加え、加えた値から1、 OEvを減算して
リターンする(#1880〜#1882)。ステップ(
#1880)において、1/2Ev単位でない場合、ス
テップ(#1882)でこの値から、1.OEvを減算
してステップ(#1907)に進む。ステップ(#18
77)の判定で絞り変更モードであるとき(SAvON
)、ステップ(#1885)で絞り値(Av)のダウン
として、0.5Ev減算し、次いでステップ(#189
0)でその値が開放絞り値(Av。)より小さいか否か
を判定し、小さい場合には絞り値を開放絞り値(Av、
)とする(#1895)。
When the down switch (3dn) is turned on in step (#1805), step (#1805) in FIG.
1865), determines whether the mode is M mode, and
mode (FbO, Fbl = 1. O),
Proceed to step (#1876), determine whether or not the mode is M1 mode, and if it is the M1 mode (MSb28=O)
, determine whether the aperture change switch (SAv) is ON (#1877). If it is ON, proceed to step (#1885) to change the aperture; if not, proceed to step (#1879) to change the shutter speed. ). In step (#1879), it is determined whether or not the setting mode is in 1/2Ev increments, and if it is in 1/ZEv increments (MSb29=1), step (#1905)
Proceed to step #1907), subtract 0.5Ev from the set shutter speed, and determine whether this is slower than the camera's minimum shutter speed (TV@l. #1907). If it is slower,
If the shutter speed is not the minimum (#1908), do nothing and return. If it is in lEv increments (MSb29=0), the current setting value is 1. /2Ev unit or not, and if it is 1/2Ev unit, 0
.. Add 5Ev, subtract 1 OEv from the added value, and return (#1880 to #1882). Step (
#1880), if the unit is not 1/2Ev, step (#1882) calculates 1. Subtract OEv and proceed to step (#1907). Step (#18
77) when the aperture change mode is determined (SAvON
), step (#1885) reduces the aperture value (Av) by subtracting 0.5Ev, and then step (#189)
0) to determine whether the value is smaller than the open aperture value (Av.), and if it is smaller, the aperture value is changed to the open aperture value (Av,
) (#1895).

次に、Pモードであるか否かをステップ(#1900)
で判定する。前記ステップ(#1890)において、絞
り値(Av)が開放絞り値(Av、)より小さくないと
きは、ステップ(#1895)をスキップしてステップ
(#1900)に入る。このステップ(#1900)の
判定でPモードであれば上述した第21図(a)の絞り
値のアップの制御フロー(#1823〜#1860)に
進み、Pモードでないときはリターンする。
Next, step to determine whether it is in P mode (#1900)
Judge by. In step (#1890), if the aperture value (Av) is not smaller than the open aperture value (Av, ), step (#1895) is skipped and step (#1900) is entered. If the determination in this step (#1900) is that the mode is P, the process proceeds to the above-described control flow for increasing the aperture value (#1823 to #1860) in FIG. 21(a), and if it is not the P mode, the process returns.

ステップ(#1876)において、M1モードでないと
きには(MSb28=1)ステップ(#1878)に進
み、絞り変更スイッチ(S Av)がONされているか
否かを判定し、ONされている場合には、シャッター速
度を変更すべくステップ(#1879)へ進み、ONさ
れていない場合には、絞りを変更すべくステップ(#1
885)に進む。
In step (#1876), if it is not the M1 mode (MSb28=1), the process proceeds to step (#1878), where it is determined whether or not the aperture change switch (S Av) is turned on, and if it is turned on, Proceed to step (#1879) to change the shutter speed, and if it is not ON, proceed to step (#1) to change the aperture.
885).

ステップ(#1865)において、Mモードでないとき
、ステップ(#1870)、 (1875)で順次Pモ
ード或いはAモードであるかを判定し、Pモードのとき
、或いはAモードであれば、ステップ(#1885)以
降の絞り値ダウンの制御を行うフローに進み、そうでな
いときはSモードであるとして、ステップ(#1879
)に進み、シャッター速度のダウンの制御を行う。
In step (#1865), if the mode is not M mode, step (#1870) and (1875) sequentially determine whether the mode is P mode or A mode. 1885) onwards, proceed to the flow for controlling the aperture value reduction, and if not, proceed to step (#1879) assuming that the S mode is in effect.
) and control the shutter speed down.

第12図に戻って、上述した絞り値(Av)、シャッタ
ー速度(Tv)の変更のサブルーチンを示すステップ(
#927)を経た後、ステップ(#930)に進む。こ
のステップ(#930)では、カードによって設定され
ている機能を有効、無効にする常開のスイッチ(S C
D)がONされているか否かを判定し、ONされている
場合は、ステップ(#935)のカード機能有効、無効
スイッチ0N(SCDON)のサブルーチンに進む。
Returning to FIG. 12, steps (
After passing through step #927), the process proceeds to step (#930). In this step (#930), a normally open switch (S C
It is determined whether or not D) is turned on, and if it is turned on, the process advances to step (#935), a subroutine for the card function enable/disable switch 0N (SCDON).

これを第15図に示し説明する。まず、ステップ(#1
400)においてICカード(CD)がカメラに装填さ
れているか否かをデータ(CkbO)により判定しIC
カードが装填されていない場合(CkbO=O)、すぐ
にリターンする。モード設定カードが装填されている場
合、カード機能有効/無効スイッチ(SCD)が操作さ
れて、このフローを一度通ったことを示すフラグ(CD
F)がセットされているか否かを判定する(#1405
)。セットされている場合は、操作されているときに既
に有効/無効の切換えは済んだものとしてリターンする
。セットされていないときは、次のステップ(#141
0)に進んで、このフラグ(CDF)をセットし次いで
ステップ(#1415)においてカード機能が有効/無
効かを示すフラグ(CDFNF)を判定し、セットされ
ていない場合はセットしてカード機能を有効としく#1
42の、セットされている場合はりセットしてカード機
能を無効として(#1425)、リターンする。
This is shown in FIG. 15 and will be explained. First, step (#1
400), it is determined whether or not the IC card (CD) is loaded in the camera based on the data (CkbO), and the IC
If no card is loaded (CkbO=O), return immediately. When the mode setting card is loaded, the card function enable/disable switch (SCD) is operated and the flag (CD) indicating that this flow has been passed once is set.
Determine whether F) is set (#1405
). If it is set, it is assumed that the valid/invalid switching has already been completed during the operation and the process returns. If it is not set, proceed to the next step (#141
0), sets this flag (CDF), and then in step (#1415), determines the flag (CDFNF) indicating whether the card function is valid/invalid, and if it is not set, sets it to activate the card function. Effective #1
42, if it is set, it is set and the card function is invalidated (#1425), and the process returns.

第12図におけるステップ(#930)での判定におい
てカード機能有効/無効スイッチ(SCD)がONのと
きのフローを上述のように第15図に従って説明したが
、前記ステップ(#930)でカード機能有効/無効ス
イッチ(S CD)がOFFのときはステップ(#94
0)に進む。
The flow when the card function enable/disable switch (SCD) is ON in the determination at step (#930) in FIG. 12 was explained above in accordance with FIG. 15. When the enable/disable switch (S CD) is OFF, step (#94
Proceed to 0).

このステップ(#940)のフローを第16図を参照し
て説明すると、まずステップ(#1450)でICカー
ドの装着の有無を判定し、ここでICカードが装填され
ていないとき(20HのbO=0)はリターンし、IC
カードが装填されているとき(20Hのbo=1)はス
テップ(#1455)に進み上述した第15図のステッ
プ(#1405)以降のフローを1度通ったことを示す
フラグ(CDF)がセットされているか否か判定し、該
フラグ(CDF)がセットされているときは、次のステ
ップ($11460)で、これをリセットしてリターン
し、フラグ(CDF)がセットされていないときは、そ
のままリターンする。
The flow of this step (#940) will be explained with reference to FIG. 16. First, in step (#1450) it is determined whether or not an IC card is installed. = 0) returns and IC
When the card is loaded (bo=1 in 20H), the process advances to step (#1455) and a flag (CDF) is set indicating that the flow after step (#1405) in Figure 15 described above has been passed once. If the flag (CDF) is set, reset it and return in the next step ($11460), and if the flag (CDF) is not set, Return as is.

第12図に戻り、マイコン(μC)は次にステップ(#
945)でICカードによるモード変更、或いはデータ
設定モードをセット、リセットする常開のスイッチ(S
CDS)のON、 OFFを判定し、これがONの場合
、OFFの場合、それぞれのサブルーチンの制御に係る
ステップ(#955)、 (#950)を通ってリター
ンする。これを第17図、第18図に示し説明する。
Returning to Figure 12, the microcomputer (μC) then steps (#
945) to change the mode using an IC card or set or reset the data setting mode.
CDS) is determined to be ON or OFF, and if it is ON or OFF, the process returns through steps (#955) and (#950) related to the control of the respective subroutines. This will be illustrated and explained in FIGS. 17 and 18.

まず、第17図はスイッチ(S CD5)がONされて
いるときのサブルーチンを示しておりマイコン(μC)
はステップ(#1500)においてモード設定カードが
装着されているかを判定し、そのカードが装着されてい
ない場合(20Hのb2=0)、すぐにリターンする。
First, Figure 17 shows the subroutine when the switch (S CD5) is turned on, and the microcomputer (μC)
In step (#1500), it is determined whether the mode setting card is installed, and if the card is not installed (b2=0 in 20H), the process immediately returns.

モード設定カードが装着されている場合(20Hのb2
=1)には、このフローを1度通ったことを示すフラグ
(CDSF)がセットされているかを判定しく#151
0)、セットされていない場合、これをセットしく#1
515)、セットされている場合にはステップ($11
515)をスキップしてリターンする。
If the mode setting card is installed (b2 of 20H)
=1), check whether the flag (CDSF) indicating that this flow has been passed once is set. #151
0), if it is not set, please set this #1
515), if set, step ($11
515) and return.

次に、第18図に示す前記スイッチ(SCDS)のOF
Fのサブルーチンを説明すると、まずモード設定カ−ド
が装着されているか否かをステップ(#1550)で判
定し、装着されていない(20Hのb2= O)場合は
リターンする。装着されている場合(20Hのb2=1
)であっても、スイッチ(SCDS)が操作され当該[
5CDSON)のフローを実行したことを示すフラグ(
CDSF)がセットされているか否かを判定するステッ
プ(#1555)でフラグ(CDSF)がセットされて
いないときはリターンする(#1555)。前記フラグ
(CDSF)がセットされているときは、データ設定モ
ードへの突入或いは解除の為にスイッチ(SCDS)が
ON、 OFFされたものであり、これらのどちらかを
判定するためにデータ設定モードを示すフラグ(SET
F)がセットされているか否かを判定する(#1560
)。その結果、セットされていると判断された場合には
、そのフラグ(SETF)をステップ(#1570)で
リセットし、続いてステップ(#1572)でE2PR
OMへのデータ書き込みを示すフラグ(WRTF)をセ
ットし、スイッチ(S CD5)の操作によるデータ設
定モードの解除が終了したとして、ステップ(#157
5)でフラグ(CDSF)をリセットしてデータ設定モ
ードを解除する。セットされていないときには、データ
設定モードへの移行であるとしてこのフラグ(SETF
)をセットする(#1565)と共に、フラグ(CDS
F)をリセットして(#1575)、リターンする。
Next, the OF of the switch (SCDS) shown in FIG.
To explain the subroutine of F, first, it is determined in step (#1550) whether or not the mode setting card is installed, and if it is not installed (b2=O in 20H), the process returns. If installed (b2 of 20H = 1
), the switch (SCDS) is operated and the corresponding [
5CDSON) flow has been executed (
If the flag (CDSF) is not set in the step (#1555) of determining whether the flag (CDSF) is set, the process returns (#1555). When the flag (CDSF) is set, it means that the switch (SCDS) has been turned on or off to enter or cancel the data setting mode, and the data setting mode is set to determine which of these is the case. flag (SET
F) is set (#1560
). As a result, if it is determined that the flag (SETF) is set, the flag (SETF) is reset in step (#1570), and then E2PR is set in step (#1572).
After setting the flag (WRTF) indicating data writing to OM and assuming that the data setting mode has been canceled by operating the switch (S CD5), proceed to step (#157).
Step 5) resets the flag (CDSF) and cancels the data setting mode. If it is not set, this flag (SETF
) (#1565) and set the flag (CDS
F) (#1575) and return.

以上のようにして第12図に示すキー設定の制御を終え
ると、マイコン(μC)は第6図においてステップ(#
440)がらステップ(#445)へ進んで測光データ
を測光回路(LM)より入力し、露出に使用するスポッ
ト測光値を作成する。ここで、第11図に示した測光範
囲及び第19図に示したマイコン(μC)の測光データ
の入力及び作成のフローチャートを参照して測光値の作
成に関して説明する。第19図において、まずマイコン
(μC)は、AEフロクを示すフラグ(AELF)がセ
ットされているが否がをステップ(#1600)で判定
し、該フラグ(AELF)がセットされているときは、
測光値の更新を行わないのでリターンする。フラグ(A
ELF)がセットされていないときには、端子(C3L
M)を「H」レベルにし、測光回路(LM)に対して測
光データ出方の命令を行い、シリアル交信を行う(#1
605. #1610)。
After completing the key setting control shown in FIG. 12 in the above manner, the microcomputer (μC) moves to step (#
440), the process proceeds to step (#445), where photometric data is input from the photometric circuit (LM) to create a spot photometric value to be used for exposure. Here, creation of photometric values will be explained with reference to the photometric range shown in FIG. 11 and the flowchart for inputting and creating photometric data of the microcomputer (μC) shown in FIG. 19. In FIG. 19, the microcomputer (μC) first determines in step (#1600) whether a flag (AELF) indicating AE flock is set or not, and if the flag (AELF) is set, ,
Returns because the photometric value is not updated. Flag (A
ELF) is not set, the terminal (C3L
M) is set to "H" level, commands the photometric circuit (LM) to output photometric data, and performs serial communication (#1
605. #1610).

この交信によって、第11図に示した4つの測光範囲の
輝度値(Bvl〜Bv4)を入力する。交信を終えると
端子(C3LM)を「L」レベルにする($11615
)。そして、次のステップ(#1620)でスポット測
光が選択されているか否かを判定し、選択されていると
き(Fb12 = 1)、測光範囲(LM2)の輝度値
(Bv2)をスポット値(Bvsp)とする($116
60)。多点モードであるとき(Fb12=O)はステ
ップ(#1620)から(#1622)へ進みAFモー
ドでないことを示すフラグ(AFNF)がセットされて
いるか否か判定し、更にステップ(#1624)で焦点
検出不可能を示すフラグ(LCONF)がセットされて
いるか否かを判定し、どちらか一方がセットされている
ときには、中央部の小さな測光範囲(LM2)をスポッ
ト値(Bvsp)としてリターンする。フラグ(AFN
F)及び(LCONF)がセットされていないときには
レンズから入力した距離情報と焦点距離情報に基づいて
像倍率βをβ=焦点距離/距離から算出する(#162
5)と共に、次のステップ(#1630)において、こ
の像倍率βが所定値(KB)以上であるか否かを判定し
、撮影画面に占める被写体の大きさを決める。
Through this communication, the brightness values (Bvl to Bv4) of the four photometric ranges shown in FIG. 11 are input. When communication is completed, set the terminal (C3LM) to “L” level ($11615
). Then, in the next step (#1620), it is determined whether spot photometry is selected, and if it is selected (Fb12 = 1), the brightness value (Bv2) of the photometry range (LM2) is set to the spot value (Bvsp). ) ($116
60). When the mode is multi-point mode (Fb12=O), the process proceeds from step (#1620) to (#1622), and it is determined whether or not a flag (AFNF) indicating that it is not in AF mode is set, and then step (#1624) Determine whether or not the flag (LCONF) indicating focus detection is not possible is set, and if either one is set, return the small photometry range (LM2) in the center as the spot value (Bvsp). . Flag (AFN
When F) and (LCONF) are not set, image magnification β is calculated from β = focal length/distance based on the distance information and focal length information input from the lens (#162
5), and in the next step (#1630), it is determined whether this image magnification β is greater than or equal to a predetermined value (KB), and the size of the subject occupying the photographic screen is determined.

所定値以上であれば被写体は大きいとしてステップ(#
1640)で各測光範囲([、Ml)、 (LM2)(
LM3)の輝度値(Bvl)、 (Bv2)、 (Bv
3)の平均をスポット測光値(Bvsp)とする。
If it is more than the predetermined value, the object is considered large and the step (#
1640) and each photometric range ([, Ml), (LM2)(
Luminance values (Bvl), (Bv2), (Bv
Let the average of 3) be the spot photometric value (Bvsp).

前記像倍率βが所定値未満である場合、焦点検出に用い
た焦点検出範囲を含む測光範囲を主被写体の測光値(B
vsp)とする。本実施例では、それらの焦点検出範囲
を示すフラグのうちで、どのフラグ(AFIF −AF
3F)がセットされているかでその範囲を判別し、フラ
グ(AFIF)がセットされている場合には、測光範囲
(LMI)の輝度値(Bvl)、フラグ(AF2F)が
セットされている場合には測光範囲(LM 2 )の輝
度値(B v2)、いずれのフラグもセットされていな
いとき、即ち第3アイランド(AF3)のデイフォーカ
ス量が選択されているときは測光範囲(LM3)の輝度
値(Bv3)を夫々スポット測光値(Bvsp)とする
(#1645〜#1665)。そして、合焦が否かを判
定し、合焦の場合(AFEF=1)はAF−AEフロク
を行うべくAEフロクフラグ(AELF)をセットし、
合焦でない場合(AFEF=O)はAEフロクフラグ(
AELF)をリセットして、それぞれリターンする。
When the image magnification β is less than a predetermined value, the photometric range including the focus detection range used for focus detection is set to the photometric value of the main subject (B
vsp). In this embodiment, which flag (AFIF - AF
The range is determined by whether the flag (AFIF) is set, and if the flag (AFIF) is set, the brightness value (Bvl) of the photometry range (LMI) is determined, and if the flag (AF2F) is set, the range is determined. is the brightness value (B v2) of the photometry range (LM 2 ), and when neither flag is set, that is, when the day focus amount of the third island (AF3) is selected, the brightness of the photometry range (LM3) The values (Bv3) are respectively set as spot photometric values (Bvsp) (#1645 to #1665). Then, it is determined whether or not focus is achieved, and if it is in focus (AFEF=1), an AE flock flag (AELF) is set to perform AF-AE flocking,
If it is not in focus (AFEF=O), the AE flock flag (
AELF) and return.

このようにしてスポット測光値を決めると、マイコン(
μC)は第6図においてステップ(#450)に進んで
AEフロクに関する制御を行うが、これを第20図に示
したフローチャートを参照して説明する。尚、ここで、
AEフログの解除には、AEフロクスイッチ(SAEL
)が1回押されるとその押されている間ずつとAEフロ
クがかかり、再度AEフロクスイッチ(SAEL)を押
すか或いは電源自己保持が解除されるとAEフロクが解
除されるモード(10秒ホールドモード)と、AEフロ
クスイッチを押している間だけAEフロク状態となるモ
ードとがあるが、これらのモードはICカードによって
選択される。第20図において、マイコン(μC)は、
まずステップ(#1700)において、前記2つのモー
ドのいずれのモードであるかをE2FROMのデータ(
MSb5)に基づいて判定し、10秒ホールドモードの
とき、ステップ(#1705)に進んで、AEフログス
イッチ(S AEL)がONされているか否かを判定し
、ONされていない場合、AEフロクスイッチが操作さ
れステップ(#1705)以降のフローを実行したこと
を示すフラグ(AEONF)をリセットして(#171
0)、リターンする。
After determining the spot photometry value in this way, the microcontroller (
μC) proceeds to step (#450) in FIG. 6 and performs control regarding the AE flock, which will be explained with reference to the flowchart shown in FIG. 20. Furthermore, here,
To release the AE flog, use the AE flog switch (SAEL
) is pressed once, the AE lock is activated for the duration of the time it is pressed, and when the AE lock switch (SAEL) is pressed again or the power self-hold is released, the AE lock is released (10 seconds hold) mode) and a mode in which the AE flock state is maintained only while the AE flock switch is pressed, and these modes are selected by the IC card. In Fig. 20, the microcomputer (μC) is
First, in step (#1700), the E2FROM data (
MSb5), and when in the 10 second hold mode, proceed to step (#1705) and determine whether the AE flog switch (SAEL) is turned on. If not, the AE flog switch (SAEL) is turned on. The flag (AEONF) indicating that the switch has been operated and the flow after step (#1705) has been executed is reset (#171).
0), return.

ステップ(#1705)において、AEフロクスイッチ
(S AEL)がONされていると、上記フラグ(AE
ONF)がセットされているか否かをステップ(#17
15)で判定し、セットされている場合はすぐにリター
ンする。
In step (#1705), if the AE flock switch (SAEL) is turned on, the above flag (AE
ONF) is set or not in step (#17
15), and if it is set, return immediately.

セットされていない場合はステップ(#1720)に進
んで、AEフロク動作が働いていることを示すフラグ(
AELF)がセットされているか否か判定し該フラグ(
AELF)がセットされていない場合はAEフロクを行
うべく操作されたとして、これをセットしく#1730
)、フラグ(AELF)がセットされているときは、A
Eフロクが動作中に解除すべく操作されたとしてフラグ
(AELF)をリセットしく#1725)、夫々ステッ
プ(#1735)に進み、AEフロクスイッチ(S A
WL)が操作され、このフローを実行したことを示すフ
ラグ(AEONF)をセットしてリターンする。
If it is not set, proceed to step (#1720) and flag (
AELF) is set or not, and the flag (AELF) is set.
If AELF) is not set, it is assumed that the operation was performed to perform AE flow, and this should be set #1730
), when the flag (AELF) is set, A
The flag (AELF) should be reset because the E-flock was operated to release it while it was operating (#1725), and the process goes to step (#1735), and the AE-flock switch (SAELF) is reset.
WL) is operated, a flag (AEONF) indicating that this flow has been executed is set, and the process returns.

ステ・ンプ(井1700)において、10秒ホールドモ
ードでないときは、ステップ(#1740)においてA
Eフロクスイッチ(S AEI、)がONされているか
否かを判定し、ONされていないときはフラグ(AEL
F)をリセットする(#1755)。ONされていると
きは、フラグ(AELF)をセットしく#1745)、
電源保持用のタイマー(T1)をリセットスタートして
(#1750)、リターンする。このようにAEフロク
スイッチ(SAEL)がONされているときは電源を保
持するようにしている。
At step (#1700), if it is not in 10 second hold mode, press A at step (#1740).
Determine whether or not the E flow switch (SAEI,) is turned on, and if it is not turned on, set the flag (AEL).
F) (#1755). When it is ON, please set the flag (AELF) #1745),
Reset and start the power supply holding timer (T1) (#1750) and return. In this way, when the AE flock switch (SAEL) is turned on, the power is maintained.

第6図において、このAEフロクの制御を終えるとマイ
コン(μC)はステップ(lj455)において2度目
のカードとのデータ交信を行う。このデータ交信を第5
図(b)を参照して説明すると、マイコン(μC)はス
テップ(#325)において、カードが装着されている
か否かを判定し、装着されていない場合(CkbO= 
O)データ交信を行わずリターンする。カードが装着さ
れている場合、端子(C3CD)をr)(Jレベルにし
く6330)、ICカード(CD)にデータを出力しく
#335)、ICカードが入力側であることを示す。し
かる後、ステップ(#340)においてカメラに装着さ
れているICカードがモード設定カードであるか否かを
判定し、データ設定モードのICカードである場合(2
0Hのb2=1)、第12図のステップ(#900)で
センス・メモリーしたスイッチのデータをセットしく$
1344)、シリアル交信を行って($1348)、ス
イッチの情報をICカード(CD)に出力する。しかる
後、端子(C8CD)を「L」レベルになしく#35の
、リターンする。
In FIG. 6, after controlling this AE block, the microcomputer (μC) performs second data communication with the card in step (lj455). This data communication is
To explain with reference to FIG.
O) Return without data communication. When a card is installed, the terminal (C3CD) is set to r) (J level (6330)) and data is output to the IC card (CD) (#335), indicating that the IC card is on the input side. After that, in step (#340), it is determined whether the IC card installed in the camera is a mode setting card, and if it is an IC card in data setting mode (2
0H b2 = 1), set the switch data sensed and memorized in step (#900) of Figure 12.
1344), performs serial communication ($1348), and outputs switch information to an IC card (CD). After that, the terminal (C8CD) is set to the "L" level and the process returns to step #35.

ステップ(#340)での判定においてモード設定カー
ドでない場合、即ちプログラムカードである場合(20
Hのb2=o)、露出演算に必要なデータである露出演
算用データ、フラッシュデータ、及びレンズデータをセ
ットして、シリアル交信を行って、これらのデータをI
Cカードに出力し、端子(C8CD)を「L」レベルに
してデータ交信終了として、リターンする(#346〜
# 350)。
In the judgment in step (#340), if it is not a mode setting card, that is, if it is a program card (20
H b2=o), set the exposure calculation data, flash data, and lens data that are necessary for exposure calculation, perform serial communication, and transfer these data to I.
Output to C card, set terminal (C8CD) to "L" level, terminate data communication, and return (#346~
#350).

尚、露出演算用データとしては、測光値(B v s 
) +(BVAv)、フィルム感度(Sv)及びポジフ
ィルムかネガフィルムかを示すデータがあり、レンズデ
ータとしては焦点距離データ、開放F値(Avo)=最
大絞り値(AVII@X)が、またフラッシュデータと
してはフラッシュ強制発光かオートかを示すデータ、フ
ラッシュ未装着(電源OFF含む)かを示すデータ、G
N(ガイドナンバー)、充電完了の有無のデータ等があ
る。
In addition, as data for exposure calculation, photometric value (B v s
) + (BVAv), film sensitivity (Sv), and data indicating whether it is a positive or negative film. Lens data includes focal length data, open F value (Avo) = maximum aperture value (AVII@X), and Flash data includes data indicating whether the flash is forced to fire or automatic, data indicating whether the flash is not installed (including when the power is off), and G.
There is N (guide number), data on whether charging is completed, etc.

第6図で上述のカードデータ交信(I[)を終えると、
マイコン(μC)はステップ($1460)に進みここ
で露出演算を行う。
When the above-mentioned card data communication (I[) is completed in FIG. 6,
The microcomputer (μC) proceeds to step ($1460) and performs exposure calculation here.

この制御のフローを第22図〜第26図に示し説明する
と、まずマイコン(μC)は第22図のステップ(#2
000)で常に補正する露出量(ΔEvl )がいくら
であるかをE2PROMのMSb32〜MSb34から
決め、これに手動設定された露出補正量(△Ev)を加
えて新たな露出補正量を算出する(#2001)。そし
”℃、ステップ(#2002)でレンズが装着されてい
るかを入力したレンズデータから判定し、装着されてい
ないときには、実絞り測光と同様に測光範囲(LM4)
の測光値(BVAM) (これの代わりに全体を平均し
た測光値でもよい)にフィルム感度(Sv)及び露出補
正値(△Ev)を加えて、シャッター速度を算出しリタ
ーンする(#2005)。レンズが装着されている場合
は、各露出モードに応じた露出演算を行う(#2010
〜112040)。
The flow of this control is shown and explained in FIGS. 22 to 26. First, the microcomputer (μC) performs the step (#2
000), determine the amount of exposure (ΔEvl) to be constantly corrected from MSb32 to MSb34 of the E2PROM, and add the manually set exposure correction amount (△Ev) to this to calculate a new amount of exposure correction ( #2001). In step (#2002), it is determined from the input lens data whether a lens is attached, and if it is not attached, the photometry range (LM4) is determined in the same way as the actual aperture photometry.
The shutter speed is calculated by adding the film sensitivity (Sv) and the exposure correction value (ΔEv) to the photometric value (BVAM) (instead of this, the overall averaged photometric value may be used) and returns (#2005). If a lens is attached, perform exposure calculation according to each exposure mode (#2010
~112040).

そこで、Pモードの露出演算を第23図(a)〜(c)
に示し説明すると、マイコン(μC)は、まず、第23
図(a)のステップ(#2100)において逆光状態の
判別を測光範囲(LM4)の測光値(BVAM)とステ
ップ(#445)で求めたスポット測光値(Bvsp)
との差が2Rv以上であるか否かで判定する(#210
0)、  2 Ev以上あれば、電子閃光装置が発光準
備完了(メインコンデンサーが充電完了)しているか否
かをステップ(#2105)で判定し、発光準備完了し
ている場合、端子(FLOK)をr HJレベルにして
(112110)、閃光撮影を可能にし、制御の露出値
(Ev)を測光範囲(LM4)の測光値(BVAM)等
からKv= BVAM+ Av、+ Sv −1+△E
Vで求める(#21i5)。ここで、1を引くのは逆光
らしく見せるために背景をIEvオーバーにするためで
ある。
Therefore, the exposure calculation for P mode is shown in Figures 23(a) to (c).
To explain it as shown in the figure, the microcomputer (μC) first
In step (#2100) of Figure (a), the backlight condition is determined using the photometric value (BVAM) of the photometric range (LM4) and the spot photometric value (Bvsp) obtained in step (#445).
Judgment is made based on whether the difference is 2Rv or more (#210
0), if it is 2 Ev or more, it is determined in step (#2105) whether or not the electronic flash device is ready to emit light (the main capacitor is fully charged), and if it is ready to emit light, the terminal (FLOK) to r HJ level (112110) to enable flash photography, and set the control exposure value (Ev) from the photometry value (BVAM) of the photometry range (LM4), etc. Kv = BVAM + Av, + Sv -1 + △E
Find it by V (#21i5). Here, the reason for subtracting 1 is to make the background appear to be over IEv to make it look like it is backlit.

尚、主被写体は電子閃光装置からの閃光で適正露出にし
ようとしている。そして絞り(直(Av)、シャッター
速度(Tv)を決めるプログラム■のサブルーチン(#
2120)に進み、リターンする。これを第23図(b
)に示し説明すると、シャッター速度の制御値(Tve
)を同調のTv= 7 (SS=1/125)とし、絞
り値(Av)を露出値(Ev)から7(シャッター速度
)を減算して求め、この絞り値(Av)が7(F=1.
1)より大きいか否かを判定し、大きい場合、制御絞り
値(Avc)を7に制限してリターンする(#2215
)。絞り値(Av)が7以下である場合、演算絞り値(
Av)が開放絞り値(Avo)より小さいか否かを判定
し、小さい場合、開放絞り値(Avo)を制御絞り値(
Avc)とし、小さくなりX場合、演算値(Av)を制
御絞り値(Avc)としてリターンする(井2220〜
#2230)。
In addition, I am trying to properly expose the main subject using a flash from an electronic flash device. Then, the program ■ subroutine (#
2120) and return. This is shown in Figure 23 (b
), the shutter speed control value (Tve
) is synchronized Tv = 7 (SS = 1/125), and the aperture value (Av) is calculated by subtracting 7 (shutter speed) from the exposure value (Ev), and this aperture value (Av) is 7 (F = 1.
1) Determine whether it is larger than the above value, and if it is larger, limit the control aperture value (Avc) to 7 and return (#2215
). If the aperture value (Av) is 7 or less, the calculated aperture value (
Av) is smaller than the open aperture value (Avo). If it is, the open aperture value (Avo) is changed to the control aperture value (
Avc), and if it becomes smaller than X, the calculated value (Av) is returned as the control aperture value (Avc) (I2220~
#2230).

第23図(a)に戻り、ステップ(112105)にお
いて、電子閃光装置(FL)の発光準備が完了していな
p1場合、端子(FLOK)をr L Jレベルにしく
#2125)、主被写体を適正露出とするべく、制御露
出値(Ev)を測光範囲のスポット値(Bvsp)等か
らEv= Bvsp+ Avo +Sv+△Evで求め
(#2130)、絞り値(Av)、シャ・ツタ−速度(
Tv)を求めるプログラム■のサブルーチン(#213
5)に進みリターンする。
Returning to FIG. 23(a), in step (112105), if p1 is not ready for emitting light from the electronic flash device (FL), the terminal (FLOK) is set to r L J level (#2125), and the main subject is In order to obtain proper exposure, the control exposure value (Ev) is calculated from the spot value (Bvsp) of the photometry range, etc. as Ev = Bvsp + Avo + Sv + △Ev (#2130), and the aperture value (Av), shutter speed (
Subroutine (#213) of program ■ to find Tv)
Proceed to step 5) and return.

第23図(C)にこれを示し説明すると、まずステップ
(#2250)で絞り値(Av)をAv= 5/8Ev
 −25/8から求め、この絞り値(Av)がレンズの
最大絞り値(Avssx)より大きいか否かを判定しく
#2255)、大きい場合には最大絞り値(AVsax
)を制御絞り値(Avc)とじて(#2260)、ステ
ップ(#2280)に進む。ステップ(#2255)に
おいて絞り値(Av)が最大絞り値(Av、□)以下の
とき、絞り値(Av)が開放絞り値(Av、)より小さ
いか否かを判定し、小さい場合には開放絞り値(Av。
This is shown and explained in Fig. 23 (C). First, in step (#2250), the aperture value (Av) is set to Av=5/8Ev.
-25/8 and determine whether this aperture value (Av) is larger than the maximum aperture value (Avssx) of the lens (#2255). If it is larger, the maximum aperture value (AVssx)
) as the control aperture value (Avc) (#2260), and the process proceeds to step (#2280). In step (#2255), when the aperture value (Av) is less than or equal to the maximum aperture value (Av, □), it is determined whether or not the aperture value (Av) is smaller than the open aperture value (Av, ). Open aperture value (Av.

)を制御絞り値(Avc)、小さくない場合は演算絞り
値(Av)を制御絞り値(Avc)としてステップ(j
12280)に進む($72265〜#2275)。
) is the control aperture value (Avc), and if it is not small, the calculated aperture value (Av) is set as the control aperture value (Avc) and the step (j
12280) ($72265~#2275).

ステップ(#2280)では、シャッター速度(Tv)
を露出値(Ev)から制御絞り値(Avc)を減算して
求め、次のステップ(#2285)では、これが最高シ
ャッター速度(TVmsjより大きいか否かを判定し、
大きい場合には、制御シャッター速度(Tvc)を(T
vsajに制限しく#2290)、大きくない場合には
、ステップ(#2292)で最も低速のシャッター速度
(Tv、+。)よりも遅いか否かを判定し、遅い場合に
は(Tv−+n)を制御シャッター速度としく#229
3)、遅くない場合、演算シャッター速度(Tv)を制
御シャッター速度(Tvc)として(#2295)、リ
ターンする。
In step (#2280), the shutter speed (Tv)
is obtained by subtracting the control aperture value (Avc) from the exposure value (Ev), and in the next step (#2285) it is determined whether this is greater than the maximum shutter speed (TVmsj),
If the control shutter speed (Tvc) is large, the control shutter speed (Tvc) is
vsaj (#2290), and if not, it is determined in step (#2292) whether the shutter speed is slower than the slowest shutter speed (Tv, +.), and if it is slower, (Tv-+n) Control shutter speed #229
3) If it is not slow, set the calculated shutter speed (Tv) to the control shutter speed (Tvc) (#2295) and return.

第23図(a)に戻り、ステップ(#2100)におい
て、BVAM −Bvspの差が2未満のとき、逆光状
態でないとしてステップ(#2145)に進み、測光範
囲(LMI)〜(LM4)の平均測光値(Bvl+ B
v2+ Bv3+ Ev4)/ 4がら露出値(Ev)
を求め、閃光装置が発光準備完了しているか否かを検出
する(#2150)。
Returning to FIG. 23(a), in step (#2100), when the difference between BVAM - Bvsp is less than 2, it is determined that there is no backlight condition and the process proceeds to step (#2145), and the average of the photometry range (LMI) to (LM4) is Photometric value (Bvl+B
v2+ Bv3+ Ev4)/4 exposure value (Ev)
is determined, and it is detected whether the flash device is ready to emit light (#2150).

発光準備完了しているときは、ステップ(#2155)
に進んで閃光撮影の有無を自動的に判定する閃光撮影オ
ートモードであるが否かを判定し、オートモードである
とき、上述のプログラム■で絞り値(Av)及びシャッ
ター速度(Tv)を決め(#2160)、そのシャッタ
ー速度(Tv)が手振れ警告の速度(Tv−6,176
0)未満であるが否かを判定する(#2165)。そし
て、手振れ警告の速度未満のとき、低速度として閃光撮
影を行うべくステップ(#2170)へ進み、またステ
ップ(#2155)においてオートモードでないときも
強制発光を行うとしてステップ(#2170)に進む。
When the light emission preparation is complete, step (#2155)
Proceed to Step 3 to determine whether or not you are in flash photography auto mode, which automatically determines the presence or absence of flash photography, and if it is in auto mode, determine the aperture value (Av) and shutter speed (Tv) using the program ■ above. (#2160), the shutter speed (Tv) is the camera shake warning speed (Tv-6,176).
It is determined whether the value is less than 0) (#2165). If the speed is less than the camera shake warning speed, proceed to step (#2170) to perform flash photography as a low speed, and also proceed to step (#2170) to perform forced flash photography even when not in auto mode in step (#2155). .

そして、プログラム■にて閃光撮影時の絞り値(Av)
及びシャッター速度(Tv)を決め端子(FLOK)を
「H」レベルとしく#2175)、閃光撮影を可能とす
る。
Then, set the aperture value (Av) during flash photography using program ■.
Then, the shutter speed (Tv) is determined and the terminal (FLOK) is set to the "H" level (#2175) to enable flash photography.

しかしながら、ステップ(#2150)において、発光
準備完了していないときは、定常光による撮影としてス
テップ(#2180)に進んでプログラム■により絞り
値(Av)、シャッター速度(Tv)を決め、端子(F
LOK)を「L」レベルにして(#2185)、リター
ンする。
However, in step (#2150), if the preparation for emitting light is not completed, proceed to step (#2180) for shooting with constant light, decide the aperture value (Av) and shutter speed (Tv) according to program F
LOK) is set to "L" level (#2185) and returns.

ステップ(#2165)においても、シャッター速度(
Tv)が7以上(同調速度以上)のときは、同様にステ
ップ(#2185)に進んでリターンする。
Also in step (#2165), the shutter speed (
When Tv) is 7 or more (synchronized speed or more), the process similarly proceeds to step (#2185) and returns.

次に、Aモードのときの絞り値(Av)、シャッター速
度(Tv)の決定の為のフローチャートを第24図に示
し説明すると、まず電子閃光装置が発光準備完了である
か否かを判定し、発光準備完了であれば、制御シャッタ
ー速度(Tvc)を7 (1/125)とし、端子(F
LOK)をrH」レベルとし、設定絞り値(Av)を制
御絞り値(Avc)としてリターンす6 (#2300
〜#2310及び#2345)。発光準備完了していな
い場合は、平均測光値から露出値(Ev)を求め、この
露出値(Ev)から設定絞り値を減算したものをシャッ
ター速度(Tv)とする(#2315. #2320)
。そして、次のステップ(#2325)で、そのシャッ
ター速度(Tv)が制御可能な最高シャッター速度(T
v、□)より大きいが否が判定し、大きい場合には、ス
テップ(#2330)で最高シャッター速度(Tv、a
x)を制御シャッター速度(Tvc)としてステップ(
#2340)へ進む。大きくない場合には、制御可能な
最低速度(Tvs+−)よりも低速であるか否かをステ
ップ(#2331)で判定し、低速である場合、ステッ
プ(#2333)で(Tvl、l)を制御シャッター速
度(Tvc)とし、(Tvm i n)より低速でない
場合にはステップ(#2335)で演算値(、Tv)を
制御シャッター速度(Tvc)として、それぞれステッ
プ(#2340)に進む。ステップ(#2340)では
端子(FT、OK)を「L」レベルにし、次のステップ
(#2345)では設定絞り値(Av)が制御絞り値(
Avc)となるようにする。
Next, Fig. 24 shows a flowchart for determining the aperture value (Av) and shutter speed (Tv) in A mode. First, it is determined whether the electronic flash device is ready to emit light. , if the light emission preparation is complete, set the control shutter speed (Tvc) to 7 (1/125) and connect the terminal (F
6 (#2300
~ #2310 and #2345). If the flash preparation is not completed, calculate the exposure value (Ev) from the average metering value, and subtract the set aperture value from this exposure value (Ev) to determine the shutter speed (Tv) (#2315. #2320)
. Then, in the next step (#2325), the shutter speed (Tv) is set to the maximum controllable shutter speed (T
v, □), and if it is, the maximum shutter speed (Tv, a) is determined in step (#2330).
x) as the control shutter speed (Tvc) and the step (
Proceed to #2340). If not, it is determined in step (#2331) whether the speed is lower than the controllable minimum speed (Tvs+-), and if it is low, (Tvl, l) is determined in step (#2333). The control shutter speed (Tvc) is set as the control shutter speed (Tvc), and if the speed is not lower than (Tvmin), the calculated value (, Tv) is set as the control shutter speed (Tvc) in step (#2335), and the process proceeds to step (#2340). In step (#2340), the terminal (FT, OK) is set to "L" level, and in the next step (#2345), the set aperture value (Av) is changed to the control aperture value (
Avc).

次に、Sモードのときの制御を第25図に示し説明する
と、まずステップ(#2400)において露出値(Ev
)を平均測光値等から求め、発光準備完了しているか否
かをステップ(#2405)で判定し、発光準備完了し
ている場合、端子(FLOK)をrHJレベルにする(
#2410)。
Next, the control in S mode is shown in FIG. 25 and explained. First, in step (#2400), the exposure value (Ev
) is calculated from the average photometric value, etc., and it is determined in step (#2405) whether or not the light emission preparation is complete. If the light emission preparation is complete, the terminal (FLOK) is set to the rHJ level (
#2410).

次に、ステップ(#2415)でシャッター速度(Tv
)が7以下であるか否かを判定し、7以下であれば設定
シャッター速度(Tv)を制御シャッター速度(Tvc
)としく#2420)、7を超える場合は同調速度7を
制御シャッター速度(Tvc)として、それぞれステッ
プ(#2430)に進む。
Next, in step (#2415) the shutter speed (Tv
) is 7 or less, and if it is 7 or less, the set shutter speed (Tv) is controlled.
) and #2420), and if it exceeds 7, the synchronization speed 7 is set as the control shutter speed (Tvc) and the process proceeds to step (#2430).

ステップ(#2430)では、絞り値(Av)を求めた
露出値(Ev)から制御シャッター速度(Tvc)を減
算して求め、この絞り値(Av)が開放絞り値(Av、
)より小さいか否かを判定しく#2435)、小さい場
合には制御絞り値(Av、)を開放絞り値(Av、)と
して(#2440)、リターンする。一方、絞り値(A
v)が開放絞り値(Av、 )より小さくない場合には
、最大絞り値(AV@IIヨ)より大きいか否かを判定
しく#2445)、大きい場合には最大絞り値(AVI
I@X)を制御絞り値(Avc)としく#2450)、
大きくない場合は演算絞り値(Av)を制御絞り値(A
vc)として(#2455)、リターンする。
In step (#2430), the aperture value (Av) is obtained by subtracting the control shutter speed (Tvc) from the determined exposure value (Ev), and this aperture value (Av) is determined as the maximum aperture value (Av).
). If it is smaller, the control aperture value (Av, ) is set as the open aperture value (Av, ) (#2440) and the process returns. On the other hand, the aperture value (A
v) is not smaller than the open aperture value (Av, ), it is determined whether it is larger than the maximum aperture value (AV@IIyo) (#2445); if it is larger, the maximum aperture value (AVI
I@X) as the control aperture value (Avc) #2450),
If it is not large, change the calculated aperture value (Av) to the control aperture value (A
vc) (#2455) and return.

ステップ($2405)において、発光準備完了してい
ないときは、設定したシャッター速度(Tv)を制御シ
ャッター速度(Tvc)としく#246の、端子(Fl
、OK)を「L」レベルとL r (#2465)、ス
テップ(#2430)):進み、これ以降のフローを実
行する。
In step ($2405), if the light emission preparation is not completed, the set shutter speed (Tv) is set as the control shutter speed (Tvc) and the terminal (Fl
, OK) to the "L" level and L r (#2465), step (#2430)): Proceed and execute the subsequent flow.

次にMモードであるとき(第26図参照)は発光準備完
了しているか否かをステップ(#2500)で判定し、
完了していないときには端子(FLOK)をr L J
レベル、完了しているときには端子(FLOK)を「H
」レベルにして、それぞれステップ(#2515)に進
み、予め設定した絞り値(Av)を制御絞り値(Avc
)に、また、次のステップ(#2520)でシャッター
速度(Tv)を制御シャッター速度(Tvc)としてリ
ターンする。
Next, when the mode is M mode (see FIG. 26), it is determined in step (#2500) whether or not the light emission preparation is complete;
If it is not completed, connect the terminal (FLOK) to r L J
When the level is completed, the terminal (FLOK) is set to “H”.
” level, proceed to step (#2515), and change the preset aperture value (Av) to the control aperture value (Avc
), and in the next step (#2520), the shutter speed (Tv) is returned as the control shutter speed (Tvc).

第6図に戻り、露出演算(#460)を終えると、カメ
ラのマイコン(μC)は、ICカード(CD)との3回
目のデータ交信を行う(#465)、、第5図(C)に
この制御のフローチャートを示し説明すると、まず端子
(C3CD)を「H」レベルにして、ICカード(CD
)とシリアル交信を行い(#36の、ICカード八へC
カードが出力側であることを知らせる(11360)。
Returning to Figure 6, after completing the exposure calculation (#460), the camera's microcomputer (μC) performs the third data communication with the IC card (CD) (#465), Figure 5 (C) To explain this by showing a flowchart of this control, first, set the terminal (C3CD) to the "H" level, and then connect the IC card (CD
) and serial communication (to #36, IC card 8C)
Notify that the card is on the output side (11360).

ここで、時間待ちしく#365)、シリアル交信を行っ
てrcカード(CD)からデータを入力しく#370)
、このデータ交信を終えると端子(C8CD)を[し、
]レベルにしてリターンする。
At this point, wait for some time #365), then perform serial communication and input data from the RC card (CD) #370)
, When this data communication is completed, the terminal (C8CD) is
] level and return.

なお、このフローにおいて、ICカード(CD)から送
られてくるデータとしては、該ICカードがモード設定
カードのときとプログラムカードのときとでは相違し、
まずモード設定カードである場合には、モード設定のデ
ータと、表示を行うが否かを決める表示制御データがあ
る。即ち■制御用シャッター速度(C−Tvc)、■制
御用絞り値(C−Avc)、■閃光発光の有/無、■閃
光調光発光をフル発光(Ful1発光)にする/しない
、■カードによる制御を行う7行ねない、のデータがあ
る。(第7表参照) 第6図でこのカードデータ交信(III)を終えると、
マイコン(μC)はステップ(#470)のカード制御
のフローを実行する。このフローは入力したデータに基
づいて、ICカード(この場合、プログラムカード)に
よるカメラの制御を行うが否かの判定や、それを行う場
合のカメラの動作について示すものであるが、これを第
27図に示し説明すると、マイコン(μC)はまずカー
ド機能が選択されているが否かをステップ(#2802
)で判定し、カード機能が選択サレテイル(CDFNF
−1)ノドきニステップ(#2605)に進む。一方、
カード機能が選択されていない(CDFNF= O)と
きには、ステップ(#2677)で機能ピッ)−(7)
 (Fb9)及び(FblO)をツレぞれoにし、更ニ
(#2680)で調光レベル変更量(F△Ev)をリセ
ットしてリターンする。カード機能が選択されていると
きは次にプログラムカードが装着されているが否かを判
定し、プログラムカードが装着されている場合(20H
/J) b2 = O) ハスy ツブ(#2610)
ニおいてICカードによるカメラの制御か否かをICカ
ード(CD)から入力したデータにより判定する。そし
て、ステップ(#2605)でプログラムカードでない
(20Hのb2−1)場合或いはステップ(#2610
)で丁Cカードによるカメラの制御でない場合はステッ
プ(#2677)を経てステップ(#2680)に進む
In this flow, the data sent from the IC card (CD) is different when the IC card is a mode setting card and when it is a program card.
First, in the case of a mode setting card, there are mode setting data and display control data that determines whether or not to display. In other words, ■ shutter speed for control (C-Tvc), ■ aperture value for control (C-Avc), ■ presence/absence of flash emission, ■ setting/not setting flash dimming to full emission (Ful1 emission), ■ card. There are 7 lines of data that perform control. (See Table 7) After completing this card data communication (III) in Figure 6,
The microcomputer (μC) executes the card control flow of step (#470). This flow describes how to determine whether or not to control the camera using an IC card (in this case, a program card) based on the input data, and how the camera operates when this is done. To explain it as shown in Figure 27, the microcomputer (μC) first checks whether the card function is selected or not in step (#2802).
), and the card function is selected Saletail (CDFNF
-1) Proceed to throat step (#2605). on the other hand,
When the card function is not selected (CDFNF=O), the function beeps in step (#2677) - (7)
Set (Fb9) and (FblO) to o, reset the dimming level change amount (FΔEv) in step #2680, and return. When the card function is selected, it is next determined whether or not a program card is installed, and if a program card is installed (20H
/J) b2 = O) Lotus y whelk (#2610)
D. Next, it is determined whether the camera is controlled by the IC card or not based on the data input from the IC card (CD). Then, if it is not a program card (20H b2-1) at step (#2605) or step (#2610
), if the camera is not controlled by the C card, the process advances to step (#2680) via step (#2677).

ICカードによるカメラの制御であると判定した場合に
は、制御絞り値(Avc)、制御シャッター速度(Tv
c)、 Ful1発光の有5./無、閃光発光の有/無
等をそれぞれICカードから入力したデータにより決定
する(#2615〜#2645)。次に、入力したデー
タにより閃光発光の干−ドか否かを判定しく$1265
0)、閃光発光モードでないとき端子(FLOK)を「
L」レベルにしく#2685)、ステップ(#2680
)に進む。閃光発光モードであるときは端子(FLOK
)を「H」レベルにしく#2655)、Ful1発光の
モードが否かを検出する(#2660)。そして、Fu
l1発光モードであるとき、ステップ(#2665)で
端子(Full)を「H」レベルにしてリターンし、F
 u I L発光モードでないとき、端子(Ful、l
)を「L」レベルにしく#2670)、調光レベル値変
更量(C−F△Ev)をセットしテ(#2675)、リ
ターンする。
If it is determined that the camera is controlled by an IC card, the control aperture value (Avc) and control shutter speed (Tv
c) Presence of Ful1 emission 5. / none, presence/absence of flash light emission, etc. are determined based on data input from the IC card (#2615 to #2645). Next, use the input data to determine whether the flashlight is activated or not.
0), when not in flash mode, set the terminal (FLOK) to “
L” level (#2685), step (#2680
). When in flash mode, the terminal (FLOK
) is set to "H" level (#2655), and it is detected whether the Full 1 light emission mode is set (#2660). And Fu
When in l1 light emission mode, set the terminal (Full) to "H" level in step (#2665) and return.
u I L When not in the light emission mode, the terminals (Ful, l
) to the "L" level (#2670), set the dimming level value change amount (C-FΔEv) (#2675), and return.

第6図において以上のようなICカードによるカメラの
制御の判定及び制御のルーチン(#470)を終えると
、表示の制御(#472)に移る。
In FIG. 6, after completing the routine for determining and controlling the camera using the IC card (#470), the process moves to display control (#472).

第9表にマイコン(μC)がら、表示制御回路に送られ
るデータの内容を示しであるので、これをまず説明する
と、シャッター速度、絞り値は、設定或いは演算値がセ
ットされる。各種モードの表示は、そのときに設定され
たモードに応じてセットされる。AEモード表示は、b
O,blが現在選択されているモード、b2〜b4(変
更モードの■に対応した表示データ)はE2PROMが
らデータを読みとりデータがセットされる。カード表示
及びデータ変更表示は、現在の設定されているモードに
応じてデータがセットされる。
Table 9 shows the contents of data sent from the microcomputer (μC) to the display control circuit, so to explain this first, the shutter speed and aperture value are set or calculated values. The display of various modes is set according to the mode set at that time. AE mode display is b
O and bl are the currently selected modes, and b2 to b4 (display data corresponding to change mode 2) are set by reading data from the E2PROM. Data for the card display and data change display is set according to the currently set mode.

ここでのb7(スポット/多点強制表示)はフラグ(多
点/スポット表示)がセットされているときに「1」と
なるもので、カメラ本体上の表示部(DISp+)の多
点/スポットモード変更可を示す表示を用いて、強制的
に夫々のモードが選択されて1)るとき(プログラムカ
ードによるスポット、或いは多点、スイッチ(SQ)に
よるスポットAF)に、多点/スポットの変更不可に拘
わらず、多点或いはスポットの表示を行うようにしてい
る。表示制御回路(DISPC)では、b7−1のとき
には、b6の信号に応じて多点或いはスポットの表示を
行う。
b7 (spot/multi-point forced display) is set to "1" when the flag (multi-point/spot display) is set, and the multi-point/spot display on the display section (DISp+) on the camera body When each mode is forcibly selected using the display indicating that the mode can be changed (1) (spot AF by program card, or spot AF by multi-point switch (SQ)), the multi-point/spot change is possible. Regardless of whether it is possible or not, multiple points or spots are displayed. In the display control circuit (DISPC), at the time of b7-1, multi-point or spot display is performed according to the signal of b6.

フィルム枚数は、そのときのフィルム枚数がセットされ
、バトカン・ペロ表示もそのときの状態の表示のデータ
がセットされる。
The number of films at that time is set as the number of films at that time, and the display data of the state at that time is also set for the Butkan/Pero display.

ICカード関係モード表示は、(I)のrbOJが、装
着されているカードに応じてセットされ、それ以外(I
、  If、  III)はE2PROM(データ設定
時以外)から、データ設定時は、ICカードから送られ
てくる変更モードのデータがセットされる。制御は、カ
メラのシーケンスに応じてセットされる。
In the IC card related mode display, (I) rbOJ is set according to the installed card, and other (I)
, If, III) are set from the E2PROM (except when setting data), and when setting data, change mode data sent from the IC card is set. The controls are set according to the camera sequence.

表示制御回路(DISPC)では、この制御のデータに
基づいて、何を表示するかを決定している。LEDは、
表示に必要なときに、データがセットされる。表示の制
御を第28図に示し説明する。
The display control circuit (DISPC) determines what to display based on this control data. The LED is
Data is set when needed for display. Display control is shown in FIG. 28 and will be explained.

まずマイコン(μC)は、カード機能が働いているか否
かを示すフラグ(CDFNF)がセットされているか否
かをステップ(#2700)で判定し、セットされてい
る場合には、次のステップ(#2710)〜(#272
0)を1回通過したことを示すフラグ(CDIF)がセ
ットされているかをステップ(#2710)で判定する
。ここで、フラグ(CDIF)がセットされていないと
きには、これをステップ(#2715)でセットして、
カード機能が働いていない状態から働く状態に変わった
ときにカードにより付加されている機能の表示を一定時
間行う為のフラグ(DISPIF)をステップ(#27
20)でセットして、ステップ(#2725)に進む。
First, the microcomputer (μC) determines in step (#2700) whether or not a flag (CDFNF) indicating whether the card function is working is set. If it is set, the next step ( #2710) ~ (#272
In step (#2710), it is determined whether a flag (CDIF) indicating that the path 0) has been passed once is set. Here, if the flag (CDIF) is not set, set it in step (#2715),
Step (#27) a flag (DISPIF) for displaying the functions added by the card for a certain period of time when the card function changes from a state in which it is not working to a state in which it is working.
20) and proceed to step (#2725).

カード機能が働いていないとき(CDFNF= O)に
は、ステップ(#2710)〜(#2720)を1回通
過したことを示すフラグをステップ(#2705)でリ
セットしてステップ(#2725)へ、又このフラグ(
CDIF)がセットされているときは何もせずにステッ
プ(#2710)からステップ(#2725)へ進む。
When the card function is not working (CDFNF=O), reset the flag indicating that steps (#2710) to (#2720) have been passed once in step (#2705) and proceed to step (#2725). , and this flag (
CDIF) is set, the process proceeds from step (#2710) to step (#2725) without doing anything.

ステップ(#2725)では、上記フラグ(DISPI
F)がセットされているか否かを判定し、セットされて
いるときにはカードの種類がプログラムカードであるか
否かをステップ(#2727)で判定し、プログラムカ
ードである場合にはrPROJ、カードが働いているこ
とを示すrcARDJの表示を示すモードのデータをス
テップ(#2728)で作成する。尚、この場合の表示
は第35図(a)に示す如きものである。
In step (#2725), the above flag (DISPI
F) is set, and if it is set, it is determined in step (#2727) whether the card type is a program card, and if it is a program card, rPROJ, the card is In step (#2728), mode data indicating the display of rcARDJ indicating that it is working is created. Note that the display in this case is as shown in FIG. 35(a).

具体的には、表示用レジスタ(RAM)のアドレス(O
AH)のb5.b6を rl、OJ とし、b1〜b4
をrQJ とする。
Specifically, the display register (RAM) address (O
b5 of AH). b6 is rl, OJ, b1 to b4
Let be rQJ.

これにより、表示制御回路(DISPC)は、このデー
タを読んで表示部に表示させる。
Thereby, the display control circuit (DISPC) reads this data and displays it on the display section.

プログラムカードでない場合、即ち、モード設定カード
、或いはカード未装填である場合、ステップ(#272
9)でカメラに設定されているカードによる機能を、第
34図(a)〜(e)に示すような表示データを行うべ
く OAHのb5. b6= 1.1、b1〜b4=o
とする。
If it is not a program card, that is, if it is a mode setting card or if the card is not loaded, step (#272
OAH b5.9) is used to display data as shown in FIGS. 34(a) to (e) using the card functions set in the camera. b6=1.1, b1~b4=o
shall be.

尚、表示データ及び表示内容は設定されている内容に応
じて変化する。
Note that the display data and display contents change depending on the set contents.

ステップ(#2725)でフラグ(DISPIF)がセ
ットされていない場合、次のステップ(#2730)で
カードによる表示制御を行うか否かを判定し、ICカー
ド(CD)による表示制御を行う場合にはICカードか
ら入力したモード設定のデータに応じた表示データを行
うべく OAHのb5.b6=o、  bl〜b4=O
にする(#2735)。
If the flag (DISPIF) is not set in step (#2725), it is determined in the next step (#2730) whether or not to perform display control using a card, and if display control is performed using an IC card (CD), OAH b5. is used to display data according to the mode setting data input from the IC card. b6=o, bl~b4=O
(#2735).

ステップ(#2730)でICカードからのカード表示
制御信号がないとき、ステップ($12736)に進み
、E2PROMへの書き込みフラグ(WRTF)がセッ
トされているか否かを判定する。書き込みフラグ(WR
TF)がセットされているとき、即ちカードによるデー
タ設定モードか終了したとき、モード設定のサブルーチ
ン(#2737)に進んでモード設定を行う。更にステ
ップ(#2740)に進み、第2図(u)に示す如き通
常の表示を行うために表示用レジスタOAHのb5. 
b6= 0゜1、b1〜b4=oにする。尚、カード機
能が働いていない場合(CDFNF= O)は「カード
」の表示は削除するべくアドレスOAHのbo=oとす
るデータを作成する。
When there is no card display control signal from the IC card in step (#2730), the process proceeds to step ($12736) and it is determined whether the write flag (WRTF) to the E2PROM is set. Write flag (WR
TF) is set, that is, when the data setting mode using the card ends, the process advances to the mode setting subroutine (#2737) and mode setting is performed. Further, the process proceeds to step (#2740), where b5.
Set b6=0°1 and b1 to b4=o. If the card function is not working (CDFNF=O), data is created to set bo=o at address OAH so that the "card" display is deleted.

各ステップ(#2728)、 (#2729)、 (#
2735)及び(#2740)のインファインダーの表
示であるが、合焦表示布/無は、合焦を示すフラグ(A
 F E F)、焦点検出不能表示有/無は焦点検出不
能を示すフラグ(LCONF)、コンティニュアス或い
は追随を表す表示有/無は追随モードを示すフラグ(追
随F)、或いはコンティニュアスAFを示す(Fb8)
、多点測距/スポット測距は機能を示すビット(Fb2
)、S LON、OFFは81ON、OFFを示すフラ
グ(SIONF)に応じて、アドレスOC1]のbO〜
b5が夫々セットされる。
Each step (#2728), (#2729), (#
2735) and (#2740), the focus display cloth/no focus indicator is the flag (A
F E F), presence/absence of focus detection failure display is a flag indicating that focus cannot be detected (LCONF), presence/absence of display indicating continuous or tracking is a flag indicating tracking mode (following F), or continuous AF (Fb8)
, multi-point distance measurement/spot distance measurement uses a bit indicating the function (Fb2
), S LON, OFF is 81 ON, depending on the flag (SIONF) indicating OFF, bO ~ of address OC1]
b5 is set respectively.

尚、表示制御回路(DISPC)では、スイッチ(Sl
)がOFFであることを示す信号(SLOFF)がくれ
ば、(bO〜b4)の信号に拘わらず、インファインダ
ーの表示を消灯する。
In addition, in the display control circuit (DISPC), the switch (Sl
) is OFF, the infinder display is turned off regardless of the signals (bO to b4).

ステップ(#2728)(#2729)(#2735)
(#2740)の全ての場合においてステップ(#27
45)に進み、表示制御回路(DISPC)とデータ交
信を行うべく、端子(C8DISP)を「H」レベルに
し、続イテステップ(#2750)でシリアル交信(カ
メラ出力側)を行って、交信終了後、端子(C8DIS
P)を「L」レベルにする(#2755)。
Step (#2728) (#2729) (#2735)
In all cases of (#2740), step (#27
Proceed to step 45), set the terminal (C8DISP) to "H" level to perform data communication with the display control circuit (DISPC), perform serial communication (camera output side) in the next step (#2750), and complete the communication. After that, connect the terminal (C8DIS
P) to the "L" level (#2755).

次にカード機能を働かせたときに、一定時間表示を示す
フラグ(DISPIF)がセットされているが否かをス
テップ(#2760)で判定し、セットされているとき
には2.5秒待つ(#2765)。この時間、表示が行
われる。
Next time the card function is activated, it is determined in step (#2760) whether or not a flag (DISPIF) indicating a certain period of time display is set, and if it is set, wait 2.5 seconds (#2765). ). Display is performed during this time.

次にステップ(#2770)でフラグ(DISPIF)
をリセットして、ステップ(#2780)に進む。前記
ステップ(#2760)でフラグ(DISPIF)がセ
ットされていないときは、ステップ(#2765)及び
(#2770)をスキップしてステップ(#2780)
へ進む。ステップ(#2780>では制御シャッター速
度(Tvc)が6未満(1/60)であるが否かをステ
ップ(#2780)で判定し、6未満であれば、ブザー
警告を行うモードを選択しているか否かを判定する(#
2785)。選択している場合(MSb9〜MSb12
 = OH,2H,4H,6H,8H,AH,CH,E
l)は、ブザーによる警告を行うべく端子(OBZ)か
ら一定時間所定の周波数のパルスを出力しく#279の
、ステップ(#2792)に進む。
Next, in step (#2770), set the flag (DISPIF)
, and proceed to step (#2780). If the flag (DISPIF) is not set in step (#2760), skip steps (#2765) and (#2770) and proceed to step (#2780).
Proceed to. In step (#2780>), it is determined in step (#2780) whether the control shutter speed (Tvc) is less than 6 (1/60), and if it is less than 6, a mode for issuing a buzzer warning is selected. Determine whether or not there is (#
2785). If selected (MSb9 to MSb12
= OH, 2H, 4H, 6H, 8H, AH, CH, E
In l), the process proceeds to step #2792 of #279 to output a pulse of a predetermined frequency from the terminal (OBZ) for a certain period of time in order to issue a warning using a buzzer.

制御シャッター速度(Tvc)が6以上、或いはブザー
警告を行わないモードであるとき(MSb9〜MSb1
2= LH,3H,5H,IH,9H,BH,DH,F
H)にはブザー警告を行わずステップ(#2792)に
進む。
When the control shutter speed (Tvc) is 6 or more or the mode does not provide a buzzer warning (MSb9 to MSb1)
2= LH, 3H, 5H, IH, 9H, BH, DH, F
For H), proceed to step (#2792) without issuing a buzzer warning.

ステップ($12792)では、入力したモード設定の
データが示すカメラの機能をE2PROMのMSbO−
MSb12に書き込むか否かを示すフラグ(WRTF)
を判定し、セットされていれば、ステップ(#2794
)で上記モード設定のデータ、即ち、 アドレス22Hのb1〜b4 アドレス23Hのbo−b2.b4〜b7アドレス24
Hのbo−bO アドレス26HのbO−b2 をE2PROMの(MSbO−MSb3.MSb5〜M
Sb12. MSb26〜MSb34)のデータの内容
に応じたビットに書き込み、ステップ(#2796)で
フラグ(WRTF)をリセットしてリターンする。ステ
ップ(#2792)においてフラグ(WRTF)がセッ
トされていないときは、そのままリターンする。
In step ($12792), the camera function indicated by the input mode setting data is set to the E2PROM MSbO-
Flag (WRTF) indicating whether to write to MSb12
is determined, and if it is set, step (#2794
), the above mode setting data, i.e. b1 to b4 at address 22H, bo to b2 at address 23H. b4-b7 address 24
bo-bO of address 26H bO-b2 of E2PROM (MSbO-MSb3.MSb5~M
Sb12. MSb26 to MSb34) are written to bits corresponding to the data contents, the flag (WRTF) is reset in step (#2796), and the process returns. If the flag (WRTF) is not set in step (#2792), the process returns directly.

上記モード設定のサブルーチン(#2737)を第30
図に示し説明すると、ここでは、今現在カメラに設定さ
れているモードが新たに設定されたモードにあるか否か
を判定すると共に、ない場合には設定された別のモード
に移すようにしている。例えば、現在、露出のAモード
が選択されているが、ICカードにより露出モードの選
択がらAモードが除かれてしまった場合、前のままのA
モード表示及び制御を行ってはおかしいので、これを防
止している。
The above mode setting subroutine (#2737) is the 30th
To illustrate and explain it in the figure, here, it is determined whether the mode currently set on the camera is in the newly set mode or not, and if it is not, it is moved to another set mode. There is. For example, if A mode is currently selected for exposure, but A mode is removed from the exposure mode selection by an IC card, the A mode remains as before.
It would be strange to display and control the mode, so this is prevented.

さて、第30図のフローにおいてマイコン(μC)は、
まず変更可能のモードがあったときにリセットされるフ
ラグ(C)(GF)をセットしく#3200)、設定可
能な露出モードが変更されたかをE2PROMのデータ
(MSb6〜MSb8)トICカート(CD)から入力
シタデータ(アドレス23Hのbo−b2)とを比較し
て判定しく#3203)、異なっていた場合(即ち、変
更があった場合)、露出モードを強制的にPモードとす
べく、デ−タ(FbO,Fbl)を(0,O)にしく#
3205)、ステップ(#3210)に進む。
Now, in the flow of Figure 30, the microcomputer (μC)
First, set the flags (C) (GF) that are reset when there is a mode that can be changed. ) to the input data (bo-b2 at address 23H) to make a judgment #3203), and if they are different (i.e., there has been a change), the data is set to force the exposure mode to P mode. - Change data (FbO, Fbl) to (0, O)#
3205) and proceeds to step (#3210).

次に、ステップ(#3210)でH/Sモードがあるか
否かを判定し、ある場合(アドレス22Hのbl= 1
 )には上記フラグ(CI(GF)をリセットし、変更
位置を示す変更データ(CI)bo −CDb2)を)
(/S変更(0,0,0)としてステップ(#3230
)に進む(#3220. $13225)。
Next, in step (#3210), it is determined whether or not there is an H/S mode, and if there is, (bl at address 22H = 1
) is the above flag (reset CI (GF) and change data (CI)bo - CDb2) indicating the change position)
(/S change (0,0,0) as step (#3230
) (#3220. $13225).

H/Sモードがない場合(アドレス22Hのbl= O
)にはデータ(FbO,Fb7)を(0,0)のH/S
なしとして(#3215)、ステップ(#3230)に
進む。
When there is no H/S mode (bl at address 22H = O
) is data (FbO, Fb7) as H/S of (0,0)
It is determined that there is no information (#3215), and the process proceeds to step (#3230).

ステップ(#3230)では、十/−モードが有るか否
かを判定し、有る場合(アドレス22Hのb2=1)、
フラグ(CHGF)がセットされているか否かをステッ
プ(#3245)で判定し、セットされている場合は、
フラグをリセットしく#3250)、且つステップ(#
3255)で変更データ(CDbO〜CDbl)を+/
−変更(001)としてステップ(#3260)に進む
In step (#3230), it is determined whether or not there is a 10/- mode, and if there is (b2 of address 22H = 1),
It is determined in step (#3245) whether the flag (CHGF) is set, and if it is set,
Reset the flag #3250) and step (#3250)
3255) to change the data (CDbO to CDbl) +/
- Change (001) and proceed to step (#3260).

ステップ(#3245)でフラグ(CHGF)がセット
されていないときは、ステップ(#3250)、 (#
3255)をそれぞれスキップして直接ステップ(#3
260)へ進む。
If the flag (CHGF) is not set in step (#3245), step (#3250), (#
3255) and go directly to step (#3
260).

ステップ(#3230)において、+/−モードが無い
場合(アドレス22Hのb2=o)、補正なしとして、
機能データ(Fb4. Fb5)を(0,0)とし、補
正露出量△Ev=0としてステップ(#3260)に進
む(#3235. #3240)。
In step (#3230), if there is no +/- mode (b2 = o at address 22H), no correction is made,
The function data (Fb4. Fb5) is set to (0, 0), the corrected exposure amount ΔEv is set to 0, and the process proceeds to step (#3260) (#3235. #3240).

ステップ(#3260)では、S/Cモードが有るか否
かを判定し、ある場合(アドレス22Hのb3= 1 
’)にはフラグ(CHGF)がセットされているか否か
をステップ(#3270)で判定し、セットされている
ときには、これをリセットしく#3275)、更にS/
C変更としてステップ(#3280)で変更データ(C
DbO〜CDb2)を(0,1,0)として次のステッ
プ(#3285)に進む。
In step (#3260), it is determined whether or not there is an S/C mode, and if there is, (b3 of address 22H = 1
It is determined in step (#3270) whether or not the flag (CHGF) is set in '), and if it is set, it should be reset (#3275).
Change data (C change) in step (#3280)
DbO to CDb2) are set to (0, 1, 0) and the process proceeds to the next step (#3285).

フラグ(CI(GF)がセットされていないときには、
ステップ(#3275)及び(#3280)をスキップ
して直接ステップ(#3285)に進む。ステップ(#
3260)で、S/Cモードがない場合(アドレス22
Hのb3=o)には単写モードとすべく、ステップ(#
3265)で機能データ(Fb3)を(0)にして、ス
テップ(#3285)に進む。ステップ(#3285)
では、S/Aモードが有るか否かを判定し、ある場合(
アドレス22Hのb4= 1 )には、ステップ(#3
295)でフラグ(CHGF)がセットされているか否
かを判定し、セットされている場合、フラグ(COGF
)をリセットして(#3300)、更に次のステップ(
#3305)でS/A変更として変更データ(CDbO
〜CDb2)を(0,1,1)としてリターンする。先
のステップ(#3295)でフラグ(CHGF)がセッ
トされていないとき、変更可能のモードはないとしく#
331の、変更データ(CDbO〜cDb2)を(1,
O,O’)としてリターンする。
When the flag (CI(GF)) is not set,
Skip steps (#3275) and (#3280) and proceed directly to step (#3285). Step (#
3260) and there is no S/C mode (address 22
For b3=o of H, step (#
3265), the function data (Fb3) is set to (0), and the process proceeds to step (#3285). Step (#3285)
Now, determine whether there is S/A mode or not, and if there is (
b4 = 1 at address 22H has step (#3
295), it is determined whether or not the flag (CHGF) is set, and if it is set, the flag (COGF
) (#3300) and proceed to the next step (
#3305), change data (CDbO
~CDb2) is returned as (0, 1, 1). If the flag (CHGF) is not set in the previous step (#3295), there is no mode that can be changed.
331, change data (CDbO to cDb2) to (1,
O, O').

また、ステップ(#3285)でSハモードがない場合
(アドレス22Hのb4=o)、ステップ(#3290
)において多点測距モード(Aモード)とすべく機能デ
ータ(Fb2)を(0)としてリターンする。
Also, if there is no S mode in step (#3285) (b4 of address 22H=o), step (#3290
), the function data (Fb2) is set to (0) and returned to set the multi-point ranging mode (A mode).

第6図において上述した表示の制御(#472)を終え
ると、マイコン(μC)はステップ(#473)へ進ん
で、レリーズスイッチ(S2)がONされているか否か
を判定し、ONされていないとき(IP7= rHJ 
)には割込みを許可してリターンする(11474)。
When the display control (#472) described above in FIG. When there is no (IP7= rHJ
), allows interrupts and returns (11474).

ONされているとき(IP7= rLJ )にはステッ
プ(#475)でセルフモードであるかをセルフモード
選択スイッチ(SSELF)がONされているかで判定
する。該スイッチがONされていれば(IPL2= r
 L J )、セルフ撮影の処理をすべく、ステップ(
#478)に進む。このサブルーチンを第29図に示す
When it is turned on (IP7=rLJ), in step (#475) it is determined whether the self mode is selected by checking whether the self mode selection switch (SSELF) is turned on. If the switch is turned on (IPL2= r
L J ), step (
Proceed to #478). This subroutine is shown in FIG.

まず、マイコン(μC)は、ステップ(#4500)で
AFのモーターを停止しくこれは、セルフ撮影のときに
被写体が存在せず、背景にピントが合うことがあるので
、AFの動作を禁止するためである)。次に内部E2F
ROMから、セルフの為のタイマー時間を示す信号を読
みとる(#4505)。続いてステップ(#4510)
で28が選択されているか否か判定し、ここで28が選
択されているとき(MSb30.31 = 0.0)に
は、ステップ($14515)で2秒待ってリターンし
、第6図のステップ(#490)へ進んで露出制御を行
う(#495)。
First, the microcomputer (μC) stops the AF motor in step (#4500). This is because when taking self-shots, the subject may not be present and the background may be in focus, so AF operation is prohibited. (for this reason). Next, internal E2F
A signal indicating a self timer time is read from the ROM (#4505). Next step (#4510)
Determine whether 28 is selected or not, and if 28 is selected (MSb30.31 = 0.0), wait 2 seconds at step ($14515) and return, as shown in Figure 6. Proceeding to step (#490), exposure control is performed (#495).

同じように58が選択されているときには5秒、10S
が選択されているときには10秒を夫々待ってリターン
し、露出制御を行うべく第6図のステップ(#490)
へ進む(#4520〜#4530)。
Similarly, when 58 is selected, 5 seconds, 10S
is selected, wait 10 seconds and return to step (#490) in Figure 6 to perform exposure control.
Proceed to (#4520 to #4530).

第6図のステップ(#475)でセルフモードでないと
き(IP12= rH」)には、ステップ(#480)
に進む。
If it is not the self mode (IP12 = rH") in step (#475) of Fig. 6, step (#480)
Proceed to.

このステップ(#480)では、マニュアルフォーカス
モード[:MFF= 1 (フォーカスロック或いは焦
点検出のみの手動焦点調節)〕であるが否かを判定し、
マニュアルフォーカスモードであれば、ステップ(#4
90)を通って(#495)に進んで露出制御を行い、
マニュアルフォーカスモードでないとき(Aモード)は
ステップ(#485)に進む。
In this step (#480), it is determined whether the manual focus mode [:MFF=1 (focus lock or manual focus adjustment with focus detection only)] is selected,
In manual focus mode, step (#4
90) and proceed to (#495) to perform exposure control.
If it is not the manual focus mode (A mode), the process proceeds to step (#485).

ステップ(#485)では合焦を示すフラグ(AFEF
)がセットされているか否かを判定し、セットされてい
なければ露出制御せずにリターンする。
In step (#485), a flag indicating focus (AFEF
) is set, and if it is not set, returns without performing exposure control.

フラグ(AFEF)がセットされているとき、若しくは
AFモードでないとき(即ちマニュアルモードのとき)
は、ステップ(11490)でこのフローへの割込みを
禁止し、次のステップ(#495)で露出制御を行った
後(後述)、ステップ(#500)でフィルムの1コマ
巻上を行い(これも後述する)、レリーズスイッチ(S
2)がONN合否をステップ(#505)テ判定し、0
N(7)場合(IF5−r L J )、連写モードで
あるが否かをステップ(#510)で判定し、連写モー
ドであるとき(Fb3=1)、ステップ(#515)で
全割込みを許可して〔SO3のルーチンに進む。連写モ
ードでないとき(Fb3=0)はステップ(#505)
に戻り、レリーズスイッチ(S2)がOFFされるのを
待ち、OFFされるとステップ(#520)で全割込み
許可してリターンする。
When the flag (AFEF) is set or when not in AF mode (i.e. in manual mode)
In step (11490), interrupts to this flow are prohibited, and in the next step (#495), exposure control is performed (described later), and in step (#500), the film is wound one frame (this (described later), release switch (S
2) determines ONN pass/fail in step (#505) and returns 0.
If N(7) (IF5-r L J), it is determined in step (#510) whether or not the continuous shooting mode is in effect, and if it is in the continuous shooting mode (Fb3=1), the entire image is displayed in step (#515). Enable interrupts and proceed to routine SO3. Step (#505) when not in continuous shooting mode (Fb3=0)
The process returns to step (#520) and waits for the release switch (S2) to be turned off. When it is turned off, all interrupts are enabled in step (#520) and the process returns.

次に上記ステップ(#495)の露出制御のサブルーチ
ンを第31図に示し説明する。まずステップ(#280
0)において、閃光装置(ST)がら入力したデータに
基づき、充電が完了しているが否かを判定し、充電完了
している場合にはステップ(#2805)で端子(C3
ST)を(t2)間「H」レベルとし、露出モードであ
ることを示す。そして、調光量として、フィルム感度(
Sv)、露出補正量(△Ev)、 I Cカードからの
閃光発光量補正量(F△Ev)を算出し、これを調光回
路(STC)にアナログデータとしてD/A変換した後
に出力する(#2810)。
Next, the exposure control subroutine of step (#495) is shown in FIG. 31 and will be described. First step (#280
0), it is determined whether charging is completed or not based on the data input from the flash device (ST), and if charging is completed, the terminal (C3
ST) is set to "H" level during (t2) to indicate that the exposure mode is set. Then, the film sensitivity (
Sv), exposure compensation amount (△Ev), and flash light emission amount correction amount (F△Ev) from the IC card are calculated and output after D/A conversion as analog data to the dimming circuit (STC). (#2810).

次のステップ($12815)では、制御絞り値(Av
c)に基づいて絞り制御を行い、ミラーアップの制御を
行った(#2820)後、制御シャッター速度(Tvc
)に基づいてシャッター速度の制御を行い(#2825
)、更にFul1発光信号端子をr L Jレベルにし
て(#2830)、リターンする。
In the next step ($12815), the control aperture value (Av
After performing aperture control based on c) and controlling mirror up (#2820), the control shutter speed (Tvc
) to control the shutter speed based on (#2825
), further sets the Ful1 light emission signal terminal to r L J level (#2830), and returns.

ここで閃光発光時のインターフェース回路の動作を第9
図(b)に基づいて説明すると、閃光撮影時には、端子
(FLOK)が「H」レベルであり、シャッターの先幕
が走行完了すると、X接点がONとなり、アンド回路(
AND21)から発光開始信号が電子閃光装置(ST)
へ出力され、電子閃光装置(ST)では、これを入力し
、発光を開始する。Ful1発光モードでないときは、
インバータ(IN21)を介してアンド回路に「H」レ
ベルが出力されておシバ 調光回路(STC)からの調
光完了を示すパルス信号を入力すると、アンド回路(A
ND22)はこれをオア回路(OR21)を介して閃光
装置に出力する。電子閃光装置(ST)では、これを入
力して閃光発光を停止する。Ful1発光モードのとき
には、アンド回路(AND22)には「L」レベルが入
力され、アンド回路(AND22)は不作動状態となり
、調光信号が通過するのを禁止するので、電子閃光装置
(ST)には、閃光発光停止を示す信号が出力されない
Here, the operation of the interface circuit when the flash is emitted is explained in the ninth section.
To explain based on Figure (b), during flash photography, the terminal (FLOK) is at the "H" level, and when the front curtain of the shutter completes travel, the X contact turns ON, and the AND circuit (
The light emission start signal from AND21) is sent to the electronic flash device (ST).
The electronic flash device (ST) inputs this and starts emitting light. When not in Ful1 flash mode,
"H" level is output to the AND circuit via the inverter (IN21). When a pulse signal indicating the completion of dimming from the dimming circuit (STC) is input,
ND22) outputs this to the flash device via an OR circuit (OR21). In an electronic flash device (ST), this is input to stop flash emission. In the Ful1 light emission mode, the "L" level is input to the AND circuit (AND22), the AND circuit (AND22) becomes inactive, and the passage of the dimming signal is prohibited, so the electronic flash device (ST) In this case, no signal indicating the stop of flash emission is output.

第32図(a)及び(b)には、第6図のステップ(#
500)に示したフィルムの1コマ巻上げの制御のフロ
ーチャートを示しである。これについて説明すると、第
32図(a)においてマイコン(μC)はモーター巻上
信号をモータ制御回路(MD)に出方し、タイマー(T
3)をリセットスタートサセ6 (#2850.#28
55)。
Figures 32(a) and (b) show the steps (#) in Figure 6.
500) is a flowchart of the control for winding one frame of the film shown in FIG. To explain this, in Fig. 32(a), the microcomputer (μC) outputs a motor hoisting signal to the motor control circuit (MD), and the timer (T
3) Reset start sequence 6 (#2850.#28
55).

このタイマーはフィルムが最終コマまで巻き上げられ、
フィルムがつっばったことを検知する為のタイマーであ
る。マイコン(μC)はステップ(#2860)におい
て1コマ巻き上げられたことを示すスイッチ(S WD
)がONしたが否がを判定し、ONしてぃない場合、こ
の状態で2秒経過したかをステップ(#2865)で判
定し、2秒経過した場合には、モーターの停止の制御を
行い(#2870)、フィルムがつっばったとして、こ
のフィルムつっばりの制御を行って(#2875)、リ
ターンする。前記つっばりのサブルーチンを第32図(
b)に示し説明すると、オートリターン(つっばった後
、自動的にフィルムを巻戻す)が選択されているか否か
をステップ(#2920)で判定し、選択サレテイルト
キ(MSb9〜Msb12−oH〜3H18[I−BH
lここでHは16進数)には、モーター逆転の信号をモ
ーター制御回路(MD)へ与え、フィルム検出スイッチ
(S FLM)がONニなルノを待つ(#2930. 
#2935)。
This timer winds the film to the last frame,
This is a timer to detect when the film is stretched. The microcomputer (μC) switches the switch (SWD) to indicate that one frame has been wound in the step (#2860).
) is ON or not, and if it is not ON, it is determined in step (#2865) whether 2 seconds have passed in this state, and if 2 seconds have passed, control to stop the motor is executed. Then, assuming that the film is taut, the film tautness is controlled (#2875) and the process returns. The above-mentioned subroutine is shown in Figure 32 (
As shown in b), it is determined in step (#2920) whether or not auto-return (automatically rewinding the film after the film is loaded) has been selected, and the selection is made (MSb9~Msb12-oH~3H18[ I-BH
l (Here, H is a hexadecimal number) A signal for motor reversal is given to the motor control circuit (MD), and the film detection switch (S FLM) is waited for when it is ON (#2930.
#2935).

次にスイッチ(SFLM)がOFFになったときフィル
ムを全部パトローネ室へ巻き込むか否かを判定し、巻き
込む場合(E2PROMのMSb9〜MSb12= 2
H,3H,6H,7H,AH,BH,EH,FH)であ
れば1秒間待って(#2945)、モーター停止制御(
$12955)を行った後、リターンする。
Next, when the switch (SFLM) is turned OFF, it is determined whether or not the entire film is rolled into the cartridge chamber.
H, 3H, 6H, 7H, AH, BH, EH, FH), wait 1 second (#2945), then start the motor stop control (
$12955) and then return.

巻き込む場合でなければ(E2PROMのMSb9〜M
Sb12= OH,LH,4H,5H,8H,9H,C
)]、 DI()、0.2秒待ってモーター停止を行っ
てリターンする(#2950)。
Unless it is involved (E2PROM MSb9 to M
Sb12=OH, LH, 4H, 5H, 8H, 9H, C
)], DI(), wait 0.2 seconds, stop the motor, and return (#2950).

上記ステップ(#2920)でオートリターンでないと
き(MSb9〜MSb12= 4H〜7H,Cl−1−
FH)はステップ(#2925)へ進んで巻戻しスイッ
チ(S WD)がONされるのを待ち、ONされれば前
記ステップ(#2930)に進む。
When the above step (#2920) does not auto-return (MSb9 to MSb12 = 4H to 7H, Cl-1-
FH) proceeds to step (#2925) and waits for the rewind switch (SWD) to be turned on, and if it is turned on, proceeds to step (#2930).

第32図(a)に戻り、ステップ(#2860)におい
て、1コマ巻上完了スイッチ(SWD)がONされると
、ステップ(#2880)でモーター停止の制御を行っ
た後、次のステップ(#2885)でフィルム枚数のカ
ウンターが順算式であるか否かを判定し、順算式である
場合(MSb9〜MSb12= OH−7H)、ステッ
プ(#2890)でフィルム撮影済枚数を示すカウンタ
ーのカウント数(N1)を1だけインクリメントし、ま
た逆算式である場合(MSb9〜MSb12 = 8)
1− FH)には、フィルム残り枚数を示すカウント数
(N1)を1だけディクリメントして、それぞれステッ
プ(#2900)に進む。ステップ(#2900)では
、このフィルム枚数(N1)をE2PROMのMSb1
3〜MSb18に書き込む。
Returning to FIG. 32(a), when the 1-frame winding completion switch (SWD) is turned on in step (#2860), the motor is stopped in step (#2880), and then the next step ( Step #2885) determines whether the counter for the number of film sheets is a forward count type, and if it is a forward count type (MSb9 to MSb12 = OH-7H), the counter that indicates the number of film shots is counted in step (#2890). When the number (N1) is incremented by 1 and it is a backward calculation formula (MSb9 to MSb12 = 8)
1-FH), the count number (N1) indicating the number of remaining films is decremented by 1, and the process proceeds to step (#2900). In step (#2900), this number of films (N1) is set to MSb1 of E2PROM.
3 to write to MSb18.

次に、裏蓋閉成検出スイッチ(SRC)、或いは巻戻し
スイッチ(SRW)が操作されたとき、端子(INT2
)にパルス信号が入力し、マイコン(μC)は第33図
に示すCINT2)の割込みを実行する。同図のフロー
において、マイコン(μC)は、まずこのフローへの割
込みを禁止しく#3000)、しかる後ステップ(#3
005)で巻戻しスイッチ(SRW)がONされている
か否かを検出する。ONされている場合には、巻戻し動
作を行うべく第32図(b)に示した〔巻戻し〕のルー
チンを実行して割込みを許可してリターンする(#30
10)。巻戻しスイッチ(SRW)がONされていない
ときは、裏蓋閉成スイッチ(SRC)がONされたとし
てステップ(#3015)に進み、フィルムが存在する
か否かを判定する。フィルムがない場合、従って、フィ
ルム検出スイッチ(SFLM)がOFFの場合は、イニ
シャルロードを行わずにステップ(#3100)に進む
Next, when the back cover close detection switch (SRC) or the rewind switch (SRW) is operated, the terminal (INT2
), the microcomputer (μC) executes the interrupt of CINT2) shown in FIG. In the flow shown in the figure, the microcontroller (μC) first prohibits interrupts to this flow (#3000), and then steps (#3000).
005), it is detected whether the rewind switch (SRW) is turned on. If it is ON, execute the [Rewind] routine shown in FIG. 32(b) to perform the rewind operation, permit interrupts, and return (#30).
10). If the rewind switch (SRW) is not turned on, it is assumed that the back cover closing switch (SRC) is turned on, and the process proceeds to step (#3015), where it is determined whether or not there is a film. If there is no film, therefore, if the film detection switch (SFLM) is OFF, the process proceeds to step (#3100) without performing initial loading.

これに対し、フィルムが存在する場合(即ち、SFLM
が0N(7)場合)は、端子(C3DX)を「H」レベ
ルにし、フィルム感度読取り回路(DX)とシリアル交
信を行ってフィルム感度データ(Sv)及びフィルム撮
影枚数値(N)を入力し、交信を終えると端子(C3D
X)を「L」レベルにする(#3020〜#3030)
。そして、数(N1)を−2にセットしく113035
)、続いて端子(C8DISP)を「H」レベルにし、
表示制御回路とシリアル交信を行い(#3045)、イ
ニシャルロードを示す信号(OAHのbl=1.  b
2〜b6=o)及びフィルム枚数のデータを出力し、こ
れにより、フィルム枚数(N])を示すデータ以外は表
示しないようにする。 シリアル交信を終えると端子(
C8DISP)を「L」レベルとする(#3050)。
In contrast, if a film is present (i.e., SFLM
is 0N (7)), set the terminal (C3DX) to "H" level, perform serial communication with the film sensitivity reading circuit (DX), and input the film sensitivity data (Sv) and the number of film exposures (N). , When communication is finished, the terminal (C3D
X) to “L” level (#3020 to #3030)
. And set the number (N1) to -2 113035
), then set the terminal (C8DISP) to “H” level,
Performs serial communication with the display control circuit (#3045) and sends a signal indicating initial load (OAH bl = 1. b
2 to b6=o) and the number of films are output, so that data other than the data indicating the number of films (N]) are not displayed. When serial communication is finished, the terminal (
C8DISP) is set to "L" level (#3050).

このフィルム枚数(N1)の数値に対し表示は2つの7
セグメントを用いて表示される。
There are two 7s displayed for this number of films (N1).
Displayed using segments.

次にマイコン(μC)はモーター巻上を示す信号を巻上
げ制御回路に出力しく#3055)、1コマ巻き上げら
れるのを待ち(#3060)、1コマ巻上げスイッチ(
SWD)がONすると、フィルム枚数(N1)に1を加
えて、1になったか否かを判定し、1になっていなけれ
ば、ステップ(#3040)にもどる。1になっていれ
ば、ステップ(#3075)へ進んでモーターを停止し
、更にフィルムカウンターが順算式であるか否かをステ
ップ(#3080)で判定し、順算式である場合、ステ
ップ(#3085)で(N1)に1、順算式でない場合
、ステップ(#3090)で読み取ったフィルム撮影枚
数(N)を(N1)とし、ステップ($13095)に
進む。そして、ステップ(#3095)では、上記フィ
ルム枚数(N1)とフィルム感度とをN2 FROMの
所定のアドレスに書込み、書込み終了後、全割込みを許
可して(#3100)、リターンする。
Next, the microcomputer (μC) outputs a signal indicating motor winding to the winding control circuit (#3055), waits for one frame to be hoisted (#3060), and switches to the one frame winding switch (#3060).
When SWD) is turned on, 1 is added to the number of films (N1), and it is determined whether or not it has become 1. If it has not become 1, the process returns to step (#3040). If it is 1, proceed to step (#3075) to stop the motor, and further determine whether or not the film counter is a forward counting type or not, and if it is a forward counting type, step (#3080) is determined. In step 3085), if (N1) is not a forward calculation, the number of film shots (N) read in step (#3090) is set as (N1), and the process proceeds to step ($13095). Then, in step (#3095), the number of films (N1) and the film sensitivity are written to a predetermined address of N2 FROM, and after the writing is completed, all interrupts are enabled (#3100) and the process returns.

ここで、本実施例において、フラグのセット、リセット
とビットの1,0とは同一であることを付言しておく。
It should be added here that in this embodiment, setting and resetting the flag and setting the bits to 1 and 0 are the same.

以上において、本実施例のカメラ側のマイコン(μC)
の動作について、各種フローチャート等を用いて説明し
たが、次にこのカメラに装着されるICカードの制御に
ついてもフローチャートを用いて説明する。尚、モード
設定カード、プログラムカードに分けてそれぞれ説明す
ることにする。
In the above, the microcomputer (μC) on the camera side of this embodiment
The operation of this camera has been explained using various flowcharts, etc. Next, the control of the IC card installed in this camera will also be explained using flowcharts. Note that the mode setting card and program card will be explained separately.

ICカード(CD)にはE2FROMを内蔵したマイコ
ン(μC2)が組込まれている。
The IC card (CD) has a built-in microcomputer (μC2) with a built-in E2FROM.

まず、モード設定カードから説明するとICカード(C
D)がカメラに装着されると、電源が供給されると共に
上述したように、カメラのマイコン(μC)に割り込み
がかかり、クロック(φ)が送られてきて、ICカード
側のマイコン(μC2)は駆動可能の状態となる。
First, let's start with the mode setting card.
When D) is attached to the camera, power is supplied and as mentioned above, an interrupt is applied to the camera's microcomputer (μC), a clock (φ) is sent, and the microcomputer (μC2) on the IC card side becomes drivable.

ICカード側では、カメラへの装着により端子(RE)
に「L」からrH4レベルへ変わる信号が入力し、マイ
コン(μC2)は第40図(a)に示すフローを実行す
る。同図において、マイコン(μC2)は、まずフラグ
出力ボートをリセットし、E2PROMのデータをRA
Mのビットの内のデータの内容に応じたビットに移しく
IIcDIO)、割込み待ちとなる(#CD15)。
On the IC card side, the terminal (RE) is connected by attaching it to the camera.
A signal changing from "L" to rH4 level is input to the microcomputer (μC2), and the microcomputer (μC2) executes the flow shown in FIG. 40(a). In the same figure, the microcontroller (μC2) first resets the flag output port and transfers the E2PROM data to RA.
It moves to the bit corresponding to the data content among the bits of M (IIcDIO) and waits for an interrupt (#CD15).

カメラから、データ交i要求を示す信号(C8BCK)
が送られると、工Cカー・ドのマイコン(μC2)は割
込み[:INT’lを実行するが、これを第40図(b
)に示し説明すると、マイコン(μC2)はステップ(
#CD50)でカメラとシリアル交信を行うべく制御し
、カメラから送られてくるデータ交信用のクロック(S
CK)に基づいて、カメラからのデータを入力し、何番
目のデータ交信(I、II、III)であるかを判定す
る(#CD55)。データ交信工である場合、まずIC
カードがどのような種類(モード設定、或いはプログラ
ム)であるのかをカメラに示すデータを設定して(今の
場合モード設定カード)、カメラから送られてくるグロ
ック(SCK)に基づいてデータを出力して(#CD6
0)、割り込みを待つ(#CD63)。データ交信が■
である場合、ステ゛ツブ(llcD70)からステップ
(#CD75)に進み、カメラから送られてくるデータ
(この場合、キーデータ)をクロック(SCK)に同期
して入力する。この入力したデータに基づいて、データ
セットのルーチン(#CD75)を行って、割り込み待
ちとなる(#CD63)。
A signal from the camera indicating a data exchange i request (C8BCK)
is sent, the microcontroller (μC2) of the engineering C card executes the interrupt [:INT'l, which is shown in Figure 40 (b).
), the microcontroller (μC2) performs the steps (
#CD50) is used to control serial communication with the camera, and the data communication clock (S
CK), data from the camera is input, and it is determined which data communication (I, II, III) it is (#CD55). If you are a data communications engineer, first
Set data that indicates to the camera what type of card (mode setting or program) it is (mode setting card in this case), and output data based on the Glock (SCK) sent from the camera. (#CD6
0), wait for an interrupt (#CD63). Data communication is
If so, the process advances from step (llcD70) to step (#CD75), and data sent from the camera (key data in this case) is input in synchronization with the clock (SCK). Based on this input data, a data set routine (#CD75) is performed and an interrupt wait is performed (#CD63).

このデータセットのルーチンを第40図(C)に示し説
明すると、カードデータ設定スイッチ(SCDSがON
されているか否かをステップ(#CD100)で判定し
、そのスイッチのON或いはOFFに応じてステップ(
#CD1lO,#CD105)で、それぞれの制御を行
った後、ステップ(#CD115)へ進む。 [:5C
DSON]  C3CDSOFF)の制御のフローを第
40図(e)、(f)に示すが、この制御は第17図、
第18図に示したl:5cDsON) 、 [5CDS
OFF”1のフローと比ベステップ(#1500)及び
ステップ(#1550)のモード設定カードの判定のス
テップがない(これはカード側では不要である)だけで
、他は同一であるので説明を略す。
This data set routine is shown in FIG. 40 (C) and will be explained when the card data setting switch (SCDS is
It is determined in step (#CD100) whether or not the switch is ON or OFF, and step (#CD100) is performed depending on whether the switch is ON or OFF.
After performing respective controls in steps #CD11O and #CD105), the process advances to step (#CD115). [:5C
DSON] C3CDSOFF) control flow is shown in FIGS. 40(e) and (f), and this control is shown in FIGS.
l:5cDsON), [5CDS shown in FIG.
Compared to the flow of "OFF" 1, the only difference is that there is no mode setting card determination step (#1500) and step (#1550) (this is not necessary on the card side), and the rest is the same, so the explanation will be omitted. .

尚、フラグの頭にCがついているのはカメラ側のフラグ
と区別する為であり、その機能はCがついていないカメ
ラ側のフラグの機能と同じである。
Note that the flag has a C at the beginning to distinguish it from the camera-side flag, and its function is the same as that of the camera-side flag without the C.

第40図(c)に戻り、ステップ(#CD115)では
、セットフラグ(C3ETF)がセットされているか否
かを判定し、セットされていない場合は、(SCDSO
N)のフローを一度通り、 C5CDSOFF)のフロ
ーを通っていないときにセットされているフラグ(CO
DSF)がセットされているか否かをステップ(#CD
120)で判定する。
Returning to FIG. 40(c), in step (#CD115), it is determined whether or not the set flag (C3ETF) is set, and if it is not set, (SCDSO
The flag (CO
DSF) is set or not.
120).

尚、本実施例でカードデータ設定スイッチ(SCDS)
はOFFで変更モードに入るようになっており、ステッ
プ(#CD115)でフラグ(C8ETF)がセットさ
れていないときは、設定変更はまだできていないが、そ
のように変わったことを表わす。
In this example, the card data setting switch (SCDS)
is set to OFF to enter the change mode, and when the flag (C8ETF) is not set in step (#CD115), it indicates that the setting has not been changed yet, but has been changed.

フラグ(CCDSF)がセットされているときには、表
示制御フラグ(DISPCF)をセットしく#CD12
5)、フラグ(CCDSF)がセットされていないとき
はリセットして(#CD130)、リターンする。
When the flag (CCDSF) is set, the display control flag (DISPCF) should be set #CD12
5) If the flag (CCDSF) is not set, reset it (#CD130) and return.

この表示制御フラグ(DISPCF)のセット、リセッ
トでカメラ側の表示をデータ設定モード時の表示にする
か否かを決定している〔第28図のステップ(#273
0))。ステップ(#CD115)で、フラグ(C8E
TF)がセットされているとき、データ変更のためのデ
ータセットエのフローを実行してステップ(#CD12
5)に進む(#CD117)。
By setting and resetting this display control flag (DISPCF), it is determined whether or not the camera side display will be the display in the data setting mode [Step (#273 in Figure 28)]
0)). At step (#CD115), flag (C8E
TF) is set, execute the data set flow for data change and step (#CD12
Proceed to step 5) (#CD117).

ここで、データセット■の操作に応じたフローを説明す
る。
Here, the flow according to the operation of the data set ■ will be explained.

第40図(d)においてカードスイッチ(SCD)がO
Nされているか否かを判定しく#CD135)、ONさ
れている場合には、変更モードを記憶しているビット(
CCkbo−CCkb2)から、現在の変更モードを判
定し、その次のモードに変更してリターンする(#CD
140)。
In Fig. 40(d), the card switch (SCD) is set to O.
Check whether it is set to N or not (#CD135), and if it is set to ON, check the bit that stores the change mode (#CD135).
CCkbo-CCkb2), determine the current change mode, change to the next mode and return (#CD
140).

このとき、上記ビット(CCkb15〜CCkb17)
のデータも変更する。スイッチ(SCD)がONされて
いないときには、アップスイッチ或いはダウンスイッチ
がONされているかを判定しく#CD145. #CD
155)、これらのスイッチがONされている場合は夫
々データセット■、■のフローを実行してリターンする
(#CD150、 #CD1Bの。両方ともONされて
いないときは、何もせずリターンする。
At this time, the above bits (CCkb15 to CCkb17)
Also change the data. When the switch (SCD) is not turned on, determine whether the up switch or down switch is turned on #CD145. #CD
155), if these switches are turned on, execute the flows of data sets ■ and ■, respectively, and return (#CD150, #CD1B).If both are not turned on, return without doing anything.

次に、データセット■を第40図(g)に示し、説明す
ると、まずマイコン(μC)は、変更モードが(I)〜
(■)のどれであるかを判定し、そのモードでの機能を
決定している番号を記憶しているビット(CCkb3〜
CCkb22)から、現在の番号を判定し、次の番号に
変更する。例えば、モードTのとき、現在の番号がr 
OJ (H/S1  露出補正、ドライブモードS/C
1スポツトAF/多点AFの4つの変更可となる)のと
きrlJ(4つの内、スポット/多点AFの変更ができ
ない)になる。データセット■は上記データセット■と
ほば同じで、違うところは、番号の進みが逆転すること
だけであるので、図示省略している。
Next, data set ■ is shown in FIG.
The bit (CCkb3 to
CCkb22), the current number is determined and changed to the next number. For example, in mode T, the current number is r
OJ (H/S1 exposure compensation, drive mode S/C
(4 changes of 1-spot AF/multi-point AF are possible), rlJ (among the 4, spot/multi-point AF cannot be changed). Data set (2) is almost the same as data set (2) above, and the only difference is that the advance of the numbers is reversed, so it is not shown.

次に、プログラムカードの場合の説明を行う。Next, the case of a program card will be explained.

本実施例では、プログラムカードはスポーツを行ってい
る場面を撮りたい場合に有効なスポーツプログラムとな
っている。
In this embodiment, the program card is a sports program that is effective when a user wants to take a picture of a sports scene being played.

さて、ICカードがカメラに装着されると、カード側の
マイコン(μC2)のRESET端子に「L」レベルか
らr)(Jレベルに変遷する信号が入力し、ICカード
のマイコン(μC2)は第41図に示す〔リセット〕の
フローを実行し、ステップ(Ql)でフラグ及びボート
をリセットして割込みを待つ(Q2)。
Now, when the IC card is inserted into the camera, a signal that changes from "L" level to r) (J level is input to the RESET terminal of the microcomputer (μC2) on the card side, and the microcomputer (μC2) on the IC card side The [reset] flow shown in FIG. 41 is executed, the flag and vote are reset in step (Ql), and an interrupt is waited for (Q2).

カメラからC3BCKの信号が入力すると割込みがかか
り第42図に示すCINT)のフローを実行する。
When the C3BCK signal is input from the camera, an interrupt is generated and the flow shown in FIG. 42 (CINT) is executed.

ICカードのマイコン(μC2)はカメラから送られて
くるクロック(SCK)に基づいてデータ交信を行う(
Q5’O)。このときのデータはどのような交信である
かをカメラがカード側に知らせるためのデータであり、
ICカードのマイコン(μC2)は、このデータを入力
して交信の内容を判別する(C51)。データ交信Iで
ある場合には、カードの種類を示すデータ(ここではプ
ログラムカードであること)及びAFのモードはコンテ
ィニュアンス、測光ゾーンは多点であることをそれぞれ
示すデータをカメラ側にシリアル交信(C52)で出力
し、ステップ(C56)に進んで割込みを待つ。
The microcontroller (μC2) of the IC card performs data communication based on the clock (SCK) sent from the camera (
Q5'O). The data at this time is data used by the camera to inform the card side of the type of communication.
The microcomputer (μC2) of the IC card inputs this data and determines the content of the communication (C51). If data communication is I, data indicating the type of card (in this case, it is a program card), data indicating that the AF mode is continuous, and the metering zone is multi-point are serially communicated to the camera side. It is output at (C52), and the process advances to step (C56) to wait for an interrupt.

ここで、このプログラムカードは、スポーツの場面を前
提としているので、動きの激しい被写体に対応するため
に常にピントがあっているコンティニュアスAF、  
測光ゾーンも同じ理由で測光する範囲が広い多点、測距
ゾーンは、動く被写体にピントを合わすので、広い多点
が望ましいが、撮影者の意志でピントを主被写体にのみ
シャープに合わせたい場合を考えて切換え可能にする。
Since this program card is designed for sports scenes, Continuous AF, which is always in focus, supports fast-moving subjects.
For the same reason, the metering zone has a wide metering range with multiple points, and the distance metering zone focuses on a moving subject, so a wide multipoint is desirable, but if the photographer wishes to sharply focus only on the main subject. Consider this and make it possible to switch.

データ交信■である場合、カメラから露出演算に必要な
データを入力する(ステップQ53.Q54)。そして
、露出演算を行って割り込みを待つ(C55)。
If it is data communication (2), data necessary for exposure calculation is input from the camera (steps Q53 and Q54). Then, exposure calculation is performed and an interrupt is waited for (C55).

次に、露出演算の具体的なフローチャートの実施例を説
明する前に、このカードの制御の概要を説明しておく。
Next, before explaining an example of a specific flowchart of exposure calculation, an overview of the control of this card will be explained.

◇屋外スポーツや運動会用のカード◇ 〔内容〕 動きのある被写体を比較的明るい場所で手振れしない高
速シャッターで撮影出来る。
◇Cards for outdoor sports and sports days◇ [Contents] You can take pictures of moving subjects in relatively bright places with a high-speed shutter that prevents camera shake.

〔制御〕〔control〕

屋外スポーツ、運動会カードの制御内容を第44図のプ
ログラム線図に示す。この制御は下記のように行われる
The control details for outdoor sports and sports day cards are shown in the program diagram of FIG. This control is performed as follows.

(イ)レンズの絞り値Avは、次の式で算出する。(a) The aperture value Av of the lens is calculated using the following formula.

Ev<21の時、Av= (3/4) ・Ev −23
/4Ev≧21の時、Av= (1/2) ・Ev −
1/2即ち、Ev<21の時はシャッター速度(Tv)
を速くするために絞りを開放気味にする。よって、Av
=(3/4) ・Ev −23/4の計算を行う。
When Ev<21, Av= (3/4) ・Ev -23
/4 When Ev≧21, Av= (1/2) ・Ev −
1/2, that is, when Ev<21, the shutter speed (Tv)
Open up the aperture to speed up the process. Therefore, Av
= (3/4) - Calculate Ev -23/4.

Ev≧21の時は既にシャッター速度(Tv)は十分に
高速であると考えられるので、(Av)、 (Tv)を
両方ともなめらかに変化させるためにAv= (1/2
)・Ev−1/2の計算を行う。
When Ev≧21, the shutter speed (Tv) is already considered to be sufficiently high, so in order to change both (Av) and (Tv) smoothly, Av= (1/2
)・Calculate Ev-1/2.

次に、開放絞り値AvoとAvの比較を行う。 計算値
がAvoよりも小さい場合は、絞り値をその値にセット
出来ないのでAvoに補正する。
Next, the open aperture values Avo and Av are compared. If the calculated value is smaller than Avo, the aperture value cannot be set to that value, so it is corrected to Avo.

次に、下記の式でシャッター速度(Tv)を求める。Next, the shutter speed (Tv) is determined using the following formula.

Av≧Avoの時、Tv=Ev−Av Av<Av、の時、Tv=Ev−AV6(ロ)フィルム
がネガフィルムの場合は、シャッター速度(Tv)を速
くする為にシャッター速度(Tv)の補正を行う。
When Av≧Avo, Tv=Ev-Av When Av<Av, Tv=Ev-AV6 (b) If the film is a negative film, the shutter speed (Tv) should be adjusted to increase the shutter speed (Tv). Make corrections.

ネガフィルムはラチチュードが広いので、それを利用し
て露出をIEv程度アンダーにして高速シャッター速度
を保持する。
Negative film has a wide latitude, so use this to underexpose by about IEv and maintain a high shutter speed.

リバーサルフィルム(ポジ)はラチチュードが狭いので
、補正は行わない。
Reversal film (positive) has a narrow latitude, so no correction is performed.

(ハ)その他 上記制御は焦点距離が70mm以上のレンズが装着され
ている場合に行う。その理由は、スポーツ撮影は被写体
との距離が比較的あると考えられ望遠レンズでないと被
写体を十分に撮影出来ないと思われるためと、望遠レン
ズを使用しない場合は、被写体の像倍率が小さくなり、
被写体を追いかけるためにレンズを動かして手振れを起
こす確率が少ないので制御は行わない。
(c) Others The above control is performed when a lens with a focal length of 70 mm or more is attached. The reason for this is that sports photography requires a relatively long distance from the subject, so it is thought that a telephoto lens will not be able to sufficiently photograph the subject, and if a telephoto lens is not used, the image magnification of the subject will be small. ,
Control is not performed because the probability of camera shake caused by moving the lens to follow the subject is low.

この制御ではフラッシュは強制OFFとし、フラッシュ
の自動発光は行わない。その理由は、このプログラムカ
ードでは比較的明るい場所での撮影を対象としており、
被写体との距離が比較的あると考えているので、フラッ
シュを作動させても、その効果があまり無いと思われる
からである。
In this control, the flash is forced off and the flash does not fire automatically. The reason is that this program card is intended for shooting in relatively bright places.
This is because the distance to the subject is considered to be relatively large, so even if the flash is activated, it does not seem to have much of an effect.

また、この制御ではフラッシュのスイッチが強制ONと
なっている場合は、制御を行わない。その理由は、この
制御では上記の理由でフラッシュの発光は行わないので
、強制ONの時に制御を行うとフラッシュを発光させた
いという撮影者の意志に反することになるからである。
Further, in this control, if the flash switch is forcibly turned on, no control is performed. The reason for this is that this control does not cause the flash to emit light for the reason described above, so if the control is performed when the flash is forced ON, it will go against the photographer's will to make the flash emit light.

次に、前記プログラムカードの露出演算のフローチャー
トを第43図に示し、説明する。同図において、プログ
ラムカードのマイコンは、まずステップ■において入力
されたデータよりレンズの有無を判定する。ここで、レ
ンズがカメラ本体に取り付けられていない場合は、開放
絞り値(Av、 )等のレンズデータはICカードに来
ない。よって、露出演算を行う事ができないので、ステ
ップ■へ進み、露出制御をカメラ本体側に任せる。レン
ズが装着されていれば、ステップ■へ進んで入力された
データよりレンズの焦点距離を調べる。焦点距離が70
mn+未満のレンズでは前述の理由によってカードの制
御は行わないので、この場合もステップ[相]ヘジャン
プしてカメラ本体に露出制御を任せる。
Next, a flowchart of the exposure calculation of the program card is shown in FIG. 43 and will be explained. In the figure, the microcomputer of the program card first determines the presence or absence of a lens based on the data input in step (3). Here, if the lens is not attached to the camera body, lens data such as the maximum aperture value (Av, ) will not be sent to the IC card. Therefore, since exposure calculation cannot be performed, proceed to step (3) and leave exposure control to the camera body. If the lens is attached, proceed to step (3) and check the focal length of the lens from the input data. focal length is 70
For lenses smaller than mn+, card control is not performed for the reason described above, so in this case too, jump to step [phase] and leave exposure control to the camera body.

焦点距離が70mm以上であれば、ステップ■で入力さ
れたデータよりフラッシュの強制発光スイッチの状態を
調べる。フラッシュの強制発光スイッチがONの場合に
は、前述した理由よりカードは制御を行わないので、ス
テップ■ヘジャンプする。
If the focal length is 70 mm or more, check the state of the forced flash switch based on the data input in step (2). If the flash forced light emission switch is ON, the card does not perform control for the reason described above, so the process jumps to step (2).

一方、前記スイッチがOFFの場合は、次のステップ■
で入力されたデータのスポット輝度(Bvs)とフィル
ム感度(Sv)の和によって露出値(Ev)を計算する
。そして、その露出値(Ev)の値により制御の内容を
変える。前述の理由により、Ev<21の時にはAv=
 (3/4) ・Ev −23ハの式よりステップ■で
(Av)を求める。Ev≧21の時はAv= (1/2
) ・Ev −1/2の式よりステップ■で(Av)を
求める。
On the other hand, if the switch is OFF, proceed to the next step ■
The exposure value (Ev) is calculated by the sum of the spot brightness (Bvs) and the film sensitivity (Sv) of the input data. Then, the content of the control is changed depending on the value of the exposure value (Ev). For the reasons mentioned above, when Ev<21, Av=
(3/4) ・Ev −23 Find (Av) in step ① from the formula C. When Ev≧21, Av= (1/2
) - Obtain (Av) from the equation of Ev -1/2 in step (■).

ステップ■で計算した(Av)とレンズの最小絞り値(
AVmajとの比較を次のステップ■で行う。そして、
Av≧AVaaxのときは、レンズをそれ以上絞り込む
ことができないので、ステップ■でボディ制御用絞り値
AvcをA v a。アとする。
(Av) calculated in step ■ and the minimum aperture value of the lens (
A comparison with AVmaj is performed in the next step (2). and,
When Av≧AVaax, the lens cannot be stopped down any further, so in step (2), the body control aperture value Avc is set to A v a. Let's say a.

一方、Av(Av□。のときは、ステップ■でAvc=
Avとする。このようにして、ボディ制御用絞り値Av
cを求めた後、ステップ[相]でシャッター速度(Tv
)をTv=Ev−Avcの式に基づいて計算する。
On the other hand, when Av(Av□.), Avc=
Let it be Av. In this way, the aperture value Av for body control
After determining c, the shutter speed (Tv
) is calculated based on the formula Tv=Ev-Avc.

次のステップ■では、このシャッター速度(Tv)とカ
メラの最高シャッター速度(TV@@X)との比較を行
う、ここで、Tv≧Tvm□の時は、ステップ@へ進ん
で、ボディ制御用シャッター速度(Tvc)を(TVI
I@、)とする、  Tv<Tvssxの時は、ステッ
プ[相]でTvc=Tvとする。
In the next step ■, this shutter speed (Tv) is compared with the camera's maximum shutter speed (TV@@X). If Tv≧Tvm□, proceed to step @ and use the camera's maximum shutter speed (TV@@X). Shutter speed (Tvc) (TVI
When Tv<Tvssx, Tvc=Tv in step [phase].

上記ステップ■でEv(21であれば、ステップ■に示
す式で(Av)を計算した後、ステップ■へ進む。
If Ev (21) is determined in step (2) above, (Av) is calculated using the formula shown in step (2), and then the process proceeds to step (2).

ステップ■では、ステップ■で計算した(Av)と開放
絞りAV6との比較を行う。ここで、Av>Avoの時
は(Av)と(AVsa。)との比較を行う為に前記ス
テップ■へ行く。Av≦Av、の時はレンズの絞り値を
それ以上開放に出来ないので、ステップ[相]へ進んで
ボディ制御用絞り値(Avc)を(Av、 )とする。
In step (2), (Av) calculated in step (2) is compared with the open aperture AV6. Here, when Av>Avo, the process goes to step (2) to compare (Av) and (AVsa.). When Av≦Av, the aperture value of the lens cannot be opened any further, so the process proceeds to step [phase] and the aperture value for body control (Avc) is set to (Av, ).

そして、更にステップ■でN  Tv= Ev −Av
cの式よりシャッター速度(Tv)を計算する。
Then, in step ■, N Tv= Ev −Av
The shutter speed (Tv) is calculated from the formula c.

前述した理由により、フィルムがネガフィルムの場合は
、シャッター速度(Tv)の補正を行わなければならな
いので、ステップ[相]でフィルムの種類を判別する。
For the reason mentioned above, if the film is a negative film, the shutter speed (Tv) must be corrected, so the type of film is determined in step [phase].

その結果、リバーサル(ポジ)フィルムの場合は、シャ
ッター速度(Tv)が極端に遅くなるのを防ぐためにス
テップ■へ進む。
As a result, in the case of a reversal (positive) film, the process proceeds to step (2) to prevent the shutter speed (Tv) from becoming extremely slow.

一方、ネガフィルムの場合は、ステップ[相]へ進み、
シャッター速度(Tv)が9より小さいか否か判定する
。そして、Tv≧9の時は、ステップ[相]でボディ制
御用シャッター速度(Tvc)を(Tv)とする。Tv
<E3のときは、ステップ[株]に進んで更にシャッタ
ー速度(Tv)が8以上か否か判定する。
On the other hand, in the case of negative film, proceed to step [phase],
It is determined whether the shutter speed (Tv) is smaller than 9 or not. When Tv≧9, the body control shutter speed (Tvc) is set to (Tv) in step [phase]. TV
When <E3, the process proceeds to step [stock] and further determines whether the shutter speed (Tv) is 8 or higher.

ここで、TV≧8のときは、TvC=9としくステップ
@)、Tv<8のときは、ステップのでTv=Tv+1
なる補正を行い、次のステップ■へ行く。ステップ■で
はシャッター速度(Tv)が極端に遅くなるのを防ぐた
めに(Tv)の最高値をTv=−5(30秒)に制限す
るための比較を行う。
Here, when TV≧8, TvC=9 and step @), and when Tv<8, step so Tv=Tv+1
Perform the following correction and proceed to the next step (■). In step (2), a comparison is made to limit the maximum value of (Tv) to Tv=-5 (30 seconds) in order to prevent the shutter speed (Tv) from becoming extremely slow.

ここで、Tv<−5の時は、Tvc= −5としくステ
ップ■)、Tv≧−5の時は、Tvc=Tvとする(ス
テップ[相])。
Here, when Tv<-5, Tvc=-5 is set (step 2), and when Tv≧-5, Tvc=Tv is set (step [phase]).

前述した理由でフラッシュの制御は行わないので、ステ
ップ■ではフラッシュはOFFとするビットを立てる。
Since the flash is not controlled for the reason mentioned above, in step (2), a bit is set to turn off the flash.

しかる後、ステップ■に進み、カメラの制御はプログラ
ムカードで計算した値を使用し、リターンする。
After that, the process proceeds to step (3), the camera control uses the value calculated by the program card, and returns.

これら露出演算のフローを終えると、第42図のフロー
に戻って割り込みがあるのを待つ。
When the flow of these exposure calculations is completed, the process returns to the flow of FIG. 42 and waits for an interrupt.

ここでカメラ側から割り込みがあり、このときデータ交
信■であれば演算した絞り値(CAvc)、シャッター
速度(CTvc)のデータ及びカードによるカメラ制御
を行うか否か、Ful1発光の非強制(Fb9=O)。
At this point, there is an interrupt from the camera side, and at this time, if the data communication is ■, the data of the calculated aperture value (CAvc) and shutter speed (CTvc) and whether or not to perform camera control using the card, and non-forced Full 1 emission (Fb9 =O).

強制発光の禁止(FblO= O)、調光補正量(CF
ΔEv)のリセットに関するデータを作成し、シリアル
交信を行ってカメラ側に出力する。尚、上記以外の交信
ではカードのマイコン(μC2)は停止する。
Prohibition of forced flash (FblO=O), flash control correction amount (CF
Data regarding the reset of ΔEv) is created, serial communication is performed, and data is output to the camera side. Note that the microcomputer (μC2) of the card stops during communications other than those mentioned above.

ここで、本実施例の説明に出てくるスイッチ及びその機
能や各種データ等を表にして以下第1表〜第12表に示
す。
Here, the switches, their functions, various data, etc. that appear in the explanation of this embodiment are shown in Tables 1 to 12 below.

第 1 表 第 表(続き) 第 表 (b) 第 表 (a) 第 表 (c) 第 表 (d) 第 表 (e) 第 表 モード設定データ(MSbn)E2PROM第 表 機能データ (Fbn) AM 第 表 (続き) 第 表 変更データ(CDbn) (RAM) 第 表 カード交信出力データ(C3bn 第 表(続き) 第 表 第 表 (a) 第 表 (b) 第 表 (b) (続き) 第 表 (b) (続き) 第 表 データ表示用 RAM (レジスタ) 第 表(続き) 第 表 レンズ(II) 第 表 レンズ(I) 第 表 本実施例では、第38図に示した通り、カメラボディの
ファインダ内デイスプレィ(DISPz)で、1つの表
示(103)をコンティニュアスAFモードを表す場合
と追随モードを表す場合とで兼用して用いている。これ
らのモードは共に被写体が動いているという点で共通す
るものであるため、共用しても撮影者にとって違和感は
ない。しがも、ファインダ内はもともとスペース上の制
約が大きいため、このように表示を少なくすることは、
視認性の向上及びコストダウンの観点から好ましいこと
である。
Table 1 Table (Continued) Table (b) Table (a) Table (c) Table (d) Table (e) Table Mode Setting Data (MSbn) E2PROM Table Functional Data (Fbn) AM Table (Continued) Table Change Data (CDbn) (RAM) Table Card Communication Output Data (C3bn) Table (Continued) Table (a) Table (b) Table (b) (Continued) Table (b) (Continued) Table Data Display RAM (Register) Table (Continued) Table Lens (II) Table Lens (I) Table In this example, as shown in FIG. On the viewfinder display (DISPz), one display (103) is used both to represent the continuous AF mode and to represent the tracking mode.In both of these modes, the subject is moving. Since they are common to all cameras, photographers do not feel any discomfort even if they are shared.However, since the space inside the viewfinder is inherently constrained, reducing the display in this way is
This is preferable from the viewpoint of improving visibility and reducing costs.

立」j弓11 本発明では、概念的に類似した2種の作動モードを同一
の表示を用いて行うことにより、表示の簡略化と視認性
の向上が達成され、加えて、カメラシステムのコストダ
ウンが達成される。
In the present invention, by using the same display for two conceptually similar operation modes, it is possible to simplify the display and improve visibility.In addition, the cost of the camera system is reduced. Down is achieved.

【図面の簡単な説明】[Brief explanation of the drawing]

図はいずれも本発明の実施例に関するものであって、第
1図はカメラ全体の回路ブロック図、第2図(a)〜第
2図(v)はその表示部における表示形態を示す図、第
3図は電池装着時におけるカメラのリセットのルーチン
を示すフローチャートである。第4図は第3図における
初期セットのルーチンを示すフローチャートである。第
5図(a)〜第5図(C)はカメラとそれに装着された
ICカードで行われるデータ交信のフローチャートであ
る。第6図は測光・AF・表示・露出制御等を行うルー
チンを行うフローチャート、第6図(a)はその一部の
詳細図、第7図はその中のレンズデータ入力のルーチン
を示すフローチャート、第8図は同じくフラッシュデー
タ入力のフローチャートである。 第9図(a)は電子閃光装置の回路図であり、第9図(
b)はそのインターフェースの回路図である。第10図
(a)はAFルーチンのフローチャートであり、第10
図(b)〜第10図(f)はその詳細図である。第11
図は撮影画面内における測距範囲並びに測光範囲を示す
図である。第12図はカメラに設けられたキーの設定ル
ーチンを示すフローチャートであり、第13図、第14
図(a)、第14図(b)、第15図、第16図、第1
7図、及び第18図はその各種キーに係る具体的な設定
ルーチンを示すフローチャートである。第19図は測光
データ作成のルーチンを示すフローチャート、第20図
はAEフロクのフローチャートである。第21図(a)
、第21図(b)は絞り及びシャッター速度設定のフロ
ーチャートである。第22[mは露出演算のフローチャ
ートであり、第23図(a)〜第23図(c)、第24
図、第25図及び第26図はその中の各モードのフロー
チャートである。第27図はICカード(特にプログラ
ムカード)による制御のフローチャートである。第28
図は表示のルーチンを示すフローチャートであり、第2
9図はセルフのルーチンを示すフローチャートである。 第30図はモード設定のフローチャート、第31図は露
出制御のフローチャート、第32図(a)及び第32図
(b)はフィルムの1コマ巻上げに関するフローチャー
ト、第33図は裏蓋閉成に関する割込みのルーチンを示
すフローチャートである。第34図(a)〜第34図(
e)及び第35図(a)、第35図(b)は表示例を示
す図である。 第36図はレンズ内の回路図、第37図はレンズの外観
図である。第38図はインファインダーの表示例、第3
9図はボディデイスプレィの表示例である。第40図(
a)〜第40図(h)はICカードの各種ルーチンを示
すフローチャートであり、第41図及び第42図は特に
プログラムカードの場合についてのブローチヤード、第
43図は露出1寅算のフローチャート、第44図はプロ
グラムカードに関するプログラム線図である。 (μC) (μC2) (CD) (SQ) (Sl) カメラ本体のマイコン ICカードのマイコン ICカード レンズ償イスイッチ レンズ AF開始スイッチ。
The figures all relate to embodiments of the present invention, in which Figure 1 is a circuit block diagram of the entire camera, Figures 2(a) to 2(v) are diagrams showing the display form on the display section, FIG. 3 is a flowchart showing a camera reset routine when a battery is installed. FIG. 4 is a flowchart showing the initial set routine in FIG. 5(a) to 5(C) are flowcharts of data communication performed between a camera and an IC card attached thereto. FIG. 6 is a flowchart showing a routine for photometry, AF, display, exposure control, etc., FIG. 6(a) is a detailed view of a part of it, and FIG. 7 is a flowchart showing a routine for inputting lens data, FIG. 8 is also a flowchart of flash data input. Figure 9(a) is a circuit diagram of an electronic flash device, and Figure 9(a) is a circuit diagram of an electronic flash device.
b) is a circuit diagram of the interface. FIG. 10(a) is a flowchart of the AF routine.
Figures (b) to 10(f) are detailed views thereof. 11th
The figure is a diagram showing a distance measurement range and a photometry range within a photographic screen. FIG. 12 is a flowchart showing the setting routine of the keys provided on the camera, and FIGS.
Figure (a), Figure 14 (b), Figure 15, Figure 16, Figure 1
7 and 18 are flowcharts showing specific setting routines for the various keys. FIG. 19 is a flowchart showing the photometric data creation routine, and FIG. 20 is a flowchart of the AE flow. Figure 21(a)
, FIG. 21(b) is a flowchart for setting the aperture and shutter speed. 22 [m is a flowchart of exposure calculation, and FIGS. 23(a) to 23(c),
25 and 26 are flowcharts of each mode therein. FIG. 27 is a flowchart of control by an IC card (particularly a program card). 28th
The figure is a flowchart showing the display routine.
FIG. 9 is a flowchart showing the self routine. Figure 30 is a flowchart for mode setting, Figure 31 is a flowchart for exposure control, Figures 32(a) and 32(b) are flowcharts for winding one frame of film, and Figure 33 is an interrupt for closing the back cover. 2 is a flowchart showing the routine of FIG. Figures 34(a) to 34(
e), FIG. 35(a), and FIG. 35(b) are diagrams showing display examples. FIG. 36 is a circuit diagram inside the lens, and FIG. 37 is an external view of the lens. Figure 38 is an example of the infinder display.
Figure 9 shows an example of the body display. Figure 40 (
a) to FIG. 40(h) are flowcharts showing various routines for IC cards, FIGS. 41 and 42 are broochyards particularly for the case of program cards, and FIG. 43 is a flowchart for one exposure calculation. FIG. 44 is a program diagram regarding the program card. (μC) (μC2) (CD) (SQ) (Sl) Microcomputer IC card lens compensation switch for the microcomputer IC card in the camera body Lens AF start switch.

Claims (5)

【特許請求の範囲】[Claims] (1)カメラの動作状態を表示する表示装置を備え、複
数回の焦点検出結果に基づいて被写体の動きを予測し、
その予測に基づいて被写体に焦点が合うようにレンズを
駆動する動体追随焦点調節機能と、一旦被写体に焦点が
合った後も被写体に焦点が合い続けるようにレンズを駆
動する連続自動焦点モードとを有するカメラシステムに
おいて、動体追随焦点調節機能が動作中であることを示
す表示と連続自動焦点モードであることを示す表示とを
、表示装置上の同一の表示で行うことを特徴とするカメ
ラシステム。
(1) Equipped with a display device that displays the operating status of the camera, predicts the movement of the subject based on the results of multiple focus detections,
There is a moving object tracking focus adjustment function that drives the lens so that the subject is in focus based on this prediction, and a continuous autofocus mode that drives the lens so that the subject remains in focus even after the subject is in focus. What is claimed is: 1. A camera system characterized in that a display indicating that a moving object tracking focus adjustment function is in operation and a display indicating that a continuous automatic focus mode is in operation are displayed on the same display on a display device.
(2)該カメラシステムでは、前記連続自動焦点モード
と、一旦被写体に焦点が合つた後はレンズ駆動を行わな
いワンショット自動焦点モードとの間で自動焦点モード
を選択可能であり、 前記動体追随焦点調節機能は、ワンショット自動焦点モ
ードが選択されていて、かつ、一旦被写体に焦点が合つ
た後に動作する請求項1記載のカメラシステム。
(2) In the camera system, the autofocus mode can be selected between the continuous autofocus mode and the one-shot autofocus mode in which the lens is not driven once the subject is in focus, and the moving object tracking is possible. 2. The camera system according to claim 1, wherein the focus adjustment function operates after a one-shot autofocus mode is selected and once the subject is in focus.
(3)表示装置には、選択された自動焦点モードが表示
される請求項2記載のカメラシステム。
(3) The camera system according to claim 2, wherein the display device displays the selected autofocus mode.
(4)レンズ側に設けられたスイッチにより自動焦点モ
ードを選択することができる請求項2記載のカメラシス
テム。
(4) The camera system according to claim 2, wherein the autofocus mode can be selected by a switch provided on the lens side.
(5)表示装置がカメラのファインダ内に設けられてい
る請求項1記載のカメラシステム。
(5) The camera system according to claim 1, wherein the display device is provided within a finder of the camera.
JP18864889A 1989-07-19 1989-07-19 Camera system Pending JPH0242430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18864889A JPH0242430A (en) 1989-07-19 1989-07-19 Camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18864889A JPH0242430A (en) 1989-07-19 1989-07-19 Camera system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11801988A Division JPH0289013A (en) 1988-05-12 1988-05-13 Camera system

Publications (1)

Publication Number Publication Date
JPH0242430A true JPH0242430A (en) 1990-02-13

Family

ID=16227402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18864889A Pending JPH0242430A (en) 1989-07-19 1989-07-19 Camera system

Country Status (1)

Country Link
JP (1) JPH0242430A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0662624A1 (en) * 1993-12-28 1995-07-12 Canon Kabushiki Kaisha Optical apparatus with visual axis detecting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0662624A1 (en) * 1993-12-28 1995-07-12 Canon Kabushiki Kaisha Optical apparatus with visual axis detecting device
US5835797A (en) * 1993-12-28 1998-11-10 Canon Kabushiki Kaisha Optical apparatus with visual axis detecting

Similar Documents

Publication Publication Date Title
JP3125882B2 (en) Camera system
JP3021566B2 (en) camera
JP3084730B2 (en) camera
JPH0242430A (en) Camera system
JPH0481732A (en) Camera using ic card
JP3125881B2 (en) Camera system
JP2751437B2 (en) Camera system
JPH0242428A (en) Camera system
US5848304A (en) Camera having automatic program zoom mode
JP2770443B2 (en) camera
JPH0242429A (en) Camera system
JP2844670B2 (en) camera
JPH0284630A (en) Camera system
JPH0289013A (en) Camera system
JP3125880B2 (en) camera
JP2720497B2 (en) camera
JP2855615B2 (en) Camera system
JPH01287538A (en) Controller for exposure of camera
JP2658408B2 (en) Camera system
JPH01284815A (en) Camera system and lens
JPH02940A (en) Camera
JPH01287539A (en) Camera system
JPH01265240A (en) Camera
JPH01265236A (en) Camera system
JPH01284814A (en) Camera system