JP2822947B2 - Camera with zoom lens - Google Patents

Camera with zoom lens

Info

Publication number
JP2822947B2
JP2822947B2 JP20072995A JP20072995A JP2822947B2 JP 2822947 B2 JP2822947 B2 JP 2822947B2 JP 20072995 A JP20072995 A JP 20072995A JP 20072995 A JP20072995 A JP 20072995A JP 2822947 B2 JP2822947 B2 JP 2822947B2
Authority
JP
Japan
Prior art keywords
lens
switch
mode
zoom
routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP20072995A
Other languages
Japanese (ja)
Other versions
JPH0843710A (en
Inventor
信行 谷口
政昭 中井
隆信 太巻
徳治 石田
久幸 升本
祥 得丸
米多比常世
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP20072995A priority Critical patent/JP2822947B2/en
Publication of JPH0843710A publication Critical patent/JPH0843710A/en
Application granted granted Critical
Publication of JP2822947B2 publication Critical patent/JP2822947B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ズームレンズを備
えるカメラに関するものであり、特に、交換式のズーム
レンズを備えるカメラに適するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera having a zoom lens, and more particularly to a camera having an interchangeable zoom lens.

【0002】[0002]

【従来の技術】モータの駆動力によりズームレンズを駆
動して焦点距離を可変とするパワーズームが可能なカメ
ラが提案されている。それらのカメラでは、カメラのメ
インスイッチをオフにしたときに、ズームレンズが突出
した状態のままだと携帯や収納に不便になる。そこで、
メインスイッチをオフにしたときに、ズームレンズをワ
イド端まで駆動したり、ワイド端を通り越して沈胴させ
ることにより、カメラの非使用時に小さくなるようにし
ているものがある。例えば、レンズ交換のできないレン
ズシャッタータイプのカメラでは、ワイド端又は沈胴位
置に来るようにしている。
2. Description of the Related Art There has been proposed a camera capable of power zoom in which a zoom lens is driven by a driving force of a motor to change a focal length. In these cameras, when the main switch of the camera is turned off, it is inconvenient to carry or store the camera if the zoom lens is in a protruding state. Therefore,
In some cameras, when the main switch is turned off, the zoom lens is driven to the wide end or retracted past the wide end to reduce the size when the camera is not used. For example, in a lens shutter type camera in which a lens cannot be replaced, the camera is set to a wide end or a retracted position.

【0003】また、特開昭63−5331号公報に開示
されたレンズ交換式のカメラでは、フォーカス範囲の最
端位置で長さが最短となるレンズを、最も繰り込んだ状
態まで駆動するようにしている。レンズ交換式のカメラ
の場合で、特開昭63−5331号公報のように、レン
ズ駆動範囲の最端位置でレンズ全長が最も短くなるタイ
プのレンズであれば問題はない。しかし、駆動範囲の最
端位置ではなく、駆動範囲の中間の位置でレンズ全長が
最も短くなるものにおいては、最端部まで駆動してもレ
ンズ全長は最短にはならない。
In the interchangeable lens camera disclosed in Japanese Patent Application Laid-Open No. 63-5331, the lens having the shortest length at the extreme end of the focus range is driven to the most retracted state. ing. In the case of an interchangeable lens type camera, there is no problem as long as the lens length is the shortest at the end position of the lens driving range, as disclosed in Japanese Patent Application Laid-Open No. 63-5331. However, if the lens has the shortest overall length at the middle position of the drive range, not at the extreme end of the drive range, the entire lens length does not become the shortest even when driven to the extreme end.

【0004】レンズ交換ができないカメラであれば、全
長が最も短くなる焦点距離を記憶させておけば問題ない
が、レンズ交換式のカメラでは、レンズ毎に長さが最短
となる焦点距離が異なるので、それら全てをカメラ側で
記憶しておくことは不可能である。
[0004] If the camera cannot be replaced with a lens, there is no problem if the focal length at which the overall length becomes the shortest is stored. It is impossible to store all of them on the camera side.

【0005】[0005]

【発明が解決しようとする課題】本発明は、上述のよう
な点に鑑みてなされたものであり、その目的とするとこ
ろは、レンズ交換式のカメラにおいて、交換自在に装着
されるズームレンズの全長が最短となる焦点距離が必ず
しもワイド端でなくても、カメラの不使用時に最もコン
パクトな形態として、カメラの携帯や収納を容易にする
ことにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object of the present invention is to provide a zoom lens which can be interchangeably mounted in an interchangeable lens camera. Even when the focal length at which the overall length becomes the shortest is not necessarily the wide end, the most compact form when the camera is not used is to facilitate carrying and storing the camera.

【0006】[0006]

【課題を解決するための手段】請求項1の発明にあって
は、図1に示すように、焦点距離が可変の交換レンズで
焦点距離の変化に応じて全長が変化し、全長が最短とな
るときの焦点距離に関する情報を記憶している撮影レン
ズ100と、カメラの動作を許可する位置と禁止する位
置とを切り換えるメインスイッチ101と、撮影レンズ
の焦点距離を変更する駆動手段102と、撮影レンズの
全長が最も短い状態か否かを判別する判別手段103
と、メインスイッチが動作禁止位置に切り換えられる
と、レンズ全長が最短となるように駆動手段を制御する
制御手段104とを備えることを特徴とするものであ
る。
According to the first aspect of the present invention, as shown in FIG. 1, an interchangeable lens having a variable focal length changes its entire length in accordance with a change in the focal length. A photographing lens 100 that stores information on the focal length of the photographing lens, a main switch 101 that switches between a position where the operation of the camera is permitted and a position where the operation is prohibited, a driving unit 102 that changes the focal length of the photographing lens, Determining means 103 for determining whether or not the entire length of the lens is the shortest
And control means 104 for controlling the driving means so that the total length of the lens becomes shortest when the main switch is switched to the operation prohibition position.

【0007】[0007]

【発明の実施の形態】以下、図1により本発明の実施の
形態について説明する。カメラを使用するときには、メ
インスイッチ101をカメラの動作を許可する位置(O
N位置)に切り換える。このとき、駆動手段102によ
り、撮影レンズ100の焦点距離を変更することができ
る。撮影レンズ100は、焦点距離が可変の交換レンズ
であり、焦点距離の変化に応じて全長が変化する。全長
が最短となるときの焦点距離に関する情報は撮影レンズ
100に記憶されており、この情報はカメラ本体側で読
み取られて、判別手段103により撮影レンズ100の
全長が最も短い状態か否かを判別可能としている。次
に、カメラを使用しないときには、メインスイッチ10
1をカメラの動作を禁止する位置(OFF位置)に切り
換える。このとき、レンズ全長が最短となるように、制
御手段104により駆動手段102が制御される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIG. When using the camera, the main switch 101 is set to the position (O
N). At this time, the driving unit 102 can change the focal length of the photographing lens 100. The photographing lens 100 is an interchangeable lens having a variable focal length, and the overall length changes according to a change in the focal length. Information about the focal length when the overall length is the shortest is stored in the photographing lens 100, and this information is read by the camera body side, and the determining means 103 determines whether or not the overall length of the photographing lens 100 is the shortest. It is possible. Next, when the camera is not used, the main switch 10
1 is switched to a position where the operation of the camera is prohibited (OFF position). At this time, the driving unit 102 is controlled by the control unit 104 so that the overall length of the lens becomes the shortest.

【0008】このように、撮影レンズ毎にレンズ全長が
最短となる焦点距離を記憶させておいて、メインスイッ
チがオフされたときにレンズ全長が最短となるように制
御することにより、交換レンズ式のカメラにおいて、ズ
ーム範囲のワイド端ではなく、ズーム範囲の中間の位置
でレンズ全長が最も短くなるズームレンズが装着された
場合でも、カメラの非使用時に最もコンパクトな形態と
することができる。
As described above, the focal length at which the total lens length becomes the shortest is stored for each photographing lens, and control is performed so that the total lens length becomes the shortest when the main switch is turned off. In the camera described above, even when a zoom lens having the shortest overall lens length is mounted not at the wide end of the zoom range but at the middle position of the zoom range, the most compact form can be obtained when the camera is not used.

【0009】[0009]

【実施例】以下、本発明の一実施例について説明する。
図2は、本発明を適用したカメラボディBD、図3は前
記カメラボディBDに装着される交換レンズLEの外観
をそれぞれ示している。以下、各部の名称と機能につい
て説明する。
An embodiment of the present invention will be described below.
FIG. 2 shows the appearance of a camera body BD to which the present invention is applied, and FIG. 3 shows the appearance of an interchangeable lens LE attached to the camera body BD. Hereinafter, the names and functions of the respective units will be described.

【0010】1はメインスイッチであり、このメインス
イッチ1のON時にカメラボディBDは動作可能状態と
なり、OFF時にはカメラボディBDは動作不能状態と
なる。
Reference numeral 1 denotes a main switch. When the main switch 1 is turned on, the camera body BD is in an operable state, and when the main switch 1 is off, the camera body BD is in an inoperable state.

【0011】2はファンクションキーであり、このファ
ンクションキー2を押す毎に、交換レンズLEに設けら
れたレンズキー25による機能が変化する。その機能
は、レンズスイッチモードLMO2 として記憶され、フ
ァンクションキー2を押す毎に、非作動モード、ALM
(AEロックモード)、RLPM(レリーズ優先モー
ド)、AMSM(絞り設定モード)、非作動モードの順
に切り換わる。ここで、ALM(AEロックモード)が
選択されているときには、レンズキー25を1回押す
と、AEロックとなり、レンズキー25をもう1回押す
と、AEロックが解除となる。また、RLPM(レリー
ズ優先モード)が選択されているときには、レンズキー
25を押している間はレリーズ優先となる。さらに、A
VSM(絞り設定モード)が選択されているときには、
レンズキー25を押している間は、絞り値Avの設定が
可能となる。ただし、後述のMLM(撮影倍率ロックモ
ード)のときにはレンズキー25は撮影倍率ロック及び
その解除用のスイッチとして作用し、WIM(ワイドモ
ード)のときには、レンズキー25はワイドズーム及び
その解除用のスイッチとして作用する。
Reference numeral 2 denotes a function key. Each time the function key 2 is pressed, the function of the lens key 25 provided on the interchangeable lens LE changes. Its function is stored as a lens switch mode LMO 2, each pressing a function key 2, a non-operating mode, ALM
(AE lock mode), RLPM (release priority mode), AMSM (aperture setting mode), and non-operation mode. Here, when the ALM (AE lock mode) is selected, pressing the lens key 25 once causes AE lock, and pressing the lens key 25 again releases AE lock. When RLPM (release priority mode) is selected, release priority is given while the lens key 25 is pressed. Furthermore, A
When VSM (aperture setting mode) is selected,
While pressing the lens key 25, the aperture value Av can be set. However, the lens key 25 functions as a switch for locking and canceling the photographing magnification in MLM (photographing magnification lock mode) described later, and in WIM (wide mode), the lens key 25 operates as a switch for wide zoom and releasing the photographing magnification. Act as

【0012】3はモードキーであり、このモードキー3
を押す毎に露出制御モードがプログラムAEモード(P
モード)、絞り優先AEモード(Aモード)、シャッタ
ー速度優先AEモード(Sモード)、マニュアルモード
(Mモード)、プログラムAEモード(Pモード)の順
に切り換えられる。
Reference numeral 3 denotes a mode key.
Each time is pressed, the exposure control mode changes to the program AE mode (P
Mode), aperture priority AE mode (A mode), shutter speed priority AE mode (S mode), manual mode (M mode), and program AE mode (P mode).

【0013】4はシステムリセットキーであり、このシ
ステムリセットキー4が押されると、レンズスイッチモ
ードLMO2 は非作動モード、露出制御モードはPモー
ドとなり、フォーカス用レンズは∞位置に繰り込まれ
る。また、フォーカス用レンズの∞位置からの移動量を
記憶するための現在位置レジスタNCRは0にリセット
される。
Reference numeral 4 denotes a system reset key. When the system reset key 4 is pressed, the lens switch mode LMO 2 is set to the non-operation mode, the exposure control mode is set to the P mode, and the focusing lens is moved to the position ∞. The current position register NCR for storing the amount of movement of the focusing lens from the position ∞ is reset to zero.

【0014】5はボディ表示部であり、その表示内容は
露出制御モード、レンズモードLMO1 、レンズスイッ
チモードLMO2 、露出時間、絞り値等である。ファイ
ンダー内表示部(図示せず)では合焦、焦点検出不可、
露出時間、絞り値、フラッシュ発光等の表示を行う。
Reference numeral 5 denotes a body display section, and the display contents include an exposure control mode, a lens mode LMO 1 , a lens switch mode LMO 2 , an exposure time, an aperture value, and the like. In the viewfinder (not shown), focus, focus cannot be detected,
Display of exposure time, aperture value, flash emission, etc. is performed.

【0015】6はレリーズボタンであり、1段目の押し
込みで後述の撮影準備スイッチS1がオンされて、測光
・露出演算・AFの各動作が開始する。また、2段目の
押し込みで後述のレリーズスイッチS2 がオンされて、
露出制御動作が開始する。
[0015] 6 is a release button, shooting preparation switch S 1 will be described later in pushing the first stage is turned on, the operation of the photometry, exposure calculation, AF is started. In addition, the release switch S 2 described later is turned on by pressing the second stage, and
The exposure control operation starts.

【0016】7はアップ/ダウンレバーであり、左方向
にスライドさせると、後述のアップスイッチUPSがO
Nとなり、アップ操作がなされる。また、右方向にスラ
イドさせると、後述のダウンスイッチDOSがONとな
り、ダウン操作がなされる。アップ操作がなされると、
Sモードではシャッター速度Tvが+1.0、Aモード
では絞り値Avが+0.5、MモードではAv選択キー
8が押されていなければTvが+1.0、押されていれ
ばAvが+0.5となる。また、ダウン操作がなされる
と、SモードではTvが−1.0、AモードではAvが
−0.5、MモードではAv選択キー8が押されてなけ
ればTvが−1.0、押されていればAvが−0.5と
なる。
Reference numeral 7 denotes an up / down lever. When the lever is slid leftward, an up switch UPS described later is turned on.
N, and an up operation is performed. Further, when the slider is slid rightward, a down switch DOS described later is turned on, and a down operation is performed. When the up operation is performed,
The shutter speed Tv is +1.0 in the S mode, the aperture value Av is +0.5 in the A mode, Tv is +1.0 if the Av selection key 8 is not pressed, and Av is +0 if the Av selection key 8 is pressed in the M mode. It becomes 5. When the down operation is performed, Tv is -1.0 in the S mode, Av is -0.5 in the A mode, and Tv is -1.0 in the M mode unless the Av selection key 8 is pressed. If so, Av will be -0.5.

【0017】8はAv選択キーであり、上述のように、
MモードでこのAv選択キー8が押され、アップ/ダウ
ンレバー7が操作されるとAvが変化する。このAv選
択キー8の機能は、ファンクションキー2によってAV
SM(絞り設定モード)が選択されているときには、レ
ンズキー25により代行できる。
Reference numeral 8 denotes an Av selection key, and as described above,
When the Av selection key 8 is pressed in the M mode and the up / down lever 7 is operated, the Av changes. The function of this Av selection key 8 is
When SM (aperture setting mode) is selected, the lens key 25 can be used instead.

【0018】9はマウントロック解除ボタン、10はマ
ウントロックピンである。マウントロック解除ボタン9
を押すと、マウントロックピン10が退避し、マウント
ロックが解除され、交換レンズLEを外すことができ
る。交換レンズLEが装着され、マウントロック状態に
あれば、後述のレンズロックスイッチLLSがOFFと
なり、それ以外のときにはレンズロックスイッチLLS
はONになっている。
Reference numeral 9 denotes a mount lock release button, and reference numeral 10 denotes a mount lock pin. Mount lock release button 9
When is pressed, the mount lock pin 10 is retracted, the mount lock is released, and the interchangeable lens LE can be removed. If the interchangeable lens LE is mounted and in the mount locked state, a lens lock switch LLS described later is turned off. Otherwise, the lens lock switch LLS is used.
Is ON.

【0019】11は絞り込みレバーであり、カメラボデ
ィBDで求められた絞り込み段数分だけ交換レンズLE
の絞りを絞り込むためのレバーである。12はAFカプ
ラーであり、カメラボディBD内のAFモータの回転に
基づいて回転駆動される。13はフラッシュが装着され
るホットシューであり、端子J30〜J37(図示せず)が
設けられている。
Reference numeral 11 denotes a stop lever, and the number of interchangeable lenses LE is equal to the number of stop steps determined by the camera body BD.
This is a lever for narrowing down the aperture. Reference numeral 12 denotes an AF coupler, which is driven to rotate based on the rotation of an AF motor in the camera body BD. 13 is a hot shoe flash is mounted, the terminal J 30 through J 37 (not shown) is provided.

【0020】14はレンズモード設定部材(例えばIC
カード)の装着部であり、この装着部14に設けられた
レバーを矢印で示す方向に下げると、装着部14の蓋が
開き、レンズモード設定部材が装着できる。レンズモー
ド設定部材には3種類あり、何も装着してなければ、レ
ンズモードの設定はなされない。
Reference numeral 14 denotes a lens mode setting member (for example, an IC
When the lever provided on the mounting portion 14 is lowered in the direction shown by the arrow, the lid of the mounting portion 14 is opened, and the lens mode setting member can be mounted. There are three types of lens mode setting members, and if nothing is attached, the lens mode is not set.

【0021】第1の設定部材はAZP(オートズームプ
ログラム)を設定する部材であり、レンズ側のAZP切
換レバー24で4種類のモードが選択できる。第1のモ
ードAZP1 は図81に、第2のモードAZP2 は図8
2に、第3のモードは図83に、それぞれ示した焦点距
離fと撮影距離Dの関係を有する。これらの各モードA
ZP1 〜AZP3 では、カメラボディBDで求めた撮影
距離Dに基づいて、交換レンズLE内で図81〜図83
のグラフに基づく演算を行って焦点距離fを算出し、そ
の焦点距離fまでレンズを移動させるものである。第4
のモードはMLM(撮影倍率ロックモード)である。こ
のモードでは、撮影者が所望の撮影倍率となった時点で
レンズキー25を1回押すと、この時点の撮影倍率がロ
ックされ、以後は撮影距離Dが変化してもロックされた
撮影倍率となるような焦点距離fが演算により算出さ
れ、算出された焦点距離fまでレンズが駆動される。も
う1回レンズキー25を押すと、MLM(撮影倍率ロッ
クモード)は解除となる。
The first setting member is a member for setting AZP (auto-zoom program), and four types of modes can be selected with the AZP switching lever 24 on the lens side. The first mode AZP 1 FIG 81, the second mode AZP 2 Figure 8
In the second mode, the third mode has the relationship between the focal length f and the photographing distance D shown in FIG. Each of these modes A
In ZP 1 ~AZP 3, based on the object distance D calculated in the camera body BD, Fig. 81 to FIG at the interchangeable lens LE 83
The focal length f is calculated by performing an operation based on the graph shown in FIG. 3, and the lens is moved to the focal length f. 4th
Is a MLM (imaging magnification lock mode). In this mode, when the photographer presses the lens key 25 once at a desired photographing magnification, the photographing magnification at this point is locked. Such a focal length f is calculated by calculation, and the lens is driven to the calculated focal length f. When the lens key 25 is pressed again, the MLM (photographing magnification lock mode) is released.

【0022】第2の設定部材はWIM(ワイドモード)
を設定する部材であり、この部材が装着されているとき
に、レンズキー25を1回押すとレンズは最もワイド端
に移行し、被写体の周囲も確認できる状態となる。さら
に、焦点検出が不可能なときにも、ワイド端になること
で、検出範囲の視野が広がり、検出範囲内のコントラス
トが増して、検出し易くなる。これは例えばテレ端が3
00〜600mmという、望遠ズームレンズのときに有
効である。そして、レンズキー25をもう1回押すとレ
ンズは元の焦点距離に戻る。
The second setting member is WIM (wide mode).
When the lens key 25 is pressed once while the member is attached, the lens shifts to the widest end, and the periphery of the subject can be checked. Furthermore, even when focus detection is not possible, the wide-angle end widens the field of view of the detection range, increases the contrast within the detection range, and facilitates detection. This is, for example, 3
This is effective for a telephoto zoom lens of 00 to 600 mm. When the lens key 25 is pressed again, the lens returns to the original focal length.

【0023】第3の設定部材は、EXZM(露光間ズー
ムモード)を設定する部材である。この部材が装着され
ると、フィルムへの実際の露光が行われている間にレン
ズはワイド端からテレ端に向かって移動することで露光
間ズームという特殊効果のある撮影が行われる。なお、
実施例ではズーミングによって撮影距離の変化するバリ
フォーカルレンズの場合には、EXZM設定部材が装着
されていても露光間ズーム動作が行われないようにして
いるが、バリフォーカルレンズの場合には、ワイド端に
て焦点調整を行い、露光中にワイド端からテレ端に向け
てレンズを移動させるようにしてもよい。このようにす
れば、ワイド端で合焦した被写体が核になって、徐々に
ピントがずれてしかも大きくなっていくような態様で被
写体を記録することができる。なお、各設定部材はマイ
コンを内蔵したカード(ICカード)を用いて構成され
ることが一般的であるが、導電パターンをプリントした
基板を用いてもよい。
A third setting member is a member for setting EXZM (exposure zoom mode). When this member is mounted, the lens moves from the wide end toward the telephoto end while the actual exposure to the film is being performed, so that a special effect of zooming during exposure is performed. In addition,
In the embodiment, in the case of a vari-focal lens whose shooting distance changes due to zooming, the zoom operation during exposure is not performed even if the EXZM setting member is attached. The focus may be adjusted at the end, and the lens may be moved from the wide end to the tele end during the exposure. This makes it possible to record the subject in such a manner that the subject focused at the wide end becomes a nucleus and gradually becomes out of focus and becomes larger. Each setting member is generally configured using a card (IC card) containing a microcomputer, but a substrate on which a conductive pattern is printed may be used.

【0024】カメラボディに交換レンズLEを装着する
と、マウントロックピン10がマウントロック溝22に
係合し、ボディ側のAFカプラー12の凸部がレンズ側
のAFカプラー21の凹部に係合し、ボディ側のAFモ
ータの回転がAFカプラー12,21を介してレンズ側
に伝わり、フォーカス用レンズが移動して撮影距離の調
整が行われる。さらにレンズ側の端子J1 〜J8 がボデ
ィ側の端子J11〜J18と接続される。また、絞り込みレ
バー11がレンズ側の絞り込みレバー20と係合し、ボ
ディ側の絞り込みレバー11の移動分だけレンズ側の絞
り込みレバー20が追従して移動し、絞り開口が絞り込
みレバー11,20の移動分に対応する値に制御され
る。
When the interchangeable lens LE is mounted on the camera body, the mount lock pin 10 engages with the mount lock groove 22, and the convex portion of the AF coupler 12 on the body engages with the concave portion of the AF coupler 21 on the lens side. The rotation of the AF motor on the body side is transmitted to the lens side via the AF couplers 12 and 21, and the focusing lens moves to adjust the shooting distance. Furthermore, the terminals J 1 to J 8 on the lens side are connected to the terminals J 11 to J 18 on the body side. Also, the aperture lever 11 engages with the aperture lever 20 on the lens side, the aperture lever 20 on the lens side moves by the movement of the aperture lever 11 on the body side, and the aperture opening moves the aperture levers 11 and 20. Controlled to the value corresponding to the minute.

【0025】23はP/M選択レバーであり、ズーミン
グをボディからの電源に基づいてレンズ内のモータによ
り行うときはPZOOM(パワーズーム)を表示する位
置(図示された”P”の文字が露出する位置)に設定す
る。このPZOOM(パワーズーム)のときには、レン
ズのテレキー26、ワイドキー27の操作によって焦点
距離をテレ方向、ワイド方向にそれぞれズームモータを
利用して移動させることができる。さらに、AZP(オ
ートズームプログラム)、WIM(ワイドモード)、E
XZM(露光間ズームモード)の各レンズモードによる
撮影も可能となる。また、マニュアルズームを表示する
位置(図示しない”M”を表示する位置)にP/M選択
レバー23を設定すると、パワーズームの動作は行われ
ず、ズームリング29によって手動でズーミングが行わ
れる。マニュアルズームになっているときに、AZP、
WIM、EXZMの各レンズモードが設定されると、レ
ンズ表示部28で警告が行われる。
Reference numeral 23 denotes a P / M selection lever. When zooming is performed by a motor in the lens based on a power supply from the body, a position for displaying a PZOOM (power zoom) (the letter "P" shown in the figure is exposed). Position). In the case of this PZOOM (power zoom), the focal length can be moved in the tele direction and the wide direction by using the zoom motor by operating the tele key 26 and the wide key 27 of the lens. Furthermore, AZP (auto zoom program), WIM (wide mode), E
Shooting in each lens mode of XZM (zoom mode between exposures) is also possible. When the P / M selection lever 23 is set at a position where a manual zoom is displayed (a position where "M" (not shown) is displayed), the power zoom operation is not performed and the zooming is performed manually by the zoom ring 29. When manual zoom is set, AZP,
When each of the WIM and EXZM lens modes is set, a warning is issued on the lens display unit 28.

【0026】28はレンズ表示部であり、レンズモード
LMO1 、レンズスイッチモードLMO2 、焦点距離
f、撮影距離D、MLM(撮影倍率ロックモード)時の
ロックした倍率βL を表示する。
Reference numeral 28 denotes a lens display unit, which displays a lens mode LMO 1 , a lens switch mode LMO 2 , a focal length f, a photographing distance D, and a locked magnification β L in MLM (photographing magnification lock mode).

【0027】25はレンズキーであり、その機能につい
ては上述した通りである。24はAZP切換キーであ
り、AZP(オートズームプログラム)の設定部材が装
着されているときに、4種類のモードAZP1 ,AZP
2 ,AZP3 ,MLMを切り換えるものである。
Reference numeral 25 denotes a lens key, the function of which is as described above. Reference numeral 24 denotes an AZP switching key, and four types of modes AZP 1 and AZP are provided when an AZP (auto zoom program) setting member is mounted.
2 , AZP 3 and MLM.

【0028】図4乃至図9はこの発明を適用したカメラ
システム全体の回路図である。図4乃至図6に示すBD
Cはカメラボディ内の回路、図8に示すLECは交換レ
ンズ内の回路、図9に示すFLCはフラッシュ内の回路
である。
FIGS. 4 to 9 are circuit diagrams of the entire camera system to which the present invention is applied. BD shown in FIGS. 4 to 6
C is a circuit in the camera body, LEC shown in FIG. 8 is a circuit in the interchangeable lens, and FLC shown in FIG. 9 is a circuit in the flash.

【0029】S1 はレリーズボタン6の1段目の押し下
げでONされる撮影準備スイッチである。S2 はレリー
ズボタン6の2段目の押し下げでONされるレリーズス
イッチである。S4 は露出完了でON、巻き上げ完了で
OFFされるリセットスイッチである。
[0029] S 1 is a shooting preparation switch is turned ON in the depression of the first stage of the release button 6. S 2 is a release switch is turned ON in the depression of the second stage of the release button 6. S 4 denotes a reset switch which is OFF ON, hoisting completed exposure completion.

【0030】ALSはAEロックキー(図示せず)の押
し込みの間ONされるAEロックスイッチである。SY
Sはシステムリセットキー4の押し込みの間ONされる
システムリセットスイッチである。MOSはモードキー
3の押し込みの間ONされるモードスイッチである。
ALS is an AE lock switch that is turned on while an AE lock key (not shown) is pressed. SY
S is a system reset switch that is turned on while the system reset key 4 is pressed. MOS is a mode switch that is turned on while the mode key 3 is pressed.

【0031】UPSはアップ/ダウンレバー7を左方向
にスライドさせるとONされるアップスイッチである。
DOSはアップ/ダウンレバー7を右方向にスライドさ
せるとONされるダウンスイッチである。
UPS is an up switch which is turned on when the up / down lever 7 is slid leftward.
DOS is a down switch which is turned on when the up / down lever 7 is slid rightward.

【0032】MASはAv選択キー8を押すとONされ
るマニュアルAvスイッチであり、マニュアルモードで
絞り値Avを設定するときに使用される。FUSはファ
ンクションキー2を押すとONされるファンクションス
イッチである。
MAS is a manual Av switch that is turned on when the Av selection key 8 is pressed, and is used when setting the aperture value Av in the manual mode. FUS is a function switch that is turned on when the function key 2 is pressed.

【0033】LLSは交換レンズLEがカメラボディB
Dに装着され、マウントロックされたときだけOFFと
なるレンズロックスイッチである。PWSはメインスイ
ッチ1がON位置にあるときにONとなり、OFF位置
にあるときにOFFとなるパワースイッチである。
LLS is an interchangeable lens LE is a camera body B
D is a lens lock switch that is turned off only when the mount is locked. PWS is a power switch that is turned on when the main switch 1 is at the ON position and turned off when the main switch 1 is at the OFF position.

【0034】PG1 ,PG2 はパワースイッチPWS又
はレンズロックスイッチLLSがONからOFFへ又は
OFFからONへ変化する毎に”Low”レベルのパル
スを出力するパルス発生器である。これらの出力はAN
DゲートAN4 を介してボディ内マイコンCPUBの無
条件割込端子NMI(Non Maskable In
terrupt)に割込信号として入力される。パワー
スイッチPWSがONのときだけ、バッファBF5 が能
動化される。スイッチS1 ,ALS,SYS,MOS,
UPS,DOS,FUS及びバッファBF2 の出力がア
ンドゲートAN 1 及びバッファBF5 を介して割込端子
INTA に入力されているので、パワースイッチPWS
がONのときにこれらのスイッチがONになるか、バッ
ファBF 2 の出力が”Low”レベルになると、ボディ
内マイコンCPUBに割込がかかる。
PG1, PGTwoIs the power switch PWS or
Is the lens lock switch LLS from ON to OFF or
Each time the state changes from OFF to ON, the “Low” level pulse
This is a pulse generator that outputs a pulse. These outputs are AN
D gate ANFourThe microcomputer CPUB in the body via
Conditional interrupt terminal NMI (Non Maskable In
(Terrupt) is input as an interrupt signal. power
Buffer BF only when switch PWS is ONFiveNoh
Be motivated. Switch S1, ALS, SYS, MOS,
UPS, DOS, FUS and buffer BFTwoOutput is
Gate AN 1And buffer BFFiveVia the interrupt terminal
INTA, The power switch PWS
When these switches are turned ON when
Fa BF TwoWhen the output of the
The internal microcomputer CPUB is interrupted.

【0035】DOCはレンズモード設定部材の装着部1
4に装着される設定部材であり、AZP又はWIN又は
EXZMの各レンズモードを示す信号を出力する。
DOC is a mounting section 1 for a lens mode setting member.
4 is a setting member attached to the lens 4 and outputs a signal indicating each lens mode of AZP, WIN, or EXZM.

【0036】DD1 はボディ内昇圧回路であり、ボディ
内電源制御信号PWCBが”Low”レベルときに昇圧
動作を行う。VH は焦点検出用受光回路FDCの電源と
なる高電圧(例えば12ボルト)、VL は主にアナログ
回路の電源となる低電圧(例えば6ボルト)である。
DD 1 is an in-body booster circuit that performs a boosting operation when the in-body power supply control signal PWCB is at “Low” level. VH is a high voltage (for example, 12 volts) serving as a power supply for the focus detection light receiving circuit FDC, and VL is a low voltage (for example, 6 volts) mainly serving as a power supply for the analog circuit.

【0037】CVG1 はボディ内定電圧源であり、ボデ
ィ内マイコンCPUB等のディジタル回路を駆動するた
めの定電圧Vc(例えば6ボルト)を出力する。
CVG 1 is a constant voltage source in the body and outputs a constant voltage Vc (for example, 6 volts) for driving a digital circuit such as the microcomputer CPUB in the body.

【0038】EBは電源電池である。直接の出力Voは
大負荷の電源となる。トランジスタBT1 は、レンズ内
電源制御信号PWCL1 が”Low”レベルのときに、
電源電池EBの出力Voをレンズ用の高電圧VLEH とし
て端子J111,J1 を介して交換レンズ内のズームモー
タMO3 の電源として供給する。トランジスタBT
2は、レンズ内電源制御信号PWCL2 が”Low”レ
ベルのときに、定電圧源CVG1 の出力Vcをレンズ用
の低電圧VLEL として端子J12,J2 を介して交換レン
ズ内の回路の電源として供給する。
EB is a power supply battery. The direct output Vo is a power source of a large load. When the power control signal PWCL 1 in the lens is at “Low” level, the transistor BT 1
Supplied as a power supply of the zoom motor MO 3 in the interchangeable lens the output Vo of the power supply battery EB as the high voltage V LEH for the lens through the terminal J 11 1, J 1. Transistor BT
2, when the lens power supply control signal PWCL 2 is "Low" level, the circuit of the interchangeable lens through the terminal J 12, J 2 output Vc of the constant voltage source CVG 1 as a low voltage V LEL for lens To supply power.

【0039】G1 は低消費電力部のグランドラインであ
り、レンズとボディの間は端子J17,J7 を介して接続
されている。ボディ内ではアナログ部とディジタル部は
別々のグランドラインにする必要があるが、図面では一
本で示してある。G2 は大消費電力部のグランドライン
であり、レンズとボディの間は端子J18,J8 を介して
接続され、フラッシュとボディの間は端子J37,J27
介して接続されている。
[0039] wherein G 1 is a ground line of low-power unit, between the lens and the body are connected through the terminal J 17, J 7. In the body, the analog section and the digital section need to be on separate ground lines, but are shown as a single line in the drawing. G 2 is a ground line of the large power unit, between the lens and the body are connected through the terminal J 18, J 8, between the flash and the body are connected through the terminal J 37, J 27 .

【0040】BCCはバッテリーチェック回路であり、
ポートP27が”Low”レベルとなったときに電池出力
Voの電圧を判定する。V0 ≧V1 のときには、無条件
の正常状態と判定され、AFモータMO2 とズームモー
タMO3 は同時動作可能となる。このとき、ポート
1 ,P2 ,P3 は全て”High”レベルとなる。V
1 >V0 ≧V2 のときは、条件付きの正常状態と判定さ
れ、AFモータMO 2 とズームモータMO3 の同時動作
は不可とされる。このとき、ポートP1 は”Low”レ
ベル、ポートP2 ,P3 は”High”レベルとなる。
2 >V0 ≧V3 のときは、第1の警告状態と判定さ
れ、AFモータMO2 とズームモータMO3 の同時動作
は不可とされる。このとき、ポートP1 ,P2 は”Lo
w”レベル、ポートP3 は”High”レベルとなる。
3 >V0 のときは、第2の警告状態とされ、動作禁止
状態となる。このとき、ポートP1 ,P2 ,P3 は全
て”Low”レベルとなる。
BCC is a battery check circuit,
Port P27Battery output when is at "Low" level
The voltage of Vo is determined. V0≧ V1When is unconditional
Of the AF motor MOTwoAnd zoom mode
TA MOThreeCan operate simultaneously. At this time, the port
P1, PTwo, PThreeAre all at “High” level. V
1> V0≧ VTwoIs judged as a conditionally normal state.
And the AF motor MO TwoAnd zoom motor MOThreeSimultaneous operation
Is not allowed. At this time, port P1Is "Low"
Bell, Port PTwo, PThreeBecomes the “High” level.
VTwo> V0≧ VThreeIs judged as the first warning state.
And the AF motor MOTwoAnd zoom motor MOThreeSimultaneous operation
Is not allowed. At this time, port P1, PTwoIs "Lo
w "level, port PThreeBecomes the “High” level.
VThree> V0Is set to the second warning state and operation is prohibited.
State. At this time, port P1, PTwo, PThreeIs all
To a "Low" level.

【0041】REBはボディ内マイコンCPUBのリセ
ット端子であり、電池EBを装着した時に、抵抗とコン
デンサによる”Low”レベルのパルスをリセット信号
として受け取り、ボディ内マイコンCPUBのリセット
動作を行う。
REB is a reset terminal of the microcomputer CPUB in the body, and when the battery EB is mounted, receives a "Low" level pulse by a resistor and a capacitor as a reset signal and performs a reset operation of the microcomputer CPUB in the body.

【0042】FDCは焦点検出用受光回路であり、焦点
検出用CCDと、CCDの駆動回路と、CCDの出力を
処理しA/D変換してボディ内マイコンCPUBに供給
する回路とが設けられており、データバスDB1 を介し
てボディ内マイコンCPUBと接続されている。また、
受光部の電荷蓄積(積分)が終了すると、ボディ内マイ
コンCPUBの割込端子INTB に”Low”レベルの
パルスを入力する。
FDC is a focus detection light receiving circuit, which includes a focus detection CCD, a CCD drive circuit, and a circuit which processes the output of the CCD, A / D converts the output, and supplies the A / D to the microcomputer CPUB in the body. cage, and is connected to the body in the microcomputer CPUB via the data bus DB 1. Also,
When the charge accumulation of the light-receiving portion (integration) is finished, to enter a "Low" level pulse to the interrupt terminal INT B of the body in the microcomputer CPUB.

【0043】MO2 はAFモータ、DR1 はそのドライ
バーであり、ポートP16,P17によって正転・逆転・停
止が制御される。
MO 2 is an AF motor, DR 1 is its driver, and normal rotation, reverse rotation and stop are controlled by ports P 16 and P 17 .

【0044】ENCはエンコーダであり、ポートP
18が”Low”レベルのときはAFモータMO2 の回転
をモニターし、検出したパルスをカウンタ入力端子CN
Tに出力し、ポートP18が”High”レベルのときは
絞り込みレバー11の移動をモニターし、検出したパル
スをカウンタ入力端子CNTに出力する。
ENC is an encoder, and port P
When the signal 18 is at the “Low” level, the rotation of the AF motor MO 2 is monitored, and the detected pulse is output to the counter input terminal CN.
Output to T, when the port P 18 is "High" level to monitor the movement of narrowing the lever 11, and outputs the detected pulse to the counter input CNT.

【0045】MO1 はフィルム巻き上げと露出制御機構
のチャージ用モータである。また、Mg1 はレリーズマ
グネット、Mg2 は絞り込み停止用マグネット(ApM
g)、Mg3 は先幕走行開始用マグネット(1CM
g)、Mg4 の後幕走行開始用マグネット(2CMg)
である。これらは、すべてコンビネーションマグネット
でパルス駆動される。DEDRはチャージ用モータMO
1 及びマグネットMg1 〜Mg4 をデータバスDB2
らのデータに基づいて駆動するデコーダドライバであ
る。
MO 1 is a motor for charging the film winding and exposure control mechanism. Also, Mg 1 is a release magnet, and Mg 2 is a magnet for stopping down (ApM
g), Mg 3 is the magnet for starting the first curtain run (1CM
g), Magnet for starting the rear curtain of Mg 4 (2CMg)
It is. These are all pulse driven by a combination magnet. DEDR is a charging motor MO
A decoder driver for driving based on a 1 and a magnet Mg 1 ~Mg 4 to data from the data bus DB 2.

【0046】FLCCはフラッシュの発光量制御用のダ
イレクト測光回路であり、その受光部はフィルム面から
の反射光を受光する位置に配されている。このダイレク
ト測光回路FLCCはフラッシュの発光開始と同期して
端子J21,J31から送られてくる積分開始信号INST
Aで受光部の積分を開始する。ボディ内マイコンCPU
Bから測光インターフェイスLMIFに送られ、D/A
変換されてダイレクト測光回路FLCCに入力された調
光レベルに対応するアナログ値ANOまで受光部の積分
がなされると、ダイレクト測光回路FLCCは端子
30,J20を介して発光停止信号FSTPをフラッシュ
に送る。
The FLCC is a direct light metering circuit for controlling the light emission amount of the flash, and its light receiving portion is arranged at a position for receiving the reflected light from the film surface. The direct light measuring circuit FLCC the integration start signal transmitted from the terminal J 21, J 31 in synchronization with the flash emission start INST
At A, the integration of the light receiving unit is started. Microcomputer CPU in the body
B to the light metering interface LMIF, D / A
When the light receiving unit is integrated up to the analog value ANO corresponding to the dimming level which is converted and input to the direct light metering circuit FLCC, the direct light metering circuit FLCC flashes the light emission stop signal FSTP via the terminals J 30 and J 20. Send to

【0047】LMCはファインダー光路中に設けられた
多分割測光回路であり、測光インターフェースLMIF
からの選択信号に応じて各測光部のアナログ信号を測光
インターフェースLMIFに出力する。
LMC is a multi-segment photometric circuit provided in the finder optical path, and a photometric interface LMIF
And outputs the analog signal of each photometric unit to the photometric interface LMIF in response to the selection signal from

【0048】LMIFは測光インターフェースであり、
ボディ内マイコンCPUBからの調光レベル信号を入力
し、D/A変換してフラッシュ発光制御用のダイレクト
測光回路FLCCヘアナログ値ANOとして出力した
り、多分割測光回路LMCにおける測光部を選択した
り、選択された測光出力をA/D変換し、ボディ内マイ
コンCPUBへ送信したりする機能を有する。
LMIF is a photometric interface,
A dimming level signal from the microcomputer CPUB in the body is input, D / A converted and output as an analog value ANO to a direct light measuring circuit FLCC for flash light emission control, a light measuring unit in the multi-segment light measuring circuit LMC is selected, It has the function of A / D converting the selected photometric output and transmitting it to the microcomputer CPUB in the body.

【0049】ISDはフィルム容器に設けられたISO
感度のデータを出力するフィルム感度出力部である。
The ISD is an ISO provided on a film container.
A film sensitivity output unit that outputs sensitivity data.

【0050】DSP1 はボディ内表示回路であり、ボデ
ィ内マイコンCPUBからのデータに応じて、図2に示
すレンズ表示部5とファインダー内表示部(図示せず)
の表示を行うと共に、フィルム感度出力部ISDからの
データをボディ内マイコンCPUBに送る機能を有す
る。
The DSP 1 is a display circuit in the body, which displays a lens display section 5 and a viewfinder display section (not shown) shown in FIG. 2 according to data from the microcomputer CPUB in the body.
And the function of sending data from the film sensitivity output unit ISD to the microcomputer CPUB in the body.

【0051】測光インターフェースLMIF及びボディ
内表示回路DSP1 とボディ内マイコンCPUBとはシ
リアル入力SIN、シリアル出力SOUT、シリアルク
ロックSCKの各信号ラインを介してシリアルにデータ
授受を行う。そして、ボディ内マイコンCPUBとの交
信対象はボディセレクト信号CSBが”Low”レベル
のときに、測光インターフェースLMIFが選択され、
ディスプレイセレクト信号CSDが”Low”レベルの
ときに、表示回路DSP1 が選択される。さらに、3本
のシリアル交信用の信号ラインSIN,SOUT,SC
Kは交換レンズとは端子J5 ,J15;J14,J4
16,J6 を介して、フラッシュとはJ24,J34
3 ,J33;J25,J35を介して接続されている。そし
て、レンズを交信対象に指定するときには、レンズセレ
クト信号CSLを”Low”レベルとするものであり、
この信号は端子J3 ,J13を介してレンズに伝達され
る。また、フラッシュを交信対象に指定するときには、
フラッシュセレクト信号CSFを”Low”レベルとす
るものであり、この信号は端子J36,J26を介してフラ
ッシュに伝達される。
The exchanges data serially through the serial input SIN, a serial output SOUT, each signal line of the serial clock SCK to the metering interface LMIF and body in the display circuit DSP 1 and the body in the microcomputer CPUB. When the body select signal CSB is at the “Low” level, the light metering interface LMIF is selected as a communication target with the microcomputer CPUB in the body.
When the display select signal CSD is "Low" level, the display circuit DSP 1 is selected. Further, three serial communication signal lines SIN, SOUT, SC
K terminal J 5 is a replacement lens, J 15; J 14, J 4;
Through J 16, J 6, the flash J 24, J 34;
J 3, J 33; through J 25, J 35 are connected. When a lens is designated as a communication target, the lens select signal CSL is set to a “Low” level.
This signal is transmitted to the lens via terminals J 3 and J 13 . Also, when specifying flash as a communication target,
The flash select signal CSF is set to the “Low” level, and this signal is transmitted to the flash via the terminals J 36 and J 26 .

【0052】交換レンズとボディ間の端子J13,J3
介して接続されている信号ラインLBLは、双方向の信
号ラインとなっている。ボディ内マイコンCPUBのポ
ートP22が”High”レベルでレンズ内マイコンCP
ULのポートP36が”High”レベルのときはバッフ
ァBF1 ,BF3 が能動化されて、レンズセレクト信号
CSLが”Low”レベルとなる信号がボディ内マイコ
ンCPUBからレンズ内マイコンCPULに伝達され、
レンズ内マイコンCPULの割込端子INT1に割込信
号が入力され、レンズ内マイコンCPULが起動される
とともにボディとの交信対象として交換レンズが指定さ
れる。一方、ボディ内マイコンCPUBのポートP
22が”Low”レベル、レンズ内マイコンCPULのポ
ートP36が”Low”レベルのときは、バッファB
2 ,BF4 が能動化されて、レンズ内マイコンCPU
LのポートP35が”Low”レベルとなったときに、こ
の信号が信号ラインLBL、アンドゲートAN1 、バッ
ファBF5 を介してボディ内マイコンCPUBの割込端
子INTA に入力され、交換レンズのレンズキー25、
テレキー26、ワイドキー27の各操作でボディ内マイ
コンCPUBが起動されるものである。
The signal line LBL connected via the terminals J 13 and J 3 between the interchangeable lens and the body is a bidirectional signal line. Lens microcomputer CP port P 22 is "High" level in the body in the microcomputer CPUB
When the UL port P 36 is at the “High” level, the buffers BF 1 and BF 3 are activated, and a signal at which the lens select signal CSL becomes the “Low” level is transmitted from the microcomputer CPUB in the body to the microcomputer CPUL in the lens. ,
Interrupt signal to the interrupt terminal INT 1 of the lens microcomputer CPUL is inputted, lens microcomputer CPUL replacement lens is designated as a communication target of the body while being activated. On the other hand, port P of microcomputer CPUB in the body
22 is "Low" level, when the lens microcomputer CPUL port P 36 is "Low" level, the buffer B
F 2 and BF 4 are activated, and the microcomputer CPU in the lens is activated.
When the port P 35 of L goes to “Low” level, this signal is input to the interrupt terminal INT A of the microcomputer CPUB in the body via the signal line LBL, the AND gate AN 1 , and the buffer BF 5 , and the interchangeable lens Lens key 25,
The microcomputer CPUB in the body is activated by each operation of the tele key 26 and the wide key 27.

【0053】SXはシャッター先幕(1C)の走行完了
でONするシンクロスイッチであり、端子J32,J22
介してフラッシュに発光開始信号として伝達される。
[0053] SX is a synchro switch ON the travel completion of the shutter front curtain (1C), it is transmitted as a light emission start signal to the flash via the terminal J 32, J 22.

【0054】次に、レンズ内回路LEC(図8参照)に
ついて説明する。LMSはAZP切換レバー24がスラ
イドされるとONされるレンズモードスイッチである。
LESはレンズキー25が押されるとONされるレンズ
スイッチである。
Next, the in-lens circuit LEC (see FIG. 8) will be described. LMS is a lens mode switch that is turned on when the AZP switching lever 24 is slid.
LES is a lens switch that is turned on when the lens key 25 is pressed.

【0055】TeSはテレキー26が押されるとONさ
れるテレスイッチである。WiSはワイドキー27が押
されるとONされるワイドスイッチである。これらのス
イッチLMS,LES,TeS,WiSがONされる
と、アンド回路AN2 を介してレンズ内マイコンCPU
Lの割込端子INT0 に割込信号が入力されて、レンズ
内マイコンCPULが起動される。
TeS is a teleswitch that is turned on when the telekey 26 is pressed. WiS is a wide switch that is turned on when the wide key 27 is pressed. These switches LMS, LES, TeS, when WiS is turned ON, the lens through the AND circuit AN 2 microcomputer CPU
Interrupt signal to the interrupt terminal INT 0 of L is inputted, lens microcomputer CPUL is activated.

【0056】FENはズーム位置に対応するデータを出
力するためのコード板である。DSP2 はレンズ表示部
28にレンズ内マイコンCPULからのデータに基づく
表示を行うレンズ内表示回路である。
FEN is a code plate for outputting data corresponding to the zoom position. DSP 2 is an in-lens display circuit for performing display based on data from the in-lens microcomputer CPUL on the lens display unit 28.

【0057】MO3 はズームモータ、DR2 はそのドラ
イバであり、ポートP37,P38からの出力で正転・逆転
・停止が制御される。ドライバDR2 の電源が供給され
ているか否かは、電圧分割用の抵抗とポートP39を介し
てレンズ内マイコンCPULによってモニターされる。
MO 3 is a zoom motor, and DR 2 is its driver. Forward / reverse / stop is controlled by outputs from ports P 37 and P 38 . Whether the power of the driver DR 2 is supplied is monitored by lens microcomputer CPUL through the resistor and the port P 39 for voltage division.

【0058】AMFSはパワーズームとマニュアルズー
ムを切り換えるP/M選択レバーに連動した切換スイッ
チであり、P位置ではパワーズーム、M位置ではマニュ
アルズームが選択される。
AMFS is a switch in conjunction with a P / M selection lever for switching between power zoom and manual zoom. Power zoom is selected at the P position and manual zoom is selected at the M position.

【0059】RELはレンズ内マイコンCPULのリセ
ット端子であり、端子J12,J2 を介してボディからレ
ンズ用の低電圧VLEL が供給されたときに、抵抗とコン
デンサによる”Low”レベルのパルスをリセット信号
として受け取り、レンズ内マイコンCPULのリセト動
作を行う。
REL is a reset terminal of the microcomputer CPUL in the lens. When a low voltage V LEL for the lens is supplied from the body via the terminals J 12 and J 2 , a “Low” level pulse is generated by a resistor and a capacitor. Is received as a reset signal, and the microcomputer CPUL in the lens performs a reset operation.

【0060】レンズ用の低電圧VLEL は交換レンズがボ
ディに装着されている間は給電される。一方、レンズ用
の高電圧VLEH はパワーズームを行うときにのみ給電さ
れる。
The low voltage V LEL for the lens is supplied while the interchangeable lens is mounted on the body. On the other hand, the high voltage V LEH for the lens is supplied only when performing the power zoom.

【0061】次に、フラッシュ内回路FLC(図9参
照)について説明する。EFはフラッシュ用の電源電池
である。DDFはフラッシュ内昇圧回路であり、ポート
57が”Low”レベルのときに動作する。CVGF
フラッシュ内定電圧源であり、フラッシュ用の電源電池
EFから定電圧を発生し、フラッシュ回路FLC内の低
消費電力部の電源を供給している。
Next, the circuit FLC in the flash (see FIG. 9) will be described. EF is a power supply battery for flash. DDF is a booster circuit in the flash, and operates when the port P57 is at "Low" level. CVG F is a constant voltage source in the flash, generates a constant voltage from the flash power supply battery EF, and supplies power to a low power consumption section in the flash circuit FLC.

【0062】MO5 はフラッシュ照射範囲変更用のモー
タ、DR4 はそのドライバであり、ポートP53,P58
より正転・逆転・停止が制御される。ZPCは前記モー
タMO5 によって駆動されるフラッシュ照射範囲変更部
材の位置データを出力するためのコード板である。DS
3 はフラッシュ内表示回路であり、フラッシュの発光
/非発光、連動範囲、充電完了、調光OK、照射範囲を
表示する。MCはメインコンデンサであり、フラッシュ
発光用のエネルギーを蓄積する。
MO 5 is a motor for changing the flash irradiation range, and DR 4 is its driver. Forward rotation, reverse rotation and stop are controlled by ports P 53 and P 58 . ZPC is the code plate for outputting the position data of the flash illumination range changing member driven by the motor MO 5. DS
P 3 is a flash in the display circuit, a flash of light emission / non-emission, the relative range, charging is completed, the dimming OK, displays the irradiation range. MC is a main capacitor that stores energy for flash emission.

【0063】FLは発光部であり、メインコンデンサM
Cの充電電圧が所定値(例えば300ボルト)に達する
と、充電完了信号CHCが”High”レベルとなっ
て、この信号がフラッシュ内マイコンCPUFのポート
50に伝達される。端子J32,J22を介してシンクロス
イッチSXのON信号が伝わると、発光部FLによりフ
ラッシュ発光が開始され、積分開始信号INSTAが端
子J21,J31を介してボディのダイレクト測光回路FL
CCに伝達される。フラッシュ内マイコンCPUFのポ
ートP52からはフラッシュ発光を行わせるときだけ”L
ow”レベルとなるフラッシュイネイブル信号FLEN
が発光部FLに与えられる。ボディ内のフラッシュ発光
制御用のダイレクト測光回路FLCCから発光停止信号
FSTPが端子J30,J20を介して発光部FLに入力さ
れると、発光部FLはフラッシュ発光を停止し、フラッ
シュ表示制御信号FDCを一定時間”High”レベル
として、フラッシュ内表示回路DSP3 にて調光OKを
表示させる。
FL denotes a light emitting section, and a main capacitor M
When the charging voltage of C reaches a predetermined value (e.g., 300 volts), and a charge completion signal CHC is "High" level, this signal is transmitted to the port P 50 of the flash microcomputer CPUF. When the ON signal of the synchro switch SX is transmitted through the terminals J 32 and J 22 , the light emission unit FL starts flash light emission, and the integration start signal INSTA is transmitted through the terminals J 21 and J 31 to the direct photometric circuit FL of the body.
It is transmitted to CC. Only when to perform flash light emission is from a port P 52 of the flash microcomputer CPUF "L
OW "level flash enable signal FLEN
Is given to the light emitting unit FL. When a light emission stop signal FSTP is input from the direct light measurement circuit FLCC for flash light emission control in the body to the light emission unit FL via the terminals J 30 and J 20 , the light emission unit FL stops flash light emission and the flash display control signal The FDC is set to “High” level for a certain period of time, and the dimming OK is displayed by the display circuit DSP 3 in the flash.

【0064】FMSはフラッシュの発光/非発光を切り
換えるフラッシュメインスイッチである。このフラッシ
ュメインスイッチFMSがONからOFFへ又はOFF
からONへと切り換わる毎にパルス発生器PG3 から”
Low”レベルのパルスが出力され、フラッシュ内マイ
コンCPUFの割込端子INTαに割込信号が入力され
る。また、ボディ内マイコンCPUBのポートP23から
端子J36,J26を介して”Low”レベルのフラッシュ
セレクト信号CSFが入力されると、割込端子INTβ
に割込信号が入力される。なお、フラシュ内マイコンC
PUFのポートP56はフラッシュセレクト信号CSFに
より、ボディデータ入力モードとフラッシュデータ出力
モードを判別するものである。
FMS is a flash main switch for switching flash emission / non-emission. This flash main switch FMS changes from ON to OFF or OFF
From pulse generator PG 3 each time it switches from
Low "level is pulse output of the interrupt signal to the interrupt terminal INTα flash microcomputer CPUF is input. Also, from a port P 23 of the body within the microcomputer CPUB through the terminal J 36, J 26" Low " When the level flash select signal CSF is input, the interrupt terminal INTβ
An interrupt signal is input to. The microcomputer C in the flash
Port P 56 of PUF by flash select signal CSF, is to determine the body data input mode and flash data output mode.

【0065】以上で、本発明が適用されるカメラシステ
ムのハードウェア構成についての説明を終了し、次にソ
フトウェア構成についてフローチャート(図10〜図7
9)を参照しながら説明する。
The description of the hardware configuration of the camera system to which the present invention is applied has been completed, and the flowchart of the software configuration (FIGS. 10 to 7) will now be described.
This will be described with reference to 9).

【0066】まず、ボディに電源電池EBが装着された
ときには、ボディ内マイコンCPUBのリセット端子R
EBにリセット信号が入力され、図10に示すリセット
ルーチンが実行される。リセットルーチンでは、初め
に、ポート、レジスタ、フラグをリセットする(#
1)。次に、ボディ内電源制御信号PWCBを”Lo
w”レベルとしてボディ内昇圧回路DD1 を動作させ、
ボディ内の高電圧VH 及び低電圧VL の給電を開始させ
る(#2)。そして、バッテリーチェックのサブルーチ
ン(以下「BCルーチン」と称する)を実行する(SU
B1)。
First, when the power supply battery EB is mounted on the body, the reset terminal R of the microcomputer CPUB in the body is set.
A reset signal is input to the EB, and a reset routine shown in FIG. 10 is executed. In the reset routine, first, ports, registers, and flags are reset (#
1). Next, the power control signal PWCB in the body is set to “Lo”.
w "level to operate the body in the step-up circuit DD 1 as,
The power supply of the high voltage VH and the low voltage VL in the body is started (# 2). Then, a subroutine of battery check (hereinafter referred to as "BC routine") is executed (SU
B1).

【0067】このBCルーチンを図15に示し説明す
る。このサブルーチンがコールされると、まずポートP
27を”Low”レベルとしてバッテリーチェック回路B
CCを動作させ、同回路が安定するまで待つ(#10
1,#102)。次に、ポートP 1 が”High”レベ
ルか否かを判定する(#103)。ポートP1 が”Hi
gh”レベルならば電池電圧はV0 ≧V1 であり、バッ
テリーチェックレジスタBCRをBCR=11とする
(#104)。ここで、バッテリーチェックレジスタB
CRは2ビットのレジスタであり、AFモータMO2
ズームモータMO3 の同時ONが可能なときにはBCR
=11、同時ONが不可能なときにはBCR=10、警
告時にはBCR=01、動作不可のときにはBCR=0
0と設定されるものである。#103でポートP1 が”
High”レベルでなければ、#105でポートP
2 が”High”レベルか否かを判定する。ポートP2
が”High”レベルならばV1 >V0 ≧V2 であり、
BCR=10とする(#106)。#103でポートP
2 が”High”レベルでなければ、#107でポート
3 が”High”レベルか否かを判定する。ポートP
3 が”High”レベルならばV2 >V0 ≧V3 であ
り、BCR=01とし、第1のBC警告(例えば電池残
量が少ないことを示すマークの点滅)を行う(#10
8,#109)。#104、#106、#109の各処
理を行った後は、#110でポートP27を”High”
レベルとしてバッテリーチェック回路BCCを不作動と
し、戻り番地へリターンする。#107でポートP
3 が”High”レベルでなければV3 >V0 であり、
BCR=00とし、第2のBC警告(電池残量が無いこ
とを示すマークの点滅)を行い、ポートP27を”Hig
h”レベルとしてバッテリーチェック回路BCCを不作
動とし、ボディ内電源制御信号PWCBを”High”
レベルとしてボディ内昇圧回路DD1 を停止させ、ボデ
ィ内マイコンCPUBは動作を停止する(#110〜#
113)。したがって、V3 >V0 のときは電池交換に
よるリセット動作又は無条件割込端子NMIへの割込信
号(パワースイッチPWS又はレンズロックスイッチL
LSのON/OFF操作)による動作しか受け付けな
い。
The BC routine is shown in FIG.
You. When this subroutine is called, first the port P
27The battery check circuit B as "Low" level
Activate CC and wait until the circuit is stabilized (# 10
1, # 102). Next, port P 1Is “High” level
Is determined (# 103). Port P1Is "Hi
gh ”level, the battery voltage is V0≧ V1And
Set the terry check register BCR to BCR = 11
(# 104). Here, battery check register B
CR is a 2-bit register.TwoWhen
Zoom motor MOThreeBCR when simultaneous ON of
= 11, BCR = 10 when simultaneous ON is impossible, warning
BCR = 01 at the time of notification, BCR = 0 when operation is disabled
It is set to 0. Port P at # 1031But"
If not “High” level, port P at # 105
TwoIs "High" level. Port PTwo
Is "High" level, V1> V0≧ VTwoAnd
BCR = 10 is set (# 106). Port P at # 103
TwoIs not “High” level, the port is
PThreeIs "High" level. Port P
ThreeIs "High" level, VTwo> V0≧ VThreeIn
BCR = 01 and the first BC warning (for example,
(A mark indicating that the amount is small) blinks (# 10)
8, # 109). Steps # 104, # 106 and # 109
After processing, port P at # 11027To “High”
Battery check circuit BCC disabled as level
And returns to the return address. Port P at # 107
ThreeIs not "High" level, VThree> V0And
BCR = 00 and the second BC warning (the battery runs out
Flashes) indicating port P27To "Hig
Battery check circuit BCC failed as h "level
And the power control signal PWCB in the body is set to “High”.
Boost circuit DD in body as level1Stop the body
The microcomputer CPUB in the memory stops its operation (# 110 to #
113). Therefore, VThree> V0In case of battery replacement
Reset operation or interrupt signal to unconditional interrupt terminal NMI
Signal (power switch PWS or lens lock switch L
LS ON / OFF operation)
No.

【0068】リセットルーチン(図10)に戻り、パワ
ースイッチPWSがONか否かを判定する(#3)。パ
ワースイッチPWSがONならばパワーフラグPWFを
1とし、パワースイッチPWSがONでなければパワー
フラグPWFを0とする(#4,#5)。次に、レンズ
ロックスイッチLLSがONか否かを判定する(#
6)。レンズロックスイッチLLSがONならば、レン
ズが未装着ということであるから、#7でレンズ装着フ
ラグLLFを0とし、レンズ未装着動作のサブルーチン
(SUB2)を実行する。レンズロックスイッチLLS
がONでなければ、レンズが装着されているということ
であるから、#8でレンズ装着フラグLLFを1とし、
レンズ装着動作のサブルーチン(SUB3)を実行す
る。サブルーチンSUB2又はSUB3の動作が終了す
ると、ボディ内電源制御信号PWCBを”High”レ
ベルとしてボディ内昇圧回路DD1を停止させ、割込端
子INT A への割込を可とし、動作を終了する(#9,
#10)。
Returning to the reset routine (FIG. 10),
It is determined whether the switch PWS is ON (# 3). Pa
If the power switch PWS is ON, the power flag PWF
1 and power unless the power switch PWS is ON
The flag PWF is set to 0 (# 4, # 5). Next, the lens
It is determined whether or not the lock switch LLS is ON (#
6). If the lens lock switch LLS is ON,
Lens is not attached, so the lens
The lag LLF is set to 0, and the lens non-mounting operation subroutine
(SUB2) is executed. Lens lock switch LLS
If is not ON, the lens is attached
Therefore, the lens mounting flag LLF is set to 1 in # 8,
Execute the lens mounting operation subroutine (SUB3)
You. Operation of subroutine SUB2 or SUB3 ends.
Then, the power control signal PWCB in the body is changed to “High” level.
The booster circuit DD1 in the body is stopped as a bell,
Child INT AAnd the operation is terminated (# 9,
# 10).

【0069】ここで、レンズ未装着動作のサブルーチン
(SUB2)を図16に示し説明する。このサブルーチ
ンがコールされると、まずAFレンズ装着フラグLLF
1 を0とし、レンズ内電源制御信号PWCL1 ,PWC
2 を”High”レベルとしてレンズ用の高電圧V
LEH 及び低電圧VLEL の給電を停止する(#120〜#
122)。次に、パワーフラグPWFが1か否かを判定
する(#123)。パワーフラグPWFが1ならば、レ
ンズ未装着表示(絞り値表示部を「−−」とする)を行
い、設定されているモードを表示し、また、露出時間を
設定するモードであれば、露出時間のデータを表示して
リターンする(#124,#125)。パワーフラグP
WFが0ならば、全ての表示を消去してリターンする
(#126)。
Here, the subroutine (SUB2) of the lens non-mounting operation will be described with reference to FIG. When this subroutine is called, first, the AF lens attachment flag LLF
1 is set to 0, the power control signals PWCL 1 , PWC in the lens
High voltage V for lens L 2 as "High" level
Stop power supply of LEH and low voltage V LEL (# 120- #
122). Next, it is determined whether or not the power flag PWF is 1 (# 123). If the power flag PWF is 1, a lens non-wearing display (the aperture value display section is set to “−−”) is performed, the set mode is displayed, and if the exposure time is set, the exposure is set. The time data is displayed and the routine returns (# 124, # 125). Power flag P
If WF is 0, all displays are deleted and the routine returns (# 126).

【0070】次に、レンズ装着動作のサブルーチン(S
UB3)を図17、図18に示し説明する。このレンズ
装着動作においては、ボディステイタスICPBとレン
ズステイタスICPLの交信が行われ、ズームレンズと
フォーカス用レンズのリセット動作が行われる。まず、
ボディステイタスICPBとレンズステイタスICPL
は、ボディとレンズの状態を互いに相手に知らせるため
に用いられる1バイトのデータであり、以下のように構
成されている。
Next, a subroutine for lens mounting operation (S
UB3) will be described with reference to FIGS. In this lens mounting operation, communication between the body status ICPB and the lens status ICPL is performed, and a reset operation of the zoom lens and the focusing lens is performed. First,
Body status ICPB and lens status ICPL
Is 1-byte data used to notify each other of the state of the body and the lens, and is configured as follows.

【0071】(a)ボディステイタスICPBは、最上
位ビットb7 から最下位ビットb0までの8ビットより
なる。以下、ボディステイタスICPBの第i番目のビ
ットbiをICPBiと略記する。ビットb7 ,b6
新ボディと旧ボディの区別を示しており、ICPB76
00であれば旧ボディ、ICPB76=01であれば新ボ
ディを意味する。旧ボディは新ボディ(図4〜図7参
照)の機能を全ては具備せず、端子J11,J18を有さな
い。ビットb5 ,b4 はボディのシーケンスを示してお
り、ICPB54=00ならばボディは非作動、ICPB
54=01ならばボディは演算動作中、ICPB54=10
ならばボディは露出制御動作中、ICPB 54=11なら
ばボディはシステムリセットされたことを意味する。ビ
ットb3 はボディのパワースイッチPWSの状態を示し
ており、ICPB3 =0ならばパワースイッチPWSは
ON、ICPB3 =1ならばパワースイッチPWSはO
FFであることを意味する。ビットb2 はボディデータ
出力とレンズデータ入力の区分を示しており、ICPB
2 =0ならばボディデータ出力、ICPB2 =1ならば
レンズデータ入力を意味する。ビットb1 はパワーズー
ムの可否を示しており、ICPB1 =0ならばパワーズ
ーム不可、ICPB1 =1ならばパワーズーム可を意味
する。ビットb0 はAF動作中か否かを示しており、I
CPB0 =0ならばAF非動作、ICPB0 =1ならば
AF動作中を意味する。
(A) The body status ICPB is the highest
Place bit b7To least significant bit b0Up to 8 bits
Become. Hereinafter, the i-th video of the body status ICPB
Is referred to as ICPBi. Bit b7, B6Is
ICPB shows the distinction between new body and old body76=
00 is the old body, ICPB76= 01 if new
Means di. The old body is the new body (see Figs. 4 to 7)
Terminal J)11, J18Have
No. Bit bFive, BFourIndicates the sequence of the body
, ICPB54If = 00, the body is inactive, ICPB
54If = 01, the body is in operation, ICPB54= 10
If the body is in exposure control operation, ICPB 54If = 11
If the body is reset, the system has been reset. Bi
BThreeIndicates the state of the body power switch PWS
And ICPBThree= 0, the power switch PWS is
ON, ICPBThree= 1, the power switch PWS is O
It means FF. Bit bTwoIs body data
Indicates the classification of output and lens data input, ICPB
Two= 0, body data output, ICPBTwo= 1
Means lens data input. Bit b1Is Power Zoo
Indicates whether or not ICPB1If 0, powers
Not available, ICPB1= 1 means power zoom possible
I do. Bit b0Indicates whether the AF operation is being performed or not.
CPB0= 0, AF is not activated, ICPB0= 1
Means that the AF operation is being performed.

【0072】(b)レンズステイタスICPLは、最上
位ビットb7 から最下位ビットb0までの8ビットより
なる。以下、レンズステイタスICPLの第i番目のビ
ットbiをICPLiと略記する。ビットb7 ,b6
新レンズと旧レンズの区別を示しており、ICPL76
10であれば旧レンズ、ICPL76=01であれば新レ
ンズを意味する。旧レンズは新レンズ(図8参照)の機
能を全ては具備せず、端子J1 ,J8 を有さない。ビッ
トb5 ,b4 はレンズに設けられたテレスイッチTe
S、ワイドスイッチWiS、レンズスイチLESの状態
を示している。ICPL54=00ならば各スイッチTe
S,WiS,LESは全てOFF、ICPL54=01な
らばテレスイッチTeSがON、ICPS54=10なら
ばワイドスイッチWiSがON、ICPL54=11なら
ばレンズスイッチLESがONであることを意味する。
ビットb3 ,b2 ,b1 はレンズのタイプを示してい
る。ICPL321 =001ならば固定焦点レンズ、IC
PL321 =010ならばバリフォーカルでない通常のズ
ームレンズでパワーズーム、ICPL321 =011なら
ばバリフォーカルでない通常のズームレンズでマニュア
ルズーム、ICPL321=100ならばバリフォーカル
レンズでパワーズーム、ICPL321 =101ならばバ
リフォーカルレンズでマニュアルズームであることを意
味する。以下の説明では固定焦点レンズ又はマニュアル
ズームレンズをタイプIのレンズ、バリフォーカルでな
い通常のズームレンズをタイプIIのレンズ、バリフォ
ーカルレンズをタイプIIIのレンズと呼ぶ。レンズス
テイタスICPLの最下位ビットb 0 はズーム中か否か
を示している。ICPL0 =0であればズーム停止、I
CPL0 =1であればズーム中を意味する。
(B) The lens status ICPL is
Place bit b7To least significant bit b0Up to 8 bits
Become. Hereinafter, the i-th lens status ICPL
Is referred to as ICPLi. Bit b7, B6Is
It shows the distinction between the new lens and the old lens.76=
10 is old lens, ICPL76= 01 if new
Means The old lens is a new lens (see Fig. 8)
Not equipped with all functions, terminal J1, J8Do not have. Bit
BFive, BFourIs a teleswitch Te provided on the lens
S, wide switch WiS, lens switch LES status
Is shown. ICPL54= 00 if each switch Te
S, WiS, LES are all OFF, ICPL54= 01
Teleswitch TeS ON, ICPS54= 10
If wide switch WiS is ON, ICPL54If = 11
For example, it means that the lens switch LES is ON.
Bit bThree, BTwo, B1Indicates the type of lens
You. ICPL321= 001 if fixed focus lens, IC
PL321= 010 if not normal
Zoom with power lens, ICPL321= 011
Manual with a normal non-varifocal zoom lens
Le Zoom, ICPL321Varifocal if = 100
Power zoom with lens, ICPL321= 101
Refocus lens means manual zoom
To taste. In the following explanation, fixed focus lens or manual
Use a zoom lens with a type I lens, varifocal
Type II lens, Varifo
The local lens is called a type III lens. Lentus
Least significant bit b of Status ICPL 0Is zooming in or out
Is shown. ICPL0= 0, stop zoom, I
CPL0If = 1, it means that zooming is in progress.

【0073】以上のボディステイタスICPBとレンズ
ステイタスICPLは、ボディとレンズが互いの状態を
知らせ合うために用いるデータであり、極めて重要であ
る。そこで、ボディステイタスICPBはボディからレ
ンズへ送られるデータ群の第0アドレスAD0に配置さ
れ、交信の最初に伝送される。また、レンズステイタス
ICPLはレンズからボディへ送られるデータ群の第0
アドレスAD0に配置され、交信の最初に伝送される。
The body status ICPB and the lens status ICPL are data used for the body and the lens to notify each other of the state, and are extremely important. Therefore, the body status ICPB is arranged at the 0th address AD0 of the data group sent from the body to the lens, and transmitted at the beginning of the communication. The lens status ICPL is the 0th of the data group sent from the lens to the body.
It is located at address AD0 and is transmitted at the beginning of communication.

【0074】ボディからレンズへ送られるデータ群は、
第0アドレスAD0から第3アドレスAD3までの合計
4バイトよりなり、第0アドレスAD0ではボディステ
イタスICPB、第1アドレスAD1ではデータポイン
タDPO、第2アドレスAD2ではモードバッファMO
B、第3アドレスAD3では撮影距離Dの情報がそれぞ
れ伝送される。データポインタDPOは、ボディがレン
ズからデータを入力する際に、上位4ビットb7 〜b4
でレンズデータの先頭アドレスを指定し、下位4ビット
3 〜b0 でその先頭アドレスから何バイト分のデータ
を入力するかを指定するものである。モードバッファM
OBは、レンズ内表示回路DSP2 でレンズモードLM
1 やレンズスイッチモードLMO2 を表示するため
に、上位4ビットb7 〜b4 でレンズモードLMO
1 を、下位4ビットb3 〜b0 でレンズスイッチモード
LMO2 を示すものである。レンズモードは、LMO1
=0000ならば不作動、LMO1=1000ならばA
ZP(オートズームプログラム)、LMO1 =0001
ならばWIM(ワイドモード)、LMO1 =0010な
らばEXZM(露光間ズーム)を意味する。レンズスイ
ッチモードは、LMO2 =0000ならば不作動、LM
2 =0001ならばALM(AEロックモード)、L
MO2 =0010ならばRLPM(レリーズ優先モー
ド)、LMO2 =0011ならばAVSM(絞り優先モ
ード)を意味する。
The data group sent from the body to the lens is
It consists of a total of 4 bytes from the 0th address AD0 to the 3rd address AD3. The 0th address AD0 is the body status ICPB, the 1st address AD1 is the data pointer DPO, and the 2nd address AD2 is the mode buffer MO.
B, information on the photographing distance D is transmitted at the third address AD3. The data pointer DPO indicates the upper 4 bits b 7 to b 4 when the body inputs data from the lens.
In specifying the starting address of the lens data, it is used to specify the type or the number of bytes of data from the start address at the lower 4 bits b 3 ~b 0. Mode buffer M
OB is a lens mode LM in the lens in the display circuit DSP 2
To view the O 1 and lens switch mode LMO 2, lens mode LMO by the upper 4 bits b 7 ~b 4
1 indicates the lens switch mode LMO 2 with the lower 4 bits b 3 to b 0 . The lens mode is LMO 1
= 0000: inactive, LMO1 = 1000: A
ZP (auto zoom program), LMO 1 = 0001
If WMO (wide mode), LMO 1 = 0010 means EXZM (zoom during exposure). Lens switch mode is inactive if LMO 2 = 0000, LM
If O 2 = 0001, ALM (AE lock mode), L
If MO 2 = 0010, it means RLPM (release priority mode), and if LMO 2 = 0011, it means AVSM (aperture priority mode).

【0075】次に、レンズからボディに送られるデータ
群は、第0アドレスAD0から第8アドレスAD8まで
の合計9バイトよりなり、第0アドレスAD0ではレン
ズステイタスICPL、第1アドレスAD1では開放絞
り値Avo、第2アドレスAD2では最小絞り値Avm
ax、第3アドレスAD3では絞り値偏差値△Avz、
第4アドレスAD4ではデフォーカス量DFをカプラー
回転数Nに変換する変換係数Kl、第5アドレスAD5
ではカプラー回転数Nを撮影距離Dに変換する変換係数
NDC、第6アドレスAD6では焦点距離f、第7アド
レスAD7では撮影倍率β、第8アドレスAD8ではレ
ンズ内オフセット量NL の情報がそれぞれ伝送される。
Next, the data group sent from the lens to the body is composed of a total of 9 bytes from the 0th address AD0 to the 8th address AD8, the lens status ICPL at the 0th address AD0, and the open aperture value at the 1st address AD1. Avo, the minimum aperture value Avm at the second address AD2
ax, the aperture value deviation value △ Avz,
At the fourth address AD4, a conversion coefficient Kl for converting the defocus amount DF into the coupler rotation speed N, the fifth address AD5
, A conversion coefficient NDC for converting the coupler rotation speed N into a photographing distance D, a focal length f at the sixth address AD6, a photographing magnification β at the seventh address AD7, and a lens offset amount NL at the eighth address AD8 are transmitted. Is done.

【0076】図17、図18に示すレンズ装着動作のサ
ブルーチン(SUB3)がコールされると、まず、レン
ズ内電源制御信号PWCL2 を”Low”レベルとして
レンズ用の低電圧VLEL の給電を開始する(#14
0)。これにより、レンズ内マイコンCPULに動作電
源電圧が供給され、リセット端子RELに接続されたC
R回路によりレンズ内マイコンCPULのリセット動作
が行われる。このリセット動作が完了するのに十分な時
間の経過を待つ(#141)。そして、ボディステイタ
スICPBに0111*010を設定する(#14
2)。これは、新ボディ、システムリセット、電源スイ
ッチはON又はOFF、ボディデータ出力、パワーズー
ム可、AF非動作を示す。ボディステイタスICPBの
3 =*は、パワーフラグがPWF=1ならばb3
0、PWF=0ならばb3 =1と設定する(#143〜
#145)。そして、このボディステイタスICPBを
レンズに出力すると同時に、レンズからレンズステイタ
スICPLを読み込む(#146〜#150)。具体的
には、ボディ内マイコンCPUBのポートP22を”Hi
gh”レベルとして、ポートP21からのレンズセレクト
信号CSLがバッファBF1 、双方向信号ラインLB
L、端子J13,J3 、バッファBF3 を介して、レンズ
内マイコンCPULの割込端子INT1 及びポートP4
に入力される状態とし、次にレンズセレクト信号CSL
を”Low”レベルとしてレンズ内マイコンCPULに
割込端子INT1 による割込を発生させ、一定時間の経
過を待つ。そして、シリアルクロックSCKに同期して
ボディステイタスICPBをレンズに出力すると共に、
レンズステイタスICPLをレンズから入力する。その
後、レンズセレクト信号CSLを”High”レベルに
戻して交信を終了する。以上の#147〜#150の手
順は頻繁に用いられるので、以下、「双方向ステイタス
交信」と略称し、ボディステイタスICPBとレンズス
テイタスICPLの交換を意味するものとする。
[0076] Figure 17, the subroutine of the lens mounting operation shown in FIG. 18 (SUB3) is called, first, start the low voltage V LEL of the feed for the lens of the lens in the power supply control signal PWCL 2 as "Low" level Yes (# 14
0). As a result, the operating power supply voltage is supplied to the microcomputer CPUL in the lens, and C is connected to the reset terminal REL.
The reset operation of the microcomputer CPUL in the lens is performed by the R circuit. It waits for the elapse of a sufficient time to complete the reset operation (# 141). Then, 0111 * 010 is set in the body status ICPB (# 14)
2). This indicates a new body, system reset, power switch ON or OFF, body data output, power zoom possible, and AF non-operation. The b 3 = * Body status ICPB, power flag PWF = 1 if b 3 =
0, PWF = set 0, b 3 = 1 and (# 143~
# 145). Then, at the same time that the body status ICPB is output to the lens, the lens status ICPL is read from the lens (# 146 to # 150). Specifically, the port P 22 of the body within the microcomputer CPUB "Hi
gh ”level, the lens select signal CSL from the port P 21 is supplied to the buffer BF 1 and the bidirectional signal line LB.
L, terminals J 13 and J 3 , buffer BF 3 , interrupt terminal INT 1 of microcomputer CPUL in the lens and port P 4
, And then the lens select signal CSL
The "Low" level to generate an interrupt by the interrupt terminal INT 1 to lens microcomputer CPUL as to wait for a lapse of a predetermined time period. Then, while outputting the body status ICPB to the lens in synchronization with the serial clock SCK,
The lens status ICPL is input from the lens. Thereafter, the lens select signal CSL is returned to the "High" level, and the communication is terminated. Since the above-described procedures of # 147 to # 150 are frequently used, hereinafter, they will be abbreviated as "bidirectional status communication", which means exchange of the body status ICPB and the lens status ICPL.

【0077】双方向ステイタス交信(#147〜#15
0)を完了すると、専用のAFレンズか否かを判定する
(#151)。専用のAFレンズでなければ、ポートP
22を”Low”レベルに戻してからレンズ未装着動作
(サブルーチンSUB2)を実行して、リターンする。
Bidirectional status communication (# 147 to # 15)
After completing step 0), it is determined whether or not the AF lens is a dedicated AF lens (# 151). Port P unless dedicated AF lens
After returning 22 to the "Low" level, the lens non-mounting operation (subroutine SUB2) is executed, and the routine returns.

【0078】#151で専用のAFレンズであれば、A
Fレンズ装着フラグLLF1 を1とし、新レンズか否か
を判定する(#155,#156)。旧レンズは専用の
AFレンズであっても、レンズ内マイコンCPULを有
さず、アドレスAD0〜AD6のデータを出力する機能
しか持たない。#156で旧レンズであると判定された
ときには、#170以降の処理に移行する。#156で
新レンズならば、#157でタイプIのレンズか否かを
判定する。タイプIのレンズとは固定焦点レンズか、又
はズームレンズであってもマニュアルズームになってい
るレンズである。そして、タイプIのレンズならば、旧
レンズの場合と同様に#170以降の処理に移行する。
一方、#157でタイプIのレンズではないと判定され
たときには、パワーズーム可能であるので、レンズ内電
源制御信号PWCL1 を”Low”レベルとしてレンズ
用高電圧VLEH の給電を行い、一定時間待つ(#15
8,#159)。
If it is a dedicated AF lens at # 151, A
The F lens attachment flag LLF 1 and 1, determines whether the new lens (# 155, # 156). Even if the old lens is a dedicated AF lens, it does not have the microcomputer CPUL in the lens and has only a function of outputting data of addresses AD0 to AD6. If it is determined in step # 156 that the lens is the old lens, the process proceeds to step # 170 and subsequent steps. If the lens is a new lens in # 156, it is determined in # 157 whether or not the lens is a type I lens. The type I lens is a fixed focus lens or a lens which is a manual zoom even if it is a zoom lens. If the lens is a type I lens, the process proceeds to step # 170 and subsequent steps as in the case of the old lens.
On the other hand, when it is determined not to be the type I of the lens is # 157, a power since a zoomable performs feeding of the high voltage V LEH lens the lens power supply control signal PWCL 1 as "Low" level for a predetermined time Wait (# 15
8, # 159).

【0079】これは、パワーズームを行わせて、最も全
長の短い焦点距離に自動的に設定するためであり、電池
装着時又はレンズ装着時の他に、パワースイッチPWS
をOFFしたときにも行われる。レンズ用高電圧VLEH
の給電を開始した後に、双方向ステイタス交信(#16
0〜#163)を行い、レンズステイタスICPLにお
ける最下位ビットb0 が1かどうかを判別する(#16
4)。最下位ビットb 0 が1ならばズーム中であり、#
164から#160に戻り、双方向ステイタス交信(#
160〜#163)を行う。これを繰り返し、#164
でレンズステイタスICPLの最下位ビットb0 が0に
なると、ズームが停止していることになるので、#16
5でレンズ内電源制御信号PWCL1 を”High”レ
ベルに戻して高電圧VLEH の給電を停止し、#170以
降の処理に移行する。
This is because the power zoom is performed and
This is for automatically setting a short focal length to a long one.
Power switch PWS in addition to mounting or lens mounting
Is also performed when is turned off. High voltage V for lensLEH
After starting the power supply to the system, two-way status communication (# 16
0 to # 163) to enter the lens status ICPL.
Least significant bit b0Is determined to be 1 (# 16)
4). Least significant bit b 0If is 1, zoom is in progress and #
Returning from 164 to # 160, the bidirectional status communication (#
160 to # 163). Repeat this, # 164
Is the least significant bit b of the lens status ICPL0Becomes 0
Then, since the zoom is stopped, # 16
5, the power control signal PWCL in the lens1To “High”
Return to bell and high voltage VLEHPower supply to # 170
Move on to descending processing.

【0080】#170ではAFモータMO2 を∞位置に
向けて駆動する。そして、一定時間の経過を待って、レ
ンズが終端に達したか否かを判定する(#171,#1
72)。具体的には、AFモータMO2 を駆動してもエ
ンコーダENCからのパルスが検出されなくなれば、そ
の状態でレンズが終端に達したものと判定する。レンズ
が終端に達するまでは、#171,#172の処理を繰
り返す。そして、レンズが終端に達すると、AFモータ
MO2 を停止させ、現在位置レジスタNCRを0にする
(#173,#174)。現在位置レジスタNCRは、
∞位置からのフォーカス用レンズの移動量(エンコーダ
ENCからのパルス数)を記憶しておくためのレジスタ
である。
At step # 170, the AF motor MO 2 is driven to the position ∞. Then, after elapse of a predetermined time, it is determined whether or not the lens has reached the end (# 171, # 1).
72). Specifically, if not detected pulse from the encoder ENC be driven AF motor MO 2, it determines that the lens has reached the end in that state. Until the lens reaches the end, the processes of # 171 and # 172 are repeated. When the lens reaches the end, the AF motor MO 2 is stopped, and the current position register NCR is set to 0 (# 173, # 174). The current position register NCR is
A register for storing the amount of movement of the focusing lens from the position (the number of pulses from the encoder ENC).

【0081】なお、バッテリーチェックレジスタの内容
がBCR=11のときにはAFモータMO2 とズームモ
ータMO3 とを同時に動かせるので、上述のズーミング
(#158〜#165)と∞位置へのフォーカス用レン
ズの移動(#170〜#174)とは同時に行うように
してもよい。また、∞位置へのフォーカス用レンズの移
動は、電源電池EBを装着したとき、交換レンズLEを
装着したときの他に、パワースイッチPWSのON時並
びにOFF時や、システムリセットキー4の押し込み時
にも行われる。
When the content of the battery check register is BCR = 11, the AF motor MO 2 and the zoom motor MO 3 can be moved simultaneously, so that the above-described zooming (# 158 to # 165) and the focusing lens to the ∞ position can be performed. The movement (# 170 to # 174) may be performed simultaneously. In addition, when the power lens EB is mounted, when the interchangeable lens LE is mounted, when the power switch PWS is turned on and off, and when the system reset key 4 is pressed, the focus lens is moved to the position ∞. Is also performed.

【0082】以上のズーミングと∞位置へのフォーカス
用レンズの移動が終了すると、図19に示す#175に
移行し、新レンズか否かを判定する。新レンズならば、
ボディステイタスICPBに01000110又は01
001100を設定する(#176〜#179)。これ
はボディが非作動、パワースイッチがON又はOFF、
レンズデータ入力、パワーズーム可又は不可、AF非作
動を示す。次に、モードバッファMOBにレンズモード
LMO1 とレンズスイッチモードLMO2 を設定し、レ
ンズからの入力データを第1アドレスAD1から6バイ
トと指定するべく、データポインタをDPO=16H
設定する(#180,#181)。そして、双方向ステ
イタス交信(#182〜#184)によるボディステイ
タスICPBとレンズステイタスICPLの授受を行
い、データポインタDPOを出力し(#185,#18
6)、モードバッファMOBをレンズに出力すると共に
開放絞り値Avoをレンズから入力し(#187,#1
88)、続けて、最小絞り値Avmax、絞り値偏差量
ΔAv、変換係数KL 及びNDC、焦点距離fvをレン
ズから入力する(#189〜#193)。ここで、レン
ズからの焦点距離fのデータは、アペックス系の値fv
で入力される。以上のデータ交信の終了後にレンズセレ
クト信号CSLを”High”レベルに戻し、レンズス
イッチモードLMO2 を表示する(#194,#19
5)。
When the zooming and the movement of the focusing lens to the ∞ position are completed, the flow shifts to # 175 shown in FIG. 19, where it is determined whether or not the lens is a new lens. With a new lens,
01000110 or 01 for body status ICPB
001100 is set (# 176 to # 179). This is when the body is inactive, the power switch is ON or OFF,
Indicates that lens data is input, power zoom is enabled or disabled, and AF is not activated. Then, set the lens mode LMO 1 and the lens switch mode LMO 2 to mode buffer MOB, the input data from the lens in order to specify the first to address AD1 6 bytes, sets the data pointer and DPO = 16 H ( # 180, # 181). Then, the body status ICPB and the lens status ICPL are exchanged by bidirectional status communication (# 182 to # 184), and the data pointer DPO is output (# 185, # 18).
6) Output the mode buffer MOB to the lens and input the open aperture value Avo from the lens (# 187, # 1)
88), followed by a minimum aperture Avmax, aperture deviation DerutaAv, transform coefficient K L and NDC, and inputs the focal length fv from the lens (# 189~ # 193). Here, the data of the focal length f from the lens is the value fv of the apex system.
Is entered. After the above data communication is completed, the lens select signal CSL is returned to the “High” level, and the lens switch mode LMO 2 is displayed (# 194, # 19).
5).

【0083】次に、タイプIのレンズ(固定焦点レンズ
又はマニュアルズームレンズ)か否かを判定する(#1
96)。タイプIのレンズならば、#197でレンズモ
ードLMO1 の表示を消去し、#205に移行する。タ
イプIのレンズではなく、パワーズームの可能なレンズ
ならば、EXZM(露光間ズーム)か否かを判定する
(#198)。EXZM(露光間ズーム)でなければ、
#200でレンズモードLMO1 を表示し、#205に
移行する。EXZM(露光間ズーム)であれば、タイプ
IIIのレンズ(バリフォーカルレンズ)か否かを判定
する(#199)。タイプIIIのレンズならば、#1
97でレンズモードLMO1 の表示を消去し、#205
に移行する。タイプIIIのレンズでなければ、#20
0でレンズモードLMO1 (EXZM)を表示し、#2
05に移行する。なお、レンズモードLMO1 とレンズ
スイッチモードLMO2 の表示(#200,#195)
において、各モードが不作動の状態に設定されていると
きには夫々の表示は行われない。また、バリフォーカル
レンズでもEXZM(露光間ズーム)の動作を行わせる
のであれば#198,#199のステップは不要であ
る。
Next, it is determined whether or not the lens is a type I lens (fixed focus lens or manual zoom lens) (# 1).
96). If Type I of the lens, and erases the display of the lens mode LMO 1 at # 197, the process proceeds to # 205. If it is not a type I lens but a lens capable of power zoom, it is determined whether or not it is EXZM (zoom during exposure) (# 198). If not EXZM (zoom between exposures)
Display lens mode LMO 1 at # 200, the process proceeds to # 205. If it is EXZM (zoom during exposure), it is determined whether or not the lens is a type III lens (varifocal lens) (# 199). # 1 for Type III lens
At 97, the display of the lens mode LMO 1 is deleted, and # 205
Move to # 20 if not a type III lens
0 indicates the lens mode LMO 1 (EXZM) and # 2
Move to 05. The display of the lens mode LMO 1 and the lens switch mode LMO 2 (# 200, # 195)
In, when each mode is set to the inoperative state, the respective displays are not performed. Also, if the varifocal lens is to perform the operation of EXZM (zoom during exposure), steps # 198 and # 199 are unnecessary.

【0084】#175で旧レンズと判別されたときに
は、ボディデータ出力を行ってもレンズ側では読み取れ
ないので、ボディデータ出力は行わずに、レンズステイ
タスICPL、開放絞り値Avo、最小絞り値Avma
x、絞り値偏差量△Av、変換係数KL 及びNDC、ア
ペックス系の焦点距離fvを入力する(#201〜#2
03)。また、レンズモードLMO1 とレンズスイッチ
モードLMO2 の表示は消去する(#204)。そし
て、新旧いずれのレンズでも設定絞り値が記憶されてい
るレジスタの内容を、(Avo+△Av)と(Avma
x+△Av)の範囲内に入るように制限する(#20
5)。次に、パワーフラグPWFが1か否かを判定する
(#206)。PWF=1ならば設定値を表示し、PW
F=0ならば表示をすべて消去する(#207,#20
8)。そして、いずれの場合にもポートP22を”Lo
w”レベルに戻して、リターンする(#209)。ここ
で、ポートP22を”Low”レベルに戻すのは、レンズ
内マイコンCPULから双方向信号ラインLBLを介し
てボディ内マイコンCPUBの割込端子INTA へ割込
信号を入力可能とするためであり、ボディからレンズに
働きかける必要が無い場合には、基本的にポートP
22を”Low”レベルに戻して待機することにより、レ
ンズからの起動を待つものである。
When it is determined in step # 175 that the lens is an old lens, even if the body data is output, the data cannot be read on the lens side.
x, the aperture value deviation amount ΔAv, the conversion coefficient K L and the NDC, and the focal length fv of the apex system (# 201 to # 2)
03). The display of the lens mode LMO 1 and the lens switch mode LMO 2 is erased (# 204). The contents of the register storing the set aperture value in both the new and old lenses are represented by (Avo + vAv) and (Avma
x + △ Av) (# 20)
5). Next, it is determined whether or not the power flag PWF is 1 (# 206). If PWF = 1, set value is displayed, and PW
If F = 0, all displays are deleted (# 207, # 20)
8). Then, the port P 22 In any case, "Lo
w "is returned to level, the process returns (# 209). Here, the port P 22" return to the Low "level, interrupts CPUB the microcomputer body via a bidirectional signal line LBL from lens microcomputer CPUL and in order to allow input an interrupt signal to the terminal INT a, when there is no need to act on the lens from the body, essentially port P
By returning 22 to the “Low” level and waiting, it is waited for activation from the lens.

【0085】次に、パワースイッチPWSがONからO
FFへ又はOFFからONへ変化したとき、あるいはレ
ンズロックスイッチLLSがONからOFFへ又はOF
FからONへと変化したときの動作について説明する。
パワースイッチPWSがONからOFFへ又はOFFか
らONへと変化すると、パルス発生器PG1 からの”L
ow”レベルのパルスが、レンズロックスイッチLLS
がONからOFFへ又はOFFからONへ変化すると、
パルス発生器PG2 からの”Low”レベルのパルス
が、それぞれANDゲートAN4 を介して無条件割込端
子NMIに入力されて、図11に示す#15以降の割込
処理を行う。#15〜#26の処理は、パワースイッチ
PWSがON/OFF操作されたとき又はレンズが着脱
されたときに、それまでの動作を早急に終了させるため
の動作である。まず、レンズ用の高電圧VLEH の給電を
停止させ(PWCL1=”High”)、ズームモータ
MO 3 を停止させる(#15)。また、AFモータMO
2 の停止信号を出力する(#16)。次に、露光中か否
かを判定する(#17)。露光中であれば、各マグネッ
トMg2 〜Mg4 を動作させて、露光制御動作を終了さ
せる(#18〜#22)。そして、露出制御動作が終了
してリセットスイッチS4 がONされると、フィルム巻
き上げモータMO1 をONさせて、フィルム巻き上げを
行う(#23,#24)。フィルム巻き上げが完了して
リセットスイッチS4 がOFFされると、フィルム巻き
上げモータMO1 を停止させる(#25,#26)。そ
して、#27に移行する。
Next, when the power switch PWS is turned ON to O
When changing to FF or from OFF to ON, or
Lock switch LLS from ON to OFF or OF
The operation at the time of changing from F to ON will be described.
Whether the power switch PWS is from ON to OFF or OFF
Changes from ON to ON, the pulse generator PG1"L" from
An “ow” level pulse is output from the lens lock switch LLS.
Changes from ON to OFF or from OFF to ON,
Pulse generator PGTwo"Low" level pulse from
Are respectively AND gates ANFourThrough the unconditional interrupt end
Input to child NMI and interrupt after # 15 shown in FIG.
Perform processing. The processing of # 15 to # 26 is a power switch
When PWS is turned ON / OFF or lens is detached
To terminate the previous operation as soon as possible
Operation. First, the high voltage V for the lensLEHPower supply
Stop (PWCL1 = “High”), zoom motor
MO ThreeIs stopped (# 15). Also, the AF motor MO
TwoIs output (# 16). Next, whether or not
Is determined (# 17). During exposure, each magnet
MgTwo~ MgFourTo complete the exposure control operation.
(# 18 to # 22). Then, the exposure control operation ends.
And reset switch SFourIs turned on, the film winding
Lifting motor MO1To turn on the film
(# 23, # 24). When film winding is completed
Reset switch SFourIs turned off, the film winding
Lift motor MO1Is stopped (# 25, # 26). So
Then, the process proceeds to # 27.

【0086】#17で露光中でなければ、フィルム巻き
上げ中か否かを判定する(#41)。フィルム巻き上げ
中であれば、#25に移行し、フィルム巻き上げが終了
してから#27に移行する。#17及び#41で露光中
でもフィルム巻き上げ中でもなければ直ちに#27に移
行する。
If the exposure is not being performed in # 17, it is determined whether or not the film is being wound (# 41). If the film is being wound, the process proceeds to step # 25. After the film winding is completed, the process proceeds to step # 27. If the exposure is not being performed or the film is not being wound in # 17 and # 41, the process immediately proceeds to # 27.

【0087】こうして、露光及びフィルム巻き上げが終
了した状態になれば、ポートをリセットし、ボディ内昇
圧回路DD1 を動作(PWCB=”Low”)させる
(#27,#28)。次に、BCルーチン(SUB1)
を実行して#29に移行する。
[0087] Thus, if the state of exposure and film winding has been completed, reset the port, causing the operation body in the boosting circuit DD 1 (PWCB = "Low" ) (# 27, # 28). Next, the BC routine (SUB1)
And shifts to # 29.

【0088】#29ではレンズロックスイッチLLSが
ONか否かを判定する。レンズロックスイッチLLSが
ONであればレンズは未装着である。#29でレンズロ
ックスイッチLLSがONであれば、#30でレンズロ
ックスイッチLLSがOFFからONへ変化したのか、
ONのままであるかレンズ装着フラグLLFにより判定
し、後者の場合には#31に移行する。#29でレンズ
ロックスイッチLLSがOFFであれば、#37でレン
ズロックスイッチLLSがONからOFFへ変化したの
か、OFFのままであるかをレンズ装着フラグLLFに
より判定し、後者の場合には#31に移行する。#29
でレンズロックスイッチLLSがONであり、#30で
LLF=0でなければ、レンズロックスイッチLLSが
OFFからONへ変化したということであり、#36で
LLF=0とし、レンズ未装着動作(SUB2)を実行
して、#39に移行する。#29でレンズロックスイッ
チLLSがOFFであり、#37でLLF=1でなけれ
ば、レンズロックスイッチLLSがONからOFFへ変
化したということであり、#38でLLF=1とし、レ
ンズ装着動作(SUB3)を実行して、#39に移行す
る。
At step # 29, it is determined whether or not the lens lock switch LLS is ON. If the lens lock switch LLS is ON, the lens is not mounted. If the lens lock switch LLS is ON in # 29, whether the lens lock switch LLS has changed from OFF to ON in # 30,
It is determined based on the lens attachment flag LLF whether it remains ON, and in the latter case, the process proceeds to # 31. If the lens lock switch LLS is OFF in # 29, it is determined in # 37 whether the lens lock switch LLS has changed from ON to OFF or remains OFF by using the lens mounting flag LLF. In the latter case, # Move to 31. # 29
, The lens lock switch LLS is ON, and if LLF is not 0 in # 30, it means that the lens lock switch LLS has changed from OFF to ON. ) And the process proceeds to # 39. If the lens lock switch LLS is OFF at # 29 and if LLF is not 1 at # 37, it means that the lens lock switch LLS has changed from ON to OFF. At # 38, LLF = 1 and the lens mounting operation ( SUB3) is executed, and the flow shifts to # 39.

【0089】#29,#30,#37でレンズロックス
イッチLLSがONのまま又はOFFのままのときに
は、#31へ移行する。#31ではパワースイッチPW
SがONか否かを判定する。#31でパワースイッチP
WSがONであれば、#32でパワースイッチPWSが
OFFからONへ変化したのか、ONのままであるかを
パワーフラグPWFにより判定し、後者の場合には、#
39に移行する。#31でパワースイッチPWSがOF
Fであれば、#34でパワースイッチPWSがONから
OFFへ変化したのか、OFFのままであるかをパワー
フラグPWFにより判定し、後者の場合には#39に移
行する。#31でパワースイッチPWSがONであり、
#32でPWF=1でなければ、パワースイッチPWS
がOFFからONへ変化したということであり、#33
でPWF=1とし、パワーオンルーチン(SUB4)を
実行して、#39に移行する。#31でパワースイッチ
PWSがOFFであり、#34でPWF=0でなけれ
ば、パワースイッチPWSがONからOFFへ変化した
ということであり、#35でPWF=0とし、パワーオ
フルーチン(SUB5)を実行して、#39に移行す
る。#39ではボディ内昇圧回路DD1 の動作を停止
(PWCB=”High”)させ、#40では割込端子
INTA による割込を許可して処理を終了する。
If the lens lock switch LLS remains ON or OFF in steps # 29, # 30, and # 37, the process proceeds to step # 31. In # 31, the power switch PW
It is determined whether S is ON. Power switch P at # 31
If WS is ON, whether the power switch PWS has changed from OFF to ON or remains ON is determined by the power flag PWF in # 32. In the latter case, #
Move to 39. Power switch PWS is turned off at # 31
If F, the power flag PWF is used to determine whether the power switch PWS has changed from ON to OFF or remains OFF in # 34. In the latter case, the process proceeds to # 39. At # 31, the power switch PWS is ON,
If PWF is not 1 in # 32, the power switch PWS
Has changed from OFF to ON, and # 33
To set PWF = 1, execute the power-on routine (SUB4), and shift to # 39. If the power switch PWS is OFF at # 31 and PWF is not 0 at # 34, it means that the power switch PWS has changed from ON to OFF, and PWF = 0 at # 35 and the power-off routine (SUB5) And the process proceeds to # 39. The operation of # 39 body in the boosting circuit DD 1 in stopped (PWCB = "High"), the process ends to allow interruption by # 40 at the interrupt terminal INT A.

【0090】パワーオンルーチン(SUB4)の内容は
図17、図18に示してある。まず、#210では専用
のAFレンズが装着されているかどうかをAFレンズ装
着フラグLLF1 により判別する。#210でLLF1
=1でなければ専用のAFレンズが装着されていないと
して、レンズ未装着動作のサブルーチン(SUB2)を
実行してリターンする。#210でLLF1 =1であれ
ば専用のAFレンズが装着されているとして、ポートP
22を”High”レベルとし、以下、前述のレンズ装着
動作のサブルーチン(SUB3)における#170以降
の処理(フォーカス用レンズの∞位置リセット)を行っ
てリターンする。
The contents of the power-on routine (SUB4) are shown in FIGS. First, whether a dedicated AF lens in # 210 is mounted to determine the AF lens attachment flag LLF 1. LLF 1 in # 210
If not = 1, it is determined that the dedicated AF lens is not mounted, the subroutine (SUB2) of the lens non-mounting operation is executed, and the process returns. If LLF 1 = 1 in # 210, it is determined that the dedicated AF lens is attached and port P
22 is set to the “High” level, and thereafter, the processing after step # 170 (サ ブ ル ー チ ン position reset of the focus lens) in the above-described lens mounting operation subroutine (SUB3) is performed, and the process returns.

【0091】パワースイッチオフルーチン(SUB5)
の内容は、前述のレンズ装着動作のサブルーチン(SU
B3)における#140,#141の処理を省略する点
を除いてサブルーチン(SUB3)と同じ処理を行うも
のである。
Power switch off routine (SUB5)
The contents of the subroutine (SU
The same processing as the subroutine (SUB3) is performed except that the processing of # 140 and # 141 in B3) is omitted.

【0092】以上の要点をまとめると、電池装着時又は
レンズ装着時にはレンズへ低電圧V LEL を供給してレン
ズ内マイコンCPULを起動し、この低電圧VLEL の供
給時又はパワースイッチPWSのOFF時には、最もコ
ンパクトなズーム位置に設定し、その後、又はパワース
イッチPWSのON時にフォーカス用レンズを∞位置に
リセットする。また、レンズの取り外しにより、レンズ
用の低電圧VLEL の供給は停止する。
The above points can be summarized when the battery is installed or
Low voltage V to lens when lens is attached LELSupply the ren
The microcomputer CPUL in the memory is activated, and the low voltage VLELCompanion
When supplying power or turning off the power switch PWS,
Set to a compact zoom position and then or
When the switch PWS is ON, the focus lens is
Reset. Also, by removing the lens, the lens
For low voltage VLELSupply stops.

【0093】次に、各種スイッチ操作がなされたときの
割込動作について説明する。各種スイッチが操作され
て、割込端子INTA に”Low”レベルの割込信号が
入力されると、図13に示す#50以降の処理が行われ
る。まず、ボディ内昇圧回路DD1 を動作(PWCB
=”Low”)させ、レンズ用高電圧VLEH の給電を停
止(PWCL1 =”High”)させる(#50,#5
1)。これはズーム中に割込がかかることがあるからで
ある。そして、BCルーチン(SUB1)を実行した後
に、専用のAFレンズが装着されているか否かをAFレ
ンズ装着フラグLLF1 により判定する(#52)。L
LF1 =1であれば、専用のAFレンズが装着されてい
るので、このレンズとつながる双方向信号ラインLBL
が”Low”レベルであるか否かを判定する(#5
3)。双方向信号ラインLBLが”Low”レベルなら
ばレンズからの割込信号によりボディ内マイコンCPU
Bが起動されたということであるから、レンズルーチン
(SUB6)を実行した後に#60に移行する。#53
でレンズとつながる双方向信号ラインLBLが”Hig
h”レベル、又は#52でLLF1 ≠1ならば、レンズ
からの割込信号による起動ではないので、ボディ内の各
種スイッチをスキャンする(#54〜#58)。
Next, the interrupt operation when various switch operations are performed will be described. When various switches are operated to input a “Low” level interrupt signal to the interrupt terminal INT A , the processes after # 50 shown in FIG. 13 are performed. First, the operation body in the boosting circuit DD 1 (PWCB
= “Low”), and the power supply of the lens high voltage V LEH is stopped (PWCL 1 = “High”) (# 50, # 5)
1). This is because an interrupt may occur during zooming. Then, after executing the BC routine (SUB1), it determines whether or not a dedicated AF lens is mounted by the AF lens attachment flag LLF 1 (# 52). L
If LF 1 = 1, the dedicated AF lens is attached, and the bidirectional signal line LBL connected to this lens is attached.
Is "Low" level (# 5).
3). If the bidirectional signal line LBL is at "Low" level, the microcomputer CPU in the body is operated by an interrupt signal from the lens.
Since B has been activated, the process proceeds to # 60 after executing the lens routine (SUB6). # 53
Signal line LBL connected to the lens with "Hig"
If hLF level or LLF 11 in # 52, since it is not activation by an interrupt signal from the lens, various switches in the body are scanned (# 54 to # 58).

【0094】まず、スイッチS1 がONであるか否かを
判定する(#54)。スイッチS1がONならばレリー
ズボタン6の操作による起動であるので、S1 ルーチン
(SUB7)を実行した後に#60に移行する。#54
でスイッチS1 がONでなければ、以下、#55,#5
6,#57,#58で各スイッチALS,SYS,MO
S,FUSがONか否かを判別し、いずれかのスイッチ
がONされていれば、そのスイッチに対応するAEロッ
クルーチン(SUB8)、システムリセットルーチン
(SUB9)、モード変更ルーチン(SUB10)、フ
ァンクションルーチン(SUB11)の各サブルーチン
が実行され、#60に移行する。また、#54〜#58
でいずれのスイッチもONされていなければ、アップス
イッチUPS又はDOWNスイッチDOSがONされた
ものと判定され、Av,Tvのアップ/ダウンのサブル
ーチン(SUB12)が実行され、#60に移行する。
[0094] First, it is determined whether the switch S 1 is an ON (# 54). Since the switch S 1 is located in the activation by ON if the operation of the release button 6, the process proceeds to # 60 after performing the S 1 routine (SUB7). # 54
In unless the switch S 1 is ON, the following, # 55, # 5
6, switches # 57, # 58, switches ALS, SYS, MO
It is determined whether or not S and FUS are ON. If any switch is ON, an AE lock routine (SUB8), a system reset routine (SUB9), a mode change routine (SUB10), a function corresponding to the switch are performed. Each subroutine of the routine (SUB11) is executed, and the flow shifts to # 60. Also, # 54 to # 58
If none of the switches is turned on, it is determined that the up switch UPS or the DOWN switch DOS has been turned on, and the Av / Tv up / down subroutine (SUB12) is executed, and the process proceeds to # 60.

【0095】#60ではボディステイタスICPBに、
非作動、パワースイッチON、ボディデータ出力、パワ
ーズーム可、AF非作動を示すデータ01001010
を設定する。#61ではモードバッファMOBにレンズ
モードLMO1 及びレンズスイッチモードLMO2 を設
定する。#62ではポートP22を”High”レベルと
して、双方向信号ラインLBLをボディからレンズへの
信号伝送ラインとする。#63ではレンズセレクト信号
を”Low”レベルとして、ボディ内マイコンCPUB
との交信対象としてレンズを選択する。そして、#64
で一定時間待機して#65でボディステイタスICPB
の内容をレンズに出力し、#66で一定時間待機して#
67でモードバッファMOBの内容をレンズに出力す
る。#68ではレンズセレクト信号CSLを”Hig
h”レベルに戻し、#69ではポートP22を”Low”
レベルとして、双方向信号ラインLBLをレンズからボ
ディへの信号伝送ラインとする。これにより、レンズか
らの起動を受け付ける状態となる。#70でボディ内昇
圧回路DD1 による昇圧を停止させ(PWCB=”Hi
gh”)、#71で割込信号INTA による割込を可と
して処理を終了する。
In # 60, the body status ICPB is
Non-operation, power switch ON, body data output, power zoom possible, AF non-operation data 01001010
Set. Setting the lens mode LMO 1 and the lens switch mode LMO 2 to # 61 in the mode buffer MOB. # 62 in the port P 22 as "High" level, the signal transmission line of a bidirectional signal line LBL from the body to the lens. In # 63, the lens select signal is set to the “Low” level and the microcomputer CPUB in the body is set.
Select a lens as a communication target with. And # 64
Wait for a certain time at # 65 and body status ICPB at # 65
Is output to the lens, and after waiting for a certain time in # 66, #
At 67, the contents of the mode buffer MOB are output to the lens. In # 68, the lens select signal CSL is set to “High”.
h "to the return level, the port P 22 in # 69" Low "
As the level, the bidirectional signal line LBL is a signal transmission line from the lens to the body. As a result, a state in which activation from the lens is received is achieved. # 70 stops the boosting by the body in the boosting circuit DD 1 in (PWCB = "Hi
gh "), the process ends the interrupt by the interrupt signal INT A as Y in # 71.

【0096】次に、スイッチS1 がONされたときにコ
ールされるS1 ルーチン(SUB7)を図21、図22
に示し説明する。このサブルーチンでは、まず測光イネ
イブル信号LMENを”Low”レベルとし、測光イン
ターフェースLMIFを動作状態にする(#251)。
これによって、測光インターフェースLMIFはボディ
内マイコンCPUBからの基準クロックφに基づいて一
定周期で各測光値を順次A/D変換し、1つの測光値の
A/D変換が終了する毎に各測光部に対応するレジスタ
に測光データをラッチする動作を、測光イネイブル信号
LMENが”Low”レベルの間繰り返す。次に専用の
AFレンズが装着されているか否かをAFレンズ装着フ
ラグLLF1 により判別する(#252)。LLF1
1(AFレンズ装着)ならばAF動作が行われたことを
示すフラグAFFを1として、オフセットルーチン(S
UB13)に、LLF1 =0(AFレンズ未装着)なら
ば#297に移行する。
[0096] Next, FIG 21 S 1 routine (SUB7) that is called when the switch S 1 is been turned ON, FIG. 22
And will be described. In this subroutine, first, the photometry enable signal LMEN is set to the “Low” level, and the photometry interface LMIF is activated (# 251).
As a result, the photometric interface LMIF sequentially A / D converts each photometric value at a constant period based on the reference clock φ from the microcomputer CPUB in the body, and each photometric section is completed each time the A / D conversion of one photometric value is completed. Is repeated while the photometry enable signal LMEN is at the "Low" level. Then whether a dedicated AF lens is mounted to determine the AF lens attachment flag LLF 1 (# 252). LLF 1 =
If 1 (AF lens attached), the flag AFF indicating that the AF operation has been performed is set to 1, and the offset routine (S
If LLF 1 = 0 (no AF lens attached) in UB13), the flow shifts to # 297.

【0097】オフセットルーチン(SUB13)以下で
は焦点検出を行うための処理を行う。まず、オフセット
ルーチン(SUB13)によってバリフォーカルレンズ
の場合に焦点検出が可能な位置までフォーカス用レンズ
を移動させるためのオフセット処理を行う。オフセット
処理はズーミングによってピントがずれるバリフォーカ
ルレンズにおいて、ズーミングによってフォーカス用レ
ンズが合焦位置から外れても、∞位置から最近接位置の
範囲内で合焦するようにフォーカス用レンズを移動させ
て焦点検出を確実に行えるようにするものである。この
ときのレンズ移動量をオフセット量NL と呼び、その算
出方法については図84及び図85に基づいて後述す
る。
In the offset routine (SUB13) and subsequent steps, a process for performing focus detection is performed. First, the offset routine (SUB13) performs an offset process for moving the focus lens to a position where focus detection is possible in the case of a varifocal lens. In the offset processing, in a vari-focal lens that is out of focus due to zooming, even if the focus lens goes out of focus due to zooming, the focus lens is moved so that it is focused within the range of the closest position from the ∞ position. This is to ensure detection. The lens movement amount at this time is called an offset amount N L, and the calculation method thereof will be described later with reference to FIGS. 84 and 85.

【0098】このオフセットルーチン(SUB13)を
図23、図24に示し説明する。このサブルーチンで
は、まず装着されているレンズがタイプIIIのレンズ
(バリフォーカルレンズ)か否かを判定する(#30
1)。バリフォーカルレンズでなければすぐにリターン
する。一方、バリフォカルレンズならば、撮影準備スイ
ッチS1 がONか否かを判定する(#302)。撮影準
備スイッチS1 がONのときは、ボディが演算動作中
で、パワースイッチがON、レンズデータ入力、ズーム
可、AF非作動を示すデータ01010100を、撮影
準備スイッチS1 がOFFのときは、ボディが非作動
で、以下、同様の状態を示すデータ01000100を
ボディステイタスICPBに設定する(#303,#3
04)。データポインタはDPO=81H と設定する
(#305)。これは、第8アドレス(AD8)から1
バイト分のデータ(つまり、レンズ内オフセット量
L )をレンズから入力することを意味する。#306
〜#311では、この2つのデータをレンズに送る。つ
まり、#306でポートP22を”High”レベルとし
て、双方向信号ラインLBLをボディからレンズへの信
号伝送ラインとし、#307でレンズセレクト信号CS
Lを”Low”レベルとして、ボディ内マイコンCPU
Bとの交信対象としてレンズを選択する。そして、#3
08で一定時間待機して#309でボディステイタスI
CPBとレンズステイタスICPLを送受し、#310
で一定時間待機して#311でデータポインタDPOの
内容をレンズに出力する。そしてレンズ側でオフセット
量NL を演算するのに要する時間待機して、オフセット
量NL を入力する(#312,#313)。#314で
はレンズセレクト信号CSLを”High”レベルに戻
し、#315ではポートP22を”Low”レベルとし
て、双方向信号ラインLBLをレンズからボディへの信
号伝送ラインとする。これにより、レンズからの起動を
受け付け可能な状態となる。#316ではオフセット量
がNL =0か否かを判別し、NL =0ならばオフセット
量のレンズ移動が必要ないので、そのままリターンす
る。一方、NL ≠0ならばオフセット量のレンズ移動が
必要であるので、NL ×KB =N(KB はAFカプラー
12,21の回転量NL をAFモータMO2 の回転量N
に変換するための係数)の演算を行い、オフセット量N
L のフォーカス用レンズの移動のためのAFモータMO
2 の回転量Nを演算し、フォーカス用レンズの現在位置
レジスタNCRに回転量Nを駆動方向に応じて減算又は
加算する(#317,#318)。ここで、回転量Nは
正又は負である。そして、回転量Nをカウンタ割込用の
カウンタにプリセットし、AFモータMO2 を回転量N
の正負の方向に応じた方向へ回転させ、カウンタの内容
がエンコーダENCからのパルスによって減算され、0
になるのを待つ。そしてカウンタの内容が0になると、
AFモータMO2 を停止してリターンする(#319〜
#321)。
The offset routine (SUB13) will be described with reference to FIGS. In this subroutine, first, it is determined whether or not the mounted lens is a type III lens (varifocal lens) (# 30)
1). If it is not a varifocal lens, it returns immediately. On the other hand, if the burr follower lens, photographing preparation switch S 1 is determined whether the ON (# 302). When the shooting preparation switch S 1 is ON, the body in calculation operation, the power switch is ON, the lens data input, zooming Allowed, data 01010100 indicating the AF inoperative, photographing preparation when the switch S 1 is OFF, When the body is inactive, data 01000100 indicating the same state is set in the body status ICPB (# 303, # 3)
04). Data pointer is set to DPO = 81 H (# 305) . This is from the eighth address (AD8) to 1
This means that byte data (that is, in-lens offset amount N L ) is input from the lens. # 306
In steps # 311, these two data are sent to the lens. That is, the port P 22 as "High" level at # 306, the bidirectional signal line LBL and the signal transmission line to the lens from the body, the lens select signal CS at # 307
L is set to “Low” level and the microcomputer CPU in the body
A lens is selected as a communication target with B. And # 3
08 to wait for a certain period of time and # 309 body status I
Transmit / receive the CPB and the lens status ICPL,
Then, the contents of the data pointer DPO are output to the lens in # 311. And waiting in the lens-side time required to compute the offset amount N L, to enter the offset amount N L (# 312, # 313 ). # 314 in the lens select signal CSL back to "High" level, as "Low" level port P 22 in # 315, the signal transmission line of a bidirectional signal line LBL from the lens to the body. As a result, a state in which activation from the lens can be accepted is achieved. In step # 316, it is determined whether or not the offset amount is N L = 0. If N L = 0, it is not necessary to move the lens by the offset amount. On the other hand, if N L ≠ 0, it is necessary to move the lens by an offset amount, so that N L × K B = N (K B is the rotation amount N L of the AF couplers 12 and 21 and the rotation amount N of the AF motor MO 2.
To calculate the offset amount N
AF motor MO for moving L focus lens
The rotation amount N of 2 is calculated, and the rotation amount N is subtracted or added to the current position register NCR of the focusing lens according to the driving direction (# 317, # 318). Here, the rotation amount N is positive or negative. Then, the rotation amount N is preset to a counter for counter interruption, and the AF motor MO 2 is rotated by the rotation amount N.
And the counter is decremented by a pulse from the encoder ENC.
Wait to become. And when the content of the counter becomes 0,
To return to stop the AF motor MO 2 (# 319~
# 321).

【0099】図21のフローに戻り、S1 ルーチンにお
けるオフセットルーチン(SUB13)の処理が終了す
ると、CCDの余分な電荷を掃き出すためのCCDイニ
シャライズ動作を行う(#253)。そして、パワーズ
ームを行わせないためにズームイネイブルフラグZEN
Fを0とし、測光演算が1回も終了していないことを示
すために測光演算未完フラグLMFを1とし、CCDの
電荷蓄積(積分)を開始させ、積分完了時に割込端子I
NTB へ入力される割込信号による割込を可とし、AE
ルーチンに移行する(#254〜#257)。
[0099] Returning to the flow of FIG. 21, when the processing of the offset routine (SUB13) of S 1 the routine is completed, the CCD initialization operation for sweeping out CCD extra charge (# 253). Then, the zoom enable flag ZEN is set to prevent the power zoom from being performed.
F is set to 0, the photometry calculation incomplete flag LMF is set to 1 to indicate that no photometry calculation has been completed, and charge accumulation (integration) of the CCD is started.
An interrupt by the interrupt signal input to the NT B and allowed, AE
The routine proceeds to a routine (# 254 to # 257).

【0100】AEルーチンでは、まずレンズ交信ルーチ
ン(SUB14)を実行する。これはAE及びAFのた
めに必要なデータをレンズから読み取る動作である。そ
して、装着されているレンズが新レンズか否かを判定す
る(#258)。新レンズであればAF完了フラグAF
CFが1か否かを判定する(#259)。これは、AF
が完了しているかどうかを判定するもので、AFCF=
1でAFが完了していれば、パワーズームが可となり、
ズームルーチン(SUB15)を実行する。一方、AF
CF≠1でAFが完了していなければ、焦点検出中にズ
ーミングを行うと焦点検出用受光部に入射する被写体光
が変化して(焦点検出領域に対応する被写体が変化し
て)、正確な焦点検出が行えないのでズームルーチン
(SUB15)はスキップする。さらにバリフォーカル
レンズの場合、ズーミングを行うことで撮影距離も変化
してしまうため、フォーカス用レンズの移動中にズーミ
ングを行うことも望ましくない。このような理由でAF
が完了していないときには、パワーズームのためのズー
ムルーチン(SUB15)はスキップする。AFが完了
していないか、又はズームルーチン(SUB15)が終
了すると、レンズスイッチの操作に対する処理を行うた
めにレンズスイッチルーチン(SUB16)を実行し
て、#297のステップに移行する。
In the AE routine, first, a lens communication routine (SUB14) is executed. This is an operation of reading data necessary for AE and AF from the lens. Then, it is determined whether or not the attached lens is a new lens (# 258). AF completion flag AF for a new lens
It is determined whether or not CF is 1 (# 259). This is AF
Is completed, and AFCF =
If AF is completed in step 1, power zoom is possible,
The zoom routine (SUB15) is executed. On the other hand, AF
If AF is not completed at CF # 1, if zooming is performed during focus detection, the subject light incident on the focus detection light receiving unit changes (the subject corresponding to the focus detection area changes), and accurate detection is performed. Since the focus cannot be detected, the zoom routine (SUB15) is skipped. Furthermore, in the case of a varifocal lens, the zooming changes the shooting distance, so that it is not desirable to perform zooming while the focusing lens is moving. For this reason AF
Is not completed, the zoom routine (SUB15) for power zoom is skipped. If AF has not been completed or the zoom routine (SUB15) has been completed, a lens switch routine (SUB16) is executed to perform processing for lens switch operation, and the routine proceeds to step # 297.

【0101】#258で旧レンズであると判定された場
合には、旧レンズにはパワーズーム機構、レンズスイッ
チが共に無いので、#259、SUB15、SUB16
はスキップして、#297に移行する。また、#252
で専用のAFレンズが装着されていない場合にも、ズー
ムルーチン(SUB15)やレンズスイッチルーチン
(SUB16)はスキップして、#297に移行する。
If it is determined in step # 258 that the lens is an old lens, since the old lens has neither the power zoom mechanism nor the lens switch, # 259, SUB15, SUB16
Is skipped, and the flow shifts to # 297. Also, # 252
Even when the dedicated AF lens is not attached, the zoom routine (SUB15) and the lens switch routine (SUB16) are skipped, and the process proceeds to # 297.

【0102】#297ではフィルム感度を示すISOデ
ータを入力する。次に、フラッシュからのデータを入力
する(#260)。このフラッシュデータの入力に際し
ては、フラッシュセレクト信号CSFを”Low”レベ
ルとし、一定時間後に”High”レベルとする。そし
てシリアルクロックSCKを出力して、このクロックS
CKに同期してフラッシュから送られてくるシリアルデ
ータを読み取る。これによってフラッシュからボディに
は専用フラッシュ、充電完了、調光OK、発光量の各デ
ータが入力される。次に、測光インターフェースLMI
Fから測光データを入力するためのサブルーチン(SU
B17)を実行し、入力した測光データに基づいて露出
演算のサブルーチン(SUB18)を実行する。次に、
演算結果を表示回路DSP1 に送って表示を行わせ、フ
ラッシュにデータを出力する(#261,#262)。
フラッシュにデータを出力する際には、フラッシュセレ
クト信号CSFを”Low”レベルとし、データを出力
する間は前記信号CSFを”Low”レベルのままとす
ることにより、データ入力の場合と区別する。ボディか
らフラッシュへの出力データは絞り値Av、フィルム感
度Sv、撮影距離Dv及び焦点距離fである。そして、
測光演算が行われたので、測光演算未完フラグLMFを
0とする(#263)。#264ではフラグFDFが1
かどうかを判別する。このフラグFDFは一回も測光演
算が終了していない時点でCCDの積分終了による割込
があったときに、CCDからのデータを入力してからフ
ラグFDFを1とし、AEルーチンの割込のあったアド
レスに戻り、残りのAEルーチンの動作を行うことがあ
る(後述の図39における#581〜#583参照)の
で、このために設けたフラグである。#264でFDF
=1ならば、#265でFDF=0として、AFルーチ
ンに移行する。一方、#264でFDF=0ならば、#
266に移行する。
In step # 297, ISO data indicating the film sensitivity is input. Next, data from the flash is input (# 260). At the time of inputting the flash data, the flash select signal CSF is set to “Low” level, and is set to “High” level after a predetermined time. Then, a serial clock SCK is output, and this clock S
Reads serial data sent from the flash in synchronization with CK. As a result, data of the dedicated flash, charging completion, light control OK, and light emission amount are input from the flash to the body. Next, the photometric interface LMI
Subroutine for inputting photometric data from F (SU
B17) is executed, and a subroutine for exposure calculation (SUB18) is executed based on the input photometric data. next,
Operation result display is made by sending to the display circuit DSP 1, and outputs the data to the flash (# 261, # 262).
When outputting data to the flash, the flash select signal CSF is set to the "Low" level, and while the data is output, the signal CSF is kept at the "Low" level to distinguish it from the case of data input. The output data from the body to the flash is an aperture value Av, a film sensitivity Sv, a shooting distance Dv, and a focal length f. And
Since the photometry calculation has been performed, the photometry calculation incomplete flag LMF is set to 0 (# 263). In # 264, the flag FDF is 1
Is determined. This flag FDF sets the flag FDF to 1 after inputting data from the CCD when there is an interrupt due to the completion of CCD integration at the point in time when the photometric operation has not been completed, and the AE routine interrupts. There is a case where the operation returns to the given address and the operation of the remaining AE routine is performed (see # 581 to # 583 in FIG. 39 to be described later). FDF at # 264
If = 1, FDF is set to 0 in # 265, and the process proceeds to the AF routine. On the other hand, if FDF = 0 in # 264, #
Move to 266.

【0103】#266〜#273では露出制御動作に移
行できるかどうかの判定を行う。まず、#266では専
用のAFレンズか否かをAFレンズ装着フラグLLF1
により判定する。LLF1 ≠1で専用のAFレンズでな
ければ無条件に#273へ移行する。専用のAFレンズ
ならば、#267でレリーズ可能フラグRLEFが1か
否かを判別する。#267でRLEF=1ならばレリー
ズ優先であるので、#273へ移行する。#267でR
LEF≠1ならばAF優先であり、#268でAF完了
フラグAFCFが1か否かを判定する。#268でAF
完了ならば#273へ移行し、AF未完了ならば#27
4に移行する。#273ではレリーズスイッチS2 がO
Nか否かを判定する。#273でレリーズスイッチS2
がONならば、露出制御動作(SUB19)に移行す
る。一方、レリーズスイッチS2 がOFFならば、#2
74に移行する。
In steps # 266 to # 273, it is determined whether or not the operation can shift to the exposure control operation. First, in # 266, it is determined whether or not the AF lens is a dedicated AF lens by using an AF lens mounting flag LLF 1.
Determined by If LLF 1 ≠ 1 and the lens is not a dedicated AF lens, the process unconditionally proceeds to # 273. If it is a dedicated AF lens, it is determined in step # 267 whether or not the release enable flag RLEF is 1. If RLEF = 1 in # 267, the release priority is given, so the flow shifts to # 273. R at # 267
If LEF ≠ 1, AF priority is given, and in # 268, it is determined whether or not the AF completion flag AFCF is 1. AF at # 268
If completed, proceed to # 273. If AF is not completed, execute # 27.
Move to 4. In # 273, the release switch S 2 is set to O
N is determined. Release switch S 2 at # 273
Is ON, the flow shifts to the exposure control operation (SUB19). On the other hand, the release switch S 2 is if OFF, # 2
The process moves to 74.

【0104】#274では、撮影準備スイッチS1 がO
Nか否かを判定する。撮影準備スイッチS1 がONなら
ば、#275でタイマー用レジスタTIRに所定値Kを
設定し、#276でタイマーをリセットし、スタートさ
せる。そして、#298で専用のAFレンズか否かをA
Fレンズ装着フラグLLF1 により判定する。LLF 1
=1(専用のAFレンズ)ならば、#299でAF動作
が行われているかどうかをAF動作フラグAFFにより
判別する。AFF≠1ならば#252へ移行し、AFF
=1ならばAEルーチンへ移行する。また、#298で
専用のAFレンズでなければ#297に移行する。
In step # 274, the shooting preparation switch S1Is O
N is determined. Shooting preparation switch S1Is ON
For example, the predetermined value K is stored in the timer register TIR in # 275.
Set and reset the timer at # 276 and start
Let Then, in # 298, it is determined whether or not the AF lens is a dedicated AF lens.
F lens attachment flag LLF1Determined by LLF 1
If = 1 (dedicated AF lens), AF operation at # 299
Whether the AF operation has been performed is determined by the AF operation flag AFF.
Determine. If AFF ≠ 1, shift to # 252 and execute AFF
If = 1, the process proceeds to the AE routine. Also, in # 298
If it is not a dedicated AF lens, the flow shifts to # 297.

【0105】#274で撮影準備スイッチS1 がOFF
ならば、AFモータMO2 を停止させて、各フラグAF
CF,FALF,AFF,RLEF,LCF,FDF,
LCF1 を0にリセットし、AF用の表示を消去し、割
込端子INTB による割込(CCDの積分終了時の割
込)を不可とし、パワーズームを可(ZENF=1)と
する(#278〜#282)。次に、AEロックスイッ
チALSがONか否かを判定する(#283)。AEロ
ックスイッチALSがOFFならば、撮影準備スイッチ
1 もAEロックスイッチALSも共にOFFであり、
両スイッチS1 ,ALSがOFFしてから一定時間(例
えば5秒)はAEルーチンを繰り返す動作中であるた
め、#285で割込端子INTA による割込を可とし、
#286でタイマーによる割込を可として、#298に
移行する。#283でAEロックスイッチALSがON
ならば、#275に移行する。
[0105] taken at # 274 preparation switch S 1 is OFF
Then, the AF motor MO 2 is stopped and each flag AF
CF, FALF, AFF, RLEF, LCF, FDF,
Reset the LCF 1 to 0, to erase the display for AF, focus and disable the interrupt (interrupt during the CCD integration end) by the interruption terminal INT B, a power zoom variable (ZENF = 1) ( # 278- # 282). Next, it is determined whether or not the AE lock switch ALS is ON (# 283). If the AE lock switch ALS is OFF, also AE lock switch ALS shooting preparation switch S 1 also are both OFF,
Since the AE routine is being repeated for a certain period of time (for example, 5 seconds) after both switches S 1 and ALS are turned off, the interruption by the interruption terminal INT A is enabled at # 285.
In # 286, the interruption by the timer is permitted, and the flow shifts to # 298. AE lock switch ALS is ON at # 283
If so, the process proceeds to step # 275.

【0106】#273でレリーズスイッチS2 がONな
らば、露出制御ルーチン(SUB19)を実行する。露
出制御動作が終了してリセットスイッチS4 がONにな
れば、フィルム巻き上げを行う(#290,#29
1)。フィルム巻き上げが終了してリセットスイッチS
4 がOFFになれば、フィルム巻き上げを停止する(#
292,#294)。そして、表示を復帰させ、撮影準
備スイッチS1 がOFFになるのを待つ(#294,#
295)。撮影準備スイッチS1 がOFFになると、設
定値だけの表示状態とし、メインルーチンに戻る(#2
96)。
[0106] release switch S 2 at # 273 if ON, the execution of the exposure control routine (SUB19). If the exposure control operation is terminated and the reset switch S 4 ON, film winding performs (# 290, # 29
1). After film winding is completed, reset switch S
If 4 turns OFF, stop film winding (#
292, # 294). And, to return the display, wait for the shooting preparation switch S 1 is OFF (# 294, #
295). Shooting preparation switch S 1 is becomes to OFF, the display state of only a set value, the flow returns to the main routine (# 2
96).

【0107】次に、S1 ルーチン内の各サブルーチンに
ついて説明する。初めに、レンズ交信ルーチン(SUB
14)を図25、図26に示し説明する。このサブルー
チンがコールされると、まずポートP22を”High”
レベルとし、双方向信号ラインLBLをボディからレン
ズへの信号伝送ラインとする(#331)。そして、装
着レンズが新レンズか否かを判定する(#332)。新
レンズならばICPB設定のサブルーチン(SUB2
0)を実行し、新レンズでなければ#345に移行す
る。
[0107] Next, a description will be given of each subroutine in the S 1 routine. First, the lens communication routine (SUB
14) will be described with reference to FIGS. 25 and 26. When this subroutine is called, first, the port P 22 "High"
Level, and the bidirectional signal line LBL is used as a signal transmission line from the body to the lens (# 331). Then, it is determined whether the attached lens is a new lens (# 332). If it is a new lens, ICPB setting subroutine (SUB2
0) is executed, and if not a new lens, the flow shifts to # 345.

【0108】ここで、ICPB設定のサブルーチン(S
UB20)を図27に示し説明する。このサブルーチン
では、まず撮影準備スイッチS1 又はAEロックスイッ
チALSがONであるか否かを判定する(#361,#
362)。いずれかのスイッチS1 又はALSがONな
らば、ボディが演算動作中で、レンズデータ入力を示す
データ010101*0を、いずれのスイッチS1 ,A
LSもOFFならば、ボディが非作動で、レンズデータ
入力を示すデータ010001*0をボディステイタス
ICPBに設定する(#363,#364)。そして、
ボディステイタスICPBの第1ビットb1 =*は、ズ
ームイネイブルフラグがZENF=1ならばパワーズー
ム可を示すべくb1 =1とし、ZENF=0ならばパワ
ーズーム不可を示すべくb1 =0とする(#365〜#
367)。
Here, a subroutine for setting ICPB (S
UB20) is shown in FIG. In this subroutine, first, it determines whether the photographing preparation switch S 1 or AE lock switch ALS is ON (# 361, #
362). If any one of the switches S 1 or ALS is ON, the body is in an arithmetic operation and the data 010101 * 0 indicating lens data input is transmitted to any of the switches S 1 and A.
If LS is also OFF, the body is not operated, and data 010001 * 0 indicating lens data input is set in the body status ICPB (# 363, # 364). And
The first bit b 1 = * of the body status ICPB is set to b 1 = 1 to indicate that power zoom is possible if the zoom enable flag is ZENF = 1, and is set to b 1 = 0 to indicate that power zoom is not possible if ZENF = 0. (# 365- #
367).

【0109】図25のフローに戻り、#333では、デ
ータポインタをDPO=16H と設定する。これはレン
ズからの読取データとして、第1アドレスAD1からの
6バイトのデータを指定したことを意味する。#334
ではモードバッファMOBの設定を行う。そして、ボデ
ィステイタスICPBとデータポインタDPOとモード
バッファMOBの各内容をレンズに送ると共に、ボディ
ステイタスICPBと引き換えにレンズステイタスIC
PLをレンズから受信し、モードバッファMOBと引き
換えに開放絞り値Avoのデータをレンズから受信する
(#335〜#341)。そして、最小絞り値Avma
x、絞り値偏差量△Av、変換係数KL及びNDC、焦
点距離fの各データをレンズから入力し、レンズセレク
ト信号CSLを”High”レベルに戻す(#351,
#352)。
[0109] Returning to the flow of FIG. 25, step # 333, sets the data pointer and DPO = 16 H. This means that 6-byte data from the first address AD1 has been specified as the read data from the lens. # 334
Then, the mode buffer MOB is set. The body status ICPB, the data pointer DPO, and the contents of the mode buffer MOB are sent to the lens, and the lens status IC is exchanged for the body status ICPB.
PL is received from the lens, and data of the open aperture value Avo is received from the lens in exchange for the mode buffer MOB (# 335 to # 341). Then, the minimum aperture value Avma
x, aperture value deviation △ Av, conversion coefficient K L and NDC, and focal length f are input from the lens, and the lens select signal CSL is returned to the “High” level (# 351,
# 352).

【0110】一方、#332で新レンズでなければ、#
345〜#348でレンズステイタスICPLと開放絞
り値Avoを入力し、#351で残りのレンズデータ
(Avmax〜f)を同様に入力する。これは、新レン
ズでない場合にはボディステイタスICPBやデータポ
インタDPO、モードバッファMOBを受信できないか
らである。
On the other hand, if it is not a new lens in # 332, #
In steps 345 to # 348, the lens status ICPL and the open aperture value Avo are input, and in step # 351, the remaining lens data (Avmax to fmax) are similarly input. This is because the body status ICPB, data pointer DPO, and mode buffer MOB cannot be received unless the lens is a new lens.

【0111】以上のデータ交信を終了すると、撮影準備
スイッチS1 とAEロックスイッチALSが共にOFF
であるか否かを判定する(#353,#354)。スイ
ッチS1 ,ALSが共にOFFであれば、ポートP
22を”Low”レベルとして、双方向信号ラインLBL
をレンズからボディへの信号伝送ラインとし、リターン
する(#355)。撮影準備スイッチS1 とAEロック
スイッチALSのいずれかがONであれば、#355を
スキップしてリターンする。この場合、双方向信号ライ
ンLBLはボディからレンズへの信号伝送ラインとなっ
ている。
[0111] Upon completion of the above data communication, photographing preparation switch S 1 and the AE lock switch ALS are both OFF
Is determined (# 353, # 354). If the switches S 1 and ALS are both OFF, the port P
22 is set to the “Low” level, and the bidirectional signal line LBL is set.
Is a signal transmission line from the lens to the body, and the process returns (# 355). If any of the shooting preparation switch S 1 and the AE lock switch ALS is ON, to return to skip the # 355. In this case, the bidirectional signal line LBL is a signal transmission line from the body to the lens.

【0112】次に、ズームルーチン(SUB15)を図
28、図29に示し説明する。このサブルーチンでは、
まずテレスイッチTeS又はワイドスイッチWiSのO
N信号が入力されているか否かを判定する(#37
1)。#371でON信号が入力されていれば#372
に移行し、始めてON信号が入力されたか否かをフラグ
TWFにより判定する。このフラグTWFはテレスイッ
チTeS又はワイドスイッチWiSがONのときにTW
F=1となり、テレスイッチTeS及びワイドスイッチ
WiSが共にOFFのときにTWF=0となる。#37
2でTWF≠1であれば、OFFからONになったとい
うことであり、この場合、#373でパワーズームが可
能かどうかをズームイネイブルフラグZENFで判別す
る。パワーズームが可能ならばTWF=1とし、レンズ
用高電圧VLEH の給電(PWCL1 =”Low”)を行
い、合焦表示を消去し、フラグAFCF,FALFを0
とし、リターンする(#374〜#377)。#372
でTWF=1であれば、以前からズーム用のスイッチT
eS又はWiSがONされていたということであり、#
373〜#377をスキップしてリターンする。#37
3でズームイネイブルフラグZENFが1でなければ、
ズーム用のスイッチTeS又はWiSがOFFからON
になったとしても、パワーズーム不能であるから、#3
74〜#377をスキップしてリターンする。
Next, the zoom routine (SUB15) will be described with reference to FIGS. In this subroutine,
First, the tele switch TeS or the wide switch WiS O
It is determined whether an N signal is input (# 37)
1). If the ON signal is input in # 371, # 372
Then, it is determined for the first time by the flag TWF whether or not the ON signal has been input. This flag TWF is set to TW when the tele switch TeS or the wide switch WiS is ON.
F = 1, and TWF = 0 when both the tele switch TeS and the wide switch WiS are OFF. # 37
If TWF ≠ 1 in 2, it means that the state has been changed from OFF to ON. In this case, whether the power zoom is possible is determined by the zoom enable flag ZENF in # 373. If power zoom is possible, set TWF = 1, supply the high voltage V LEH for the lens (PWCL 1 = “Low”), erase the in-focus display, and set the flags AFCF and FALF to 0.
And returns (# 374 to # 377). # 372
If TWF = 1, switch T for zoom has been
It means that eS or WiS was turned on, and #
373 to # 377 are skipped and the process returns. # 37
If 3 and the zoom enable flag ZENF is not 1,
Zoom switch TeS or WiS is turned on from OFF
Power zoom is not possible even if
It skips 74 to # 377 and returns.

【0113】#371でテレスイッチTeS及びワイド
スイッチWiSが共にOFFならば、ONからOFFに
変化したか否かをフラグTWFにより判定する(#38
0)。TWF=1でなければ、OFFのままということ
であるから、そのままリターンし、TWF=1であれば
ONからOFFに変化したということであるから、TW
F=0とし、レンズ用高電圧VLEH の給電を停止(PW
CL1 =”High”)させる(#381,#38
2)。次にオフセットルーチン(SUB13)を実行
し、ズーミングによるフォーカス用レンズのずれ(オフ
セット量NL )を補正する。そして、撮影準備スイッチ
1 がONか否かを判定する(#383)。撮影準備ス
イッチS1 がOFFならば、そのままリターンし、撮影
準備スイッチS 1 がONならばCCDの電荷蓄積(積
分)を開始し、割込端子INTB への割込(CCDの積
分終了による割込)を可として、フォーカス用レンズが
オフセット量NL の移動を行ったことによりピントが合
う状態に補正されたか否かを確認するためのAF動作を
行うようにし、ZENF=0としてリターンする(#3
84〜#386)。
In step # 371, the tele switch TeS and the wide switch are set.
If both switches WiS are OFF, change from ON to OFF
It is determined by the flag TWF whether or not the value has changed (# 38).
0). If TWF is not 1, it remains OFF
Therefore, return as it is, and if TWF = 1,
Since it is changed from ON to OFF, TW
F = 0, high voltage V for lensLEHPower supply to power supply (PW
CL1= “High”) (# 381, # 38
2). Next, the offset routine (SUB13) is executed.
Of the focus lens due to zooming (off
Set amount NL) Is corrected. And the shooting preparation switch
S1Is determined to be ON (# 383). Preparation for shooting
Switch S1If is OFF, return and shoot
Preparation switch S 1Is ON, CCD charge accumulation (product
Minutes) and interrupt terminal INTBInterrupt (product of CCD
(Interrupt at the end of minute)
Offset amount NLFocus is achieved by moving
AF operation to confirm whether the
And return as ZENF = 0 (# 3
84- # 386).

【0114】次に、レンズスイッチルーチン(SUB1
6)を図30、図31に示し説明する。このサブルーチ
ンでは、まずレンズスイッチがONか否かを判定する
(#391)。レンズスイッチがONならば、WIM
(ワイドモード)か否かを判定する(#392)。WI
M(ワイドモード)であれば、タイプIのレンズ(固定
焦点レンズ又はマニュアルズームレンズ)であるか否か
を判定する(#393)。タイプIのレンズであれば、
そのままリターンする。タイプIのレンズでなければ、
撮影準備スイッチS1 がONか否かを判定する(#39
4)。撮影準備スイッチS1 がONであれば、ローコン
フラグLCFが1か否かを判定する(#395)。ロー
コンフラグLCFが1でなければ、焦点検出が可能であ
るとして、そのままリターンする。そして、#394で
撮影準備スイッチS1 がOFFであるか、又は#395
でローコンフラグがLCF=1で焦点検出不可であると
きには、レンズスイッチフラグLSFが1であるか否か
を判定する(#396)。レンズスイッチフラグLSF
が1でなければ、レンズスイッチがOFFからONに変
化したということであるから、レンズスイッチフフラグ
LSFを1とし、AFモータMO2 を停止させ、ズーム
レンズをワイド端に移動させるために、レンズ用の高電
圧VLEH の給電(PWCL1 =”Low”)を行う(#
397〜#399)。そして、割込端子INTB への割
込(CCDの積分終了による割込)を禁止し、フラグA
FCF,FALFを0としてリターンする(#400,
#407)。
Next, the lens switch routine (SUB1)
6) will be described with reference to FIGS. In this subroutine, first, it is determined whether or not the lens switch is ON (# 391). If the lens switch is ON, WIM
It is determined whether or not (wide mode) (# 392). WI
If it is M (wide mode), it is determined whether or not the lens is a type I lens (fixed focus lens or manual zoom lens) (# 393). If it is a type I lens,
Return as it is. If it is not a type I lens,
Shooting preparation switch S 1 is determined whether the ON (# 39
4). If shooting preparation switch S 1 is ON, Rokonfuragu LCF determines whether 1 (# 395). If the low contrast flag LCF is not 1, it is determined that focus detection is possible, and the process returns. And, whether the shooting preparation switch S 1 is OFF in # 394, or # 395
When the low contrast flag is LCF = 1 and the focus cannot be detected, it is determined whether or not the lens switch flag LSF is 1 (# 396). Lens switch flag LSF
Is not 1, it means that the lens switch has changed from OFF to ON, so the lens switch flag LSF is set to 1, the AF motor MO 2 is stopped, and the lens (PWCL 1 = “Low”) for high voltage V LEH (#
397- # 399). Then, it prohibits an interrupt to the interrupt terminal INT B (interruption by CCD of integration end), the flag A
Return FCF and FALF as 0 (# 400,
# 407).

【0115】#396でレンズスイッチフラグLSFが
1であれば、以前からレンズスイッチはONされていた
ということであり、既にWIM(ワイドモード)の動作
を行っているということであるから、レンズ側における
ワイド端へのズーミングが停止しているか否かを判定す
る(#401)。ズーミングが停止していなければ、そ
のままリターンする。ズーミングが停止していれば、レ
ンズ用高電圧VLEH の給電を停止(PWCL1 =”Hi
gh”)させることによりズームモータMO3を停止さ
せる(#402)。そして、ズーミングによるフォーカ
ス用レンズのピントずれ量(オフセット量)を補正する
べく、オフセットルーチン(SUB16)を実行し、撮
影準備スイッチS1 がONであるか否かを判定する(#
403)。撮影準備スイッチS1 がOFFならば、その
ままリターンし、撮影準備スイッチS1 がONならばC
CDの電荷蓄積(積分)を開始し、割込端子INTB
の割込(CCDの積分終了による割込)を可として、フ
ォーカス用レンズがオフセット量NL の移動を行ったこ
とによりピントが合う状態に補正されたか否かを確認す
るためのAF動作を行うようにし、ZENF=0として
リターンする(#404〜#406)。
If the lens switch flag LSF is 1 in step # 396, it means that the lens switch has been turned ON before and that the WIM (wide mode) operation has already been performed. It is determined whether or not zooming to the wide end has been stopped (# 401). If zooming has not stopped, the routine returns. If the zooming is stopped, the supply of the lens high voltage V LEH is stopped (PWCL 1 = “Hi”).
gh ”) to stop the zoom motor MO 3 (# 402). Then, an offset routine (SUB16) is executed to correct the focus shift amount (offset amount) of the focusing lens due to zooming, and the shooting preparation switch is set. S 1 is determined whether the ON (#
403). Shooting preparation If the switch S 1 is OFF, as it is to return, the shooting preparation switch S 1 is ON if C
Start charge accumulation of CD (integrated), an interrupt to the interrupt terminal INT B (interruption by CCD of integration end) as variable focus lens is in focus, by performing the movement of the offset amount N L An AF operation for confirming whether or not the correction has been made to a suitable state is performed, and the process returns with ZENF = 0 (# 404 to # 406).

【0116】#392でWIM(ワイドモード)でなけ
れば、レンズスイッチフラグLSFが1であるか否かを
判定する(#409)。#409でLSF=1でなけれ
ば、レンズスイッチがOFFからONに変化したという
ことであり、#410でLSF=1とし、#411でA
LM(AEロックモード)か否かを判定する。ALM
(AEロックモード)ならば、#412でLALM=1
とし、リターンする。このフラグLALMはレンズ側の
操作でAEロックされたことを示すフラグである。#4
11でALM(AEロックモード)でなければ、#41
3でRLPM(レリーズ優先モード)か否かを判定す
る。#413でRLPM(レリーズ優先モード)なら
ば、#414でRLEF=1としてリターンする。この
フラグRLEFはレリーズ優先モードであることを示す
フラグである。#413でRLPM(レリーズ優先モー
ド)でないときには、そのままリターンする。また、#
409でLSF=1であれば、レンズスイッチがONの
ままということであるので、そのままリターンする。
If it is not WIM (wide mode) in # 392, it is determined whether or not the lens switch flag LSF is 1 (# 409). If LSF is not 1 in # 409, it means that the lens switch has changed from OFF to ON. LSF is set to 1 in # 410, and A is set in # 411.
It is determined whether or not LM (AE lock mode) is set. ALM
If (AE lock mode), LALM = 1 in # 412
And return. This flag LALM is a flag indicating that the AE lock has been performed by an operation on the lens side. # 4
If it is not ALM (AE lock mode) in # 11, # 41
At 3, it is determined whether or not RLPM (release priority mode) is set. If it is RLPM (release priority mode) in # 413, the process returns as RLEF = 1 in # 414. This flag RLEF is a flag indicating that the camera is in the release priority mode. If it is not RLPM (release priority mode) in # 413, the process returns. Also,#
If LSF = 1 in 409, it means that the lens switch remains ON, and the process returns.

【0117】#391でレンズスイッチがOFFなら
ば、WIM(ワイドモード)か否かを判定する(#41
6)。WIM(ワイドモード)であれば、タイプIのレ
ンズ(固定焦点レンズ又はマニュアルズームレンズ)で
あるか否かを判定する(#417)。タイプIのレンズ
であれば、そのままリターンする。タイプIのレンズで
なければ、レンズスイッチフラグLSFが0であるか否
かを判定する(#418)。レンズスイッチフラグLS
Fが0でなければ、レンズスイッチがONからOFFに
変化したということであるから、LSF=0とし、ワイ
ド端から元の焦点距離に戻すためにレンズ用の高電圧V
LEH の給電(PWCL1 =”Low”)を行い、割込端
子INTB による割込を不可としてリターンする(#4
19〜#421)。また、フラグAFCF,FALFは
0とする(#407)。#418でレンズスイッチフラ
グLSFが0であれば、レンズスイッチは以前からOF
Fされていたということであるから、#401に移行
し、ズームが停止(元の焦点距離に戻る)しているか否
かを判定し、前述の動作を行ってリターンする。
If the lens switch is OFF in # 391, it is determined whether or not the camera is in WIM (wide mode) (# 41).
6). If it is a WIM (wide mode), it is determined whether or not the lens is a type I lens (fixed focus lens or manual zoom lens) (# 417). If it is a type I lens, the process returns. If it is not a type I lens, it is determined whether or not the lens switch flag LSF is 0 (# 418). Lens switch flag LS
If F is not 0, it means that the lens switch has changed from ON to OFF. Therefore, LSF is set to 0, and a high voltage V for the lens is used to return to the original focal length from the wide end.
Performed LEH feeding (PWCL 1 = "Low") , returns the disables interruption by the interruption terminal INT B (# 4
19 to # 421). Also, the flags AFCF and FALF are set to 0 (# 407). If the lens switch flag LSF is 0 in # 418, the lens switch has been
Since it is determined that the zooming has been performed, the flow shifts to # 401, where it is determined whether or not the zoom is stopped (returning to the original focal length), and the above operation is performed, and the process returns.

【0118】#416でWIM(ワイドモード)でなけ
れば、レンズスイッチフラグLSFが0であるか否かを
判定する(#425)。レンズスイッチフラグLSFが
0であれば、レンズスイッチがOFFのままであるとい
うことであるから、そのままリターンする。#425で
レンズスイッチフラグLSFが0でなければ、レンズス
イッチがONからOFFに変化したということであるか
ら、#426でフラグLSF,LALF,RLEFを0
としてリターンする。
If it is not a WIM (wide mode) in # 416, it is determined whether or not the lens switch flag LSF is 0 (# 425). If the lens switch flag LSF is 0, which means that the lens switch remains OFF, the process returns. If the lens switch flag LSF is not 0 at # 425, it means that the lens switch has changed from ON to OFF.
And return.

【0119】次に、測光データ入力ルーチン(SUB1
7)を図32に示し説明する。このサブルーチンでは、
まず、各測光データを入力し、その測光誤差、開放絞り
値の補正を行う(#431,#432)。次に、ボディ
又はレンズのスイッチ操作によりAEロックスイッチA
LSがOFFからONに変化したかどうかを判定し、O
FFからONに変化したのならば、手動AEロック完了
フラグMALFを1とし、測光データをレジスタMLR
に設定する(#433,#434,#439,#44
0)。ここで、レジスタMLRは、手動AEロック時の
測光データ入力用のレジスタである。ボディ及びレンズ
のAEロックスイッチALSがいずれもOFFならばレ
ンズによるAEロックフラグLALFが1か否かを判定
する(#435)。LALF=1であれば#434に移
行する。LALF=1でなければ、MALF=0とし、
AF完了フラグAFCFを判定する(#436,#44
2)。また、AEロックスイッチALSがONのままで
あるときにも#434から#442に移行してAF完了
フラグAFCFを判定する。AF完了フラグAFCFが
1であれば、AF・AE完了フラグFALFを判定する
(#444)。フラグFALFが1でなければAF完了
フラグAFCFは0から1に変化したということである
から、FALF=1とし、レジスタFLRに測光データ
を設定する(#445,#446)。ここで、レジスタ
FLRはAF・AEロック時の測光データ入力用のレジ
スタであり、合焦後の最初の測光データが記憶される。
#444でフラグFALFが1ならば#447で測光デ
ータをレジスタNMRに設定する。また、#442でA
FCF=0ならば、AF・AEロック完了フラグFAL
Fを0とし、測光データをレジスタNMRに設定する
(#443,#447)。ここで、レジスタNMRは通
常の測光データを入力するためのレジスタである。即
ち、AEロックスイッチALSがOFFからONに変化
したならばレジスタMLRに、AF完了フラグAFCF
が0から1に変化したならばレジスタFLRに、それ以
外の場合にはレジスタNMRに測光データを設定するも
のである。そして、AEロックスイッチによるAEロッ
ク状態ではレジスタMLR、合焦によるAEロック状態
ではレジスタFLR、その他の状態ではNMRの内容を
それぞれ演算用測光データBvci(i=1〜6)と
し、撮影倍率β、焦点距離fv、測光データBvci
(i=1〜6)から、主被写体と従被写体の輝度を演算
する(#450〜#455)。
Next, a photometric data input routine (SUB1)
7) is described with reference to FIG. In this subroutine,
First, each photometric data is input, and the photometric error and the open aperture value are corrected (# 431, # 432). Next, the AE lock switch A is operated by operating the switch of the body or the lens.
It is determined whether or not LS has changed from OFF to ON.
If it has changed from FF to ON, the manual AE lock completion flag MALF is set to 1 and the photometric data is stored in the register MLR.
(# 433, # 434, # 439, # 44)
0). Here, the register MLR is a register for inputting photometric data at the time of manual AE lock. If both the AE lock switches ALS of the body and the lens are OFF, it is determined whether or not the AE lock flag LALF by the lens is 1 (# 435). If LALF = 1, the flow shifts to # 434. If LALF is not 1, MALF is set to 0,
The AF completion flag AFCF is determined (# 436, # 44)
2). Also, when the AE lock switch ALS remains ON, the process proceeds from # 434 to # 442, and the AF completion flag AFCF is determined. If the AF completion flag AFCF is 1, the AF / AE completion flag FALF is determined (# 444). If the flag FALF is not 1, it means that the AF completion flag AFCF has changed from 0 to 1, so that FALF = 1 is set, and photometry data is set in the register FLR (# 445, # 446). Here, the register FLR is a register for inputting photometric data at the time of AF / AE lock, and stores the first photometric data after focusing.
If the flag FALF is 1 in # 444, the photometric data is set in the register NMR in # 447. Also, in # 442, A
If FCF = 0, AF / AE lock completion flag FAL
F is set to 0, and the photometric data is set in the register NMR (# 443, # 447). Here, the register NMR is a register for inputting normal photometric data. That is, if the AE lock switch ALS changes from OFF to ON, the AF completion flag AFCF is set in the register MLR.
Is changed from 0 to 1, the photometric data is set in the register FLR; otherwise, the photometric data is set in the register NMR. The register MLR is set in the AE lock state by the AE lock switch, the register FLR is set in the AE lock state by focusing, and the contents of the NMR are set to the calculation photometric data Bvci (i = 1 to 6) in other states. Focal length fv, photometric data Bvci
From (i = 1 to 6), the luminances of the main subject and the sub subject are calculated (# 450 to # 455).

【0120】次に、露出演算のサブルーチン(SUB1
8)を図33、図34に示し説明する。このサブルーチ
ンでは、まずフラッシュが装着されているか否かを判定
する(#461)。フラッシュが装着されていれば#4
62へ移行し、フラッシュが装着されていなければ#4
81に移行し、それぞれ専用のAFレンズが装着されて
いるかどうかをAFレンズ装着フラグLLF1 により判
別する。#462で専用のAFレンズが装着されていな
ければ#463に移行し、Mモード(マニュアルモー
ド)か否かを判定する。#463でMモードならば、#
465でマニュアル設定値を同調限界速度Tvxで制限
し、Mモードでなければ#464でシャッター速度Tv
を同調限界速度Tvxとしてリターンする。#462で
専用のAFレンズが装着されていれば、タイプIIのレ
ンズ(バリフォーカルでない通常のズームレンズ)か否
かを判定する(#469)。タイプIIのレンズならば
EXZM(露光間ズーム)か否かを判定する(#47
0)。露光間ズームEXZMならば、EXZMフラッシ
ュのサブルーチン(SUB21)を実行する。
Next, the exposure calculation subroutine (SUB1)
8) will be described with reference to FIGS. 33 and 34. In this subroutine, it is first determined whether or not a flash is mounted (# 461). # 4 if the flash is attached
Go to # 62 and if no flash is attached # 4
Moves to 81, whether a dedicated AF lens respectively are mounted to determine the AF lens attachment flag LLF 1. If the dedicated AF lens is not attached in # 462, the flow shifts to # 463, and it is determined whether or not the mode is the M mode (manual mode). If the mode is M in # 463, #
At 465, the manual setting value is limited by the tuning limit speed Tvx. If the mode is not the M mode, the shutter speed Tv is set at # 464.
Is returned as the tuning limit speed Tvx. If the dedicated AF lens is attached in # 462, it is determined whether or not the lens is a type II lens (normal non-varifocal zoom lens) (# 469). If it is a type II lens, it is determined whether or not it is EXZM (zoom during exposure) (# 47)
0). In the case of the during-exposure zoom EXZM, an EXZM flash subroutine (SUB21) is executed.

【0121】このサブルーチンを図35に示し説明す
る。まず、従被写体の輝度に対して露出値Evを求め
て、所定のシャッター速度Tvz1 を優先させて、絞り
値Av=Ev−Tvz1 を求める(#491,#49
2)。ここで、所定のシャッター速度Tvz1 とは、シ
ャッターが全開している間にズーミングが行える露光時
間に相当する。そして、求めた絞り値がAv<Avoな
らば、絞り値Avを開放絞り値Avoに制限し、Ev−
Avo=Tvとする(#493,#494,#49
5)。また、求めた絞り値がAvo≦Av≦Avmax
ならば所定のシャッター速度Tvz1 をそのまま制御用
のシャッター速度Tvとする(#493,#496,#
499)。さらに、Av>AvmaxならばAv−Av
max=dがフィルムラチチュードlに対し、d≦lか
否かを判定する(#497,#498)。d≦lならば
#499に移行し、d>lならば適正露光の補償ができ
ないために、EXZM不可警告(例えば、EXZM表示
の点滅)を行って、Ev+l−Avmax=Tvを演算
し、求めたシャッター速度Tvを同調限界速度Tvxに
制限し、絞り値Avを最小絞り値Avmaxに制限して
リターンする(#500〜#504)。
This subroutine will be described with reference to FIG. First, to seek an exposure value Ev with respect to the luminance of the sub object, give priority to predetermined shutter speed TVZ 1, determine the aperture value Av = Ev-Tvz 1 (# 491, # 49
2). Here, the predetermined shutter speed TVZ 1, corresponding to the exposure time capable of performing zooming while the shutter is fully opened. If the obtained aperture value is Av <Avo, the aperture value Av is limited to the open aperture value Avo, and Ev−
Avo = Tv (# 493, # 494, # 49)
5). Also, if the obtained aperture value is Avo ≦ Av ≦ Avmax
If the shutter speed Tv for directly controlling a predetermined shutter speed Tvz 1 (# 493, # 496 , #
499). Furthermore, if Av> Avmax, then Av-Av
It is determined whether or not max = d is d ≦ l with respect to the film latitude 1 (# 497, # 498). If d ≦ l, the flow shifts to # 499. If d> l, the compensation for the appropriate exposure cannot be performed. Therefore, an EXZM impossible warning (for example, blinking of the EXZM display) is performed, and Ev + 1−Avmax = Tv is calculated and obtained. The shutter speed Tv is limited to the tuning limit speed Tvx, the aperture value Av is limited to the minimum aperture value Avmax, and the routine returns (# 500 to # 504).

【0122】図33のフローに戻って、#469でタイ
プIIのレンズでないか、又は#470でEXZM(露
光間ズーム)でなければ、#471以下のステップに移
行し、各露出モード、及びAEロックに応じたTv,A
vの演算を行う。まず、#471ではMモード(マニュ
アルモード)が否かを判定する。Mモードであれば、#
465と同様にシャッター速度を制限する(#47
2)。MモードでなければAモード(絞り優先AEモー
ド)か否かを判定する(#473)。Aモードであれ
ば、シャッター速度Tvとして同調速度Tvxを設定
し、絞り値Avとして設定絞り値Avsを設定する(#
474〜#475)。Aモードでなければ、手動AEロ
ックフラグMALFが1であるか否かを判定する(#4
76)。MALF=1であれば、従被写体輝度からシャ
ッター速度Tvと絞り値Avを決定する。ここでは、低
速シャッター速度も可能とする。MALF=1でなけれ
ば、従被写体輝度からシャッター速度Tvと絞り値Av
を決定するが、シャッター速度Tvは同調速度Tvxで
制限する。EXZMフラッシュのサブルーチン(SUB
21)、#475、#477又は#478から#479
へ移行し、TvとAvによる制御値(従被写体輝度に対
応)と主被写体輝度との差及び撮影倍率に応じたフラッ
シュ調光量の補正量を演算してリターンする。
Returning to the flow of FIG. 33, if it is not a type II lens in # 469 or if it is not EXZM (zoom between exposures) in # 470, the flow shifts to steps # 471 and subsequent steps, and each exposure mode and AE Tv, A according to lock
Calculate v. First, in # 471, it is determined whether or not the M mode (manual mode) is set. In M mode, #
The shutter speed is limited similarly to 465 (# 47).
2). If not the M mode, it is determined whether or not the mode is the A mode (aperture priority AE mode) (# 473). In the A mode, the tuning speed Tvx is set as the shutter speed Tv, and the set aperture value Avs is set as the aperture value Av (#
474- # 475). If it is not the A mode, it is determined whether the manual AE lock flag MALF is 1 (# 4)
76). If MALF = 1, the shutter speed Tv and the aperture value Av are determined from the luminance of the slave subject. Here, a low shutter speed is also possible. If MALF is not 1, the shutter speed Tv and the aperture value Av are calculated based on the brightness of the slave subject.
Is determined, but the shutter speed Tv is limited by the tuning speed Tvx. EXZM flash subroutine (SUB
21), # 475, # 477 or # 478 to # 479
Then, the process calculates the difference between the control value (corresponding to the brightness of the slave subject) based on Tv and Av and the brightness of the main subject and the correction amount of the flash light intensity according to the shooting magnification, and returns.

【0123】自然光モードでは、#461から#481
に移行し、専用のAFレンズでなければ、Mモードでは
設定シャッター速度Tvsを制御用のシャッター速度T
vとし、Mモードでなければ、(主被写体輝度)+Sv
=Tvとしてリターンする(#482〜#484)。#
481で専用のAFレンズであれば、タイプIIのレン
ズ(バリフォーカルでない通常のズームレンズ)である
か否かを判定する(#485)。タイプIIのレンズで
あれば、EXZM(露光間ズーム)か否かを判定する
(#486)。#485でタイプIIのレンズでないと
き、又は#486でEXZMでないときは、#487で
主被写体の輝度に応じて露出制御モード(Pモード、S
モード、Aモード又はMモード)に応じた露出演算を行
ってリターンする。専用のAFレンズで、タイプIIの
レンズで、且つEXZM(露光間ズーム)ならば、#4
81,#485,#486を経て定常光による露光間ズ
ームのサブルーチン(SUB22)に移行する。
In the natural light mode, # 461 to # 481
If the camera is not a dedicated AF lens, the set shutter speed Tvs is set to the control shutter speed T in the M mode.
v, and if not in M mode, (main subject luminance) + Sv
= Tv (# 482- # 484). #
If it is a dedicated AF lens in 481, it is determined whether or not it is a type II lens (normal non-varifocal zoom lens) (# 485). If it is a type II lens, it is determined whether or not it is EXZM (zoom during exposure) (# 486). If the lens is not a type II lens in # 485 or if it is not EXZM in # 486, an exposure control mode (P mode, S
Mode, A mode or M mode), and returns. # 4 if it is a dedicated AF lens, a type II lens, and EXZM (zoom during exposure)
After passing through 81, # 485, and # 486, the flow shifts to a subroutine (SUB22) of the zoom during exposure using the stationary light.

【0124】このサブルーチンを図36に示し説明す
る。まず、主被写体輝度に基づいて露出値Evを求め、
所定のシャッター速度Tvz2 (Tvz2 <Tvz1
を優先として、絞り値Avの演算を行う(#511,#
512)。そして、求めた絞り値がAv<Avoなら
ば、絞り値Avを開放絞り値Avoに制限し、Ev−A
vo=Tvとする(#514,#515)。また、求め
た絞り値がAvo≦Av≦Avmaxならば所定のシャ
ッター速度Tvz2 (Tvz2 <Tvz1 )をそのまま
制御用のシャッター速度Tvとする(#513,#51
6,#519)。さらに、Av>AvmaxならばAv
−Avmax=dがフィルムラチチュードlに対しd≦
lか否か判定する(#517,#518)。d≦lなら
ば#519に移行し、d>lならば、Ev+l−Avm
ax=Tvを演算し、絞り値Avを最小絞り値Avma
xに制限し、適正露光の補償ができないために、EXZ
M不可警告(例えば、EXZM表示の点滅)を行ってリ
ターンする(#520〜#522)。
This subroutine will be described with reference to FIG. First, an exposure value Ev is obtained based on the main subject luminance,
Predetermined shutter speed Tvz 2 (Tvz 2 <Tvz 1 )
Is given priority to calculate the aperture value Av (# 511, #
512). If the obtained aperture value is Av <Avo, the aperture value Av is limited to the open aperture value Avo, and Ev-A
vo = Tv (# 514, # 515). If the obtained aperture value is Avo ≦ Av ≦ Avmax, a predetermined shutter speed Tvz 2 (Tvz 2 <Tvz 1 ) is directly used as a control shutter speed Tv (# 513, # 51).
6, # 519). Furthermore, if Av> Avmax, Av
-Avmax = d is d ≦ to film latitude 1
1 is determined (# 517, # 518). If d ≦ l, the process proceeds to # 519, and if d> l, Ev + 1−Avm
ax = Tv is calculated, and the aperture value Av is set to the minimum aperture value Avma.
x, and cannot compensate for proper exposure.
An M-impossible warning (for example, blinking of EXZM display) is performed, and the process returns (# 520 to # 522).

【0125】ここで、Tvz2 <Tvz1 となっている
理由は、芯になる像を露光する場合に、フラッシュ撮影
のときにはフラッシュの発光によって瞬時に芯になる像
の露光が行われるが、自然光(定常光)では芯になる像
の露光を行う所定時間はズーミングを停止させておく必
要があるからである。尚、上述の各シャッター速度Tv
1 ,Tvz2 はレンズのズーミング範囲或いはレンズ
がどのような種類のレンズであるかを示すコード(実施
例では示されていない)に応じて変えてもよい。更に、
撮影者がズーミング範囲を設定して設定範囲に応じた値
にしてもよい。さらに、実施例では長秒時側の制限は行
っていないが、芯が2つできることを避けるために長秒
時側の制限を行ってもよい。
Here, the reason that Tvz 2 <Tvz 1 is that, when exposing the core image, the exposure of the core image is instantaneously performed by flash emission during flash photography, but the natural light This is because it is necessary to stop zooming for a predetermined time for exposing a core image in (steady light). Note that each of the above-described shutter speeds Tv
z 1 and Tvz 2 may be changed according to a zooming range of the lens or a code (not shown in the embodiment) indicating what kind of lens the lens is. Furthermore,
The photographer may set the zooming range to a value according to the set range. Further, in the embodiment, the limitation on the long time side is not performed, but the limitation on the long time side may be performed in order to avoid two cores.

【0126】次に、露出制御ルーチン(SUB19)を
図37、図38に示し説明する。このサブルーチンで
は、まずファインダー内表示を消去し、AF用モータM
2 を停止させ、レンズ用の高電圧VLEH の給電を停止
(PWCL1 =”High”)させる(#531〜#5
33)。そして、タイプIIのレンズであるか否かを判
定する(#534)。タイプIIのレンズであれば、E
XZM(露光間ズーム)か否かを判定する(#53
5)。タイプIIのレンズで且つEXZM(露光間ズー
ム)ならば、ボディステイタスICPBに露出制御動作
中であることを示すデータ(ICPB54=10)を設定
してレンズに送る(#536〜#540)。また、レン
ズ用の高電圧VLEH の給電を行い(PWCL1 =”Lo
w”)、最短焦点距離に向けてズーミングを開始させる
(#541)。そして、レンズからレンズステイタスI
CPLを入力(#542〜#546)するたびにズーミ
ングが停止しているか否かを判定する(#547)。ワ
イド端に達してズーミングが終了したことが判別される
と、レンズ用高電圧VLEH の給電を停止(PWCL
1 =”High”)させてズーミングを停止させる(#
548)。なお、タイプIIのレンズでないか、又はE
XZM(露光間ズーム)でなければ、#536〜#54
8(露光間ズーム)をスキップして、#551に移行す
る。
Next, the exposure control routine (SUB19) will be described with reference to FIGS. In this subroutine, first, the display in the viewfinder is deleted, and the AF motor M
O 2 is stopped, and the supply of the high voltage V LEH for the lens is stopped (PWCL 1 = “High”) (# 531- # 5)
33). Then, it is determined whether or not the lens is a type II lens (# 534). If it is a type II lens, E
It is determined whether or not XZM (zoom during exposure) (# 53)
5). If it is a type II lens and EXZM (exposure during exposure), data (ICPB 54 = 10) indicating that the exposure control operation is being performed is set in the body status ICPB and sent to the lens (# 536 to # 540). In addition, the high voltage V LEH for the lens is supplied (PWCL 1 = “Lo”).
w "), zooming is started toward the shortest focal length (# 541).
Each time a CPL is input (# 542 to # 546), it is determined whether or not zooming has stopped (# 547). When it is determined that the zooming has been completed by reaching the wide end, the supply of the high voltage V LEH for the lens is stopped (PWCL
1 = “High”) to stop zooming (#
548). Note that the lens is not a type II lens or E
If not XZM (zoom during exposure), # 536 to # 54
8 (zoom during exposure) is skipped, and the flow shifts to # 551.

【0127】#551〜#556では、調光量のデータ
(Sv−Kc)(Kcは補正データ≧0)を測光インタ
ーフェースLMIFに送り、絞り込み段数(Av−Av
o)をカウンタにプリセットして、カウンタ割込を可と
し、エンコーダENCから絞り込み量に応じたパルスが
出力されるようにポートP18を”High”レベルと
し、レリーズマグネット(=Mg1 )を動作させて、待
機する。予定量の絞り込みがなされると、カウンタ割込
がかかり、カウンタ割込の処理を行う。
In steps # 551 to # 556, the data (Sv-Kc) (Kc is the correction data ≧ 0) of the light intensity is sent to the light metering interface LMIF, and the number of stops (Av-Av)
o) is preset in the counter, the counter interrupt is enabled, the port P 18 is set to the “High” level so that a pulse corresponding to the aperture amount is output from the encoder ENC, and the release magnet (= Mg 1 ) is operated. Let's wait. When the scheduled amount is narrowed down, a counter interrupt is performed, and the counter interrupt processing is performed.

【0128】このカウンタ割込を図44に示し説明す
る。この割込が発生すると、まずAF中か否かを判定す
る(#701)。AF中であればエンコーダENCから
はAFモータMO2 の回転量に応じたパルスが出力さ
れ、そのパルスのカウントアップで割込が発生したこと
になるので、#771以下のAFモータ停止処理を行
う。AF中でなければエンコーダENCからは絞り込み
レバー11による絞り込み量に応じたパルスが出力さ
れ、そのパルスのカウントアップで割込が発生したこと
になるので、#702以下の絞り込み停止処理を行う。
#702では、絞り込み停止マグネットApMg(Mg
2 )を動作させ、#703ではポートP18を”Low”
レベルとしてエンコーダENCからAFモータMO2
回転量に応じたパルスが出力される状態として、リター
ンする。
This counter interrupt will be described with reference to FIG. When this interrupt occurs, it is first determined whether or not AF is being performed (# 701). If during AF from the encoder ENC is output pulses corresponding to the rotation amount of the AF motor MO 2, the interrupt count-up of the pulse will be generated, performs an AF motor stop processing of # 771 or less . If AF is not being performed, a pulse corresponding to the amount of aperture by the aperture lever 11 is output from the encoder ENC, and an interrupt is generated by counting up the pulse. Therefore, aperture stop processing of # 702 and below is performed.
In # 702, the stop stop magnet ApMg (Mg
2 ) is operated, and in # 703, the port P 18 is set to “Low”.
In a state where a pulse is output in response from the encoder ENC to the amount of rotation of the AF motor MO 2 as the level and returns.

【0129】レリーズマグネットがONされてから一定
時間が経過し、ミラーアップが終了する時間が経過する
と、先幕走行開始用マグネット1CMg(=Mg3 )を
動作させて先幕の走行を開始させる(#556,#55
7)。そして、タイプIIのレンズであるか否かを判定
する(#558)。タイプIIのレンズであれば、EX
ZM(露光間ズーム)か否かを判定する(#559)。
タイプIIのレンズでないか、又はEXZM(露光間ズ
ーム)でなければ、露光時間をカウントし、カウント終
了で後幕走行開始用マグネット2CMg(=Mg4 )を
動作させて、後幕の走行を開始させ、LENを”Hig
h”レベルとしてリターンする(#566,#567,
#568)。この間にフラッシュ撮影であればシンクロ
スイッチSxがONされたときにフラッシュの発光が開
始され、発光による受光量が予定量に達すると、発光が
停止される。
When a predetermined time has elapsed since the release magnet was turned on and a time for ending the mirror-up has elapsed, the front curtain running start magnet 1CMg (= Mg 3 ) is operated to start running the front curtain ( # 556, # 55
7). Then, it is determined whether or not the lens is a type II lens (# 558). EX for a type II lens
It is determined whether or not ZM (zoom during exposure) is set (# 559).
If the lens is not a type II lens or if it is not EXZM (exposure during exposure), the exposure time is counted, and at the end of the count, the rear curtain running start magnet 2CMg (= Mg 4 ) is operated to start the rear curtain running. Let LEN "Hig"
h ”level (# 566, # 567,
# 568). During flash photography, flash emission is started when the synchro switch Sx is turned on, and is stopped when the amount of light received by the emission reaches a predetermined amount.

【0130】#558でタイプIIのレンズで、且つ#
559でEXZM(露光間ズーム)ならば、フラッシュ
撮影と自然光とで異なる時間t1 ,t2 (t1 <t2
をカウントする(#560〜#562)。この時間
1 ,t2 は核になる像を露光させる時間である。t1
はシャッターが全開してフラッシュが発光する時間に相
当する。t2 は自然光で核になる像を露光させるのに要
する時間であるから、t1よりも長い。そして、t1
はt2 が経過すると、レンズ用高電圧VLEH の給電(P
WCL1 =”Low”)を行い、ズーミングを開始させ
る(#563)。そいて、#564でTv=log
2 (1/T)より、残時間(T−t1 )又は(T−
2 )をカウントし、カウントが終了すると#565で
レンズ用高電圧VLEHの給電を停止(PWCL1 =”H
igh”)してズーミングを停止させ、#567以下の
処理に移行する。ズーミングの方向はワイド側からテレ
側としているが、テレ側からワイド側に切り換えるよう
にしてもよい。
# 558 is a type II lens and #
In the case of EXZM (zoom between exposures) at 559, times t 1 and t 2 (t 1 <t 2 ) different between flash photography and natural light
Are counted (# 560 to # 562). The times t 1 and t 2 are times for exposing the image serving as a nucleus. t 1
Is equivalent to the time when the shutter is fully opened and the flash fires. Since t 2 is the time required to expose the image to be nuclear in natural light, longer than t 1. Then, when t 1 or t 2 elapses, the power supply of the high voltage V LEH for the lens (P
WCL 1 = “Low”) to start zooming (# 563). Then, Tv = log at # 564
2 From (1 / T), the remaining time (T-t 1 ) or (T-t 1 )
t 2) counts, stops supplying power lens high voltage V LEH for between # 565 count is completed (PWCL 1 = "H
ign ") to stop the zooming and shift to the processing of # 567 and below. Although the zooming direction is from the wide side to the tele side, it may be switched from the tele side to the wide side.

【0131】次に、AFの動作について説明する。AE
ルーチンの動作中にCCDの電荷蓄積(積分)が終了
し、割込端子INTB に割込信号が入力されると、図3
9の#581以下の割込処理を行う。まず、CCDの蓄
積電荷をA/D変換したデータを順次取り込み、測光演
算未完フラグLMFが1か否かを判定する(#581,
#582)。LMF=1ならば、測光、演算、表示動作
の1回目が完了していないので、FDF=1とし、戻り
番地にリターンする(#583)。LMF=1でなけれ
ば、デフォーカス量とデフォーカス方向を演算、信頼性
があるかどうかを判別する(#584,#585)。信
頼性があれば、それまでの検出で信頼性があった(LC
F=0)かどうか判別する(#586)。LCF=0で
あれば、最初の検出又はそれまでの検出で信頼性があっ
たということなので、#601に移行する。
Next, the AF operation will be described. AE
Operation CCD charge storage during routine (integration) is finished, an interrupt signal to the interrupt terminal INT B is input, FIG. 3
9, the interrupt processing of # 581 and below is performed. First, data obtained by A / D-converting the charge stored in the CCD is sequentially taken in, and it is determined whether or not a photometry calculation incomplete flag LMF is 1 (# 581, # 581).
# 582). If LMF = 1, since the first time of the photometry, calculation, and display operation has not been completed, FDF = 1 is set, and the process returns to the return address (# 583). If LMF is not 1, the defocus amount and the defocus direction are calculated, and it is determined whether or not there is reliability (# 584, # 585). If reliable, the previous detection was reliable (LC
F = 0) (# 586). If LCF = 0, it means that reliability has been obtained in the first detection or the detection up to that point, and the flow shifts to # 601.

【0132】#601ではDF×KL ×KB =NB の演
算を行い、デフォーカス量DFを解消するためのモータ
回転量NB (エンコーダからのパルス数)を求め、#6
02ではモータ回転量NB と現在位置レジスタNCRの
内容、並びに∞位置からの回転量Nを撮影距離Dに変換
する係数NDCに基づいて撮影距離Dを演算する。そし
て、新レンズか否かを判定する(#603)。新レンズ
であればタイプIのレンズか否かを判定する(#60
4)。タイプIのレンズでなければ、AZP(オートズ
ームプログラム)が可能なレンズであるので、AZPモ
ードか否かを判定する(#605)。新レンズでない
か、AZP(オートズームプログラム)が可能なレンズ
(タイプI)か、AZPモードでないときには、#60
3,#604又は#605から#626に移行して撮影
倍率βを演算し、#627でデフォーカス量DFを解消
するためのモータ回転量NB を回転量Nに代入して、#
628で回転量Nをその符号に応じて現在位置レジスタ
NCRの内容に加算又は減算し、駆動量決定ルーチン
(SUB23)に移行する。
[0132] performs a calculation of DF × in # 601 K L × K B = N B, obtains the amount of motor rotation to eliminate the defocus amount DF N B (number of pulses from the encoder), # 6
Motor rotation amount in the 02 N B and the contents of the current position register NCR, and calculates the photographing distance D based on the coefficient NDC for converting the rotation amount N from ∞ position to the photographing distance D. Then, it is determined whether or not the lens is a new lens (# 603). If it is a new lens, it is determined whether it is a type I lens (# 60)
4). If it is not a type I lens, it is a lens capable of AZP (auto zoom program), so it is determined whether or not the camera is in the AZP mode (# 605). If the lens is not a new lens, a lens capable of AZP (auto-zoom program) (Type I), or is not in the AZP mode, # 60
3, the process proceeds to compute the photographing magnification β from # 604 or # 605 to # 626, are substituted into the rotation amount N of the motor rotation amount N B to eliminate the defocus amount DF in # 627, #
At 628, the rotation amount N is added to or subtracted from the content of the current position register NCR according to the sign, and the process proceeds to the drive amount determination routine (SUB23).

【0133】一方、タイプII又はIIIの新レンズで
AZP(オートズームプログラム)を行う場合には、ボ
ディがAF動作中でボディデータ出力を示すボディステ
イタスICPBと撮影距離Dをレンズに送る(#606
〜#612)。所定時間待った後に、ボディがAF動作
中でレンズデータ入力を示すボディステイタスICPB
と、第5アドレスAD5から4バイトのレンズデータを
入力することを指定するデータポインタDPO=54H
をレンズに送り、一定時間待つ(#613〜#61
9)。レンズはこの間に、AZP1 〜AZP3 の場合に
は、撮影距離Dに応じた撮影倍率βを求め、さらに、ズ
ーミングさせる焦点距離fA を求める。MLM(撮影倍
率ロックモード)のときには設定された撮影倍率βL
撮影距離Dとからズーミングさせる焦点距離fA を求め
る。この焦点距離fA に応じた変換係数NDCをさらに
求め、バリフォーカルレンズ(タイプIII)の場合に
は、さらにその時点の焦点距離fとズーミングさせる焦
点距離fA と撮影距離Dとからオフセット量NL を求め
る。そして、#620〜#623で変換係数NDC(f
A )と、ズーミングさせる焦点距離fA 、撮影倍率β及
びオフセット量NL を入力し、#625でNB ±NL ×
B =Nを演算し、バリフォーカルレンズでAZP(オ
ートズームプログラム)によるズーミングを行った上で
合焦位置に達するために必要な回転量Nを算出する。
On the other hand, with a new lens of type II or III,
When performing AZP (auto zoom program),
Is in the AF operation, the body
Send the Itas ICPB and the shooting distance D to the lens (# 606
~ # 612). After waiting for a predetermined time, the body performs AF operation
Status ICPB showing lens data input in
And 4 bytes of lens data from the fifth address AD5
Data pointer DPO = 54 for specifying inputH
To the lens and wait for a fixed time (# 613 to # 61)
9). During this time, the AZP1~ AZPThreeIn the case of
Calculates the shooting magnification β according to the shooting distance D, and further calculates
Focal length fAAsk for. MLM (photographing magnification)
In the case of the ratio lock mode), the set photographing magnification βLWhen
Focal length f for zooming from shooting distance DAAsk for
You. This focal length fAThe conversion coefficient NDC according to
Required for a varifocal lens (type III)
Is the focal length f at that point and the focus for zooming.
Point distance fAOffset amount N from shooting distance DLAsk for
You. Then, at steps # 620 to # 623, the conversion coefficient NDC (f
A) And the focal length f for zoomingA, Shooting magnification β
And offset amount NLAnd enter N in # 625.B± NL×
KB= N, and AZP (E
Zooming program).
The rotation amount N required to reach the in-focus position is calculated.

【0134】次に、駆動量決定ルーチン(SUB23)
を図42、図43に示し説明する。このサブルーチンで
はまず、新レンズか否かを判定する(#641)。新レ
ンズであればタイプIのレンズか否かを判定する(#6
42)。タイプIのレンズでなければ、AZP(オート
ズームプログラム)が可能なレンズであるので、AZP
モードか否かを判定する(#643)。新レンズでない
か、AZP(オートズームプログラム)が不能なレンズ
(タイプI)か、AZPモードでないときに、#64
1,#642又は#643から#671に移行して合焦
判定する。一方、タイプII又はIIIの新レンズでA
ZP(オートズームプログラム)を行う場合には、#6
44に移行して合焦を行う。
Next, a drive amount determination routine (SUB23)
42 and 43 are described. In this subroutine, first, it is determined whether or not the lens is a new lens (# 641). If it is a new lens, it is determined whether it is a type I lens (# 6)
42). If it is not a type I lens, it is a lens that can perform AZP (auto zoom program).
It is determined whether or not the mode is set (# 643). If the lens is not a new lens, a lens (Type I) for which AZP (auto zoom program) cannot be performed, or is not in the AZP mode, # 64
The process moves from # 1, # 642 or # 643 to # 671, and focus determination is performed. On the other hand, a new type II or III lens
When performing ZP (auto zoom program), use # 6
The flow shifts to 44, where focusing is performed.

【0135】まず、#671で合焦でなければ、回転量
Nをカウンタにプリセットし、カウンタ割込を可とし、
AFモータMO2 を駆動方向に駆動し、AEルーチンに
移行する(#685〜#687)。#671で合焦なら
ばボディが演算動作中で、ボディデータ出力、パワーズ
ーム可、AF非作動を示すボディステイタスICPB=
01010010と撮影距離Dをレンズに送り、AFC
F=1、ZENF=1とし、合焦表示を行った後にAE
ルーチンに移行する(#672〜#681)。
First, if it is not in focus at # 671, the rotation amount N is preset in the counter, and the counter interruption is enabled.
Drives the AF motor MO 2 in the driving direction, the process proceeds to AE routine (# 685~ # 687). If the camera is in focus at # 671, the body is performing an arithmetic operation, the body data is output, the power zoom is enabled, and the body status ICPB indicating that the AF is not activated =
010001010 and shooting distance D to the lens
After setting F = 1 and ZENF = 1, AE
The routine shifts to a routine (# 672 to # 681).

【0136】次に、#644で合焦ならば、現在の焦点
距離f0 が演算された焦点距離fAと等しいかどうかを
判別する(#655)。f0 =fA ならばAZP(オー
トズームプログラム)の動作が完了したことになり、合
焦したとして#672以下の処理に移行する。また、#
655でf0 =fA でなければ、ズーミングを行うため
に、レンズ用高電圧VLEH の給電を行い(PWCL
1 =”Low”)、AF動作中でボディデータ出力を示
すボディステイタスICPBをレンズに送り、双方向ス
テイタス交信によりレンズステイタスICPLを同時に
入力する(#656〜#662)。
Next, if focus is achieved at # 644, it is determined whether the current focal length f 0 is equal to the calculated focal length f A (# 655). If f 0 = f A , the operation of AZP (auto-zoom program) has been completed, and it is determined that focus has been achieved, and processing proceeds to # 672 and below. Also,#
If f 0 = f A is not satisfied in 655 , power is supplied to the lens high voltage V LEH to perform zooming (PWCL
1 = “Low”), the body status ICPB indicating the body data output is sent to the lens during the AF operation, and the lens status ICPL is simultaneously input by bidirectional status communication (# 656 to # 662).

【0137】#633ではズームが停止しているか否か
を判定する。ズームが停止していなければ、#664で
一定時間待った後に#658へ戻る。一方、#633で
ズームが停止していれば、レンズ用高電圧VLEH の給電
を停止し(PWCL1 =”High”)、確認のための
焦点検出とAF動作を行うためにCCDの電荷蓄積(積
分)を開始し、割込端子INTB による割込を可とし
て、AEルーチンに移行する(#665〜#667)。
ここで、確認のためのAFが必要な理由は、レンズ内で
オフセット量NL を演算する際に現在の焦点距離f0
演算された焦点距離fA とを用いているが、これは連続
した値ではなく、コード板の分解能に対応する離散的な
値になっており、細かい精度のオフセット量NL を算出
することができないために、確認のためのAFを行って
いるものである。
At step # 633, it is determined whether or not the zoom is stopped. If the zoom has not been stopped, the process returns to # 658 after waiting for a predetermined time in # 664. On the other hand, if the zoom is stopped in # 633, the supply of the high voltage V LEH for the lens is stopped (PWCL 1 = “High”), and the charge accumulation of the CCD is performed to perform focus detection and AF operation for confirmation. starts (integration), as allowed the interruption by the interruption terminal INT B, the process proceeds to AE routine (# 665~ # 667).
Here, the reason why the AF for confirmation is necessary is that the current focal length f 0 and the calculated focal length f A are used when calculating the offset amount NL in the lens. The value is not a set value but a discrete value corresponding to the resolution of the code plate. Since the offset amount NL with a fine precision cannot be calculated, AF for confirmation is performed.

【0138】#644で合焦でなければ、#645でf
0 =fA であるか否かを判別する。そして、f0 =fA
ならば#685へ移行する。一方、f0 ≠fA ならばバ
ッテリーチェックレジスタの内容がBCR=11かどう
かを判別する(#646)。BCR=11ならば、AF
モータMO2 とズームモータMO3 とを同時に駆動でき
るので、#650でレンズ用高電圧VLEH の給電を行い
(PWCL1 =”Low”)、#685へ移行する。一
方、BCR≠11ならば、AFモータMO2 とズームモ
ータMO3 とを一定時間毎に交互に駆動するために、タ
イマーレジスタTIRに所定値Mを設定し、タイマーを
リセット・スタートさせ、タイマー割込を可として、#
685へ移行し、まずAFモータMO2 を駆動する(#
647〜#649)。
If focus is not achieved at step # 644, f is determined at step # 645.
0 = determines whether or not the a f A. And f 0 = f A
If so, the flow shifts to # 685. On the other hand, if f 0 ≠ f A , it is determined whether the content of the battery check register is BCR = 11 (# 646). If BCR = 11, AF
Since the motor MO 2 and the zoom motor MO 3 can be driven simultaneously, power is supplied to the lens high voltage V LEH in # 650 (PWCL 1 = “Low”), and the flow shifts to # 685. On the other hand, if BCR ≠ 11, to drive alternately the AF motor MO 2 and the zoom motor MO 3 at fixed time intervals, sets the predetermined value M in the timer register TIR, the timer is reset and started, timer split #
685, the AF motor MO 2 is first driven (#
647- # 649).

【0139】図39のフローに戻って、#586で過去
の焦点検出結果に信頼性がない(LCF=1)と判断さ
れると、ローコンスキャンを行っている可能性が高いの
で、AFモータMO2 を停止させて、再測定を開始させ
るべく、CCDの電荷蓄積(積分)を開始させ、割込端
子INTB による割込を可とする(#587〜#58
9)。そして、スキャン方向の反転の有無を判定し、ス
キャン方向が反転していれば、エンコーダENCからの
パルスをモニターしている現在位置レジスタNCRから
カウンタの内容を減算し、スキャン方向が反転していな
ければカウンタの内容を加算する(#590〜#59
2)。さらに、焦点検出不可の警告表示を消去して、フ
ラグLCF,LCF1 に0を設定してAEルーチンに移
行する(#593,#594)。
Returning to the flow of FIG. 39, if it is determined in # 586 that the past focus detection result is unreliable (LCF = 1), it is highly likely that low-contrast scanning has been performed. the MO 2 is stopped, in order to start the re-measurement, to start CCD charge storage (integration), and allowed the interruption by the interruption terminal INT B (# 587~ # 58
9). Then, it is determined whether or not the scan direction is inverted. If the scan direction is inverted, the content of the counter is subtracted from the current position register NCR monitoring the pulse from the encoder ENC, and the scan direction must be inverted. If the contents of the counter are added (# 590 to # 59)
2). Furthermore, to erase the alarm display of the focus detection impossible, flag LCF, the process proceeds to AE routine by setting 0 to LCF 1 (# 593, # 594 ).

【0140】一方、#585で信頼性無しと判定された
ならば、図45に示す#711以下のローコン判定を行
う。まず、ローコンフラグLCFが1か否かを判定する
(#711)。#711でLCF=1でなければ、始め
て信頼性無しと判定されたことになるので、#712〜
#714でLCF=1とし、レンズが近接に向かう方向
にAFモータMO2 を駆動し、カウンタの内容を0にリ
セットして、#725に移行する。#711でLCF=
1ならば、全域ローコンフラグLCF1 が1か否かを判
定する(#715)。LCF1 =1でなければ、ローコ
ンスキャン中であり、終端か否かを判定する(#71
6)。#715でLCF1 =1であるか、又は#716
で終端でなければ、#725へ移行する。#716で終
端ならばAFモータMO2 を停止させ、スキャン方向が
既に反転しているか否かを判定する(#717,#71
8)。スキャン方向が反転していなければ、#719〜
#721でカウンタの内容をNCRに設定し、AFモー
タMO2 を∞方向に駆動し、カウンタを0にリセットし
て、#725に移行する。#718でスキャン方向が既
に反転していれば、焦点検出不能のままフォーカス用レ
ンズが∞位置に達したことになるので、#722〜#7
24で現在位置レジスタをNCR=0とし、全域ローコ
ンフラグLCF1 を1とし、警告表示をONとして、#
725に移行する。#725では再測定のためにCCD
の電荷蓄積(積分)を開始させ、#726で積分終了に
伴う割込端子INTB への割込を許可し、AEルーチン
に戻る。
On the other hand, if it is determined in # 585 that there is no reliability, low contrast determination of # 711 and below shown in FIG. 45 is performed. First, it is determined whether or not the low contrast flag LCF is 1 (# 711). If LCF is not 1 in # 711, it is determined that there is no reliability for the first time.
# And LCF = 1 at 714, a lens driving the AF motor MO 2 in the direction towards the adjacent, to reset the contents of the counter to 0, the process proceeds to # 725. LCF at # 711 =
If 1, the entire Rokonfuragu LCF 1 determines whether 1 (# 715). If LCF 1 = 1, low contrast scanning is being performed, and it is determined whether or not the end is reached (# 71).
6). LCF 1 = 1 in # 715, or # 716
If not at the end, the process proceeds to # 725. # 716 stops the AF motor MO 2 if terminated with, determines whether the scanning direction is already inverted (# 717, # 71
8). If the scanning direction is not reversed, # 719 ~
# Set the contents of the counter to NCR at 721 drives the AF motor MO 2 in ∞ direction, the counter is reset to 0, the process proceeds to # 725. If the scan direction has already been reversed in # 718, it means that the focus lens has reached the ∞ position without being able to detect the focus.
A current position register and NCR = 0 at 24, the entire area Rokonfuragu LCF 1 and 1, as ON a warning display, #
The process moves to 725. In # 725, CCD for re-measurement
To start of charge accumulation (integration), to allow an interrupt to the interrupt terminal INT B accompanying the integration ends at # 726, the flow returns to the AE routine.

【0141】次に、タイマー割込のフローチャートを図
46、図47に示し説明する。タイマー割込がかかる
と、タイマーレジスタTIRの内容を1つ減算し、TI
R=0となったか否かを判定する(#731,#73
2)。TIR≠0ならば、予定時間が経過していないの
で、タイマーをリセットし、スタートさせる(#73
3)。撮影準備スイッチS1 がOFFしてからの一定時
間タイマーならば、INTA割込を可とする(#73
4,#735)。また、AF中のタイマーならば、カウ
ンタ割込を可とする(#736,#737)。そして、
タイマー割込を可としてリターンする(#738)。
Next, a flowchart of the timer interrupt will be described with reference to FIGS. 46 and 47. When a timer interrupt occurs, the content of the timer register TIR is decremented by one, and
It is determined whether or not R = 0 (# 731, # 73)
2). If TIR ≠ 0, the timer is reset and started because the scheduled time has not elapsed (# 73).
3). If a certain period of time the timer of the shooting preparation switch S 1 is from the OFF, and allowed the INT A interrupt (# 73
4, # 735). If the timer is during AF, the counter interrupt is permitted (# 736, # 737). And
The process returns with the timer interrupt enabled (# 738).

【0142】#732でタイマーレジスタの内容がTI
R=0となったときには、撮影準備スイッチS1 がON
か否かを判定する(#741)。撮影準備スイッチS1
がOFFしてからのタイマーであれば、各フラグLAL
F,BALF,FALF,MALF,LMFをリセット
し、設定値だけの表示を行い、ボディ内昇圧回路DD 1
を停止させ(PWCB=”High”)、レンズ用高電
圧VLEH の給電を停止させ(PWCL1 =”Hig
h”)、ポートP22を”Low”レベルとし、割込端子
INTA による割込を可として動作を終了する(#74
2〜#746)。一方、#741で撮影準備スイッチS
1 がONされていれば、AF中のタイマーであり、AF
モータMO2 とズームモータMO3 の切り換えを行う。
#747でカウンタ割込を可とし、#748でAFモー
タMO2 がONか否かを判定する。AFモータMO2
ONならば、AFモータMO2 をOFFとし、レンズ用
高電圧VLEH の給電(PWCL1 =”Low”)を行う
ことでズームを開始させる(#749,#750)。そ
して#751〜#756で双方向ステイタス交信により
レンズステイタスICPLを読み取って、#757でズ
ームが終了しているかどうかを判別する。ズームが終了
していれば、#758,#759でAFモータMO2
駆動を開始し、レンズ用高電圧VLEH の給電を停止し
(PWCL1 =”High”)、#763以下の処理に
移行する。ズームが終了していなければ、#758,#
759をスキップして#763以下の処理に移行する。
一方、#748でAFモータMO2 がOFFならば、レ
ンズ用高電圧VLEH の給電を停止し(PWCL1 =”H
igh”)、AFモータMO2 の駆動を開始し、TIR
M=Mとし、タイマーをリセット・スタートさせ、タイ
マー割込を可としてリターンする(#761〜#76
5)。
At step # 732, the content of the timer register is set to TI.
When R = 0, the shooting preparation switch S1Is ON
It is determined whether or not it is (# 741). Shooting preparation switch S1
If the timer has been turned off, each flag LAL
Reset F, BALF, FALF, MALF, LMF
Then, only the set value is displayed, and the booster circuit DD in the body is displayed. 1
Is stopped (PWCB = “High”), and the
Pressure VLEHPower supply is stopped (PWCL1= "Hig
h "), port Ptwenty twoTo the “Low” level and the interrupt terminal
INTAAnd the operation is terminated (# 74).
2 to # 746). On the other hand, in step # 741, the shooting preparation switch S
1Is ON, it is a timer during AF and AF
Motor MOTwoAnd zoom motor MOThreeIs switched.
Counter interrupt is enabled in # 747, and AF mode is set in # 748.
TA MOTwoIs determined to be ON. AF motor MOTwoBut
If ON, AF motor MOTwoOFF, for lens
High voltage VLEHPower supply (PWCL1= ”Low”)
Then, the zoom is started (# 749, # 750). So
And the two-way status communication at # 751- # 756
The lens status ICPL is read, and is read in # 757.
Determine if the team has ended. End zoom
If so, the AF motor MO is executed in steps # 758 and # 759.Twoof
Start driving, and set the high voltage VLEHPower off
(PWCL1= “High”), for processing after # 763
Transition. If zooming has not been completed, # 758, #
Step 759 is skipped, and the process proceeds to step # 763 and subsequent steps.
On the other hand, at # 748, the AF motor MOTwoIs OFF,
High voltage VLEHPower supply (PWCL1= ”H
igh ”), AF motor MOTwoStarts driving and TIR
Set M = M, reset / start the timer,
Return with the interrupter allowed (# 761- # 76)
5).

【0143】次に、カウンタ割込のルーチンを図44に
示し説明する。このカウンタ割込が発生すると、まず、
AF中か否かを判定する(#701)。#701でAF
中でないときの動作(絞り込み停止動作)については、
前述した通りである。#701でAF中ならば、フォー
カス用レンズを予定駆動量だけ移動したことになるの
で、AFモータMO2 を停止させる(#771)。次
に、新レンズか否かを判定する(#772)。新レンズ
であればタイプIのレンズか否かを判定する(#77
3)。タイプIのレンズでなければ、AZP(オートズ
ームプログラム)が可能なレンズであるので、AZPモ
ードか否かを判定する(#774)。新レンズでない
か、AZP(オートズームプログラム)が不能なレンズ
(タイプI)か、AZPモードでないときには、#77
2,#773又は#774から#786に移行して、C
CDの電荷蓄積(積分)を開始させ、#787で積分終
了に伴う割込端子INTB への割込を許可し、AEルー
チンに戻る。一方、タイプII又はIIIの新レンズで
AZP(オートズームプログラム)を行う場合には、B
CR=11か否かを判定する(#775)。#775で
BCR≠11ならば、#776でレンズ用高電圧VLEH
の給電(PWCL1 =”Low”)を行ってズームを開
始させ、#777で所定時間待った後に、#778以下
の処理に移行する。一方、BCR=11ならば、AFモ
ータMO2 とズームモータMO3 が同時に駆動されてお
り、直ちに#778以下の処理へ移行する。#778〜
#782では、双方向ステイタス交信によりレンズステ
イタスICPLを入力し、#783ではズームが停止し
ているか否かを判定する。#783でズームが停止して
いなければ、#784で所定時間待って#778へ戻
る。#783でズームが停止していれば、#785でレ
ンズ用高電圧VLEH の給電を停止し(PWCL1 =”H
igh”)、確認のための焦点検出を行うべく、#78
6でCCDの電荷蓄積(積分)を開始させ、#787で
積分終了に伴う割込端子INTB への割込を許可し、A
Eルーチンに戻る。
Next, the counter interrupt routine will be described with reference to FIG. When this counter interrupt occurs,
It is determined whether or not AF is being performed (# 701). AF in # 701
Regarding the operation when not in the middle (stopping operation)
As described above. If # 701 in AF, it means that moves the focus lens only scheduled drive amount, to stop the AF motor MO 2 (# 771). Next, it is determined whether or not the lens is a new lens (# 772). If it is a new lens, it is determined whether it is a type I lens (# 77).
3). If it is not a type I lens, it is a lens capable of AZP (auto-zoom program), so it is determined whether or not the camera is in the AZP mode (# 774). If the lens is not a new lens, a lens that cannot perform AZP (auto zoom program) (Type I), or is not in the AZP mode, # 77
2, the process proceeds from # 773 or # 774 to # 786, and C
CD charge accumulation (integration) to initiate, permit an interrupt to the interrupt terminal INT B accompanying the integration ends at # 787, the flow returns to the AE routine. On the other hand, when performing AZP (auto zoom program) with a new lens of type II or III, B
It is determined whether CR = 11 (# 775). If BCR # 11 in # 775, high voltage V LEH for lens in # 776
(PWCL 1 = “Low”) to start zooming, wait for a predetermined time in # 777, and then proceed to # 778 and below. On the other hand, if BCR = 11, the AF motor MO 2 and the zoom motor MO 3 are driven at the same time, and the process immediately proceeds to # 778 and below. # 778 ~
In # 782, the lens status ICPL is input through bidirectional status communication, and in # 783, it is determined whether or not the zoom is stopped. If the zoom is not stopped in # 783, the process waits for a predetermined time in # 784 and returns to # 778. If the zoom is stopped in # 783, the power supply of the lens high voltage V LEH is stopped in # 785 (PWCL 1 = “H”).
igh "), to perform focus detection for confirmation, # 78
To start CCD charge storage (integration) at 6, to allow an interrupt to the interrupt terminal INT B accompanying the integration ends at # 787, A
Return to the E routine.

【0144】次に、レンズルーチン(SUB6)を図4
9に示す。このサブルーチンでは、レンズデータ入力ル
ーチン(SUB30)、ズームルーチン(SUB1
5)、レンズスイッチルーチン(SUB16)をこの順
にコールするものである。レンズデータ入力(SUB3
0)のサブルーチンを図48に示し説明する。このサブ
ルーチンでは、まずポートP22を”High”レベルと
して双方向信号ラインLBLをボディからレンズへの信
号伝送ラインとする(#801)。そして、ボディが不
作動、ズーム可、ボディデータ出力を示すボディステイ
タスICPBを設定し、双方向ステイタス交信によりボ
ディステイタスICPBをレンズに送ると共に、レンズ
ステイタスICPLをレンズから入力し、ポートP
22を”Low”レベルに戻してリターンする(#802
〜#807)。
Next, the lens routine (SUB6) will be described with reference to FIG.
9 In this subroutine, a lens data input routine (SUB30) and a zoom routine (SUB1)
5) The lens switch routine (SUB16) is called in this order. Lens data input (SUB3
The subroutine (0) will be described with reference to FIG. This subroutine, first, a bidirectional signal line LBL and the signal transmission line to the lens from the body the port P 22 as "High" level (# 801). Then, a body status ICPB indicating that the body is inoperative, zoom is possible, and a body data output is set, the body status ICPB is sent to the lens by bidirectional status communication, and the lens status ICPL is input from the lens, and the port P is set.
22 to the "Low" level and returns (# 802
~ # 807).

【0145】次に、AEロックスイッチALSのONに
よる起動に基づくサブルーチン(SUB8)を図50に
示す。このサブルーチンでは、まず測光イネイブル信号
LMENを”Low”レベルにして、その後、専用のA
Fレンズが装着されているか否かをAFレンズ装着フラ
グLLF1 により判定する(#811,#812)。専
用のAFレンズが装着されているときにはAEルーチン
へ、装着されていないときには#297(図21)に移
行する。
Next, FIG. 50 shows a subroutine (SUB8) based on activation by turning on the AE lock switch ALS. In this subroutine, first, the photometry enable signal LMEN is set to the “Low” level, and then the dedicated A
Whether F lens is mounted is determined by the AF lens attachment flag LLF 1 (# 811, # 812 ). When the dedicated AF lens is attached, the process proceeds to the AE routine, and when not attached, the process proceeds to # 297 (FIG. 21).

【0146】次に、システムリセットキー4が押された
場合にコールされるSYSルーチン(SUB9)を図5
1、図52に示し説明する。このサブルーチンがコール
されると、まず専用のAFレンズが装着されているか否
かをAFレンズ装着フラグLLF1 により判定する(#
345)。LLF1 =1でなければ、専用のAFレンズ
が装着されていないということであり、#856に移行
する。一方、LLF1=1であれば、専用のAFレンズ
が装着されているということであり、フォーカス用レン
ズを∞位置まで繰り込む(#816〜#819)。つま
り、AFモータMO2 を∞位置に向けて駆動開始し、所
定時間待って終端か否かを判定する動作を繰り返し、終
端と判定されれば、AFモータMO2 を停止させる。フ
ォーカス用レンズが∞位置まで絞り込まれると、#82
0で現在位置レジスタをNCR=0とし、レンズデータ
入力ルーチン(SUB30)を実行する。そして、装着
されているレンズが新レンズか否かを判定する(#83
1)。新レンズでなければ#856に移行する。新レン
ズであれば、レンズスイッチモードLMO2 をOHとし
てレンズスイッチによる機能を不作動とする(#83
2)。そして、ボディステイタスICPBにシステムリ
セット、ボディデータ出力、パワーズーム可を示すデー
タ01110010をセットする(#833)。また、
モードバッファMOBにレンズモードLMO1 及びレン
ズスイッチモードLMO2 を設定する(#834)。#
835〜#842では、設定したボディステイタスIC
PB及びモードバッファMOBの内容をレンズに送る。
#843では、レンズスイッチモードLMO2 の表示を
行う。ここでは、レンズスイッチによる機能を不作動と
しているので、レンズスイッチモードLMO2 の表示は
消去されることになる。
Next, a SYS routine (SUB9) called when the system reset key 4 is pressed is shown in FIG.
1, and will be described with reference to FIG. When this subroutine is called, first determines whether or not a dedicated AF lens is mounted by the AF lens attachment flag LLF 1 (#
345). If LLF 1 is not 1, it means that the dedicated AF lens is not mounted, and the flow shifts to # 856. On the other hand, if LLF 1 = 1, it means that the dedicated AF lens is mounted, and the focus lens is retracted to the ∞ position (# 816 to # 819). That is, the AF motor MO 2 driving starts towards ∞ position, repeating the operation determines whether the termination waiting a predetermined time, if it is determined that termination to stop the AF motor MO 2. When the focus lens is stopped down to the position ∞, # 82
If 0, the current position register is set to NCR = 0, and the lens data input routine (SUB30) is executed. Then, it is determined whether or not the attached lens is a new lens (# 83).
1). If it is not a new lens, the flow shifts to # 856. If the lens is a new lens, the lens switch mode LMO 2 is set to O H to disable the function by the lens switch (# 83).
2). Then, data 01110010 indicating system reset, body data output, and power zoom enabled is set in the body status ICPB (# 833). Also,
Setting the lens mode LMO 1 and the lens switch mode LMO 2 to the mode buffer MOB (# 834). #
In 835- # 842, the set body status IC
The contents of the PB and the mode buffer MOB are sent to the lens.
In step # 843, the lens switch mode LMO 2 is displayed. Here, since the function by the lens switch is disabled, the display of the lens switch mode LMO 2 is deleted.

【0147】次に、#851ではタイプIのレンズか否
かを判定し、タイプIのレンズであれば、#855に移
行してレンズモードLMO1 の表示を消去する。#85
1でタイプIのレンズでなければ、#852でEXZM
(露光間ズーム)か否かを判定する。#852でEXZ
Mでなければ、#854に移行してレンズモードLMO
1 の表示を行う。#852でEXZMであれば、タイプ
IIのレンズであるか否かを判定する(#853)。タ
イプIIのレンズであれば、#854に移行してレンズ
モードLMO1 の表示を行う。タイプIIのレンズでな
ければ、#855に移行してレンズモードLMO1 の表
示を消去する。以上の#851〜#854ではレンズタ
イプに応じたレンズモードLMO1 の表示を行ってい
る。#854,#855でレンズモードLMO1 の表示
又は消去を行った後に、#856で露光制御モードをP
モード(プログラムモード)とし、#857で設定値を
表示して、#858でシステムリセットキー4に対応す
るスイッチSYSがOFFするのを待ってリターンす
る。
[0147] Next, it is determined whether the lens # 851 in Type I, if type I lenses, erases the display of the lens mode LMO 1 proceeds to # 855. # 85
If it is 1 and not a type I lens, EXZM in # 852
It is determined whether or not (exposure zoom). EXZ at # 852
If not M, the process proceeds to step # 854 and the lens mode LMO
Display 1 If it is EXZM in # 852, it is determined whether or not the lens is a type II lens (# 853). If Type II lens, the display of the lens mode LMO 1 proceeds to # 854. If the type II of the lens, to erase the display of the lens mode LMO 1 proceeds to # 855. And performs display of the lens mode LMO 1 according to the above # 851~ # 854 the lens type. After displaying or erasing the lens mode LMO 1 in # 854 and # 855, the exposure control mode is set to P in # 856.
In step # 857, the set value is displayed. In step # 858, the process returns after waiting for the switch SYS corresponding to the system reset key 4 to be turned off.

【0148】次に、モードキー3の押下によりモードス
イッチMOSがONされたときにコールされるMOSル
ーチン(SUB10)を図53に示し説明する。このサ
ブルーチンでは、まずモードレジスタがMOR=11か
否かを判定する(#861)。MOR=11であれば、
#862に移行してMOR=00とする。MOR=11
でなければ、#863に移行してMOR=MOR+1と
する。ここで、モードレジスタMORは4種類の露出制
御モードを選択するための2ビットのレジスタであり、
MOR=00のときにPモード(プログラムモード)、
MOR=01のときにSモード(シャッター速度優先A
Eモード)、MOR=10のときAモード(絞り優先A
Eモード)、MOR=11のときにMモード(マニュア
ルモード)が選択される。従って、MOSルーチンがコ
ールされる度に、露出制御モードはPモードからSモー
ドへ、SモードからAモードへ、AモードからMモード
へ、MモードからPモードへそれぞれ変更される。#8
64では設定されたモードを表示し、#865でモード
スイッチMOSがOFFになるのを待ってリターンす
る。
Next, the MOS routine (SUB10) called when the mode switch MOS is turned on by pressing the mode key 3 will be described with reference to FIG. In this subroutine, first, it is determined whether or not MOR = 11 in the mode register (# 861). If MOR = 11,
The process proceeds to # 862, where MOR = 00. MOR = 11
If not, the flow shifts to # 863, where MOR = MOR + 1. Here, the mode register MOR is a 2-bit register for selecting four types of exposure control modes.
P mode (program mode) when MOR = 00,
When MOR = 01, S mode (shutter speed priority A
E mode), A mode when MOR = 10 (Aperture priority A
E mode), M mode (manual mode) is selected when MOR = 11. Therefore, each time the MOS routine is called, the exposure control mode is changed from the P mode to the S mode, from the S mode to the A mode, from the A mode to the M mode, and from the M mode to the P mode. # 8
At step 64, the set mode is displayed, and at step # 865, the process returns after waiting for the mode switch MOS to be turned off.

【0149】次に、ファンクションキー2の押下により
ファンクションスイッチFUSがONされたときにコー
ルされるFUSルーチン(SUB11)を図54に示し
説明する。このサブルーチンでは、まず専用のAFレン
ズが装着されているか否かをAFレンズ装着フラグLL
1 により判定する(#871)。LLF1 =1でなけ
れば、専用のAFレンズが未装着であり、#875へ移
行して、ファンクションレジスタをFUR=00とし、
ファンクションを不作動とする。#871でLLF1
1であれば、専用AFレンズが装着されており、レンズ
データ入力のサブルーチン(SUB30)を実行し、新
レンズか否かを判定する(#872)。新レンズでなけ
れば#875へ移行してファンクションを不作動とし、
新レンズならば#873でFUR=11か否かを判定す
る。FUR=11であれば#875へ移行し、FUR≠
11であれば#874へ移行してファンクションレジス
タFURの内容に1を加算する。ここで、ファンクショ
ンレジスタFURは4種類のファンクションを選択する
ための2ビットのレジスタであり、FUR=00のとき
にファンクションは不作動、FUR=01のときにAL
M(AEロックモード)、FUR=10のときにRLP
M(レリーズ優先モード)、FUR=11のときにAV
SM(絞り設定モード)がそれぞれ選択される。したが
って、このFUSルーチンがコールされる度に、ファン
クションは不作動→ALM、ALM→RLPM、RLP
M→AVSM、AVSM→不作動と変化する。#876
ではファンクションの設定内容を表示し、#877でフ
ァンクションスイッチFUSがOFFとなるのを待っ
て、リターンする。
Next, the FUS routine (SUB11) called when the function switch FUS is turned on by pressing the function key 2 will be described with reference to FIG. In this subroutine, first, whether or not a dedicated AF lens is mounted is determined by an AF lens mounting flag LL.
Checked by F 1 (# 871). If LLF 1 = 1, the dedicated AF lens is not mounted, and the flow shifts to # 875 to set the function register to FUR = 00,
Disable the function. In # 871, LLF 1 =
If it is 1, the dedicated AF lens is attached, and the lens data input subroutine (SUB30) is executed to determine whether or not the lens is a new lens (# 872). If it is not a new lens, proceed to # 875 to disable the function,
If it is a new lens, it is determined whether or not FUR = 11 in # 873. If FUR = 11, the flow shifts to # 875 and FUR #
If it is 11, the process proceeds to # 874, and 1 is added to the contents of the function register FUR. Here, the function register FUR is a 2-bit register for selecting four types of functions. When FUR = 00, the function does not operate, and when FUR = 01, the function is AL.
M (AE lock mode), RLP when FUR = 10
M (release priority mode), AV when FUR = 11
SM (aperture setting mode) is selected. Therefore, every time this FUS routine is called, the function is disabled → ALM, ALM → RLPM, RLP
M → AVSM, AVSM → non-operation. # 876
Then, the setting contents of the function are displayed, and after the function switch FUS is turned off at # 877, the process returns.

【0150】次に、アップキー/ダウンレバー7の操作
によりコールされるアップ/ダウンルーチン(SUB1
2)を図55、図56に示し説明する。まず、ボディス
テイタスICPBに、ボディが不作動で、レンズデータ
入力を示すデータ01000110を設定し、データポ
インタDPOに13H を設定する(#881,#88
2)。ここで、データポインタがDPO=13H である
ということは、第1アドレスAD1から3バイト分のレ
ンズデータを入力することを意味する。#883〜#8
88では、設定したボディステイタスICPBとデータ
ポインタDPOをレンズに送り、#889〜#894で
はレンズから開放絞り値Avo、最小絞り値Avma
x、絞り値偏差量△Avzの各レンズデータを入力す
る。
Next, an up / down routine (SUB1) called by operating the up key / down lever 7
2) will be described with reference to FIGS. 55 and 56. First, data 0100110 indicating that the body is inoperative and lens data input is set in the body status ICPB, and 13 H is set in the data pointer DPO (# 881, # 88).
2). Here, the fact that the data pointer is DPO = 13 H means that three bytes of lens data are input from the first address AD1. # 883 to # 8
At 88, the set body status ICPB and the data pointer DPO are sent to the lens. At # 889 to # 894, the lens is opened from the lens at an open aperture value Avo and a minimum aperture value Avma.
x, the lens data of the aperture value deviation amount △ Avz are input.

【0151】次に、露出制御モードがMモード(マニュ
アルモード)か否かを判定する(#895)。Mモード
ならば、レンズスイッチがONであるか否かを判定する
(#896)。レンズスイッチがONであれば、AVS
M(絞り設定モード)か否かを判定する(#897)。
#896でレンズスイッチがONでないか、又は#89
7でAVSMでなければ、マニュアルAvスイッチMA
SがONか否かを判定する(#898)。#897でA
VSMであるか、又は#898でマニュアルAvスイッ
チMASがONであれば、絞り値Avを0.5Evアッ
プ又はダウンさせ、レンズからのデータに応じて設定絞
り値Avを制限する(#899,#900)。一方、レ
ンズスイッチがOFFでマニュアルAvスイッチMAS
もOFFであるか、又はレンズスイッチがONであって
もAVSM(絞り設定モード)ではなくてマニュアルA
vスイッチMASもOFFであるときには、シャッター
速度Tvを1Evアップ又はダウンさせる(#90
1)。このシャッター速度Tvも最短と最長のシャッタ
ー速度で制限する(#902)。
Next, it is determined whether or not the exposure control mode is the M mode (manual mode) (# 895). If the mode is the M mode, it is determined whether or not the lens switch is ON (# 896). If the lens switch is ON, AVS
It is determined whether the mode is M (aperture setting mode) (# 897).
If the lens switch is not ON in # 896, or # 89
7 and not AVSM, manual Av switch MA
It is determined whether S is ON (# 898). A in # 897
If it is a VSM or if the manual Av switch MAS is ON in # 898, the aperture value Av is raised or lowered by 0.5 Ev, and the set aperture value Av is limited according to the data from the lens (# 899, # 900). On the other hand, when the lens switch is OFF and the manual Av switch MAS
Is not in the AVSM (aperture setting mode) even if the lens switch is ON or the lens switch is ON.
When the v switch MAS is also OFF, the shutter speed Tv is increased or decreased by 1 Ev (# 90).
1). This shutter speed Tv is also limited by the shortest and longest shutter speeds (# 902).

【0152】#895でMモード(マニュアルモード)
でない場合には、Aモード(絞り優先AEモード)か否
かを判定する(#903)。Aモードならば、絞り値A
vをアップ又はダウンさせる(#899,#900)。
Aモードでなければ、Sモード(シャッター速度優先A
Eモード)か否かを判定する(#904)。Sモードな
らば、シャッター速度Tvをアップ又はダウンさせる
(#901,#902)。Sモードでなければ、Pモー
ド(プログラムモード)ということであり、#905に
移行する。Mモード、Aモード、Sモードの場合にも#
900又は#902から#905に移行して設定値を表
示し、#906でアップスイッチUPS、ダウンスイッ
チDOSがともにOFFならばリターンする。
At # 895, M mode (manual mode)
If not, it is determined whether or not the mode is the A mode (aperture priority AE mode) (# 903). In A mode, aperture value A
v is increased or decreased (# 899, # 900).
If not A mode, S mode (shutter speed priority A
E mode) is determined (# 904). If the mode is the S mode, the shutter speed Tv is increased or decreased (# 901, # 902). If the mode is not the S mode, it means the P mode (program mode), and the flow shifts to # 905. M mode, A mode, S mode #
The process proceeds from # 900 or # 902 to # 905, where the set value is displayed. If the up switch UPS and the down switch DOS are both OFF in # 906, the process returns.

【0153】次に、バリフォーカルレンズ内のマイコン
CPULの動作について説明する。レンズがホディに装
着されて、レンズ用低電圧VLEL の給電が開始され、レ
ンズ内マイコンCPULのリセット端子RELに”Lo
w”レベルのリセット信号が入力されると、図57に示
すリセット動作がなされる。まず、#1001でフラ
グ、レジスタ、ポートをリセットし、#1002で表示
を消去し、#1003でポートP36を”High”レベ
ルとして、ボディからのレンズセレクト信号CSLを入
力できる状態とし、この信号CSLが”Low”レベル
になったときに発生するINT1 割込を受付可能とし、
動作を停止する。これによって、前述のレンズ交信動作
を待つ状態となる。
Next, the operation of the microcomputer CPUL in the vari-focal lens will be described. The lens is mounted on the body, power supply of the lens low voltage V LEL is started, and “Lo” is applied to the reset terminal REL of the microcomputer CPUL in the lens.
When the reset signal at the w ″ level is input, the reset operation shown in FIG. 57 is performed. First, the flag, the register, and the port are reset at # 1001, the display is erased at # 1002, and the port P 36 at # 1003. as "High" level, and ready to enter the lens select signal CSL from the body, and can accept INT 1 interrupt that occurs when this signal CSL becomes "Low" level,
Stop operation. As a result, a state of waiting for the above-described lens communication operation is established.

【0154】次に、レンズの各スイッチLMS,LE
S,TeS,WiSのうち、いずれかがONされたとき
には、割込端子INT0 による割込が発生する。この割
込ルーチンを図58〜図60に示し説明する。まず、レ
ンズスイッチLESがONか否かを判定する(#101
1)。レンズスイッチLESがONならばパワーズーム
か否かを判定する(#1012)。パワーズームであれ
ば、MLM(撮影倍率ロックモード)か否かを判定する
(#1013)。MLMならば、フラグLSF0が1で
あるか否かを判定する(#1014)。このフラグLS
0 はレンズスイッチLESが以前にONであったか否
かを判定するためのフラグである。LSF 0 =1であれ
ば、レンズスイッチLESがONのままということであ
るから、停止ルーチンに移行する。LSF0 =1でなけ
れば、レンズスイッチLESがOFFからONに変化し
たということであるから、LSF0 =1とする(#10
15)。そして、レンズスイッチフラグLSFが1か否
かを判定する(#1016)。このレンズスイッチフラ
グLSFは、LSF=1であればレンズスイッチがセッ
ト状態、LSF=0であればレンズスイッチがリセット
状態であることを示す。#1016でLSF=1でなけ
れば、#1017でLSF=1とし、停止ルーチンに移
行する。これでレンズスイッチはセット状態であると記
憶される。また、#1016でLSF=1ならば、その
モードに既にレンズスイッチLESがOFFからONに
変化してレンズスイッチがセット状態となっているとい
うことであるから、LSF=0、MLF=0とし、ロッ
クした撮影倍率βL の表示を消去して停止ルーチンに移
行する(#1018〜#1020)。これによりレンズ
スイッチはリセット状態であると記憶される。
Next, each switch LMS, LE of the lens
When any of S, TeS, WiS is turned ON
Has an interrupt terminal INT0Interrupt. This percent
58 to 60 will be described. First,
It is determined whether or not the lens switch LES is ON (# 101
1). Power zoom if lens switch LES is ON
It is determined whether or not it is (# 1012). Power zoom
For example, it is determined whether or not MLM (imaging magnification lock mode) is set.
(# 1013). If MLM, flag LSF0Is 1
It is determined whether or not there is (# 1014). This flag LS
F0Is whether the lens switch LES was previously ON
This is a flag for determining whether LSF 0= 1
This means that the lens switch LES remains ON.
Therefore, the process proceeds to a stop routine. LSF0= 1
Then the lens switch LES changes from OFF to ON
LSF0= 1 (# 10
15). Then, whether the lens switch flag LSF is 1 or not
Is determined (# 1016). This lens switch hula
If LSF = 1, the lens switch is set.
The lens switch is reset if LSF = 0
Indicates a state. LSF must be 1 in # 1016
If it is, LSF = 1 is set in # 1017, and the routine proceeds to the stop routine.
Run. This indicates that the lens switch is set.
Remembered. If LSF = 1 in # 1016,
In the mode, the lens switch LES is already ON from OFF
It changes and the lens switch is set
LSF = 0, MLF = 0, and
Shooting magnification βLDisplay and move to the stop routine.
(# 1018 to # 1020). This allows the lens
The switch is stored in the reset state.

【0155】#1013でMLM(撮影倍率ロックモー
ド)でなければ、WIM(ワイドモード)か否かを判定
する(#1025)。WIMでなければ、ALM(AE
ロックモード)か否かを判定する(#1026)。ま
た、#1012でPZOOM(パワーズーム)でないと
きには、マニュアルズームであるから、MLM又はWI
Mかの判定(#1013,#1025)は省略して、A
LM(AEロックモード)か否かを判定する(#102
6)。ALMでなければ、停止ルーチンに移行する。#
1025でWIMと判定され、又は#1026でALM
と判定されたときには、#1027でフラグLSF0
1か否かを判定する。LSF0 =1であればレンズスイ
ッチLESはONのままていうことであるから停止ルー
チンに移行し、LSF0 =1でなければレンズスイッチ
LESはOFFからONに変化したということであるか
ら、#1028でLSF0 =1とし、#1029でレン
ズスイッチフラグLSFを判定する。LSF=1であれ
ば#1031でLSF=0とし、LSF=1でなければ
#1030でLSF=1とする。つまり、レンズスイッ
チLESがONからOFFに変化する度に、レンズスイ
ッチをセット状態とリセット状態に交互に切り換える。
次に、#1032でボディが不作動か否かを判定する。
ボティが不作動ならば、レンズからボディに状態を知ら
せるために、ポートP36,P35を一定時間”Low”レ
ベルとして双方向信号ラインLBLを介してボディ内マ
イコンCPUBの割込端子INTA に起動信号を送り、
その後、ポートP35,P36を”High”レベルに戻し
ておく(#1033〜#1037)。#1032でボデ
ィが不作動でなければ、次の信号の交信で状態が伝達で
きるので停止ルーチンに移行する。
If it is not MLM (photographing magnification lock mode) in # 1013, it is determined whether or not it is WIM (wide mode) (# 1025). If not WIM, ALM (AE
Lock mode) is determined (# 1026). If the zoom is not PZOOM (power zoom) in step # 1012, the zoom is a manual zoom.
The determination of whether it is M (# 1013, # 1025) is omitted, and A
It is determined whether or not LM (AE lock mode) (# 102)
6). If it is not ALM, the process proceeds to a stop routine. #
Determined as WIM in 1025 or ALM in # 1026
When it is determined that, the decision as to whether or not the flag LSF 0 is one in # 1027. If LSF 0 = 1, it means that the lens switch LES remains ON, so that the routine shifts to the stop routine. If LSF 0 = 1, the lens switch LES has changed from OFF to ON, so # 1028 To set LSF 0 = 1, and determine the lens switch flag LSF in # 1029. If LSF = 1, LSF = 0 in # 1031, and if LSF = 1, LSF = 1 in # 1030. That is, each time the lens switch LES changes from ON to OFF, the lens switch is alternately switched between the set state and the reset state.
Next, in # 1032, it is determined whether or not the body is inoperative.
If the body is not operating, the ports P 36 and P 35 are set to “Low” level for a certain period of time to notify the state from the lens to the body to the interrupt terminal INT A of the microcomputer CPUB in the body via the bidirectional signal line LBL. Send a start signal,
Thereafter, the ports P 35 and P 36 are returned to the “High” level (# 1033 to # 1037). If the body is not inoperative in # 1032, the state can be transmitted by the communication of the next signal.

【0156】#1011でレンズスイッチLESがON
でなければ、テレスイッチ又はワイドスイッチがONか
どうかを判別する(#1041,#1042)。いずれ
かがONならばPZOOM(パワーズーム)か否かを判
定する(#1043)。そして、PZOOM(パワーズ
ーム)であれば、#1032に移行して、前述の動作を
行う。テレスイッチTeS及びワイドスイッチWiSの
いずれもがOFFであるか、いずれかがONであっても
PZOOM(パワーズーム)でなければ#1044に移
行して、レンズモードスイッチLMSがONであるか否
かを判定する。レンズモードスイッチLMSがOFFな
らば停止ルーチンに移行する。レンズモードスイッチL
MSがONならば、フラグLSF1 が1であるか否かを
判定する(#1045)。このフラグLSF1 はレンズ
モードスイッチLMSが以前にONであったときにLS
1 =1となり、以前にOFFであったときにLSF1
=0となる。#1045でLSF1 =1であれば、レン
ズモードスイッチLMSはONのままであるということ
であるから、停止ルーチンに移行する。#1045でL
SF1 =0であれば、レンズモードスイッチLMSはO
FFからONに変化したということであるので、#10
46でLSF1 =1とし、#1047でAZP(オート
ズームプログラム)か否かを判定する。AZPでなけれ
ば停止ルーチンへ移行し、AZPならば各フラグLSF
0 ,LSF,MLFを0にリセットし、ロックされた撮
影倍率βL を消去する(#1048〜#1051)。こ
れはMLM(撮影倍率ロックモード)で倍率ロック状態
であるときにAZP(オートズームプログラム)内でモ
ードが切り換わる場合の対策である。
At step # 1011 the lens switch LES is turned on.
If not, it is determined whether the tele switch or the wide switch is ON (# 1041, # 1042). If either of them is ON, it is determined whether or not PZOOM (power zoom) is set (# 1043). If it is a PZOOM (power zoom), the process proceeds to step # 1032 and the above-described operation is performed. Whether both the tele switch TeS and the wide switch WiS are OFF, and if either is ON, if it is not a PZOOM (power zoom), the flow shifts to # 1044 to determine whether or not the lens mode switch LMS is ON. Is determined. If the lens mode switch LMS is OFF, the process proceeds to a stop routine. Lens mode switch L
MS is If ON, the flag LSF 1 determines whether it is 1 (# 1045). LS when the flag LSF 1 is a lens mode switch LMS is ON previously
F 1 = 1, and when it was OFF before, LSF 1
= 0. If LSF 1 = 1 in # 1045, it means that the lens mode switch LMS remains ON, and the process proceeds to the stop routine. L at # 1045
If SF 1 = 0, the lens mode switch LMS is set to O
Since it is changed from FF to ON, # 10
At 46, LSF 1 = 1, and at # 1047, it is determined whether or not AZP (automatic zoom program). If it is not AZP, the process proceeds to the stop routine. If it is AZP, each flag LSF
0 , LSF, and MLF are reset to 0, and the locked photographing magnification β L is deleted (# 1048 to # 1051). This is a countermeasure for a case where the mode is switched within the AZP (auto zoom program) when the magnification is locked in the MLM (photographing magnification lock mode).

【0157】次に、オートズームプログラムレジスタの
内容がAZR=100であるか否かを判定する(#10
52)。ここで、オートズームプログラムレジスタAZ
Rは、AZP(オートズームプログラム)内で4種類の
モードを切り換えるための3ビットのレジスタであり、
AZR=001のときに第1のオートズームプログラム
AZP1 、AZR=010のときに第2のオートズーム
プログラムAZP2 、AZR=011のときに第3のオ
ートズームプログラムAZP3 、AZR=100のとき
にはMLM(撮影倍率ロックモード)がそれぞれ選択さ
れる。#1052でAZR=100(MLM)ならば、
#1054でAZR=001(AZP1)とし、#10
58でレンズモードLMO1 を表示し、停止ルーチンに
移行する。#1052でAZR=100でなければ、#
1053でオートズームプログラムレジスタAZRの内
容を1つ増加させ、#1055でAZR=100となっ
たか否かを判定する。#1055でAZR=100にな
っていれば、レンズスイッチLESは撮影倍率ロック用
のスイッチになるので、レンズスイッチモードLMO2
の表示を消去し、MLM(撮影倍率ロックモード)であ
ることを表示し、停止ルーチンに移行する(#105
6,#1057)。#1055でAZR=100でなけ
れば、#1058でレンズモードLMO1 (AZP1
AZP3 )を表示して、停止ルーチンに移行する。
Next, it is determined whether or not the content of the auto zoom program register is AZR = 100 (# 10)
52). Here, the auto zoom program register AZ
R is a 3-bit register for switching between four types of modes in AZP (auto zoom program).
The first auto-zoom program AZP 1 when AZR = 001, the second auto-zoom program AZP 2 when AZR = 010, and the third auto-zoom program AZP 3 when AZR = 011 and AZR = 100 MLM (photographing magnification lock mode) is selected. If AZR = 100 (MLM) in # 1052,
AZR = 001 (AZP 1 ) in # 1054, and # 10
At 58, the lens mode LMO 1 is displayed, and the routine proceeds to a stop routine. If AZR is not 100 in # 1052, #
At 1053, the content of the auto-zoom program register AZR is increased by one, and at # 1055, it is determined whether or not AZR = 100. If AZR = 100 in # 1055, the lens switch LES is a switch for locking the photographing magnification, so that the lens switch mode LMO 2
Is erased, the fact that MLM (photographing magnification lock mode) is set is displayed, and the routine proceeds to a stop routine (# 105).
6, # 1057). If AZR is not 100 in # 1055, the lens mode LMO 1 (AZP 1-
AZP 3 ) is displayed, and the routine proceeds to a stop routine.

【0158】停止ルーチンでは割込を可とし、レンズス
イッチLESがOFFならばLSF 0 =0とし、レンズ
モードスイッチLMSがOFFならばLSF1 =0と
し、動作を停止する(#1061〜#1065)。
In the stop routine, the interruption is permitted and the lens
LSF if switch LES is OFF 0= 0, lens
LSF if mode switch LMS is OFF1= 0 and
Then, the operation is stopped (# 1061 to # 1065).

【0159】次に、ボディからレンズ内マイコンCPU
Lの割込端子INT1 に”Low”レベルの割込信号が
入力されたときにコールされる割込ルーチンを、図61
〜64に示し説明する。
Next, the microcomputer CPU in the lens from the body
The interrupt routine interrupt signal L interrupt terminal INT 1 "Low" level is called when entered, Figure 61
To 64 and will be described.

【0160】この割込ルーチンでは、まずレンズステイ
タスICPLを設定する(#1071〜#1093)。
初めに、レンズステイタスICPLのビットb7 ,b6
には新レンズなので01を設定する(#1071)。次
に、PZOOM(パワーズーム)か否かを判定する(#
1072)。パワーズームであれば、#1073でレン
ズステイタスICPLのビットb3 ,b2 ,b1 に10
0を設定し、#1075,#1076,#1077でM
LM(撮影倍率ロックモード)又はWIM(ワイドモー
ド)又はALM(AEロックモード)かを判定する。#
1072でパワーズームでなければ、#1074でレン
ズステイタスICPLのビットb3 ,b 2 ,b1 に10
1を設定し、#1077でALM(AEロックモード)
か否かを判定する。#1075,#1076,#107
7のいずれかで、MLM、WIM又はALMであると判
定されたときには、レンズスイッチフラグLSFが1か
否かを判定する(#1078)。ALM(AEロックモ
ード)のときは、一度レンズスイッチLESがOFFか
らONに変化し、次にOFFからONに変化するまでの
間は、レンズスイッチフラグLSFが1となっている。
#1078でレンズスイッチフラグLSFが1ならば、
レンズステイタスICPLのビットb5 ,b 4 に11を
設定する(#1089)。#1078でレンズスイッチ
フラグLSFが0ならば、#1082に移行する。#1
077でALM(AEロックモード)でないときには、
#1079,#1080でRLPM(レリーズ優先モー
ド)又はAVSM(絞り設定モード)かを判定する。R
LPM又はAVSMであれば、レンズスイッチLESが
ONか否かを判定する(#1081)。レンズスイッチ
LESがONであれば、#1089に移行してレンズス
テイタスICPLのビットb5 ,b4 に11を設定す
る。#1079,#1080でRLPM及びAVSMの
いずれでもないとき、又は上記のうちいずれかであって
もレンズスイッチLESがONでないときには、#10
82に移行してPZOOM(パワーズーム)か否かを判
定する。パワーズームであれば、ボディからズーム可の
信号が入力している状態か否かを判定する(#108
3)。#1082でパワーズームでないか、又は#10
83でボディからズーム可の信号が入力していない状態
であれば、レンズステイタスICPLのビットb5 ,b
4 に00を設定する(#1087)。#1082でパワ
ーズームで、且つ#1083でボディからズーム可の信
号が入力している状態であれば、#1084,#108
6でテレスイッチ又はワイドスイッチがONされている
か否かを判定する。#1084でテレスイッチがONな
らばレンズステイタスICPLのビットb5 ,b4 に0
1を設定する(#1085)。#1086でワイドスイ
ッチがONならばレンズスタイタスICPLのビットb
5 ,b4 に10を設定する。#1084,#1086で
テレスイッチもワイドスイッチもONでなければ、#1
087に移行し、レンズステイタスICPLのビットb
5 ,b4 に00を設定する。
In this interrupt routine, first, the lens stay
The task ICPL is set (# 1071 to # 1093).
First, the bit b of the lens status ICPL7, B6
Is set to 01 because it is a new lens (# 1071). Next
Next, it is determined whether or not PZOOM (power zoom) is set (#
1072). For power zoom, use # 1073
Status ICPL bit bThree, BTwo, B1To 10
0 is set, and M is set in # 1075, # 1076, and # 1077.
LM (shooting magnification lock mode) or WIM (wide mode
C) or ALM (AE lock mode). #
If it is not the power zoom in 1072, the lens is
Status ICPL bit bThree, B Two, B1To 10
Set 1 and ALM (AE lock mode) at # 1077
It is determined whether or not. # 1075, # 1076, # 107
7 as MLM, WIM or ALM
When set, whether the lens switch flag LSF is 1
It is determined whether or not it is (# 1078). ALM (AE Rock Mo
Mode), is the lens switch LES turned off once?
From ON to OFF and then from OFF to ON
During the period, the lens switch flag LSF is 1.
If the lens switch flag LSF is 1 in # 1078,
Bit b of the lens status ICPLFive, B FourTo 11
It is set (# 1089). Lens switch at # 1078
If the flag LSF is 0, the flow shifts to # 1082. # 1
If 077 and not ALM (AE lock mode),
RLPM (release priority mode) in # 1079 and # 1080
) Or AVSM (aperture setting mode). R
If it is LPM or AVSM, the lens switch LES
It is determined whether it is ON (# 1081). Lens switch
If LES is ON, proceed to # 1089 to change the lens
Bit b of the Titus ICPLFive, BFourSet to 11
You. RLPM and AVSM at # 1079 and # 1080
If neither, or any of the above
When the lens switch LES is not ON, # 10
82 to determine whether it is PZOOM (power zoom) or not.
Set. With power zoom, you can zoom from the body
It is determined whether or not a signal is being input (# 108).
3). Not power zoom in # 1082 or # 10
No zoom enable signal is input from the body at 83
Then, the bit b of the lens status ICPLFive, B
FourIs set to 00 (# 1087). Power at # 1082
-A signal that allows zooming and zooming from the body at # 1083
If the number is being input, # 1084, # 108
Tele switch or wide switch is turned on at 6.
It is determined whether or not. Teleswitch is ON at # 1084
Lab lens status ICPL bit bFive, BFourTo 0
1 is set (# 1085). Wide switch in # 1086
If the switch is ON, the bit b of the lens status ICPL
Five, BFourIs set to 10. In # 1084, # 1086
If neither the tele switch nor the wide switch is ON, # 1
087, the bit b of the lens status ICPL
Five, BFourIs set to 00.

【0161】#1089,#1087,#1088又は
#1085でレンズステイタスICPLのビットb5
4 を設定した後、#1091でズーム中か否かを判定
する。ズーム中ならばレンズステイタスICPLの最下
位ビットb0 に1を、ズーム中でなければ同ビットb0
に0を設定する(#1092,#1093)。そして、
#1094でレンズステイタスICPLを出力し、ボデ
ィステイタスICPBを読み取る。
In steps # 1089, # 1087, # 1088, or # 1085, bits b 5 ,
After setting the b 4, it determines whether or not the zoom # 1091. 1 to the least significant bit b 0 of the lens status ICPL If during zooming, the bit b 0 if not during zooming
Is set to 0 (# 1092, # 1093). And
At step # 1094, the lens status ICPL is output, and the body status ICPB is read.

【0162】ボディステイタスICPBを読み取ると、
図63、図64のフローに移行し、#1101で新ボデ
ィ(ICPB76=01)か否かを判定する。新ボディで
なければ、旧ボディであるということであり、レンズデ
ータAvo〜f0 を出力し、ポートP34に入力されて来
るレンズセレクト信号CSLが”High”レベルとな
るのを待って、PZOOM(パワーズーム)か否かを判
定し、パワーズームになっていれば、旧ボディではパワ
ーズームができないので、警告表示を行う(#1102
〜#1105)。なお、旧ボディの場合には端子J
12(レンズ用低電圧VLEL ),J13(レンズセレクト信
号CSL),J15(シリアル入力SIN),J16(シリ
アルクロックSCK),J17(グランドラインG1 )の
端子だけが存在する。次にレンズモードLMO1 、レン
ズスイッチモードLMO2 、現在の焦点距離f0 、撮影
距離Dの各表示を消去し、フラグ、レジスタをリセット
し、割込端子INT1 による割込を可として動作を停止
する(#1106〜#1110)。
When the body status ICPB is read,
The flow shifts to the flow of FIGS. 63 and 64, and in # 1101, it is determined whether or not it is a new body (ICPB 76 = 01). If not, a new body, is that they are old body, and outputs the lens data Avo~f 0, lens select signal CSL come is input to the port P 34 is waiting to become a "High" level, PZOOM (Power zoom) is determined, and if the power zoom is set, a warning display is performed because the power zoom cannot be performed with the old body (# 1102).
~ # 1105). Note that the terminal J
There are only terminals 12 (low voltage V LEL for lens), J 13 (lens select signal CSL), J 15 (serial input SIN), J 16 (serial clock SCK), and J 17 (ground line G 1 ). Next, the lens mode LMO 1 , the lens switch mode LMO 2 , the current focal length f 0 , and the shooting distance D are erased, the flag and the register are reset, and the operation with the interrupt terminal INT 1 enabled. It stops (# 1106 to # 1110).

【0163】#1101で新ボディと判定された場合に
は、ボディデータ入力(ICPB2=0)かレンズデー
タ出力(ICPB2 =1)かを判定する(#111
5)。ボディデータ入力ならば#1116へ移行し、レ
ンズデータ出力ならば、図74、図75に示すレンズデ
ータ出力ルーチンに移行する。#1116ではボディが
非作動(ICPB54=00)か否かを判定する。ボディ
が非作動であれば、#1117で次のデータがボディか
ら入力されるのを待ちつつ、#1118でポートP
34が”High”レベルになるのを待つ。そして、ボデ
ィからのデータ入力がないまま、ポートP34が”Hig
h”レベルになれば、ボディ側のパワースイッチPWS
がON(ICPB3 =0)か否かを判定する(#111
9)。パワースイッチPWSがONならばパワーズーム
ルーチン(図65、図66)へ移行し、パワースイッチ
PWSがOFFならば#1120で表示を消去して停止
ルーチンに移行する。
When the body is determined to be a new body in # 1101,
Is the body data input (ICPBTwo= 0) or lens day
Data output (ICPBTwo= 1) (# 111)
5). If body data is input, proceed to # 1116,
Lens data output, the lens data shown in FIGS.
Move to data output routine. In # 1116, the body
Non-operation (ICPB54= 00) is determined. body
Is not activated, the next data is the body in # 1117
While waiting for an input from port P at # 1118
34Waits until the level becomes “High” level. And bode
Port P without any data input from34Is "Hig
h ”level, the body-side power switch PWS
Is ON (ICPBThree= 0) or not (# 111)
9). Power zoom if power switch PWS is ON
Move to the routine (Fig. 65, Fig. 66)
If PWS is OFF, delete the display at # 1120 and stop
Move to routine.

【0164】図65、図66に示すパワーズームルーチ
ンでは、INT1 の割込を可とし、PZOOM(パワー
ズーム)か否かを判定する(#1151,#115
2)。パワーズームであれば、ボディからズーム可の信
号が入力している状態(ICPB 1 =1)か否かを判定
する(#1153)。#1152でパワーズームでない
か、#1153でボディからズーム可の信号が入力して
いない状態であると判定されたときには、#1178に
移行し、現在の焦点距離f0 を表示してリターンする。
#1152,#1153でパワーズームであり、ボディ
からズーム可の信号が入力している状態であると判定さ
れたときには、撮影準備スイッチS1 がONされている
か否かを判定する(#1154)。撮影準備スイッチS
1 がONであれば、AZP(オートズームプログラム)
か否かを判定する(#1155)。AZPであれば、#
1178に移行し、現在の焦点距離f0 を表示してリタ
ーンする。撮影準備スイッチS1 がOFFであれば、#
1155をスキップして#1156に移行する。また、
撮影準備スイッチS1 がONであってもAZPでなけれ
ば、#1156に移行する。#1156,#1158で
はテレスイッチ又はワイドスイッチがONであるかを判
定する。#1156,#1158でテレスイッチ及びワ
イドスイッチが共にONでない場合には、#1178に
移行する。#1156でテレスイッチがONであれば、
#1157で現在の焦点距離f0 がテレ端の焦点距離f
T に達したかを判定し、#1158でワイドスイッチが
ONであれば、#1159で現在の焦点距離f0 がワイ
ド端の焦点距離fW に達したかを判定する。#1157
又は#1159でf0 =fT 又はf0 =fW であると判
定されたときには、#1178に移行する。#1157
でf0 ≠fT と判定されるか、又は#1159でf0
W と判定されたときには、#1160でタイマーをス
タートさせる。#1161,#1162ではタイマーが
タイムアップとなるまでの間、レンズ用の高電圧VLEH
の給電開始(P39=”High”)を待つ。#1162
でタイマーがタイムアップとなれば、#1178に移行
する。タイマーがタイムアップとなる前に、#1161
でレンズ用の高電圧VLEH が給電されれば、フラグLS
F,MFL,WIFを0にリセットし、ロックされた撮
影倍率β L を消去し、ワイドモード警告をOFFとする
(#1163〜#1167)。そして、#1179で現
在の焦点距離f0 をレジスタf0 ’に退避させてから、
#1168でテレスイッチがONか否かを判定する。テ
レスイッチがONであればズームモータMO3 をテレ端
の焦点距離fT に向けて駆動し、テレスイッチがONで
なければズームモータMO3 をワイド端の焦点距離fW
に向けて駆動する(#1169,#1173)。テレ方
向のズーミング(#1169)を開始したときには、テ
レスイッチがONで、現在の焦点距離f0 がテレ端の焦
点距離fT に達せず、且つレンズ用高電圧VLEH が給電
されている(P39=”High”)という3つの条件が
満たされている限り、#1170〜#1172のループ
を巡回し、上記3つの条件のうち1つが満たされなくな
れば、#1177でズームモータMO3 を停止させ、#
1178で現在の焦点距離f0 を表示してリターンす
る。同様に、ワイド方向のズーミング(#1173)を
開始したときには、ワイドスイッチがONで、現在の焦
点距離f0 がワイド端の焦点距離fW に達せず、且つレ
ンズ用高電圧VLEH が給電されている(P39=”Hig
h”)という3つの条件が満たされている限り、#11
74〜#1176のループを巡回し、上記3つの条件の
うち1つが満たされなくなれば、#1177でズームモ
ータMO3 を停止させ、#1178で現在の焦点距離f
0 を表示してリターンする。
Power zoom routine shown in FIGS. 65 and 66
In, INT1Can be interrupted, and PZOOM (power
(# 1151, # 115)
2). If it is a power zoom, the zoom
State (ICPB) 1= 1)
(# 1153). No power zoom at # 1152
Or, in # 1153, a zoom enable signal is input from the body
If it is determined that there is no state,
Shift to the current focal length f0Is displayed and returns.
Power zoom in # 1152, # 1153, body
Is determined to be in a state where a zoom enable signal is being input from
When the shooting preparation switch S1Is turned on
It is determined whether or not (# 1154). Shooting preparation switch S
1If is ON, AZP (Auto Zoom Program)
It is determined whether or not it is (# 1155). If it is AZP, #
1178, the current focal length f0Display and Rita
To Shooting preparation switch S1If is OFF, #
It skips 1155 and moves to # 1156. Also,
Shooting preparation switch S1Must be AZP even if is ON
For example, the process proceeds to # 1156. In # 1156, # 1158
Determines whether the tele switch or wide switch is ON.
Set. # 1156, Teleswitch and W
If both id switches are not ON, go to # 1178
Transition. If the tele switch is ON at # 1156,
In # 1157, the current focal length f0Is the focal length f at the telephoto end
TIt is determined whether or not the wide switch has been reached at # 1158.
If ON, the current focal length f in # 11590But
Focal length fWIs reached. # 1157
Or # 1159 for f0= FTOr f0= FWIt is determined that
When it is determined, the process proceeds to # 1178. # 1157
And f0≠ fTIs determined, or f in # 11590
fWWhen it is determined that the timer has been set, the timer is started in # 1160.
Let me start. In # 1161 and # 1162, the timer
Until the time is up, the high voltage V for the lensLEH
Power supply start (P39= “High”). # 1162
If the timer times out, go to # 1178
I do. # 1161 before the timer expires
High voltage V for lensLEHIs supplied, the flag LS
Reset F, MFL, WIF to 0 and lock
Shadow magnification β LAnd turn off wide mode warning
(# 1163 to # 1167). And at # 1179
Current focal length f0To register f0
In # 1168, it is determined whether the tele switch is ON. Te
If the re-switch is ON, the zoom motor MOThreeThe tele end
Focal length fTDrive toward and the tele switch is ON
If there is no zoom motor MOThreeIs the focal length f of the wide endW
(# 1169, # 1173). Telephone
Direction zooming (# 1169) is started.
When the switch is ON, the current focal length f0Is the end of the tele
Point distance fTNot reached and high voltage V for lensLEHIs powered
(P39= ”High”)
As long as it is satisfied, the loop from # 1170 to # 1172
And one of the above three conditions is not satisfied.
Then, at # 1177 zoom motor MOThreeStop the #
The current focal length f at 11780Display and return
You. Similarly, zooming in the wide direction (# 1173)
When started, the wide switch is turned on and the current focus
Point distance f0Is the focal length f at the wide endWNot reach
High voltage VLEHIs powered (P39= "Hig
h ”) as long as the three conditions are satisfied, # 11
Looping through the loop from 74 to # 1176, the above three conditions
If one of them is not satisfied, zoom
Data MOThreeIs stopped, and the current focal length f is set at # 1178.
0Is displayed and returns.

【0165】図63のフローに戻って、#1117でボ
ディからのデータ入力があったときには、モードバッフ
ァMOBを読み取り、ポートP34が”High”レベル
となるのを待つ(#1123,#1124)。そして、
EXZM(露光間ズーム)か否かを判定する(#112
5)。EXZMでなければ、PZOOM(パワーズー
ム)か否かを判定する(#1126)。#1125でE
XZMであると判定されたとき、又は#1126でパワ
ーズームでないと判定されたときには、#1128でレ
ンズモードLMO1 の表示を消去し、#1129に移行
する。#1125,#1126でEXZMでなくパワー
ズームであると判定されたときには、#1127でレン
ズモードLMO1 の表示を行い、#1129に移行す
る。
[0165] Returning to the flow of FIG. 63, when there is data input from the body in # 1117, reads the mode buffer MOB, port P 34 waits for the "High" level (# 1123, # 1124) . And
It is determined whether or not it is EXZM (zoom during exposure) (# 112)
5). If it is not EXZM, it is determined whether or not it is PZOOM (power zoom) (# 1126). E at # 1125
When it is determined that the XZM, or when it is determined that it is not power zoom in # 1126, and erases the display of the lens mode LMO 1 in # 1128, the process proceeds to # 1129. # 1125, when it is determined that the power zoom not EXZM in # 1126, performs display of the lens mode LMO 1 in # 1127, the process proceeds to # 1129.

【0166】#1129ではPZOOM(パワーズー
ム)か否かを判定する。パワーズームでなければ、#1
130,#1131でMLM(撮影倍率ロックモード)
又はWIM(ワイドモード)かを判定する。MLM又は
WIMであれば、レンズスイッチLESが倍率ロック又
はワイドズーム及びその解除用のスイッチとなり、レン
ズスイッチモードLMO2 の表示が無意味となるので、
その表示を消去する(#1132)。#1130,#1
131でMLMでWIMでもないと判定されるか、#1
129でパワーズームであると判定されたときには、レ
ンズスイッチモードLMO2 の表示を行う(#113
3)。#1132又は#1133から#1134に移行
し、現在の焦点距離f0 を表示する。そして、システム
リセットならばレンズ位置が∞であることを表示し、停
止ルーチンに移行する(#1135,#1136)。な
お、パワースイッチPWSがOFFならば、これらの表
示も消去させることが望ましい。
In # 1129, it is determined whether or not the zoom mode is PZOOM (power zoom). # 1 if not power zoom
MLM at 130, # 1131 (shooting magnification lock mode)
Or WIM (wide mode) is determined. In the case of MLM or WIM, the lens switch LES serves as a switch for magnification lock or wide zoom and release thereof, and the display of the lens switch mode LMO 2 becomes meaningless.
The display is deleted (# 1132). # 1130, # 1
In 131, it is determined that the MLM is not a WIM, or # 1
If it is determined in 129 that the power zoom is set, the lens switch mode LMO 2 is displayed (# 113).
3). The flow shifts from # 1132 or # 1133 to # 1134 to display the current focal length f 0 . If the system is reset, it is displayed that the lens position is ∞, and the process proceeds to a stop routine (# 1135, # 1136). If the power switch PWS is OFF, it is desirable that these displays are also erased.

【0167】一方、#1116でボディが作動中(IC
PB54≠00)ならば、システムリセット(ICPB54
=11)か否かを判定する(#1121)。ボディがシ
ステムリセットでなければ、AFルーチンに移行し、シ
ステムリセットであれば、ボディからのデータ入力があ
るか、又はポートP34が”High”レベルとなるのを
待つ(#1122,#1141)。ボディからのデータ
入力があればシステムリセットキーによる動作であり、
#1123に移行する。一方、ポートP34が”Hig
h”レベルになれば、パワースイッチPWSがOFFの
ときにレンズが装着された場合であり、INT1 の割込
を可とした後に、全長が最も短くなる焦点距離fS まで
レンズを移動させる(#1142〜#1148)。具体
的には、現在の焦点距離f0 が全長の最も短くなる焦点
距離fS となっているか否かを判定し、f0 =fS であ
れば#1134に移行し、f0 ≠fS であれば#114
4に移行して、レンズ用高電圧VLEH の給電(P39=”
High”)を待つ。そして、レンズ用高電圧VLEH
給電されれば、現在の焦点距離f0 をレジスタf0 ’に
退避させて、ズームモータMO3 を焦点距離fS に向け
て駆動させる(#1145,#1146)。そして、現
在の焦点距離f0 が全長の最も短くなる焦点距離fS
達すれば、ズームモータMO3 を停止させて、#113
4に移行する(#1147,#1148)。
On the other hand, the body is operating at # 1116 (IC
If PB 54 ≠ 00), system reset (ICPB 54
= 11) is determined (# 1121). If the body is a system reset, the process proceeds to AF routine, if the system reset, if there is data input from the body, or the port P 34 waits for the "High" level (# 1122, # 1141) . If there is data input from the body, it is an operation by the system reset key,
The process moves to # 1123. On the other hand, the port P 34 is “Hig
if the h "level, the power switch PWS is when the lens is mounted when OFF, the after the variable interrupts INT 1, to move the lens to the focal length f S total length is shortest ( # 1142 to # 1148) Specifically, it is determined whether or not the current focal length f 0 is the shortest focal length f S of the entire length, and if f 0 = f S , the process proceeds to # 1134. And if f 0 ≠ f S , # 114
4 and feed the high voltage V LEH for the lens (P 39 = "
When the lens high voltage V LEH is supplied, the current focal length f 0 is retracted to the register f 0 ′, and the zoom motor MO 3 is driven toward the focal length f S. (# 1145, # 1146) When the current focal length f 0 reaches the focal length f S at which the overall length becomes the shortest, the zoom motor MO 3 is stopped, and # 113 is reached.
4 (# 1147, # 1148).

【0168】#1121でボディがシステムリセット
(ICPB54=11)でなければ、図67に示すAFル
ーチンに移行し、#1181でAF中(ICPB0
1)か否かを判定する。AF中であれば、#1182,
#1183でボディからのデータ入力があるが、又はポ
ートP34が”High”レベルになるのを待つ。#11
83でポートP34が”High”レベルとなれば、PZ
OOM(パワーズーム)で且つAZP(オートズームプ
ログラム)かを判定する(#1184,#1185)。
#1184でパワーズームでないと判定されるか、#1
185でAZPでないと判定されたときには、#118
8で割り込みを可として停止ルーチンに移行する。#1
184,#1185でパワーズームで且つAZPと判定
されたときには、#1186で割込端子INT1 による
割込を可とし、AZPルーチンに移行する。
If the body is not system reset (ICPB 54 = 11) in # 1121, the flow shifts to the AF routine shown in FIG. 67, and in # 1181, AF is being performed (ICPB 0 =
1) It is determined whether or not. If AF is in progress, # 1182
# Have data input from the body in 1183, but or port P 34 waits to become "High" level. # 11
If the port P 34 becomes “High” level at 83, PZ
It is determined whether it is OOM (power zoom) and AZP (auto zoom program) (# 1184, # 1185).
If it is determined in step # 1184 that the zoom is not the power zoom,
If it is determined in 185 that it is not AZP, # 118
In step 8, the interrupt is enabled and the process proceeds to the stop routine. # 1
184, when it is and determined AZP with power zoom # 1185, and allowed the interruption by the interruption terminal INT 1 at # 1186, the process proceeds to AZP routine.

【0169】一方、#1182でボデイからのデータ入
力があれば、撮影距離Dを入力し、ポートP34が”Hi
gh”レベルとなるのを待つ(#1191,#119
2)。そして、PZOOM(パワーズーム)か否かを判
定する(#1193)。パワーズームであれば、AZP
1 〜AZP3 か否かを判定する(#1194)。AZP
1 〜AZP3 のいずれかであれば、図81に示す第1の
オートズームプログラム(AZP1 )、図82に示す第
2のオートズームプログラム(AZP2 )、又は図83
に示す第3のオートズームプログラム(AZP3 )の各
演算を行い、撮影距離Dから撮影倍率β、焦点距離
A 、オフセット量NL を演算する(#1195)。#
1194でAZP1 〜AZP3 でなければ、MLM(撮
影倍率ロックモード)か否かを判定する(#119
7)。MLMならば、レンズスイッチフラグLSFが1
か否かを判定する(#1198)。#1197でMLM
でないか、MLMであっても#1198でレンズスイッ
チフラグLSFが1でないか、又は#1193でパワー
ズームでないときには、#1194で割込を可として停
止ルーチンに移行する。#1197,#1198でML
M(撮影倍率ロックモード)で且つレンズスイッチフラ
グLSFが1であると判定されたときには、MLF=1
(ロック倍率βL の記憶完)か否かを判定する(#11
99)。MLF≠1でロック倍率βL の記憶未完なら
ば、撮影距離Dと現在の焦点距離f0 からロック倍率β
L を演算記憶し、ロック倍率βL を表示し、MLF=1
とする(#1201〜#1203)。また、#1199
でMLF=1ならば、ロック倍率βL と撮影距離Dとか
ら焦点距離fA とオフセット量NL を演算する(#12
00)。
On the other hand, in step # 1182, data is input from the body.
If you have the power, enter the shooting distance D and34Is "Hi
gh ”level (# 1191, # 119
2). Then, it is determined whether or not it is PZOOM (power zoom).
(# 1193). AZP for power zoom
1~ AZPThreeIt is determined whether or not (# 1194). AZP
1~ AZPThreeIf it is any of the first, the first shown in FIG.
Auto zoom program (AZP1), Shown in FIG.
2 auto zoom program (AZPTwo) Or FIG.
The third auto-zoom program (AZPThreeEach)
Calculate the magnification from the shooting distance D and the focal length
fA, Offset amount NLIs calculated (# 1195). #
AZP at 11941~ AZPThreeOtherwise, MLM
It is determined whether the mode is the shadow magnification lock mode (# 119).
7). If it is MLM, the lens switch flag LSF is 1
It is determined whether or not it is (# 1198). MLM at # 1197
Or, even if it is MLM, lens switch at # 1198
Is not 1 or the power is at # 1193
If not zooming, stop at # 1194, allowing interrupts.
Move to stop routine. ML at # 1197, # 1198
M (Shooting magnification lock mode) and lens switch
When it is determined that the LSF is 1, MLF = 1
(Lock magnification βLIs determined (# 11 is complete) (# 11)
99). Lock magnification β with MLF ≠ 1LIf the memory is not complete
For example, shooting distance D and current focal length f0To lock magnification β
LIs calculated and stored, and the lock magnification βLIs displayed, and MLF = 1
(# 1201 to # 1203). Also, # 1199
If MLF = 1, the lock magnification βLAnd shooting distance D
Focal length fAAnd offset amount NL(# 12)
00).

【0170】次に、#1181でAF中でなければ、図
68に示す#1211に移行し、WIM(ワイドモー
ド)か否かを判定する。#1211でWIMならばワイ
ドルーチンに移行し、割込端子INT1 による割込を可
とし、PZOOM(パワーズーム)か否かを判定する
(#1212,#1213)。パワーズームでなければ
#1225に移行し、パワーズームであればレンズスイ
ッチフラグLSFが1であるか否かを判定する(#12
14)。LSF=1であればワイドフラグWIFが1で
あるか否かを判定する(#1215)。WIF=1でな
ければ、現在の焦点距離f0 がワイド端の焦点距離fW
であるか否かを判定する(#1216)。f 0 =fW
あれば#1225に移行し、f0 ≠fW であればワイド
端までズームさせる。まず、#1217でタイマーをス
タートさせ、#1218,#1219でタイマーがタイ
ムアップするまでの間、レンズ用高電圧VLEH の給電
(P39=”High”)を待つ。#1219でタイマー
がタイムアップとなれば、#1225に移行する。#1
218でレンズ用高電圧VLEH の給電(P39=”Hig
h”)が判定されれば、現在の焦点距離f0 をレジスタ
0 ’に退避させて、ズームモータMO3 をワイド端の
焦点距離fW に向けて駆動する(#1220,#122
1)。そして、f0 =fW となるか、又はレンズ用高電
圧VLEH の給電が停止(P39=”Low”)するまで、
#1222,#1223のループを巡回し、ワイド端へ
のズーミングを続ける。#1223でレンズ用高電圧V
LEH の給電が停止(P39=”Low”)すると、ズーム
モータMO3を停止させる(#1224)。そして、レ
ンズスイッチフラグLSFとワイドフラグWIFをリセ
ットする(#1225,#1226)。さらに、現在の
焦点距離f0 を表示し、割込を可として停止ルーチンに
移行する(#1246,#1247)。
Next, if AF is not being performed in # 1181, FIG.
The process proceeds to step # 1211 shown in FIG.
C) is determined. If WIM at # 1211
To the interrupt routine INT1Can be interrupted by
And determines whether or not it is PZOOM (power zoom).
(# 1212, # 1213). If not power zoom
Shift to # 1225, if power zoom
Switch flag LSF is 1 (# 12).
14). If LSF = 1, the wide flag WIF is 1
It is determined whether or not there is (# 1215). WIF = 1
If present, the current focal length f0Is the focal length f at the wide endW
Is determined (# 1216). f 0= FWso
If there is, shift to # 1225, f0≠ fWIf wide
Zoom to the edge. First, the timer is started in # 1217.
And the timer is tied at # 1218 and # 1219.
The lens high voltage VLEHPower supply
(P39= “High”). Timer at # 1219
When the time is up, the process proceeds to # 1225. # 1
High voltage V for lens at 218LEHPower supply (P39= "Hig
h ”) is determined, the current focal length f0The register
f0’To the zoom motor MOThreeThe wide end
Focal length fW(# 1220, # 122)
1). And f0= FWOr high voltage for lens
Pressure VLEHPower supply stops (P39= ”Low”)
Loop around the loop of # 1222, # 1223, and go to the wide end
Continue zooming. High voltage V for lens at # 1223
LEHPower supply stops (P39= “Low”), zoom
The motor MO3 is stopped (# 1224). And les
Reset switch flag LSF and wide flag WIF
(# 1225, # 1226). In addition, the current
Focal length f0Is displayed and interrupts are permitted and the stop routine
The process proceeds (# 1246, # 1247).

【0171】一方、#1222でf0 =fW と判定され
れば、ワイド端に達したことになるので、ズームモータ
MO3 を停止させ、ワイドフラグWIFを1とし、ワイ
ドモード警告を行い、#1246に移行する(#122
7〜#1229)。ワイドモードの警告は、ワイド端に
なっている間は行われる。
On the other hand, if it is determined in step # 1222 that f 0 = f W , it means that the wide end has been reached. Therefore, the zoom motor MO 3 is stopped, the wide flag WIF is set to 1, and a wide mode warning is issued. Shift to # 1246 (# 122
7 to # 1229). The warning in the wide mode is issued while the camera is at the wide end.

【0172】一方、#1214でLSF=1でなけれ
ば、ワイドフラグWIFが0か否かを判定する(#12
30)。WIF=0であれば、何もせずに#1246に
移行する。#1230でワイドフラグWIF=0でなけ
れば、元の焦点距離(fM として記憶されている)に戻
す。まず、レンズ用の高電圧VLEH の給電(P39=”H
igh”)を待って、レジスタf0 ’に退避されている
焦点距離を元の焦点距離fM として記憶し、現在の焦点
距離f0 をレジスタf0 ’に退避させてズームモータM
3 を元の焦点距離fM に向けて駆動させる(#123
1〜#1233)。そして、現在の焦点距離f0 が元の
焦点距離fM に復帰するか、又はレンズ用高電圧VLEH
の給電が停止(P39=”Low”)するまで、#123
4,#1235のループを巡回する。#1235でレン
ズ用高電圧VLEH の給電停止(P39=”Low”)が判
定されると、#1236でズームモータMO3 を停止さ
せ、#1225に移行する。また、#1234でf0
M となったことが判定されると、ズームモータMO3
を停止させ、ワイドフラグWIFを0にリセットし、ワ
イドモードの警告を解除し、#1246に移行する(#
1237〜#1239)。
On the other hand, if LSF is not 1 in # 1214, it is determined whether or not the wide flag WIF is 0 (# 1214).
30). If WIF = 0, the process moves to # 1246 without doing anything. If the wide flag WIF is not 0 at # 1230, the original focal length (stored as f M ) is restored. First, supply of the high voltage V LEH for the lens (P 39 = “H
igh ”), the focal length saved in the register f 0 ′ is stored as the original focal length f M , the current focal length f 0 is saved in the register f 0 ′, and the zoom motor M
O 3 is driven toward the original focal length f M (# 123
1 to # 1233). Then, the current focal length f 0 returns to the original focal length f M or the lens high voltage V LEH
# 123 until the power supply to the power supply stops (P 39 = “Low”)
4, loop # 1235. If it is determined in step # 1235 that power supply to the lens high voltage V LEH is to be stopped (P 39 = “Low”), the zoom motor MO 3 is stopped in step # 1236, and the process proceeds to step # 1225. Also, in step # 1234, f 0 =
f M , the zoom motor MO 3
Is stopped, the wide flag WIF is reset to 0, the warning of the wide mode is released, and the process proceeds to # 1246 (#
1237 to # 1239).

【0173】次に、#1211でWIMでなければ、図
71に示すD入力ルーチンに移行する。このルーチンで
は、まずEXZM(露光間ズーム)のサブルーチン(S
UB40)を実行する。そして、ボディからのデータ入
力があるか、又はポートP34が”High”レベルとな
るまで、#1241,#1242のループを巡回する。
#1241でボディからのデータ入力があれば、撮影距
離Dのデータを入力し、ポートP34が”High”レベ
ルとなるのを待って、撮影距離Dを表示して、#124
6に移行する(#1243〜#1245)。また、ボデ
ィからのデータ入力がないままた#1242でポートP
34が”High”レベルとなれば、そのまま#1246
に移行する。
Next, if it is not WIM in # 1211, the flow shifts to the D input routine shown in FIG. In this routine, first, an EXZM (zoom during exposure) subroutine (S
UB40). Then, whether there is data input from the body, or the port P 34 until the "High" level, # 1241, and circulated around the loop of # 1242.
If there is data input from the body in # 1241, and inputs the data of the object distance D, the port P 34 is waiting for the "High" level, display the photographing distance D, # 124
No. 6 (# 1243 to # 1245). Also, the port P is set at # 1242 while there is no data input from the body.
If 34 becomes the "High" level, # 1246 is left as it is.
Move to

【0174】次に、EXZM(露光間ズーム)のサブル
ーチンを図72、図73に示し説明する。このサブルー
チンでは、まず露出中か否かを判定する(#126
1)。露出中ならば、PZOOM(パワーズーム)か否
かを判定する(#1262)。#1261で露出中でな
いか、又は#1262でパワーズームでない場合には、
割込を可とし、現在の焦点距離f0 を表示して、停止ル
ーチンに移行する(#1263,#1264)。#12
61で露出中と判定され、且つ#1262でパワーズー
ムであると判定されれば、現在の焦点距離f0 がワイド
端の焦点距離fW であるか否かを判定する(#126
5)。f0 =fW であれば#1278に移行し、f0
W であればレンズ用高電圧VLEH の給電(P39=”H
igh”)を待って、ズームモータMO3 をワイド端の
焦点距離fW に移行させる(#1266,#126
7)。そして、現在の焦点距離f0 がワイド端の焦点距
離fW に達するか、レンズ用高電圧VLEH の給電停止
(P39=”Low”)が判定されるか、又はボディから
双方向信号ラインLBLを介してポートP34に入力され
るレンズセレクト信号CSLが”Low”レベルになる
までは、#1268,#1269,#1270のループ
を巡回する。#1268でf0 =fW となれば、ワイド
端に達したということになるので、#1277でズーム
モータMO3 を停止させて、#1278に移行する。ま
た、#1269でレンズ用高電圧VLEH の給電停止(P
39=”Low”)がなされると、ズームモータMO3
停止させ、現在の焦点距離f0 を表示し、割込を可とし
て動作を終了する(#1274〜1276)。一方、#
1270でボディからのレンズセレクト信号CSLが”
Low”レベル(P34=”Low”)となれば、ボディ
からステイタス交信を要求されているということである
から、レンズステイタスの最下位ビットをb0 =1(ズ
ーム中)とし、レンズステイタスICPLを出力する
(#1271,#1272)。そして、#1273でポ
ートP34か”High”レベルに戻るのを待って、#1
268〜#1270のループを再び巡回する。
Next, a subroutine of EXZM (zoom during exposure) will be described with reference to FIGS. 72 and 73. In this subroutine, it is first determined whether or not exposure is being performed (# 126).
1). If the exposure is being performed, it is determined whether or not PZOOM (power zoom) is set (# 1262). If it is not being exposed in # 1261, or if it is not power zoom in # 1262,
The interruption is permitted, the current focal length f 0 is displayed, and the process proceeds to the stop routine (# 1263, # 1264). # 12
Is determined that the exposure at 61, and if it is judged that the power zoom in # 1262, determines whether the current focal length f 0 is the focal length f W of the wide end (# 126
5). If f 0 = f W , the process proceeds to # 1278, where f 0
f W is long if lens high voltage V LEH feed for (P 39 = "H
IgH ") awaiting shifts the zoom motor MO 3 the focal length f W of the wide end (# 1266, # 126
7). Then, it is determined whether the current focal length f 0 reaches the focal length f W at the wide end, the power supply stop (P 39 = “Low”) of the lens high voltage V LEH is determined, or the bidirectional signal line is transmitted from the body. to the lens select signal CSL is inputted to the port P 34 through LBL becomes "Low" level, # 1268, # 1269, and circulated around the loop of # 1270. Once in # 1268 and f 0 = f W, it means that reaching the wide end, stops the zoom motor MO 3 in # 1277, the process proceeds to # 1278. In step # 1269, the power supply to the high voltage V LEH for the lens is stopped (P
When 39 = “Low”), the zoom motor MO 3 is stopped, the current focal length f 0 is displayed, the interrupt is permitted, and the operation is terminated (# 1274-1276). on the other hand,#
At 1270, the lens select signal CSL from the body becomes "
If the Low "level (P 34 =" Low "), and since it is that has been requested the status communication from the body, the least significant bit of the lens status b 0 = 1 and (during zooming), the lens status ICPL and outputs the (# 1271, # 1272). Then, waiting to return to port P 34 or "High" level in # 1273, # 1
The loop from 268 to # 1270 is circulated again.

【0175】#1265又は#1268でf0 =fW
なり、#1278に移行すると、ボディから双方向信号
ラインLBLを介してポートP34に入力されるレンズセ
レクト信号CSLが”Low”レベルとなるのを待つ。
#1278でポートP34が”Low”レベルとなれば、
ボディからステイタス交信を要求されているということ
であるから、レンズステイタスICPLの最下位ビット
をb0 =0(ズーム停止)とし、レンズステイタスIC
PLを出力する(#1279,#1280)。そして、
#1281でポートP34が”High”レベルに戻るの
を待ち、フィルムへの露光が開始されて、#1282で
レンズ用高電圧VLEH の給電が一旦停止され(P39=”
Low”)、#1283で再度給電(P39=”Hig
h”)されるのを待って、#1284でズームモータM
3 をテレ端の焦点距離fT に向けてズーミングさせ
る。現在の焦点距離f0 がテレ端の焦点距離fT に達す
るか、又はレンズ用高電圧VLEH の給電停止(P39=”
Low”)が判定されるまでは、#1285,#128
6のループを巡回する。#1285でf0 =fT となる
か、又は#1286でレンズ用高電圧VLEH の給電停止
(P39=”Low”)が判定されれば、ズームモータM
3 を停止させ、割込を可とし、現在の焦点距離f0
表示して停止ルーチンに移行する(#1287〜#12
89)。
[0175] # 1265 or # 1268 at f 0 = f W, and the shifting to # 1278, the lens select signal CSL is inputted to the port P 34 via a bidirectional signal line LBL from the body becomes "Low" level Wait for
If the port P 34 goes to “Low” level in # 1278,
Since the status communication is requested from the body, the least significant bit of the lens status ICPL is set to b 0 = 0 (zoom stop), and the lens status IC
The PL is output (# 1279, # 1280). And
# Wait for port P 34 is "High" to return to the level in 1281, by exposure of the film is started, the feeding of the lens high voltage V LEH for is temporarily stopped at # 1282 (P 39 = "
Low "), power is supplied again at # 1283 (P 39 =" Hig "
h ″), the zoom motor M is started at # 1284.
The O 3 towards: focal length f T of the telephoto end is zooming. Either the current focal length f 0 reaches the telephoto end focal length f T , or the power supply of the high voltage V LEH for the lens is stopped (P 39 = "
Until “Low”) is determined, # 1285, # 128
Loop 6 If f 0 = f T at # 1285, or if it is determined at # 1286 that power supply to the lens high voltage V LEH is stopped (P 39 = “Low”), the zoom motor M
The O 3 is stopped, an interrupt and allowed, the process proceeds to stop routine displays the current focal length f 0 (# 1287~ # 12
89).

【0176】なお、バリフォーカルズームレンズの場合
にはズーミングで撮影距離が変化するため、EXZM
(露光間ズーム)を禁止しているが、芯になる像が合焦
していればそれほど大きな問題にはならないと考えら
れ、さらにズーミングを行っていくことで、像がボケて
却って特殊効果が狙えるという利点もある。そこで、こ
の場合には、次のようにプログラムを変更する。すなわ
ち、バリフォーカルズームレンズかそうでないズームか
に拘わらず、まず、オフセットルーチン(SUB13)
を実行する前に、EXZM(露光間ズーム)であればワ
イド端までレンズをズーミングさせるようにして、その
後、AE演算とAFを行わせて、芯になる像にワイド端
で合焦させる。そして、図37、図38に示す露出制御
ルーチンでは、#534〜#548(ワイド端へのズー
ム)を省略し、#558ではタイプIのレンズか否かを
判定し、タイプIのレンズならば#566へ、そうでな
ければ#559に移行させ、以後は同様の動作とする。
レンズ側においても図72、図73に示すEXZMルー
チンにおける#1265〜#1282(ワイド端へのズ
ーム)を省略して、露出中でEXZM(露光間ズーム)
ならば#1283からの動作を行うようにする。また、
実施例ではタイプIIIのレンズでEXZM(露光間ズ
ーム)のときには、EXZMの表示を消去するようにな
っている(図64の#1125,#1128と図74の
#1312,#1315参照)が、この動作も不要とな
る。
In the case of a varifocal zoom lens, since the photographing distance changes due to zooming, the EXZM
(Zoom during exposure) is prohibited, but if the core image is in focus, it will not be a big problem. By further zooming, the image will be blurred and the special effect will be lost. There is also the advantage of being able to aim. Therefore, in this case, the program is changed as follows. That is, regardless of whether the zoom lens is a vari-focal zoom lens or a non-varifocal zoom lens, first, an offset routine (SUB13)
Before executing the above, if the lens is EXZM (zoom during exposure), the lens is zoomed to the wide end, and then AE calculation and AF are performed to focus on the image to be the core at the wide end. In the exposure control routine shown in FIGS. 37 and 38, # 534 to # 548 (zoom to wide end) are omitted, and in # 558, whether or not the lens is a type I lens is determined. The process proceeds to step # 566, otherwise to step # 559, and the same operation is performed thereafter.
Also on the lens side, steps # 1265- # 1282 (zoom to wide end) in the EXZM routine shown in FIGS. 72 and 73 are omitted, and EXZM during exposure (zoom during exposure)
Then, the operation from # 1283 is performed. Also,
In the embodiment, the display of EXZM is erased in the case of EXZM (zoom during exposure) using a type III lens (see # 1125, # 1128 in FIG. 64 and # 1312, # 1315 in FIG. 74). This operation is also unnecessary.

【0177】次に、レンズからボディにデータを送るた
めのレンズデータ出力ルーチンを図74、図75に示し
説明する。このルーチンでは、データポインタDPOの
内容に応じて動作が分かれる。まず、データポインタD
POを入力し、DPO=16 H か否かを判定する(#1
301,#1302)。DPO=16H ならば、第1ア
ドレスAD1から6バイト分のレンズデータを送信する
ことをボディから指示されているということであるか
ら、開放絞り値AvoとモードバッファMOBの内容を
送受し、最小絞り値Avmax、絞り値偏差値△Av、
変換係数KL 及びNDC、現在の焦点距離f0 を出力す
る(#1303〜#1308)。そして、ポートP34
に入力されるレンズセレクト信号CSLが”High”
レベルに戻るのを待って、交信を終了する(#130
9)。次に、パワースイッチPWSがONであるか否か
を判定する(#1310)。パワースイッチPWSがO
Nでなければ、表示を消去し、現在の焦点距離f0 を表
示し、割込を可として停止ルーチンに移行する(#13
11,#1319,#1320)。#1310でパワー
スイッチPWSがONであれば、EXZM(露光間ズー
ム)か否かを判定する(#1312)。EXZMであれ
ば、レンズモードLMO1 の表示を消去する(#131
5)。EXZMでなければ、PZOOM(パワーズー
ム)か否かを判定する(#1313)。パワーズームで
なければレンズモードLMO1 の表示を消去し(#13
15)、パワーズームであればレンズモードLMO1
表示を行う(#1314)。そして、レンズスイッチモ
ードLMO2 を表示するためのサブルーチン(SUB4
1)を実行する。次に、ボディが非作動であるか否かを
判定する(#1316)。ボディが作動中であれば、撮
影距離Dを表示して#1319に移行する(#131
8)。#1316でボディが非作動であれば、#131
7でレンズが∞位置にあることを示す表示を行い、パワ
ズームのサブルーチン(SUB39)を実行した後、#
1319に移行する。
Next, data is sent from the lens to the body.
FIG. 74 and FIG. 75 show the lens data output routine for
explain. In this routine, the data pointer DPO
The operation is divided according to the content. First, the data pointer D
Enter PO and DPO = 16 HIs determined (# 1
301, # 1302). DPO = 16HThen, the first
Transmit 6 bytes of lens data from dress AD1
Is that it is being instructed by the body
The aperture value Avo and the contents of the mode buffer MOB
The minimum aperture value Avmax, aperture value deviation value △ Av,
Conversion coefficient KLAnd NDC, current focal length f0Output
(# 1303 to # 1308). And port P34
Is “High” when the lens select signal CSL input to the
Wait for the return to the level and end the communication (# 130
9). Next, whether the power switch PWS is ON or not
Is determined (# 1310). Power switch PWS is O
If not N, the display is erased and the current focal length f0The table
And the process proceeds to the stop routine with the interrupt permitted (# 13)
11, # 1319, # 1320). Power at # 1310
If the switch PWS is ON, EXZM (zoom during exposure)
Is determined (# 1312). Be EXZM
If the lens mode LMO1Is erased (# 131)
5). If not EXZM, PZOOM (Power Zoo
Is determined (# 1313). With power zoom
If there is no lens mode LMO1Is deleted (# 13
15), lens mode LMO for power zoom1of
Display is performed (# 1314). And lens switch model
LEAD LMOTwoSubroutine for displaying (SUB4
Execute 1). Next, determine if the body is inactive
A determination is made (# 1316). If the body is working,
The shadow distance D is displayed, and the flow shifts to # 1319 (# 131).
8). If the body is not operated in # 1316, # 131
At 7, a display indicating that the lens is at the ∞ position is displayed.
After executing the zoom subroutine (SUB39),
It moves to 1319.

【0178】#1302でデータポインタがDPO=1
H でなければ、#1325でDPO=81H であるか
否かを判定する。DPO=81H であれば、第8アドレ
スAD8から1バイト分のレンズデータ(つまりオフセ
ット量NL )を入力すべきことをボディから指示されて
いることになるので、フォーカス用レンズの位置を補正
するためのオフセット量NL のデータを現在の焦点距離
0 と、レジスタf0’に退避させた焦点距離と、撮影
距離Dとから後述の式に基づいて演算し、このデータを
ボディに送る(#1326,#1327)。そして、ポ
ートP34に入力されているレンズセレクト信号CSL
が”High”レベルに戻るのを待って、撮影距離Dの
表示を行い、#1319に移行する(#1328,#1
329)。
At step # 1302, the data pointer is set to DPO = 1.
Otherwise 6 H, determines whether the DPO = 81 H in # 1325. If DPO = 81 H, so that it should enter the lens data of 1 byte from the eighth address AD8 (i.e. offset amount N L) will have been instructed from the body, correcting the position of the focusing lens The data of the offset amount NL for performing the calculation is calculated from the current focal length f 0 , the focal length saved in the register f 0 ′, and the photographing distance D based on a formula described later, and the data is sent to the body. (# 1326, # 1327). The lens select signal CSL, which is input to the port P 34
Waits for the camera to return to the “High” level, displays the shooting distance D, and proceeds to # 1319 (# 1328, # 1)
329).

【0179】#1325でデータポインタがDPO=8
H でなければ、#1331でDPO=54H であるか
否かを判定する。DPO=54H であれば、第5アドレ
スAD5から4バイト分のレンズデータを入力すべきこ
とをボディから指示されていることになるのでAZP
(オードズームプログラム)の演算に基づく変換係数N
DC(fA )、焦点距離fA 、撮影倍率β、オフセット
量NL を出力する(#1312〜#1336)。そし
て、ポートP34に入力されているレンズセレクト信号C
SLか”High”レベルに戻るのを待って、割込端子
INT1 への割込を可として、AZPルーチンに移行す
る。
At step # 1325, the data pointer is set to DPO = 8.
If it is not 1 H , it is determined at # 1331 whether or not DPO = 54 H. If DPO = 54 H, so that it should enter the 4 bytes of lens data from the fifth address AD5 will have been instructed from the body AZP
(Normal conversion program)
DC (f A ), focal length f A , photographing magnification β, and offset amount NL are output (# 1312- # 1336). Then, the lens select signal C input to the port P 34
Waiting for the SL or "High" back to level, as allowed an interrupt to the interrupt terminal INT 1, the process proceeds to AZP routine.

【0180】AZPルーチンでは、演算された焦点距離
A にズーミングを行う。まず、現在の焦点距離f0
演算された焦点距離fA と一致するか否かを判定する
(#1339)。f0 =fA であれば、#1346で撮
影距離Dを表示して#1319に移行する。#1339
でf0 ≠fA であれば、レンズ用高電圧VLEH の給電
(P39=”High”)を待って、ズームモータMO3
を演算された焦点距離fAに向けて駆動する(#134
1)。そして、現在の焦点距離f0 が演算された焦点距
離fA に達するか、又はレンズ用高電圧VLEH の給電停
止(P39=”Low”)が判定されるまでは、#134
2,#1343のループを巡回する。#1343でレン
ズ用高電圧VLEH の給電停止が判定されると、AFモー
タMO2 の駆動のために、#1344でズームモータM
3 を停止させ、#1340に戻ってレンズ用高電圧V
LEH の再給電を待つ。#1342でf0 =fA となれ
ば、#1345でズームモータMO3 を停止させ、#1
346で撮影距離Dを表示して、#1319に移行す
る。
In the AZP routine, zooming is performed on the calculated focal length f A. First, it is determined whether or not the current focal length f 0 matches the calculated focal length f A (# 1339). If f 0 = f A , the photographing distance D is displayed in # 1346, and the flow shifts to # 1319. # 1339
If f 0 ≠ f A , the power supply of the lens high voltage V LEH (P 39 = “High”) is waited, and the zoom motor MO 3
Is driven toward the calculated focal length f A (# 134
1). Then, until the current focal length f 0 reaches the calculated focal length f A , or until it is determined that the power supply of the high voltage V LEH for the lens is stopped (P 39 = “Low”), # 134 is reached.
2, loop # 1343. When powered off of the high voltage V LEH lens is determined in # 1343, for driving the AF motor MO 2, a zoom motor M in # 1344
O 3 is stopped, and the flow returns to # 1340 to return to the high voltage V for the lens.
Wait for LEH power supply. If f 0 = f A in # 1342, the zoom motor MO 3 is stopped in # 1345, and # 1
At 346, the photographing distance D is displayed, and the flow shifts to # 1319.

【0181】#1331でデータポイントがDPO=5
H でなければ、#1351でDPO=13H であるか
否かを判定する。DPO=13H であれば、第1アドレ
スAD1から3バイト分のレンズデータをボディに送信
すべきことを指示されていることになるので、開放絞り
値Avoと最小絞り値Avmax及び絞り値偏差量△A
vをボディに送る(#1352〜#1354)。そし
て、ボディからのレンズセレクト信号CSLが入力され
るポートP34が”High”レベルとなるのを待ち、割
込を可として停止ルーチンに移行する(#1355,#
1356)。なお、#1351でDPO=13H でなけ
れば、#1356で割込を可として停止ルーチンに移行
する。
In step # 1331, the data point is DPO = 5.
If it is not 4 H , it is determined whether or not DPO = 13 H in # 1351. If DPO = 13 H , it is instructed that three bytes of lens data should be transmitted to the body from the first address AD1, so the open aperture value Avo, the minimum aperture value Avmax, and the aperture value deviation amount △ A
v is sent to the body (# 1352 to # 1354). Then, the control waits until the port P 34 to which the lens select signal CSL from the body is input becomes the “High” level, enables the interrupt, and shifts to the stop routine (# 1355, #
1356). Incidentally, unless DPO = 13 H in # 1351, the process proceeds to stop routine interrupts as Y in # 1356.

【0182】以上の説明においては、レンズ側の電源
(特にズームモータMO3 の電源)はボディの電源電池
EBから供給するようになっているが、レンズ側にも電
源電池を設けることが考えられる。この場合、バッテリ
ーチェックの状態に関係なく、AFモータMO2 とズー
ムモータMO3 を同時に動かすことが可能である。従っ
て、AZPルーチンで各モータMO2 ,MO3 を交互に
動かす必要(#1340,#1341,#1343,#
1344)はなく、高速でAZP(オートズームプログ
ラム)が行える。さらに、パワーズームのときに、レン
ズからボディを起動してボディから電源供給を受けてか
らズーミングを行う必要もなくなる。なお、この場合で
もAF中(焦点検出動作中又は焦点調節動作中)である
ことを検出した場合には、AF精度を維持するためにパ
ワーズームは禁止することが望ましい。
In the above description, the power supply on the lens side (particularly the power supply for the zoom motor MO 3 ) is supplied from the power supply battery EB of the body. However, it is conceivable to provide a power supply battery also on the lens side. . In this case, regardless of the state of the battery check, it is possible to move the AF motor MO 2 and the zoom motor MO 3 simultaneously. Therefore, it is necessary to alternately move the motors MO 2 and MO 3 in the AZP routine (# 1340, # 1341, # 1343, #
1344), and AZP (auto zoom program) can be performed at high speed. Further, at the time of power zooming, it is not necessary to activate the body from the lens and receive power supply from the body before performing zooming. Even in this case, if it is detected that the AF is being performed (during the focus detection operation or the focus adjustment operation), it is desirable to prohibit the power zoom to maintain the AF accuracy.

【0183】次に、レンズスイッチモードLMO2 を表
示するためのサブルーチンを図76に示し説明する。#
1361ではWIM(ワイドモード)か否かを、#13
62ではMLM(撮影倍率ロックモード)か否かを判定
する。そして、WIM又はMLMであれば、#1364
でレンズスイッチモードLMO2 の表示を消去し、リタ
ーンする。WIMでもMLMでもなければ、#1363
でレンズスイッチモードLMO2 の表示を行い、リター
ンする。
[0183] Next, shown will be described the subroutine for displaying the lens switch mode LMO 2 in Figure 76. #
In step 1361, whether or not a WIM (wide mode) is set is determined in step # 13.
At 62, it is determined whether or not an MLM (imaging magnification lock mode) is set. If it is WIM or MLM, # 1364
Deletes the display of the lens switch mode LMO 2 and returns. If it is neither WIM nor MLM, # 1363
In and view of the lens switch mode LMO 2, to return.

【0184】以上で、レンズ内マイコンCPULの動作
を示すフローチャートの説明を終了し、続いてフラッシ
ュ内マイコンCPUFの動作を示すフローチャートの説
明に入る。図77、図78はフラッシュ内マイコンCP
UFの動作を示すフローチャートである。フラッシュメ
インスイッチFMSがONからOFFへ又はOFFから
ONへ変化すると、パルス発生器PG3 から割込端子I
NTαに”Low”レベルのパルスが入力され、図77
の#1501以降の割込ルーチンが実行される。この割
込ルーチンでは、まず割込可として、フラッシュメイン
スイッチFMSがONか否かを判定する(#1501,
#1502)。フラッシュメインスイッチFMSかON
ならば、発光可とするためにフラッシュイネイブル信号
FLENを”Low”レベルとし、充電完了までフラッ
シュ内の昇圧回路DDFを動作させる(#1503〜#
1506)。#1502でフラッシュメインスイッチF
MSがOFFならば、発光不可(FLEN=”Hig
h”)とし、昇圧を停止させ、表示をOFFして動作を
停止する(#1510〜#1512)。
Thus, the description of the flowchart showing the operation of the microcomputer CPUL in the lens is ended, and the description of the flowchart showing the operation of the microcomputer CPUF in the flash follows. 77 and 78 show the microcomputer CP in the flash.
It is a flowchart which shows operation | movement of UF. When flash main switch FMS is changed from or OFF from ON to OFF to ON, the interrupt terminal I from the pulse generator PG 3
A “Low” level pulse is input to NTα, and FIG.
An interrupt routine after # 1501 is executed. In this interrupt routine, it is first determined that the interrupt is permitted and whether or not the flash main switch FMS is ON (# 1501,
# 1502). Flash main switch FMS or ON
Then, the flash enable signal FLEN is set to “Low” level to enable light emission, and the booster circuit DDF in the flash is operated until charging is completed (# 1503 to # 1503).
1506). Flash main switch F in # 1502
If MS is OFF, light emission is disabled (FLEN = “Hig”
h ″), the boosting is stopped, the display is turned off, and the operation is stopped (# 1510 to # 1512).

【0185】一方、ボディから送られるフラッシュセレ
クト信号CSFが”Low”レベルになると、割込端子
INTβによる割込ルーチン(図77の#1515以
降)が実行される。この割込ルーチンでは、まずフラッ
シュメインスイッチFMSがONか否かを判定する(#
515)。フラッシュメインスイッチFMSがONでな
ければ、#1509で割込を可として#1510に移行
する。フラッシュメインスイッチFMSがONであれ
ば、ボディがフラッシュデータの入力モードか否かを判
定する(#1516)。具体的には、この時点でフラッ
シュセレクト信号CSFが”High”レベルならばボ
ディはフラッシュデータの入力モードであると判定さ
れ、#1517〜#1531でフラッシュデータFLD
をボディに送る。フラッシュデータFLDは3ビットb
2 ,b1 ,b0 のステイタスデータであり、以下、その
i番目(i=0〜2)のデータをFLDiと呼ぶ。ま
ず、#1517では、充電完了か否かを判定する。充電
完了であれば、充電完了の表示を行い、フラッシュデー
タFLDには専用フラッシュで充電完了を示すデータ0
1*を設定する(#1518,#1519)。ここで、
FLD2 =0は専用フラッシュであることを示し、FL
1 =1は充電完了を示す。また、#1517で充電完
了でなければ、充電完了の表示を消去し、フラッシュデ
ータFLDには専用フラッシュで充電未完了を示すデー
タ00*を設定する(#1520,#1521)。ここ
で、FLD1 =0は充電未完了を示す。次に、#152
5では信号FDCを設定する。信号FDCが”Low”
レベルであれば、調光OKの表示を行い、フラッシュデ
ータFLDには専用フラッシュで調光OKを示すデータ
0*0を設定する(#1526,#1527)。ここ
で、FLD0 =0は調光OKであることを示す。また、
#1525で信号FLDが”Low”レベルでなけれ
ば、調光OKの表示を消去し、フラッシュデータFLD
には専用フラッシュで調光OKでないことを示すデータ
0*1を設定する(#1528,#1529)。ここ
で、FLD0 =1は調光OKでないことを示す。以上の
ように設定されたフラッシュデータFLDは、#153
1でフラッシュのステイタスデータとしてボディに送ら
れる。また、#1532では、照射範囲に基づく発光量
データIvzがボディに送られ、#1551に移行す
る。
On the other hand, when the flash select signal CSF sent from the body goes to a "Low" level, an interrupt routine (# 1515 and thereafter in FIG. 77) is executed by the interrupt terminal INTβ. In this interrupt routine, it is first determined whether or not the flash main switch FMS is ON (#
515). If the flash main switch FMS is not ON, the interrupt is permitted in # 1509 and the process proceeds to # 1510. If the flash main switch FMS is ON, it is determined whether or not the body is in a flash data input mode (# 1516). More specifically, if the flash select signal CSF is at "High" level at this time, the body is determined to be in the flash data input mode, and the flash data FLD is # 1517 to # 1531.
To the body. Flash data FLD is 3 bits b
2 , b 1 , and b 0 , and the i-th (i = 0 to 2) data is hereinafter referred to as FLDi. First, in # 1517, it is determined whether or not charging is completed. If charging is completed, charging completion is displayed, and the flash data FLD contains data 0 indicating that charging has been completed using the dedicated flash.
1 * is set (# 1518, # 1519). here,
FLD 2 = 0 indicates a dedicated flash, and FLD 2
D 1 = 1 indicates that charging has been completed. If the charging is not completed in # 1517, the display of the charging completion is erased, and data 00 * indicating that charging is not completed by the dedicated flash is set in the flash data FLD (# 1520, # 1521). Here, FLD 1 = 0 indicates that charging is not completed. Next, # 152
In step 5, the signal FDC is set. The signal FDC is “Low”
If it is at the level, light control OK is displayed, and data 0 * 0 indicating light control OK is set in the flash data FLD by the dedicated flash (# 1526, # 1527). Here, FLD 0 = 0 indicates that dimming is OK. Also,
If the signal FLD is not at the "Low" level in # 1525, the display of dimming OK is erased and the flash data FLD
Is set to data 0 * 1 indicating that the light control is not OK with the dedicated flash (# 1528, # 1529). Here, FLD 0 = 1 indicates that dimming is not OK. The flash data FLD set as described above is # 153
At 1 the flash status data is sent to the body. In # 1532, the light emission amount data Ivz based on the irradiation range is sent to the body, and the flow shifts to # 1551.

【0186】一方、#1516でフラッシュセレクト信
号CSFが”Low”レベルならば、ボディはフラッシ
ュデータの入力モードではなく、ボディデータの出力モ
ードであると判定され、ボディから絞り値Av、フィル
ム感度Sv、撮影距離Dv、焦点距離fの各データをフ
ラッシュに入力する(#1541〜#1544)。そし
て、フラッシュセレクト信号CSFが”High”レベ
ルとなるのを待って、フラッシュ照射範囲を焦点距離f
に応じてモータMO5 とコード板ZPCで制御する(#
1545,#1546)。さらに、照射範囲を表示し、
絞り値Avとフィルム感度Sv及び発光量データIvz
から適正露出の得られる距離範囲を演算表示し、撮影距
離Dを表示する(#1547〜#1549)。その後、
#1551に移行する。
On the other hand, if the flash select signal CSF is at "Low" level in # 1516, it is determined that the body is not in the flash data input mode but in the body data output mode. The respective data of the photographing distance Dv and the focal length f are input to the flash (# 1541 to # 1544). Then, after waiting for the flash select signal CSF to reach the “High” level, the flash irradiation range is changed to the focal length f.
Is controlled by the motor MO 5 and the code plate ZPC (#
1545, # 1546). In addition, display the irradiation range,
Aperture value Av, film sensitivity Sv, and light emission amount data Ivz
Is calculated and displayed, and the photographing distance D is displayed (# 1547 to # 1549). afterwards,
The process moves to # 1551.

【0187】#1551ではタイマーをリセット・スタ
ートさせる。次に、フラッシュのタイマーレジスタTI
FRに所定値Pを設定し、割込を可とする(#155
2,#1553)。そして、充電完了となるまで昇圧を
行い、充電完了後に充電完了表示を行う(#1554〜
#1562)。この間に割込端子INTβによる割込が
あれば再度前述の動作を行う。
At step # 1551, the timer is reset and started. Next, the flash timer register TI
FR is set to a predetermined value P, and interruption is enabled (# 155)
2, # 1553). Then, the voltage is increased until the charging is completed, and after the charging is completed, the charging completion display is performed (# 1554 to # 1554).
# 1562). During this time, if there is an interrupt due to the interrupt terminal INTβ, the above operation is performed again.

【0188】ボディからのレンズセレクト信号CSF
が”Low”レベルになると、タイマー割込がかかる。
この割込ルーチンを図79に示し説明する。信号FDC
が”Low”レベルならば調光OKを表示し、”Hig
h”レベルなら調光OKの表示を消去する(#1570
〜#1572)。そして、フラッシュのタイマーレジス
タTIFRの内容を1つカウントダウンして、TIFR
=0か否かを判定する(#1573,#1574)。T
IFR≠0であれば、再びタイマーをリセット・スター
トし、割込可として昇圧動作(#1554〜#155
6)のルーチンにリターンする(#1578,#157
9)。ボディとの交信が終了して所定時間(例えは3
秒)が経過すると、#1574でTIFR=0となり、
昇圧を停止し、表示をOFFし、割込を可として動作を
終了する(#1575〜#1577)。
Lens select signal CSF from body
Becomes "Low" level, a timer interrupt is applied.
This interrupt routine will be described with reference to FIG. Signal FDC
Is "Low" level, dimming OK is displayed, and "Hig" is displayed.
If the level is "h", the display of light control OK is deleted (# 1570).
~ # 1572). Then, count down the contents of the flash timer register TIFR by one, and
It is determined whether or not = 0 (# 1573, # 1574). T
If IFR ≠ 0, the timer is reset / started again, the interrupt is enabled, and the boosting operation (# 1554- # 155) is performed.
Return to the routine of (6) (# 1578, # 157)
9). A predetermined time after the communication with the body is completed (for example, 3
Seconds), TIFR = 0 at # 1574,
The boosting is stopped, the display is turned off, the interruption is permitted, and the operation is terminated (# 1575 to # 1577).

【0189】図80はレンズ内マイコンCPULとボデ
ィ内マイコンCPUBの間の信号伝達用端子の変形例を
示す。この例では、レンズセレクト信号CSLが”Lo
w”レベルになると、レンズ内マイコンCPULが起動
される。また、バッファBF 40とBF50が能動化され
て、リード/ライト信号R/Wがレンズ内マイコンCP
ULに送られる。リード/ライト信号R/Wが”Lo
w”レベルになると、バッファBF41とBF51が能動化
されて、ボディ内マイコンCPUBからレンズ内マイコ
ンCPULへデータが送られる。リード/ライト信号R
/Wが”High”レベルになると、バッファBF52
BF42が能動化されて、レンズ内マイコンCPULから
ボディ内マイコンCPUBへデータが送られる。レンズ
セレクト信号CSLが”High”レベルになると、バ
ッファBF40とBF50は高出力インピーダンス状態とな
り、バッファBF43とBF53は能動化される。したがっ
て、ポートP81が”Low”レベルになると、バッファ
BF53、端子J91,J81、バッファBF43、アンドゲー
トAN1 を介して割込端子INTA に割込信号が入力さ
れ、ボディ内マイコンCPUBが起動される。この方式
でも、レンズ−ボディ間の端子数は図4〜図8に示す方
式と同様となる。なお、図面に表された全てのバッファ
はトライステートのバッファである。
FIG. 80 shows the microcomputer CPUL in the lens and the body.
Of the signal transmission terminal between the microcomputers
Show. In this example, the lens select signal CSL is “Lo”
When it becomes w "level, microcomputer CPUL in the lens is activated
Is done. Also, the buffer BF 40And BF50Is activated
And the read / write signal R / W is the microcomputer CP in the lens.
Sent to UL. When the read / write signal R / W is "Lo"
When the w ”level is reached, the buffer BF41And BF51Is activated
The microcomputer CPUB in the body
Data is sent to CPUL. Read / write signal R
/ W becomes “High” level, the buffer BF52When
BF42Is activated and the microcomputer CPUL in the lens
Data is sent to the microcomputer CPUB in the body. lens
When the select signal CSL goes to the “High” level,
Buffa BF40And BF50Is in the high output impedance state.
Buffer BF43And BF53Is activated. Accordingly
And port P81Becomes "Low" level, the buffer
BF53, Terminal J91, J81, Buffer BF43, And game
To AN1Via the interrupt terminal INTAInterrupt signal is
Then, the microcomputer CPUB in the body is activated. This method
However, the number of terminals between the lens and the body is as shown in FIGS.
It is the same as the formula. Note that all buffers shown in the drawing
Is a tri-state buffer.

【0190】図81乃至図83は第1乃至第3のオート
ズームプログラムAZP1 〜AZP 3 のプログラムライ
ンを示している。図中、縦軸は焦点距離f(mm)、横
軸は撮影距離D(m)を示す。fT はテレ端の焦点距
離、fW はワイド端の焦点距離である。DT はテレ端の
撮影距離、DW はワイド端の撮影距離である。βT はテ
レ端の撮影倍率、βW はワイド端の撮影倍率である。以
下、各プログラムラインについて説明する。
FIGS. 81 to 83 show the first to third auto switches.
Zoom program AZP1~ AZP ThreeThe program line
Is shown. In the figure, the vertical axis indicates the focal length f (mm), and the horizontal axis indicates
The axis indicates the photographing distance D (m). fTIs the focal length at the telephoto end
Release, fWIs the focal length at the wide end. DTIs at the tele end
Shooting distance, DWIs the shooting distance at the wide end. βTIs
End magnification, βWIs the shooting magnification at the wide end. Less than
Hereinafter, each program line will be described.

【0191】まず、第1のオートズームプログラムAZ
1 のプログラムラインは、図81に示すように、D≦
W のときにはfA =fW 、D≧DT のときにはfA
Tとなり、DW <D<DT のときには点(DW
W )と点(DT ,fT )を通る直線となる。つまり、
このプログラムラインでは点(DW ,fW )と点
(DT ,fT )の間を一定勾配の直線で結んでおり、テ
レ端の撮影距離DT における撮影倍率βT がワイド端の
撮影距離DW における撮影倍率βW よりも小さい。そし
て、その描写上の特徴は、背景と共に人物が適度の大き
さに写る点にある。ただし、撮影距離Dが遠いときには
少し小さ目、近いときには少し大き目の適度な大きさで
写る。
First, the first auto zoom program AZ
As shown in FIG. 81, the program line of P 1 has D ≦
F A = f W at the time of D W, when D ≧ D T is f A =
f T , and when D W <D <D T , the point (D W ,
f W ) and a point (D T , f T ). That is,
In this program line, the point (D W , f W ) and the point (D T , f T ) are connected by a straight line having a constant gradient, and the photographing magnification β T at the telephoto end photographing distance D T is taken at the wide end. It is smaller than the photographing magnification β W at the distance D W. The feature of the description is that the person is photographed in an appropriate size together with the background. However, when the shooting distance D is long, the image is slightly smaller, and when the shooting distance D is close, the image is slightly larger and appropriate.

【0192】次に、第2のオートズームプログラムAZ
2 のプログラムラインは、図82の太線で示すよう
に、D≦D1 のときにはfA =fW 、D≧D4 のときに
はfA=fT となり、D1 <D≦D2 のときには点(D
1 ,fW )と点(D2 ,f2 )を通る直線、D2 <D≦
3 のときにはfA =D×β23(β1 >β23>β4 )、
そしてD3 <D≦D4 のときには点(D3 ,f3 )と点
(D4 ,fT )を通る直線となる。このプログラムライ
ンでは、第1のプログラムライン(細線で示す)に比べ
ると全体に撮影倍率βが大き目であり、第1のプログラ
ムラインよりも上に凸となる。そして、その描写上の特
徴は、人物が適度の大きさに写ると共に、背景をぼかす
ことによって人物(又は主被写体)が強調されて写る点
にある。
Next, the second auto zoom program AZ
Program lines P 2, as indicated by the bold line in FIG. 82, f A = f W at the time of D ≦ D 1, next to f A = f T when the D ≧ D 4, when D 1 <D ≦ D 2 is Point (D
1, f W) and a straight line passing through the point (D 2, f 2), D 2 <D ≦
F A = D × β 23 at the time of D 3 (β 1> β 23 > β 4),
When D 3 <D ≦ D 4, a straight line passes through the point (D 3 , f 3 ) and the point (D 4 , f T ). In this program line, as compared with the first program line (indicated by a thin line), the photographing magnification β is large as a whole, and becomes convex above the first program line. The descriptive feature is that the person is photographed in an appropriate size, and the person (or the main subject) is emphasized by blurring the background.

【0193】最後に、第3のオートズームプログラムA
ZP3 のプログラムラインは、図83の太線で示すよう
に、D≦D1 のときにはfA =fW 、D≧D4 のときに
はf A =fT となり、D1 <D≦D2 のときには点(D
1 ,fW )と点(D2 ,f2)を通る直線、D2 <D≦
3 のときにはfA =D×β23(β1 >β23>β4 )、
そしてD3 <D≦D4 のときには点(D3 ,f3 )と点
(D4 ,fT )を通る直線となる。このプログラムライ
ンでは、第1のプログラムライン(細線で示す)に比べ
ると全体に撮影倍率βが小さ目であり、第1のプログラ
ムラインよりも下に凸となる。そして、その描写上の特
徴は、出来るだけ奥行き感のあるスナップが撮れる点に
ある。
Finally, the third auto zoom program A
ZPThree83 is indicated by a bold line in FIG.
Where D ≦ D1Then fA= FW, D ≧ DFourWhen
Is f A= FTAnd D1<D ≦ DTwoWhen the point (D
1, FW) And point (DTwo, FTwo), DTwo<D ≦
DThreeThen fA= D × βtwenty three1> Βtwenty three> ΒFour),
And DThree<D ≦ DFourWhen the point (DThree, FThree) And point
(DFour, FT). This program line
In the first program line (shown by the thin line)
The photographing magnification β is small overall, and the first program
It is convex below the M-line. And the characteristics of the description
The sign is that you can take a snapshot with a sense of depth as much as possible
is there.

【0194】図84及び図85は、バリフォーカルレン
ズの場合に、オフセットルーチン(SUB13)でフォ
ーカス用レンズを駆動するためのオフセット量NL の算
出方法を説明するための図である。図中、I〜IVは第
1群乃至第4群のレンズを示している。水平方向はレン
ズの光軸方向を示し、垂直方向はズーミングによる焦点
距離の変化を示している。上側の水平線はワイド端にお
ける各レンズの配置を示しており、下側の水平線はテレ
端における各レンズの配置を示している。ワイド端とテ
レ端の間の任意のズーム位置においては、曲線で示した
軌跡と水平線との交点上に各レンズが配置されるよう
に、各レンズが連動して移動する。フォーカス用レンズ
は第4群のレンズIVであり、これが斜線で示す範囲内
に来るようにオフセット量NL を決める。
FIGS. 84 and 85 are diagrams for explaining a method of calculating the offset amount NL for driving the focusing lens in the offset routine (SUB13) in the case of a varifocal lens. In the figure, I to IV indicate lenses of the first to fourth groups. The horizontal direction indicates the optical axis direction of the lens, and the vertical direction indicates a change in the focal length due to zooming. The upper horizontal line shows the arrangement of each lens at the wide end, and the lower horizontal line shows the arrangement of each lens at the tele end. At an arbitrary zoom position between the wide end and the tele end, the lenses move in conjunction with each other such that the lenses are arranged on the intersection of the locus indicated by the curve and the horizontal line. The focusing lens is a fourth group lens IV, and the offset amount NL is determined so that the lens IV falls within a range shown by oblique lines.

【0195】一般に、撮影距離をDとし、∞位置から撮
影距離Dまでのレンズ繰り出し量をd、繰り出し量dの
変化を△d、デフォーカス量を△L、△d/△L=K0
とすると、 d≒f2 ・K0 /D … となる。また、∞位置から撮影距離DまでのAFカプラ
ーの回転数をNL 、回転数の変化量を△NL 、△NL
△L=KL とすると、 NL ≒f2 ・KL /D … となる。今、焦点距離がf=f1 のときに、撮影距離D
=D1 に合焦しており、KL =KL1、NL =NL1である
とする。この状態から焦点距離がf=f2 、撮影距離が
D=D2 、KL =KL2、NL =NL2となる状態までズー
ミングするときに、焦点検出が可能な範囲内にフォーカ
ス用レンズを移動させるためのオフセット量NL は、図
85に示すレンズでは、 NL =f2 2・KL2/D−f1 2・KL1/D =f2 2・KL2/D−NL1 … となる。また、図84に示すレンズでは、 NL =f2 2・KL2/D−NL1 +{Nz(f2 )−Nz(f1 )} … となる。ここでNz(f)はズーミングによって∞位置
が変わることによって必要となるレンズ移動量であり、
光学設計によって種々の関数となる。上式において、変
換係数KL は焦点距離fと一対一に対応するが、対応の
仕方はレンズ毎に違うので、レンズ内のメモリーにテー
ブルとして記憶しておくものである。なお、図85に示
すレンズのように、後群でフォーカシングするズームレ
ンズで∞位置が動かないものは、全体繰出ズームと同じ
く、変換係数KL がズーミングによって変化しないの
で、式はNL =(f2 2−f1 2)・KL /Dで良い。
In general, the photographing distance is D, the lens extension amount from the ∞ position to the photographing distance D is d, the change in the extension amount d is Δd, the defocus amount is ΔL, and Δd / ΔL = K 0.
Then, d ≒ f 2 · K 0 / D... Further, the rotation number of the AF coupler from the position ∞ to the photographing distance D is N L , and the change amount of the rotation number is △ N L , LN L /
If ΔL = K L , then N L ≒ f 2 · K L / D. Now, when the focal length of f = f 1, the photographing distance D
= D 1 , and K L = K L1 and N L = N L1 . Focal length from this state f = f 2, when zooming up state imaging distance is D = D 2, K L = K L2, N L = N L2, focusing lens the extent possible focus detection offset amount N L for moving the is a lens shown in FIG. 85, N L = f 2 2 · K L2 / D-f 1 2 · K L1 / D = f 2 2 · K L2 / D-N L1 ... Further, in the lens shown in FIG. 84, N L = f 2 2 · K L2 / D-N L1 + {Nz (f 2) -Nz (f 1)} ... become. Here, Nz (f) is a lens moving amount required when the ∞ position is changed by zooming,
There are various functions depending on the optical design. In the above equation, the conversion coefficient K L has a one-to-one correspondence with the focal length f. However, since the correspondence is different for each lens, it is stored as a table in a memory in the lens. As in the lens of FIG. 85, those ∞ position zoom lens for focusing in the rear group does not move, as well as the entire feeding zoom, since transform coefficients K L is not changed by zooming, wherein the N L = ( f 2 2 -f 1 2) · may be the K L / D.

【0196】以上で実施例の説明を終えるが、本発明は
その本質的特性から逸脱することなく数多くの形式のも
のとして具体化することができるから、上に述べた実施
例はもっぱら説明上のもので制約的のものではない。ま
た、本発明の技術的範囲は特許請求の範囲の要件内のあ
らゆる変更、またはその要件に対する均等物にも及ぶも
のである。
Although the description of the embodiments has been completed, the present invention can be embodied in many forms without departing from the essential characteristics thereof. Is not restrictive. Further, the technical scope of the present invention covers all modifications within the requirements of the claims or equivalents to the requirements.

【0197】例えば、上に述べた実施例では、レンズ交
換式カメラの場合を例示したが、ズームレンズが固定的
に装着されているカメラにも露光間ズームは適用でき
る。また、露光間ズームの設定は、ICカードの装着に
よる例を示したが、カメラ側又はレンズ側のモードボタ
ンで設定できるようにしても良い。シャッターはフォー
カルプレーの例を示したが、絞りと兼用されるレンズシ
ャッターであっても良い。この場合、シャッター開放か
らフィルム全面に露光が行われているので、自然光の場
合、シャッター開放から所定時間後にズーミングを行う
ようにすることで、フォーカルプレーンシャッターに比
較して制限露光時間を短くすることができる。フラッシ
ュ撮影の際には、フラッシュマチック演算で決まる絞り
開口の時点でフラッシュを発光させてから、ズーミング
を行えば良い。
For example, in the above-mentioned embodiment, the case of the interchangeable lens type camera has been exemplified. However, the inter-exposure zoom can be applied to a camera in which a zoom lens is fixedly mounted. Further, the setting of the during-exposure zoom has been described by way of an example of mounting an IC card. Although the example of the focal play is described as the shutter, a lens shutter that is also used as an aperture may be used. In this case, since the entire surface of the film is exposed after the shutter is opened, in the case of natural light, zooming is performed a predetermined time after the shutter is opened, thereby shortening the limited exposure time compared to the focal plane shutter. Can be. In flash photography, zooming may be performed after the flash is fired at the time of the aperture opening determined by the flashmatic operation.

【0198】また、実施例では最初にワイド端に設定し
ておき、テレ端に向かってズーミングする例が示されて
いるが、別の効果を狙って、最初にテレ端に設定してお
いて、露光中にワイド端へ移動させても良く、両方を切
り換えるようにしても良い。最初にテレ端に設定し、最
後にワイド端に露光する時間を長くしても実施例と同様
の効果の写真が得られる。さらに、ズーミングの速度を
露光時間とズーム範囲から求めて、この速度でズーミン
グが行われるように制御しても良い。なお、ズーム範囲
はズームレンズの全ズーム領域又は撮影者が設定した範
囲として決まるものである。
Further, in the embodiment, an example is shown in which the zoom is set to the wide end first and zooming is performed toward the tele end, but the tele end is set first for another effect. Alternatively, it may be moved to the wide end during the exposure, or both may be switched. Even if the telephoto end is set first and the exposure time at the wide end is lengthened last, a photograph having the same effect as in the embodiment can be obtained. Further, the zooming speed may be obtained from the exposure time and the zoom range, and the zooming may be performed at this speed. The zoom range is determined as the entire zoom area of the zoom lens or a range set by the photographer.

【0199】[0199]

【発明の効果】本発明によれば、レンズの全長が最短と
なる焦点距離に関する情報を各レンズ毎に記憶させてい
るので、いかなるレンズを使用しても、カメラのメイン
スイッチを不作動位置に切り換えると、レンズ全長が最
短となるようにレンズ駆動が行われるから、カメラ不使
用時にコンパクトになり、携帯や収納に便利になる。
According to the present invention, since the information on the focal length at which the total length of the lens becomes the shortest is stored for each lens, the main switch of the camera is set to the inoperative position regardless of the lens used. When switched, the lens is driven so that the overall length of the lens becomes the shortest. Therefore, when the camera is not used, the lens becomes compact, which is convenient for carrying and storing.

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

【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】本発明を適用されるカメラボディの斜視図であ
る。
FIG. 2 is a perspective view of a camera body to which the present invention is applied.

【図3】本発明を適用される交換レンズの斜視図であ
る。
FIG. 3 is a perspective view of an interchangeable lens to which the present invention is applied.

【図4】本発明を適用されるカメラボディの回路図であ
る。
FIG. 4 is a circuit diagram of a camera body to which the present invention is applied.

【図5】本発明を適用されるカメラボディの回路図であ
る。
FIG. 5 is a circuit diagram of a camera body to which the present invention is applied.

【図6】本発明を適用されるカメラボディの回路図であ
る。
FIG. 6 is a circuit diagram of a camera body to which the present invention is applied.

【図7】本発明を適用されるカメラボディの回路図であ
る。
FIG. 7 is a circuit diagram of a camera body to which the present invention is applied.

【図8】本発明を適用される交換レンズの回路図であ
る。
FIG. 8 is a circuit diagram of an interchangeable lens to which the present invention is applied.

【図9】本発明を適用されるフラッシュの回路図であ
る。
FIG. 9 is a circuit diagram of a flash to which the present invention is applied.

【図10】本発明の動作説明のためのフローチャートで
ある。
FIG. 10 is a flowchart for explaining the operation of the present invention.

【図11】本発明の動作説明のためのフローチャートで
ある。
FIG. 11 is a flowchart for explaining the operation of the present invention.

【図12】本発明の動作説明のためのフローチャートで
ある。
FIG. 12 is a flowchart for explaining the operation of the present invention.

【図13】本発明の動作説明のためのフローチャートで
ある。
FIG. 13 is a flowchart for explaining the operation of the present invention.

【図14】本発明の動作説明のためのフローチャートで
ある。
FIG. 14 is a flowchart for explaining the operation of the present invention.

【図15】本発明の動作説明のためのフローチャートで
ある。
FIG. 15 is a flowchart for explaining the operation of the present invention.

【図16】本発明の動作説明のためのフローチャートで
ある。
FIG. 16 is a flowchart for explaining the operation of the present invention.

【図17】本発明の動作説明のためのフローチャートで
ある。
FIG. 17 is a flowchart for explaining the operation of the present invention.

【図18】本発明の動作説明のためのフローチャートで
ある。
FIG. 18 is a flowchart for explaining the operation of the present invention.

【図19】本発明の動作説明のためのフローチャートで
ある。
FIG. 19 is a flowchart for explaining the operation of the present invention.

【図20】本発明の動作説明のためのフローチャートで
ある。
FIG. 20 is a flowchart for explaining the operation of the present invention.

【図21】本発明の動作説明のためのフローチャートで
ある。
FIG. 21 is a flowchart for explaining the operation of the present invention.

【図22】本発明の動作説明のためのフローチャートで
ある。
FIG. 22 is a flowchart for explaining the operation of the present invention.

【図23】本発明の動作説明のためのフローチャートで
ある。
FIG. 23 is a flowchart for explaining the operation of the present invention.

【図24】本発明の動作説明のためのフローチャートで
ある。
FIG. 24 is a flowchart for explaining the operation of the present invention.

【図25】本発明の動作説明のためのフローチャートで
ある。
FIG. 25 is a flowchart for explaining the operation of the present invention.

【図26】本発明の動作説明のためのフローチャートで
ある。
FIG. 26 is a flowchart for explaining the operation of the present invention.

【図27】本発明の動作説明のためのフローチャートで
ある。
FIG. 27 is a flowchart for explaining the operation of the present invention.

【図28】本発明の動作説明のためのフローチャートで
ある。
FIG. 28 is a flowchart for explaining the operation of the present invention.

【図29】本発明の動作説明のためのフローチャートで
ある。
FIG. 29 is a flowchart for explaining the operation of the present invention.

【図30】本発明の動作説明のためのフローチャートで
ある。
FIG. 30 is a flowchart for explaining the operation of the present invention.

【図31】本発明の動作説明のためのフローチャートで
ある。
FIG. 31 is a flowchart for explaining the operation of the present invention.

【図32】本発明の動作説明のためのフローチャートで
ある。
FIG. 32 is a flowchart for explaining the operation of the present invention.

【図33】本発明の動作説明のためのフローチャートで
ある。
FIG. 33 is a flowchart for explaining the operation of the present invention.

【図34】本発明の動作説明のためのフローチャートで
ある。
FIG. 34 is a flowchart for explaining the operation of the present invention.

【図35】本発明の動作説明のためのフローチャートで
ある。
FIG. 35 is a flowchart for explaining the operation of the present invention.

【図36】本発明の動作説明のためのフローチャートで
ある。
FIG. 36 is a flowchart for explaining the operation of the present invention.

【図37】本発明の動作説明のためのフローチャートで
ある。
FIG. 37 is a flowchart for explaining the operation of the present invention.

【図38】本発明の動作説明のためのフローチャートで
ある。
FIG. 38 is a flowchart for explaining the operation of the present invention.

【図39】本発明の動作説明のためのフローチャートで
ある。
FIG. 39 is a flowchart for explaining the operation of the present invention.

【図40】本発明の動作説明のためのフローチャートで
ある。
FIG. 40 is a flowchart for explaining the operation of the present invention.

【図41】本発明の動作説明のためのフローチャートで
ある。
FIG. 41 is a flowchart for explaining the operation of the present invention.

【図42】本発明の動作説明のためのフローチャートで
ある。
FIG. 42 is a flowchart for explaining the operation of the present invention.

【図43】本発明の動作説明のためのフローチャートで
ある。
FIG. 43 is a flowchart for explaining the operation of the present invention.

【図44】本発明の動作説明のためのフローチャートで
ある。
FIG. 44 is a flowchart for explaining the operation of the present invention.

【図45】本発明の動作説明のためのフローチャートで
ある。
FIG. 45 is a flowchart for explaining the operation of the present invention.

【図46】本発明の動作説明のためのフローチャートで
ある。
FIG. 46 is a flowchart for explaining the operation of the present invention.

【図47】本発明の動作説明のためのフローチャートで
ある。
FIG. 47 is a flowchart for explaining the operation of the present invention.

【図48】本発明の動作説明のためのフローチャートで
ある。
FIG. 48 is a flowchart for explaining the operation of the present invention.

【図49】本発明の動作説明のためのフローチャートで
ある。
FIG. 49 is a flowchart for explaining the operation of the present invention.

【図50】本発明の動作説明のためのフローチャートで
ある。
FIG. 50 is a flowchart for explaining the operation of the present invention.

【図51】本発明の動作説明のためのフローチャートで
ある。
FIG. 51 is a flowchart for explaining the operation of the present invention.

【図52】本発明の動作説明のためのフローチャートで
ある。
FIG. 52 is a flowchart for explaining the operation of the present invention.

【図53】本発明の動作説明のためのフローチャートで
ある。
FIG. 53 is a flowchart for explaining the operation of the present invention.

【図54】本発明の動作説明のためのフローチャートで
ある。
FIG. 54 is a flowchart for explaining the operation of the present invention.

【図55】本発明の動作説明のためのフローチャートで
ある。
FIG. 55 is a flowchart for explaining the operation of the present invention.

【図56】本発明の動作説明のためのフローチャートで
ある。
FIG. 56 is a flowchart for explaining the operation of the present invention.

【図57】本発明の動作説明のためのフローチャートで
ある。
FIG. 57 is a flowchart for explaining the operation of the present invention.

【図58】本発明の動作説明のためのフローチャートで
ある。
FIG. 58 is a flowchart for explaining the operation of the present invention.

【図59】本発明の動作説明のためのフローチャートで
ある。
FIG. 59 is a flowchart for explaining the operation of the present invention.

【図60】本発明の動作説明のためのフローチャートで
ある。
FIG. 60 is a flowchart for explaining the operation of the present invention.

【図61】本発明の動作説明のためのフローチャートで
ある。
FIG. 61 is a flowchart for explaining the operation of the present invention.

【図62】本発明の動作説明のためのフローチャートで
ある。
FIG. 62 is a flowchart for explaining the operation of the present invention.

【図63】本発明の動作説明のためのフローチャートで
ある。
FIG. 63 is a flowchart for explaining the operation of the present invention.

【図64】本発明の動作説明のためのフローチャートで
ある。
FIG. 64 is a flowchart for explaining the operation of the present invention.

【図65】本発明の動作説明のためのフローチャートで
ある。
FIG. 65 is a flowchart for explaining the operation of the present invention.

【図66】本発明の動作説明のためのフローチャートで
ある。
FIG. 66 is a flowchart for explaining the operation of the present invention.

【図67】本発明の動作説明のためのフローチャートで
ある。
FIG. 67 is a flowchart for explaining the operation of the present invention.

【図68】本発明の動作説明のためのフローチャートで
ある。
FIG. 68 is a flowchart for explaining the operation of the present invention.

【図69】本発明の動作説明のためのフローチャートで
ある。
FIG. 69 is a flowchart for explaining the operation of the present invention.

【図70】本発明の動作説明のためのフローチャートで
ある。
FIG. 70 is a flowchart for explaining the operation of the present invention.

【図71】本発明の動作説明のためのフローチャートで
ある。
FIG. 71 is a flowchart for explaining the operation of the present invention.

【図72】本発明の動作説明のためのフローチャートで
ある。
FIG. 72 is a flowchart for explaining the operation of the present invention.

【図73】本発明の動作説明のためのフローチャートで
ある。
FIG. 73 is a flowchart for explaining the operation of the present invention.

【図74】本発明の動作説明のためのフローチャートで
ある。
FIG. 74 is a flowchart for explaining the operation of the present invention.

【図75】本発明の動作説明のためのフローチャートで
ある。
FIG. 75 is a flowchart for explaining the operation of the present invention;

【図76】本発明の動作説明のためのフローチャートで
ある。
FIG. 76 is a flowchart for explaining the operation of the present invention.

【図77】本発明の動作説明のためのフローチャートで
ある。
FIG. 77 is a flowchart for explaining the operation of the present invention;

【図78】本発明の動作説明のためのフローチャートで
ある。
FIG. 78 is a flowchart for explaining the operation of the present invention.

【図79】本発明の動作説明のためのフローチャートで
ある。
FIG. 79 is a flowchart for explaining the operation of the present invention.

【図80】カメラボディと交換レンズの交信回路の一変
形例の回路図である。
FIG. 80 is a circuit diagram of a modified example of a communication circuit between the camera body and the interchangeable lens.

【図81】本発明に用いるオートズームプログラムの説
明図である。
FIG. 81 is an explanatory diagram of an automatic zoom program used in the present invention.

【図82】本発明に用いるオートズームプログラムの説
明図である。
FIG. 82 is an explanatory diagram of an automatic zoom program used in the present invention.

【図83】本発明に用いるオートズームプログラムの説
明図である。
FIG. 83 is an explanatory diagram of an auto-zoom program used in the present invention.

【図84】本発明に用いるバリフォーカルレンズの動作
説明図である。
FIG. 84 is an explanatory diagram of the operation of the varifocal lens used in the present invention.

【図85】本発明に用いるバリフォーカルレンズの動作
説明図である。
FIG. 85 is an explanatory diagram of the operation of the varifocal lens used in the present invention.

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

100 撮影レンズ 101 メインスイッチ 102 駆動手段 103 判別手段 104 制御手段 REFERENCE SIGNS LIST 100 photographing lens 101 main switch 102 driving means 103 determining means 104 control means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石田 徳治 大阪市中央区安土町二丁目3番13号 大 阪国際ビル ミノルタ株式会社内 (72)発明者 升本 久幸 大阪市中央区安土町二丁目3番13号 大 阪国際ビル ミノルタ株式会社内 (72)発明者 得丸 祥 大阪市中央区安土町二丁目3番13号 大 阪国際ビル ミノルタ株式会社内 (72)発明者 米多比常世 大阪市中央区安土町二丁目3番13号 大 阪国際ビル ミノルタ株式会社内 (56)参考文献 特開 昭63−70834(JP,A) 特開 昭58−125005(JP,A) (58)調査した分野(Int.Cl.6,DB名) G02B 7/08 G02B 7/10 G03B 5/00 G03B 7/20──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tokuharu Ishida 2-3-13 Azuchicho, Chuo-ku, Osaka-shi Osaka International Building Minolta Co., Ltd. (72) Inventor Hisayuki Masumoto 2-chome Azuchicho, Chuo-ku, Osaka-shi No. 13 Osaka International Building Minolta Co., Ltd. (72) Inventor Sho Saku Tokumaru 2-13-13 Azuchicho, Chuo-ku, Osaka City Osaka International Building Minolta Co., Ltd. (72) Inventor Tsuneyo Yoneta Chuo-ku, Osaka-shi 2-13-13 Azuchicho Osaka International Building Minolta Co., Ltd. (56) References JP-A-63-70834 (JP, A) JP-A-58-125005 (JP, A) (58) Fields investigated ( Int.Cl. 6 , DB name) G02B 7/08 G02B 7/10 G03B 5/00 G03B 7/20

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 焦点距離が可変の交換レンズで焦点距
離の変化に応じて全長が変化し、全長が最短となるとき
の焦点距離に関する情報を記憶している撮影レンズと、 カメラの動作を許可する位置と禁止する位置とを切り換
えるメインスイッチと、 撮影レンズの焦点距離を変更する駆動手段と、 撮影レンズの全長が最も短い状態か否かを判別する判別
手段と、 メインスイッチが動作禁止位置に切り換えられると、レ
ンズ全長が最短となるように駆動手段を制御する制御手
段とを備えることを特徴とするズームレンズを備えるカ
メラ。
1. An interchangeable lens having a variable focal length, the total length of which changes in accordance with a change in the focal length, and a photographing lens storing information on the focal length when the total length is the shortest, and a camera operation permitted. A main switch for switching between a position for prohibition and a position for prohibition, a driving means for changing the focal length of the taking lens, a determining means for determining whether or not the entire length of the taking lens is the shortest, and a main switch in the operation prohibiting position. A camera comprising a zoom lens, comprising: control means for controlling a driving means so that the total length of the lens becomes the shortest when switched.
JP20072995A 1995-08-07 1995-08-07 Camera with zoom lens Expired - Lifetime JP2822947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20072995A JP2822947B2 (en) 1995-08-07 1995-08-07 Camera with zoom lens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20072995A JP2822947B2 (en) 1995-08-07 1995-08-07 Camera with zoom lens

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63196626A Division JP2773144B2 (en) 1988-08-05 1988-08-05 Camera with zoom lens

Publications (2)

Publication Number Publication Date
JPH0843710A JPH0843710A (en) 1996-02-16
JP2822947B2 true JP2822947B2 (en) 1998-11-11

Family

ID=16429222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20072995A Expired - Lifetime JP2822947B2 (en) 1995-08-07 1995-08-07 Camera with zoom lens

Country Status (1)

Country Link
JP (1) JP2822947B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3862356B2 (en) * 1997-04-23 2006-12-27 キヤノン株式会社 Lens drive control device and photographing device having the same
JP5451058B2 (en) * 2008-12-25 2014-03-26 キヤノン株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM
JP5402857B2 (en) 2010-07-05 2014-01-29 株式会社ニコン Imaging device and lens barrel

Also Published As

Publication number Publication date
JPH0843710A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
JP2773144B2 (en) Camera with zoom lens
JP2961761B2 (en) Optical device
JP2822947B2 (en) Camera with zoom lens
JP2874603B2 (en) Interchangeable lens camera system
JP2794631B2 (en) Camera with power zoom function and interchangeable camera and interchangeable lens with power zoom function
JP2822948B2 (en) Camera with zoom lens
JP2915989B2 (en) Camera system
US7313323B2 (en) Camera system with a photometering device and an external operating device
GB2258317A (en) Exposure control apparatus of camera
JP2940112B2 (en) Camera with virtual wide function
JP2940113B2 (en) Camera with virtual wide function
JP4474040B2 (en) Camera and camera system
JP3171230B2 (en) camera
JP3272477B2 (en) Camera with zoom device during step exposure
JP3204116B2 (en) Optical device
JP2953398B2 (en) Optical device with shake correction function
JPH07261071A (en) Camera
JP2874650B2 (en) camera
JP3206800B2 (en) Camera system with shake compensation function and interchangeable lens with shake compensation function
JPH08313955A (en) Camera
JPH0560967A (en) Camera
JP2829920B2 (en) Cameras and interchangeable lenses with interchangeable lenses
JP3319384B2 (en) camera
JPH05241228A (en) Display device for camera
JP2000321657A (en) Camera

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080904

Year of fee payment: 10

EXPY Cancellation because of completion of term