JP3176244B2 - Conversion adapter - Google Patents

Conversion adapter

Info

Publication number
JP3176244B2
JP3176244B2 JP04027095A JP4027095A JP3176244B2 JP 3176244 B2 JP3176244 B2 JP 3176244B2 JP 04027095 A JP04027095 A JP 04027095A JP 4027095 A JP4027095 A JP 4027095A JP 3176244 B2 JP3176244 B2 JP 3176244B2
Authority
JP
Japan
Prior art keywords
lens
focus
electric terminal
aperture
flag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04027095A
Other languages
Japanese (ja)
Other versions
JPH08234265A (en
Inventor
光広 桂川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP04027095A priority Critical patent/JP3176244B2/en
Priority to US08/613,727 priority patent/US5731920A/en
Priority to EP95309361A priority patent/EP0718672B1/en
Priority to DE69530054T priority patent/DE69530054T2/en
Priority to KR1019950054224A priority patent/KR100231354B1/en
Publication of JPH08234265A publication Critical patent/JPH08234265A/en
Application granted granted Critical
Publication of JP3176244B2 publication Critical patent/JP3176244B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 conversion adapter to which an interchangeable lens can be attached.

【0002】[0002]

【従来の技術】製造現場では自動化が進み、それに伴い
組立・品質評価等の各製造過程で多くの画像処理機器が
用いられている。これらの画像処理機器の光学系にはC
マウント等のレンズがよく用いられる。一方、近年の技
術の進歩に伴いより高解像のセンサ等が開発され、これ
らが製造現場等にも使われてくると、Cマウントレンズ
より撮像エリアの大きく像性能が優れた35mm版のカ
メラレンズが多用されるようになってきた。
2. Description of the Related Art In a manufacturing site, automation is advanced, and accordingly, many image processing devices are used in each manufacturing process such as assembly and quality evaluation. The optical system of these image processing devices is C
A lens such as a mount is often used. On the other hand, with the advancement of technology in recent years, higher-resolution sensors and the like have been developed, and when they are used in manufacturing sites and the like, a 35 mm camera with a larger imaging area and better image performance than a C-mount lens. Lenses have come to be used frequently.

【0003】ところが、35mm版カメラレンズはCマ
ウントとは異なるマウントを持つ為、マウントを変換す
るアダプターが提案されている。
However, since the 35 mm camera lens has a mount different from the C mount, an adapter for changing the mount has been proposed.

【0004】[0004]

【発明が解決しようとしている課題】しかしながら、近
年35mm版カメラシステムはオートフォーカスをはじ
めとして電子化がすすみ本来のカメラシステム以外のシ
ステムに適用しようとしてもその機能を十分に発揮でき
ないことが多い。たとえばレンズのフォーカス・絞り等
の制御が、カメラ等の外部からの機械的な連動によって
行われるのでなく、電気的な信号のみによって行われる
場合は、マニュアル的な動作をさせることもできない。
However, in recent years, the 35 mm camera system has not been able to exhibit its function sufficiently even if it is applied to a system other than the original camera system, such as an autofocus system. For example, when the control of the focus / aperture of the lens is not performed by an external mechanical link such as a camera or the like but is performed only by an electrical signal, a manual operation cannot be performed.

【0005】このような課題を解決するため本発明は、
電気的な信号のみによって制御されるレンズにおいて
も、他の複数のシステムから制御できる変換アダプター
を提供するものである。
[0005] In order to solve such a problem, the present invention provides:
An object of the present invention is to provide a conversion adapter that can be controlled by a plurality of other systems even in a lens controlled only by an electric signal.

【0006】[0006]

【課題を解決するための手段及び作用】本発明は前記課
題を解決するために、本願の変換アダプターにおいて
は、交換レンズが装着可能な第1のマウントと、第1の
マウントに取り付けられた交換レンズを撮影光学系とす
る光学機器を装着可能な第2のマウントと、第1のマウ
ント部に具備された第1の電気端子と、第1の外部制御
装置に接続される第2の電気端子と、第2の電気端子に
接続される第1の外部制御装置とは別の第2の外部制御
装置に接続される第3の電気端子と、を有する。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides a conversion adapter according to the present invention, wherein a first mount on which an interchangeable lens can be mounted and an interchangeable lens mounted on the first mount. A second mount to which an optical device having a lens as a photographing optical system can be mounted, a first electric terminal provided on the first mount portion, and a second electric terminal connected to a first external control device And a third electric terminal connected to a second external control device different from the first external control device connected to the second electric terminal.

【0007】これにより複数の外部制御装置によって汎
用の交換レンズの制御が可能となり、本来銀塩カメラ用
に設計された交換レンズを活用できるようになるもので
ある。
As a result, a general-purpose interchangeable lens can be controlled by a plurality of external control devices, and an interchangeable lens originally designed for a silver halide camera can be utilized.

【0008】また、例えばコンピュータによるプログラ
ム制御とコンピュータでないマニュアル制御の両方、ま
たはどちらかによって汎用の交換レンズの制御が可能と
なる。
Further, for example, control of a general-purpose interchangeable lens can be performed by program control by a computer and / or manual control by a computer.

【0009】[0009]

【実施例】【Example】

(実施例1)図1は本発明に関わる第1の実施例を説明
するための変換アダプターを用いたシステムを表したも
のである。図1において1は変換アダプター、2は例え
ば一眼レフ用の交換レンズ(以下レンズと略す)、3は
レンズ2を撮影光学系とするビデオカメラやスキャナカ
メラ、あるいはフィルムカメラ等の光学機器あるいは画
像処理機器(以下カメラと略す)、4はレンズ2を制御
する第1の外部制御装置としての汎用コンピュータ、5
はレンズ2を制御する第2の外部制御装置である。6は
マウント7に取り付けられた第1の電気端子としての電
気端子、7はレンズ2を装着するマウントである。8は
コンピュータ4とシリアル通信を行うためのコンピュー
タ通信用の第2の電気端子としての汎用電気端子で、本
実施例ではRS232Cインターフェイスを用いている
が、セントロニクスやSCSI等でもよい。
(Embodiment 1) FIG. 1 shows a system using a conversion adapter for explaining a first embodiment according to the present invention. In FIG. 1, reference numeral 1 denotes a conversion adapter, 2 denotes, for example, an interchangeable lens for a single-lens reflex camera (hereinafter abbreviated as a lens), and 3 denotes an optical device such as a video camera or a scanner camera using a lens 2 as a photographing optical system, or a film camera, or image processing. Equipment (hereinafter abbreviated as camera), 4 a general-purpose computer as a first external control device for controlling the lens 2, 5
Is a second external control device for controlling the lens 2. Reference numeral 6 denotes an electric terminal serving as a first electric terminal attached to the mount 7, and reference numeral 7 denotes a mount for mounting the lens 2. Reference numeral 8 denotes a general-purpose electric terminal serving as a second electric terminal for computer communication for performing serial communication with the computer 4. Although an RS232C interface is used in this embodiment, a Centronics, SCSI, or the like may be used.

【0010】9は外部制御装置5の制御信号を入力する
ための第3の電気端子である。10はコンピュータ4か
らのシリアル制御信号をレンズ2が認識可能な制御信号
に変換、またレンズ2からの信号をコンピュータ4が認
識可能なシリアル信号に変換する第1の変換手段として
の変換回路である。11は外部制御装置5の制御信号を
レンズ2が受信可能な制御信号に変換する第2の変換手
段としての変換回路である。12は変換回路10と変換
回路11のどちらか一方を選択する選択回路である。以
上述べてきたシステムにより、一眼レフ用交換レンズ2
内のマイコン2aはインターフェイス2b、変換アダプ
タ1を介しコンピュータ4または外部制御装置5によっ
て制御が可能となる。そして、レンズ内マイコン2aは
制御回路2dを介してレンズ内アクチュエータ2cを制
御して、例えばフォーカスレンズ2f及び絞り2eを駆
動する。
Reference numeral 9 denotes a third electric terminal for inputting a control signal of the external control device 5. Reference numeral 10 denotes a conversion circuit as first conversion means for converting a serial control signal from the computer 4 into a control signal recognizable by the lens 2 and converting a signal from the lens 2 into a serial signal recognizable by the computer 4. . Reference numeral 11 denotes a conversion circuit as second conversion means for converting a control signal of the external control device 5 into a control signal that can be received by the lens 2. A selection circuit 12 selects one of the conversion circuit 10 and the conversion circuit 11. With the system described above, the interchangeable lens for single-lens reflex camera 2
The microcomputer 2a can be controlled by the computer 4 or the external control device 5 via the interface 2b and the conversion adapter 1. The microcomputer 2a in the lens controls the actuator 2c in the lens via the control circuit 2d to drive, for example, the focus lens 2f and the diaphragm 2e.

【0011】図2は図1中のアダプター1および外部制
御装置5の他の実施例をさらに詳細に説明するための回
路構成例を示す図である。6−aはレンズ2内のアクチ
ュエータを駆動するための電源端子(以下VBAT電源
と記す)、6−bは電源端子6−aに対する接地端子、
6−cはレンズ2内の回路系へ動作させる為の電源端子
(以下VDD電源と記す)、6−dは電源接点6−cに
対する接地接点である。6−eはレンズ2と変換アダプ
ター1間のシリアル通信用のクロック端子、6−fはレ
ンズ2から変換アダプター1へのシリアルデータ受信用
の接点、6−gは変換アダプター1からレンズ2へのシ
リアルデータ送信用の接点である。
FIG. 2 is a diagram showing an example of a circuit configuration for explaining in further detail another embodiment of the adapter 1 and the external control device 5 in FIG. 6-a is a power supply terminal (hereinafter referred to as VBAT power supply) for driving an actuator in the lens 2, 6-b is a ground terminal for the power supply terminal 6-a,
6-c is a power supply terminal (hereinafter referred to as VDD power supply) for operating the circuit system in the lens 2, and 6-d is a ground contact to the power supply contact 6-c. 6-e is a clock terminal for serial communication between the lens 2 and the conversion adapter 1, 6-f is a contact for receiving serial data from the lens 2 to the conversion adapter 1, and 6-g is a contact from the conversion adapter 1 to the lens 2. This is a contact for transmitting serial data.

【0012】13は変換アダプター内のマイクロコンピ
ュータで、14は外部コンピュータから端子8を介して
接続されるRS232Cシリアル信号を+5ボルト、0
ボルトのロジックレベルに変換するレベル変換回路であ
る。
Reference numeral 13 denotes a microcomputer in the conversion adapter. Reference numeral 14 denotes an RS232C serial signal connected from an external computer via a terminal 8 to +5 volts, 0
This is a level conversion circuit that converts the voltage to a logic level of volts.

【0013】15はレンズ2内のアクチュエータ2cを
駆動するための電源の供給を制御する電源制御回路で、
電源制御回路15はマイクロコンピューター13からの
制御信号により電源端子6−aへの給電をオンまたはオ
フする。16はレンズ2内の制御回路2dを動作させる
ための電源の供給を制御する電源制御回路で、電源制御
回路16はマイクロコンピューター13からの制御信号
により電源端子6−cへの給電をオンまたはオフする。
PSは電源スイッチ(メインスイッチ)である。
A power supply control circuit 15 controls the supply of power for driving the actuator 2c in the lens 2.
The power supply control circuit 15 turns on or off power supply to the power supply terminal 6-a according to a control signal from the microcomputer 13. Reference numeral 16 denotes a power supply control circuit for controlling supply of power for operating the control circuit 2d in the lens 2. The power supply control circuit 16 turns on or off power supply to the power supply terminal 6-c according to a control signal from the microcomputer 13. I do.
PS is a power switch (main switch).

【0014】17は交換レンズ装着検知スイッチで、レ
ンズ2がマウント5に装着され電気信号接点6を通して
レンズ2がアダプター1により制御可能な位置に至った
時のみオンするもので、スイッチ17はマイクロコンピ
ュータ13に接続されている。18は不揮発性メモリ
(EEPROM)で、マイクロコンピュータ13に接続
され、メモリ18内のデータの消去、書き込み、読みだ
しがマイクロコンピュータ13により可能である。19
はモードスイッチで、スイッチ19−a、19−bの状
態によってRS232Cインターフェイスの転送速度が
図3のように設定される。
Reference numeral 17 denotes an interchangeable lens mounting detection switch, which is turned on only when the lens 2 is mounted on the mount 5 and the lens 2 reaches a position controllable by the adapter 1 through the electric signal contact 6, and the switch 17 is a microcomputer. 13 is connected. Reference numeral 18 denotes a non-volatile memory (EEPROM) which is connected to the microcomputer 13 so that data in the memory 18 can be erased, written, and read. 19
Is a mode switch, and the transfer speed of the RS232C interface is set as shown in FIG. 3 according to the state of the switches 19-a and 19-b.

【0015】なお、この図2の実施例ではマイコンない
で図1の変換回路10、11の代わりにソフト的に信号
の変換を切り換えている。
In the embodiment of FIG. 2, the conversion of signals is switched by software instead of the conversion circuits 10 and 11 of FIG. 1 without using a microcomputer.

【0016】図4は本願に関わる外部制御装置5の例を
説明する図である。この実施例では外部制御装置5はマ
ニュアルのリモコン操作ユニットの例を示す。
FIG. 4 is a diagram for explaining an example of the external control device 5 according to the present invention. In this embodiment, the external control device 5 is an example of a manual remote control operation unit.

【0017】20〜25はスイッチで、スイッチ20は
フォーカスを無限方向に駆動させる為のもので、オンし
ている間フォーカスが無限方向に駆動される。スイッチ
21はフォーカスを至近方向に駆動させる為のもので、
オンしている間フォーカスが至近方向に駆動される。ス
イッチ22は絞りを開く方向に駆動させる為のもので、
オンしている間絞りは開放方向へ駆動される。スイッチ
23は絞りを閉じる方向に駆動させる為のもので、オン
している間絞り込みの方向に駆動される。スイッチ24
はフォーカス速度を切り替える為のもので、オン時に高
速となり、オフ時に低速となる。スイッチ25はIRI
S速度を切り替える為のもので、オン時に高速となり、
オフ時に低速となる。
Reference numerals 20 to 25 denote switches, and the switch 20 drives the focus in an infinite direction. The focus is driven in the infinite direction while the switch is turned on. The switch 21 is for driving the focus in a close direction,
While being turned on, the focus is driven in the closest direction. The switch 22 is for driving the aperture in the opening direction.
The aperture is driven in the opening direction while it is on. The switch 23 is for driving the aperture in the closing direction, and is driven in the aperture closing direction while being turned on. Switch 24
Is for switching the focus speed. The speed is high when the focus is on and low when the focus is off. Switch 25 is IRI
It is for switching S speed, it becomes high speed when on,
Slow when off.

【0018】図5〜12はマイクロコンピュータ13の
動作を説明するフローチャートである。以下図5〜12
のフローチャートをステップごとに説明する。
FIGS. 5 to 12 are flowcharts for explaining the operation of the microcomputer 13. Figures 5 to 12
Will be described step by step.

【0019】<ステップ101>図2のメインスイッチ
PSが投入されるとマイクロコンピュータ13はメモリ
・入出力ポート等の初期化を行う。この時、スイツチ1
9の状態に従ってRS232Cシリアル通信の転送速度
も設定される。
<Step 101> When the main switch PS shown in FIG. 2 is turned on, the microcomputer 13 initializes a memory, an input / output port, and the like. At this time, switch 1
The transfer speed of the RS232C serial communication is also set according to the state of No. 9.

【0020】<ステップ102>不揮発性メモリ18の
内容を読み出し、マイクロコンピュータ13内のメモリ
(RAM)に格納する。なお、不揮発性メモリ18には
図13に示した内容のデータが記憶されている。図13
でF_MEMO0〜F_MEMO7はフォーカス位置の
記憶データでレンズ2内の不図示のフォーカスエンコー
ダーのエンコード値に対応づけて設定されている。F_
SPD0〜F_SDP3はフォーカス速度データでレン
ズ2内のフォーカス駆動量に対応づけて設定されてい
る。I_SPD0〜I_SDP3はIRIS速度データ
でレンズ2内の絞り(IRIS)の駆動を実行する時間
間隔に対応づけて設定されている。なお、F_MEMO
0〜F_MEMO7はそれぞれマイクロコンピュータ1
3のメモリMF_MEMO0〜MF_MEMO7に、F
_SPD0〜F_SPD3はそれぞれマイクロコンピュ
ータ13のメモリMF_SPD0〜MF_SPD3に、
またI_SPD0〜I_SPD3はそれぞれマイクロコ
ンピュータ13のメモリMI_SPD0〜MI_SPD
3に格納される。
<Step 102> The contents of the nonvolatile memory 18 are read out and stored in the memory (RAM) in the microcomputer 13. Note that the nonvolatile memory 18 stores data having the contents shown in FIG. FIG.
F_MEMO0 to F_MEMO7 are stored data of the focus position and are set in association with the encode value of a focus encoder (not shown) in the lens 2. F_
SPD0 to F_SDP3 are focus speed data, which are set in association with the focus drive amount in the lens 2. I_SPD0 to I_SDP3 are set in accordance with the time intervals at which the drive of the aperture (IRIS) in the lens 2 is executed by the IRIS speed data. In addition, F_MEMO
0 to F_MEMO7 are microcomputers 1 respectively.
3 in the memories MF_MEMO0 to MF_MEMO7
_SPD0 to F_SPD3 are stored in the memories MF_SPD0 to MF_SPD3 of the microcomputer 13, respectively.
Also, I_SPD0 to I_SPD3 are memories MI_SPD0 to MI_SPD of the microcomputer 13, respectively.
3 is stored.

【0021】<ステップ103>レンズ装着スイッチ1
7の状態を検知し、オンしていればレンズ2が装着され
ているのでステップ105へ進む。またオフならステッ
プ106へ進む。
<Step 103> Lens mounting switch 1
The state of No. 7 is detected, and if it is on, the process proceeds to step 105 because the lens 2 is mounted. If it is off, the process proceeds to step 106.

【0022】<ステップ104>ステップ103にて、
レンズ2がアダプター1に装着されていないと判断され
たので、電源制御回路16を電源VDDが電源端子6−
cに供給されないよう制御し、ステップ103へ戻る。
<Step 104> In step 103,
Since it is determined that the lens 2 is not attached to the adapter 1, the power supply control circuit 16 is connected to the power supply terminal 6-
c so as not to be supplied, and the process returns to step 103.

【0023】<ステップ105>ステップ103にて、
レンズ2がアダプター1に装着されていると判断された
ので、電源制御回路16を電源VDDが電源端子6−c
に供給されるよう制御し、ステップ106へ進む。すな
わち、ステップ103〜105では、レンズ2が装着さ
れるまではVDD電源を供給せず、レンズ2が装着され
たらVDDを供給している。
<Step 105> In step 103,
Since it is determined that the lens 2 is attached to the adapter 1, the power supply control circuit 16 is switched from the power supply VDD to the power supply terminal 6-c.
And the process proceeds to step 106. That is, in steps 103 to 105, VDD power is not supplied until the lens 2 is mounted, and VDD is supplied when the lens 2 is mounted.

【0024】<ステップ106>ステップ105でレン
ズ2に回路電源VDDが供給されたので、電気端子6−
e、6−f、6−gを通してレンズ2内のマイコン2a
とアダプタ内のマイコン13との間で双方向シリアル通
信を行う。もし、シリアル通信が正常に実行されなかっ
たらステップ107へ進む。また、シリアル通信が正常
に実行されたならステップ108へ進む。
<Step 106> Since the circuit power supply VDD is supplied to the lens 2 in step 105, the electric terminals 6-
e, 6-f, 6-g, microcomputer 2a in lens 2
And the microcomputer 13 in the adapter performs bidirectional serial communication. If the serial communication is not executed normally, the process proceeds to step 107. If the serial communication has been executed normally, the process proceeds to step 108.

【0025】<ステップ107>レンズ2との通信が異
常なので、電源制御回路15を電源VBATが電源端子
6−aに供給されないよう制御し、ステップ103へ戻
る。
<Step 107> Since communication with the lens 2 is abnormal, the power supply control circuit 15 is controlled so that the power supply VBAT is not supplied to the power supply terminal 6-a, and the process returns to step 103.

【0026】<ステップ108>レンズ2との通信が正
常に行われたので、電源制御回路15を電源VBATが
電源端子6−aに供給されるよう制御し、ステップ10
9へ進む。このようにステップ106〜108により、
電源VBATはレンズ2との通信が正常に行われた場合
のみ供給される。
<Step 108> Since the communication with the lens 2 has been normally performed, the power supply control circuit 15 is controlled so that the power supply VBAT is supplied to the power supply terminal 6-a.
Go to 9. Thus, by steps 106 to 108,
The power supply VBAT is supplied only when communication with the lens 2 is normally performed.

【0027】<ステップ109>装着されているレンズ
2の絞りが開放に駆動されるように、電気端子6を通し
てレンズ2を制御する。
<Step 109> The lens 2 is controlled through the electric terminal 6 so that the aperture of the mounted lens 2 is opened.

【0028】<ステップ110>装着されているレンズ
2の開放Fナンバー、最小絞りFナンバーの情報を電気
端子6を通して取り込み、それぞれメモリAV_O、A
V_MAXに格納する。
<Step 110> Information on the open F-number and the minimum aperture F-number of the mounted lens 2 is fetched through the electric terminal 6 and stored in the memories AV_O and A_V, respectively.
Store in V_MAX.

【0029】<ステップ111>装着されているレンズ
2のフォーカスが至近端に駆動されるように、電気端子
6を通してレンズ2を制御する。
<Step 111> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven to the nearest end.

【0030】<ステップ112>装着されているレンズ
2の不図示のフォーカスエンコーダの値を零にリセット
するように、電気端子6を通してレンズ2を制御する。
<Step 112> The lens 2 is controlled through the electric terminal 6 so that the value of the focus encoder (not shown) of the mounted lens 2 is reset to zero.

【0031】<ステップ113>装着されているレンズ
2のフォーカスが無限端に駆動されるように、電気端子
6を通してレンズ2を制御する。
<Step 113> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven to the infinite end.

【0032】<ステップ114>装着されているレンズ
2のフォーカスエンコーダ値を、電気端子6を通して取
り込み、メモリENC_MAXに格納する。
<Step 114> The focus encoder value of the attached lens 2 is fetched through the electric terminal 6 and stored in the memory ENC_MAX.

【0033】以上のステップ109〜114は、装着さ
れたレンズ2の絞り・フォーカスを初期位置に駆動させ
ると共に、レンズ固有のデータである開放Fナンバー、
最小絞りFナンバー、また至近端を零とした場合の無限
端のフォーカスエンコーダ値を取り込みメモリに格納
し、これにより交換レンズの特性を読みとっている。
The above steps 109 to 114 drive the aperture / focus of the mounted lens 2 to the initial position, as well as the open F-number,
The minimum aperture F number and the focus encoder value at the infinite end when the closest end is set to zero are fetched and stored in the memory, thereby reading the characteristics of the interchangeable lens.

【0034】<ステップ115>SELECTフラグを
セットして、外部制御装置5からの制御を許可する。
<Step 115> The SELECT flag is set, and control from the external control device 5 is permitted.

【0035】<ステップ116>RS232Cによる通
信を受信したときに発生する割り込みを許可する。割り
込みが発生したら、図7のステップ200からのRS2
32C通信割り込みルーチンへ進む。
<Step 116> An interrupt generated when communication by RS232C is received is permitted. If an interrupt occurs, RS2 from step 200 in FIG.
Proceed to the 32C communication interrupt routine.

【0036】<ステップ117>SELECTフラグが
セットされていたら外部制御装置5からの制御が有効な
のでステップ118へ進む。またSELECTフラグが
クリアされていたら外部制御信号5からの制御を禁止す
るので、図10のステップ130へ進む。
<Step 117> If the SELECT flag is set, the control from the external control device 5 is effective, and the process proceeds to step 118. If the SELECT flag is cleared, the control from the external control signal 5 is prohibited, and the process proceeds to step 130 in FIG.

【0037】<ステップ118>図4のフォーカス速度
切り換え用のスイッチ24の状態を検出し、オンしてい
たらステップ119へ進み、オフしていたらステップ1
20へ進む。
<Step 118> The state of the focus speed switching switch 24 shown in FIG. 4 is detected, and if it is on, the process proceeds to step 119; if it is off, step 1 is performed.
Proceed to 20.

【0038】<ステップ119>ステップ118におけ
る判別結果に応じてフォーカス速度は高速駆動を行う。
そのためにメモリMF_SPD3に設定されているフォ
ーカス速度のデータをメモリPにコピーし、ステップ1
21へ進む。
<Step 119> The focus speed is driven at a high speed according to the result of the determination at step 118.
Therefore, the data of the focus speed set in the memory MF_SPD3 is copied to the memory P, and
Proceed to 21.

【0039】<ステップ120>ステップ118にてフ
ォーカス速度は低速駆動を行うので、メモリMF_SP
D0に設定されているフォーカス速度のデータをメモリ
Pにコピーし、ステップ121へ進む。なお、メモリM
F_SPD0に内容とメモリMF_SPD3の内容は、
MF_SPD0<MF_SPD3を満たす。
<Step 120> Since the focus speed is set to low speed in step 118, the memory MF_SP
The data of the focus speed set in D0 is copied to the memory P, and the process proceeds to step 121. Note that the memory M
The contents of F_SPD0 and the contents of memory MF_SPD3 are
Satisfies MF_SPD0 <MF_SPD3.

【0040】<ステップ121>スイッチ20の状態を
検出し、オンしていたらフォーカスを無限方向に駆動さ
せる。そのため、ステップ140においてフォーカス無
限方向起動処理サブルーチンを実行後、ステップ123
へ進む。
<Step 121> The state of the switch 20 is detected, and if it is on, the focus is driven in the infinite direction. Therefore, after executing the infinite focus direction activation processing subroutine in step 140, step 123
Proceed to.

【0041】<ステップ122>スイッチ21の状態を
検出し、オンしていたらフォーカスを至近方向に駆動さ
せる。そのためステップ150においてフォーカス至近
方向起動処理サブルーチンを実行後、ステップ123へ
進む。また、オフしていたら、ステップ160でフォー
カス停止処理サブルーチンを実行後、ステップ123へ
進む。
<Step 122> The state of the switch 21 is detected, and if the switch 21 is on, the focus is driven in the closest direction. Therefore, after executing the near-focus direction starting process subroutine in step 150, the process proceeds to step 123. If it has been turned off, the subroutine proceeds to step 123 after executing the focus stop processing subroutine in step 160.

【0042】<ステップ123>絞りの速度を切り換え
るためのスイッチ25の状態を検出し、オンしていたら
ステップ124へ進み、オフしていたらステップ125
へ進む。
<Step 123> The state of the switch 25 for switching the aperture speed is detected. If the switch 25 is on, the process proceeds to step 124; if it is off, the process proceeds to step 125.
Proceed to.

【0043】<ステップ124>ステップ123にてI
RIS駆動は高速駆動を行う。そのためメモリMI_S
PD3に設定されている絞り速度のデータをメモリTに
コピーし、ステップ126へ進む。
<Step 124> In step 123, I
The RIS drive performs high-speed drive. Therefore, the memory MI_S
The data of the aperture speed set in PD3 is copied to the memory T, and the flow advances to step 126.

【0044】<ステップ125>ステップ123にてI
RIS駆動は低速駆動を行う。そのためメモリMI_S
PD0に設定されている絞り速度のデータをメモリTに
コピーし、ステップ126へ進む。
<Step 125> In step 123, I
The RIS drive performs low-speed drive. Therefore, the memory MI_S
The data of the aperture speed set in PD0 is copied to the memory T, and the flow advances to step 126.

【0045】<ステップ126>スイッチ22の状態を
検出し、オンしていたらIRISを開放方向に駆動させ
る。そのためステップ170のIRIS開放方向起動処
理サブルーチンを実行後、ステップ130へ進む。
<Step 126> The state of the switch 22 is detected, and if it is on, the IRIS is driven in the opening direction. Therefore, after executing the IRIS release direction activation processing subroutine in step 170, the process proceeds to step 130.

【0046】<ステップ127>スイッチ23の状態を
検出し、オンしていたらIRISを閉じる方向に駆動さ
せる。そのためステップ180のIRIS絞り込み方向
起動処理サブルーチンを実行後、ステップ130へ進
む。また、オフしていたら、ステップ190のフォーカ
ス停止処理サブルーチンを実行後、ステップ130へ進
む。
<Step 127> The state of the switch 23 is detected, and if it is on, the IRIS is driven in the direction to close. Therefore, after executing the IRIS narrowing-down direction start processing subroutine in step 180, the process proceeds to step 130. If the switch is off, the subroutine proceeds to step 130 after executing the focus stop processing subroutine of step 190.

【0047】図6は図5で示されているサブルーチン、
すなわちステップ140、150、160、170、1
80、190を説明するフローチャートである。
FIG. 6 shows a subroutine shown in FIG.
That is, steps 140, 150, 160, 170, 1
It is a flowchart explaining 80,190.

【0048】まず、図6(イ)のステップ141〜14
5でステップ140のフォーカス無限方向起動処理サブ
ルーチンを説明する。
First, steps 141 to 14 in FIG.
In Step 5, the infinite focus direction activation processing subroutine of Step 140 will be described.

【0049】<ステップ141>フォーカス無限方向駆
動中フラグがセットされていたら、すでに無限方向に駆
動中なので何もせずにサブルーチンを終了する。
<Step 141> If the in-focus in-direction driving flag is set, the subroutine is terminated without doing anything because the driving is already in the infinite direction.

【0050】<ステップ142>フォーカスを駆動する
直前のフォーカスエンコーダー値を電気端子6と通して
取得し、メモリENC_0に格納する。
<Step 142> The focus encoder value immediately before driving the focus is obtained through the electric terminal 6 and stored in the memory ENC_0.

【0051】<ステップ143>装着されているレンズ
2のフォーカスを駆動量Pだけ無限方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 143> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven in the infinite direction by the driving amount P.

【0052】<ステップ144>フォーカス無限方向駆
動中フラグをセットする。
<Step 144> The in-focus in-focus driving flag is set.

【0053】<ステップ145>フォーカス至近方向駆
動中フラグをクリアし、サブルーチンを終了する。
<Step 145> The flag for driving in the closest focus direction is cleared, and the subroutine ends.

【0054】次に、図6(ロ)のステップ151〜15
5でステップ150のフォーカス至近方向起動処理サブ
ルーチンを説明する。
Next, steps 151 to 15 in FIG.
In step 5, the near-focus direction starting processing subroutine of step 150 will be described.

【0055】<ステップ151>フォーカス至近方向駆
動中フラグがセットされていたら、すでに至近方向に駆
動中なので何もせずにサブルーチンを終了する。
<Step 151> If the in-focus close direction driving flag is set, the subroutine ends without any operation because the drive is already in the close direction.

【0056】<ステップ152>フォーカスを駆動する
直前のフォーカスエンコーダー値を電気端子6と通して
取得し、メモリENC_0に格納する。
<Step 152> The focus encoder value immediately before driving the focus is obtained through the electric terminal 6 and stored in the memory ENC_0.

【0057】<ステップ153>装着されているレンズ
2のフォーカスを駆動量Pだけ至近方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 153> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven in the close direction by the driving amount P.

【0058】<ステップ154>フォーカス至近方向駆
動中フラグをセットする。
<Step 154> Set the close-in-focus direction driving flag.

【0059】<ステップ155>フォーカス無限方向駆
動中フラグをクリアし、サブルーチンを終了する。
<Step 155> The in-focus in-direction driving flag is cleared, and the subroutine ends.

【0060】次に、図6(ハ)のステップ161〜16
3でステップ160のフォーカス停止処理サブルーチン
を説明する。
Next, steps 161 to 16 in FIG.
In step 3, the focus stop processing subroutine in step 160 will be described.

【0061】<ステップ161>装着されているレンズ
2のフォーカスを停止するように、電気端子6を通して
レンズ2を制御する。
<Step 161> The lens 2 is controlled through the electric terminal 6 so as to stop the focus of the mounted lens 2.

【0062】<ステップ162>フォーカス無限方向駆
動中フラグをクリアする。
<Step 162> The in-focus in-direction driving flag is cleared.

【0063】<ステップ163>フォーカス至近方向駆
動中フラグをクリアし、サブルーチンを終了する。
<Step 163> The flag for driving in the closest focus direction is cleared, and the subroutine ends.

【0064】図6(ニ)のステップ171〜ステップ1
77はステップ170のIRIS開放方向起動サブルー
チンを説明するものである。
Steps 171 to 1 in FIG.
Reference numeral 77 denotes an IRIS release direction activation subroutine in step 170.

【0065】<ステップ171>現在絞りが開放状態で
あるのかどうかを電気端子6を通してレンズ2から取得
し、もし開放状態であったらこれ以上開放方向への駆動
はできないので何もせずにサブルーチンを終了する。ま
た、開放状態でなかったらステップ172へ進む。
<Step 171> Whether the aperture is currently in the open state is obtained from the lens 2 through the electric terminal 6, and if it is in the open state, no further driving in the opening direction is possible, so the subroutine is terminated without doing anything. I do. If it is not in the open state, the process proceeds to step 172.

【0066】<ステップ172>絞り開放方向駆動中フ
ラグがセットされていたら、すでに開放方向に駆動中な
ので何もせずにサブルーチンを終了する。
<Step 172> If the aperture opening direction driving flag is set, the subroutine ends without any operation because the aperture opening direction is already being driven.

【0067】<ステップ173>装着されているレンズ
2の絞りを1/8段だけ開放方向に駆動するように、電
気端子6を通してレンズ2を制御する。
<Step 173> The lens 2 is controlled through the electric terminal 6 so that the aperture of the mounted lens 2 is driven in the opening direction by 8 step.

【0068】<ステップ174>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 174> A timer is started so that an interrupt occurs at time T.

【0069】<ステップ175>タイマ割り込み発生フ
ラグをクリアする。
<Step 175> The timer interrupt occurrence flag is cleared.

【0070】<ステップ176>絞り開放方向駆動中フ
ラグをセットする。
<Step 176> An aperture opening direction driving flag is set.

【0071】<ステップ177>絞り込み方向駆動中フ
ラグをクリアし、サブルーチンを終了する。
<Step 177> The driving flag in the narrowing-down direction is cleared, and the subroutine ends.

【0072】図6(ホ)のステップ181〜ステップ1
87はステップ180のIRIS絞り込み方向起動サブ
ルーチンを説明するものである。
Steps 181 to 1 in FIG.
Reference numeral 87 denotes an IRIS narrowing-down direction starting subroutine in step 180.

【0073】<ステップ181>現在絞りが最小絞り状
態であるのかどうかを電気端子6を通してレンズ2から
取得し、もし最小絞り状態であったらこれ以上絞り込み
方向への駆動はできないので何もせずにサブルーチンを
終了する。また、最小絞り状態でなかったらステップ1
82へ進む。
<Step 181> Whether or not the aperture is currently in the minimum aperture state is obtained from the lens 2 through the electrical terminal 6. If the aperture is in the minimum aperture state, no further drive in the aperture stop direction is possible, so no subroutine is performed without any operation. To end. If it is not in the minimum aperture state, step 1
Go to 82.

【0074】<ステップ182>絞り込み方向駆動中フ
ラグがセットされていたら、すでに絞り込み方向に駆動
中なので何もせずにサブルーチンを終了する。
<Step 182> If the driving flag in the narrowing-down direction has been set, the subroutine ends without performing any operation because it is already driven in the narrowing-down direction.

【0075】<ステップ183>装着されているレンズ
2の絞りを1/8段だけ絞り込み方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 183> The lens 2 is controlled through the electric terminal 6 so that the aperture of the mounted lens 2 is driven in the direction of narrowing down by 8 step.

【0076】<ステップ184>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 184> A timer is started so that an interrupt occurs at time T.

【0077】<ステップ185>タイマ割り込み発生フ
ラグをクリアする。
<Step 185> The timer interrupt occurrence flag is cleared.

【0078】<ステップ186>絞り込み方向駆動中フ
ラグをセットする。
<Step 186> The flag in the narrowing-down direction is set.

【0079】<ステップ187>絞り開放方向駆動中フ
ラグをクリアし、サブルーチンを終了する。
<Step 187> The flag indicating that the aperture opening direction is being driven is cleared, and the subroutine ends.

【0080】次に、図6(ヘ)のステップ191〜19
3でステップ190のIRIS停止処理サブルーチンを
説明する。
Next, steps 191 to 19 in FIG.
In step 3, the IRIS stop processing subroutine of step 190 will be described.

【0081】<ステップ191>装着されているレンズ
2のIRISを停止するように、電気端子6を通してレ
ンズ2を制御する。
<Step 191> The lens 2 is controlled through the electric terminal 6 so as to stop the IRIS of the mounted lens 2.

【0082】<ステップ192>絞り込み方向駆動中フ
ラグをクリアする。
<Step 192> The flag in the focusing direction is cleared.

【0083】<ステップ193>開放方向駆動中フラグ
をクリアし、サブルーチンを終了する。
<Step 193> The open direction driving flag is cleared, and the subroutine ends.

【0084】以上ステップ118〜127では外部制御
装置からの信号、本実施例ではスイッチの状態に応じた
信号に基づいてフォーカス、IRISの起動、停止制御
を行っている。なお、本実施例ではフォーカスとIRI
Sのみについて説明しているが、ズームや他の光学的な
アクチュエータ、例えば光学的にぶれを補正する光学手
段や光学的に像をずらすことにより高解像を得る光学手
段をレンズ内に設けて外部制御装置から制御してもよ
い。
In steps 118 to 127, the focus and the start and stop of the IRIS are controlled based on the signal from the external control device, in this embodiment, the signal corresponding to the state of the switch. In this embodiment, focus and IRI
Although only S has been described, zoom and other optical actuators, for example, optical means for correcting optical blur and optical means for obtaining a high resolution by optically shifting an image are provided in the lens. The control may be performed from an external control device.

【0085】図7(イ)のステップ200〜201はR
S232C通信の受信による割り込み動作を説明するも
のである。
Steps 200 to 201 in FIG.
This is to explain an interrupt operation due to the reception of the S232C communication.

【0086】<ステップ200>SELECTフラグを
クリアして、外部制御装置からの制御を禁止する。すな
わち、RS232Cによる外部コンピュータからの制御
のみを可能としている。
<Step 200> The SELECT flag is cleared and control from the external control device is prohibited. That is, only control from the external computer by the RS232C is enabled.

【0087】<ステップ201>受信したコマンドの解
析を行い、各コマンド受信処理ルーチンへ進む。
<Step 201> The received commands are analyzed, and the process proceeds to each command reception processing routine.

【0088】図7(ロ)のステップ202〜207はフ
ォーカスを無限方向に駆動するコマンドを受信した時の
処理を説明するものである。
Steps 202 to 207 in FIG. 7B are for explaining the processing when a command for driving the focus in the infinite direction is received.

【0089】<ステップ202>メモリMF_SPD0
に設定されているフォーカス速度のデータをメモリPに
コピーする。
<Step 202> Memory MF_SPD0
Is copied to the memory P.

【0090】<ステップ203>フォーカス無限方向駆
動中フラグがセットされていたら、すでに無限方向に駆
動中なので何もせずに通信割り込みルーチンを終了す
る。
<Step 203> If the in-focus in-direction driving flag is set, the communication interrupt routine is terminated without any operation because the driving is already in the infinite direction.

【0091】<ステップ204>フォーカスを駆動する
直前のフォーカスエンコーダー値を電気端子6と通して
取得し、メモリENC_0に格納する。
<Step 204> The focus encoder value immediately before driving the focus is obtained through the electric terminal 6 and stored in the memory ENC_0.

【0092】<ステップ205>装着されているレンズ
2のフォーカスを駆動量Pだけ無限方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 205> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven in the infinite direction by the driving amount P.

【0093】<ステップ206>フォーカス無限方向駆
動中フラグをセットする。
<Step 206> The in-focus in-focus driving flag is set.

【0094】<ステップ207>フォーカス至近方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 207> The close-in-focus direction driving flag is cleared, and the communication interrupt routine ends.

【0095】図7(ハ)のステップ211〜216はフ
ォーカスを至近方向に駆動するコマンドを受信した時の
処理を説明するものである。
Steps 211 to 216 in FIG. 7C are for explaining the processing when a command for driving the focus in the closest direction is received.

【0096】<ステップ211>メモリMF_SPD0
に設定されているフォーカス速度のデータをメモリPに
コピーする。
<Step 211> Memory MF_SPD0
Is copied to the memory P.

【0097】<ステップ212>フォーカス至近方向駆
動中フラグがセットされていたら、すでに至近方向に駆
動中なので何もせずに通信割り込みルーチンを終了す
る。
<Step 212> If the focus close direction drive flag is set, the communication interrupt routine is terminated without any operation because the drive is already performed in the close direction.

【0098】<ステップ213>フォーカスを駆動する
直前のフォーカスエンコーダー値を電気端子6と通して
取得し、メモリENC_0に格納する。
<Step 213> The focus encoder value immediately before driving the focus is obtained through the electric terminal 6 and stored in the memory ENC_0.

【0099】<ステップ214>装着されているレンズ
2のフォーカスを駆動量Pだけ至近方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 214> The lens 2 is controlled through the electric terminal 6 so that the focus of the mounted lens 2 is driven in the close direction by the driving amount P.

【0100】<ステップ215>フォーカス至近方向駆
動中フラグをセットする。
<Step 215> Set the close-in-focus driving direction flag.

【0101】<ステップ216>フォーカス無限方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 216> The in-focus in-direction driving flag is cleared, and the communication interrupt routine ends.

【0102】図7(ニ)のステップ221〜223はフ
ォーカスを停止するコマンドを受信した時の処理を説明
するものである。
Steps 221 to 223 in FIG. 7D are for explaining processing when a command to stop focusing is received.

【0103】<ステップ221>装着されているレンズ
2のフォーカス駆動が停止されるように、電気端子6を
通してレンズ2を制御する。
<Step 221> The lens 2 is controlled through the electric terminal 6 so that the focus driving of the mounted lens 2 is stopped.

【0104】<ステップ222>フォーカス至近方向駆
動中フラグをクリアする。
<Step 222> The flag in the near-focus direction is cleared.

【0105】<ステップ223>フォーカス無限方向駆
動中フラグをクリアし、通信割り込みルーチンを終了す
る。
<Step 223> The in-focus in-direction driving flag is cleared, and the communication interrupt routine ends.

【0106】図7(ホ)のステップ231はフォーカス
の速度を設定するコマンドを受信した時の処理を説明す
るものである。
Step 231 in FIG. 7E explains the processing when a command for setting the focus speed is received.

【0107】<ステップ231>受信したフォーカス速
度番号に応じてメモリMF_SPD0〜MF_SPD3
の中から速度データをメモリPにコピーし、通信割り込
みルーチンを終了する。
<Step 231> Memory MF_SPD0 to MF_SPD3 according to received focus speed number
Is copied to the memory P, and the communication interrupt routine is terminated.

【0108】図8(イ)のステップ241〜242はフ
ォーカス位置を記憶するコマンドを受信した時の処理を
説明するものである。
Steps 241 to 242 in FIG. 8A are for explaining processing when a command for storing the focus position is received.

【0109】<ステップ241>フォーカスエンコーダ
ー値を電気端子6と通してレンズ2から取り込み、受信
した記憶番号に応じてメモリMF_MEMO0〜MF_
MEMO7に格納する。
<Step 241> The focus encoder value is fetched from the lens 2 through the electric terminal 6 and stored in the memory MF_MEMO0 to MF_ according to the received storage number.
Store in MEMO7.

【0110】<ステップ242>フォーカスエンコーダ
ー値を電気端子6と通してレンズ2から取り込み、受信
した記憶番号に応じて不揮発性メモリF_MEMO0〜
F_MEMO7に書き込み、通信割り込みルーチンを終
了する。
<Step 242> The focus encoder value is fetched from the lens 2 through the electric terminal 6 and the nonvolatile memory F_MEMO0 is read in accordance with the received storage number.
Writing to F_MEMO7, the communication interrupt routine ends.

【0111】図8(ロ)のステップ251〜256は記
憶したフォーカス位置に駆動するコマンドを受信した時
の処理を説明するものである。
Steps 251 to 256 in FIG. 8 (b) are for explaining processing when a command for driving to the stored focus position is received.

【0112】<ステップ251>受信した記憶番号に応
じてメモリMF_MEMO0〜MF_MEMO7のデー
タをメモリENC_2に格納する。すなわち、ENC_
2に格納されているデータはこれから駆動すべきフォー
カスの目標エンコーダ値を示すものである。
<Step 251> The data in the memories MF_MEMO0 to MF_MEMO7 is stored in the memory ENC_2 according to the received storage number. That is, ENC_
The data stored in 2 indicates the target encoder value of the focus to be driven from now on.

【0113】<ステップ252>現在のレンズ2のフォ
ーカスエンコーダ値を電気端子6を通して取り込み、メ
モリENC_0に格納する。
<Step 252> The current focus encoder value of the lens 2 is fetched through the electric terminal 6 and stored in the memory ENC_0.

【0114】<ステップ253>メモリENC_0とE
NC_2より駆動すべき量を演算し、メモリP’に格納
する。なお、P’=ENC_2−ENC_0で表され
る。
<Step 253> Memory ENC_ 0 and E
The amount to be driven is calculated from NC_2 and stored in the memory P ′. Note that P '= ENC_2−ENC_0.

【0115】<ステップ254>装着されているレンズ
2のフォーカスを駆動量P’だけ駆動するように、電気
端子6を通してレンズ2を制御する。
<Step 254> The lens 2 is controlled through the electric terminal 6 so as to drive the focus of the mounted lens 2 by the drive amount P ′.

【0116】<ステップ255>フォーカス無限方向駆
動中フラグをクリアする。
<Step 255> The in-focus in-focus direction driving flag is cleared.

【0117】<ステップ256>フォーカス至近方向駆
動中フラグをクリアし、割り込みルーチンを終了する。
<Step 256> The flag in the near-focus direction is cleared, and the interrupt routine is terminated.

【0118】図9(イ)のステップ261〜268は絞
りを開放方向に駆動するコマンドを受信した時の処理を
説明するものである。
Steps 261 to 268 in FIG. 9A are for explaining processing when a command for driving the aperture in the opening direction is received.

【0119】<ステップ261>現在絞りが開放状態で
あるのかどうかを電気端子6を通してレンズ2から取得
し、もし開放状態であったらこれ以上開放方向への駆動
はできないので何もせずに割り込みルーチンを終了す
る。また、開放状態でなかったらステップ262へ進
む。
<Step 261> Whether or not the aperture is currently open is obtained from the lens 2 through the electric terminal 6. If the aperture is open, no further drive in the opening direction is possible, so the interrupt routine is executed without doing anything. finish. If it is not in the open state, the process proceeds to step 262.

【0120】<ステップ262>メモリMI_SPD0
〜MI_SPD3の中から現在設定されている絞り速度
番号のデータをメモリTにコピーする。
<Step 262> Memory MI_SPD0
The data of the currently set aperture speed number from .about.MI_SPD3 is copied to the memory T.

【0121】<ステップ263>絞り開放方向駆動中フ
ラグがセットされていたら、すでに開放方向に駆動中な
ので何もせずに割り込みルーチンを終了する。
<Step 263> If the aperture opening direction driving flag is set, the interrupt routine is terminated without any operation because the aperture opening direction is already being driven.

【0122】<ステップ264>装着されているレンズ
2の絞りを1/8段だけ開放方向に駆動されるように、
電気端子6を通してレンズ2を制御する。
<Step 264> The aperture of the mounted lens 2 is driven in the opening direction by 1 / -stop in the open direction.
The lens 2 is controlled through the electric terminal 6.

【0123】<ステップ265>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 265> A timer is started so that an interrupt occurs at time T.

【0124】<ステップ266>タイマ割り込み発生フ
ラグをクリアする。
<Step 266> The timer interrupt occurrence flag is cleared.

【0125】<ステップ267>絞り開放方向駆動中フ
ラグをセットする。
<Step 267> An aperture open direction driving flag is set.

【0126】<ステップ268>絞り込み方向駆動中フ
ラグをクリアし、サブルーチンを終了する。
<Step 268> The flag for driving in the narrowing-down direction is cleared, and the subroutine ends.

【0127】図9(ロ)のステップ271〜278は絞
りを絞り込み開放方向に駆動するコマンドを受信した時
の処理を説明するものである。
Steps 271 to 278 in FIG. 9 (b) are for explaining the processing when the command to drive the aperture down and to open the aperture is received.

【0128】<ステップ271>現在絞りが最小絞り状
態であるのかどうかを電気端子6を通してレンズ2から
取得し、もし最小絞り状態であったらこれ以上絞り込む
方向への駆動はできないので何もせずに割り込みルーチ
ンを終了する。また、最小絞り状態でなかったらステッ
プ272へ進む。
<Step 271> Whether or not the aperture is currently in the minimum aperture state is obtained from the lens 2 through the electric terminal 6, and if the aperture is in the minimum aperture state, no further driving in the direction of narrowing down is performed, so the interruption is performed without any operation. End the routine. If it is not in the minimum aperture state, the process proceeds to step 272.

【0129】<ステップ272>メモリMI_SPD0
〜MI_SPD3の中から現在設定されている絞り速度
番号のデータをメモリTにコピーする。
<Step 272> Memory MI_SPD0
The data of the currently set aperture speed number from .about.MI_SPD3 is copied to the memory T.

【0130】<ステップ273>絞り込み方向駆動中フ
ラグがセットされていたら、すでに絞り込み方向に駆動
中なので何もせずに割り込みルーチンを終了する。
<Step 273> If the narrowing direction driving flag has been set, the interrupt routine is terminated without any operation because it is already being driven in the narrowing direction.

【0131】<ステップ274>装着されているレンズ
2の絞りを1/8段だけ絞り込み方向に駆動するよう
に、電気端子6を通してレンズ2を制御する。
<Step 274> The lens 2 is controlled through the electric terminal 6 so that the aperture of the mounted lens 2 is driven in the direction of stopping down by 1 / step.

【0132】<ステップ275>時間Tで割り込み発生
するようにタイマをスタートさせる。
<Step 275> A timer is started so as to generate an interrupt at time T.

【0133】<ステップ276>タイマ割り込み発生フ
ラグをクリアする。
<Step 276> The timer interrupt occurrence flag is cleared.

【0134】<ステップ277>絞り込み方向駆動中フ
ラグをセットする。
<Step 277> The flag in the narrowing-down direction is set.

【0135】<ステップ278>絞り開放方向駆動中フ
ラグをクリアし、サブルーチンを終了する。
<Step 278> The flag indicating that the aperture opening direction is being driven is cleared, and the subroutine ends.

【0136】図9(ハ)のステップ281〜284は絞
り駆動を停止するコマンドを受信した時の処理を説明す
るものである。
Steps 281 to 284 in FIG. 9C are for explaining the processing when a command to stop the aperture drive is received.

【0137】<ステップ281>装着されているレンズ
2の絞り駆動が停止されるように、電気端子6を通して
レンズ2を制御する。
<Step 281> The lens 2 is controlled through the electric terminal 6 so that the drive of the aperture of the mounted lens 2 is stopped.

【0138】<ステップ282>タイマ割り込み発生フ
ラグをクリアする。
<Step 282> The timer interrupt occurrence flag is cleared.

【0139】<ステップ283>絞り込み方向駆動中フ
ラグをクリアする。
<Step 283> The flag in the narrowing-down direction is cleared.

【0140】<ステップ284>絞り開放方向駆動中フ
ラグをクリアし、サブルーチンを終了する。
<Step 284> The flag indicating that the aperture opening direction is being driven is cleared, and the subroutine ends.

【0141】図9(ニ)のステップ291は絞り駆動の
速度を設定するコマンドを受信した時の処理を説明する
ものである。
Step 291 in FIG. 9D describes the processing when a command for setting the aperture drive speed is received.

【0142】<ステップ291>受信した絞り駆動速度
番号に応じてメモリMI_SPD0〜MI_SPD3の
中から速度データをメモリPにコピーし、通信割り込み
ルーチンを終了する。
<Step 291> The speed data from the memories MI_SPD0 to MI_SPD3 is copied to the memory P in accordance with the received aperture drive speed number, and the communication interrupt routine ends.

【0143】図9(ホ)のステップ295はレンズ2の
制御を外部制御装置で行えるようにするものである。
Step 295 in FIG. 9E allows the external control device to control the lens 2.

【0144】<ステップ285>SELECTフラグを
セットして、次回のRS232Cのよる制御までは外部
制御装置で制御可能にして、通信割り込みルーチンを終
了する。
<Step 285> The SELECT flag is set to enable control by the external control device until the next control by the RS232C, and the communication interrupt routine ends.

【0145】図10は、外部制御装置からの制御信号ま
たは、RS232Cによるコンピュータからのコマンド
に応じレンズ2に各種の動作をさせる必要がある。ステ
ップ130〜133ではフォーカスまたはIRIS駆動
させるかどうか判定し、それぞれの処理をおこなってい
る。
In FIG. 10, it is necessary to cause the lens 2 to perform various operations in response to a control signal from an external control device or a command from a computer by RS232C. In steps 130 to 133, it is determined whether or not to perform focus or IRIS driving, and respective processes are performed.

【0146】<ステップ130>無限駆動中フラグがセ
ットされていたら、ステップ300にて無限駆動の為の
処理を行い、ステップ132へ進む。
<Step 130> If the infinity driving flag is set, the process for infinite driving is performed in step 300, and the routine proceeds to step 132.

【0147】<ステップ131>至近駆動中フラグがセ
ットされていたら、ステップ310にて至近駆動の為の
処理を行い、ステップ132へ進む。
<Step 131> If the close-in-progress flag is set, a process for close drive is performed in step 310, and the routine proceeds to step 132.

【0148】<ステップ132>開放駆動中フラグがセ
ットされていたら、ステップ320にて開放駆動の為の
処理を行い、ステップ117へ戻る。
<Step 132> If the open drive flag is set, a process for opening drive is performed in step 320, and the process returns to step 117.

【0149】<ステップ133>絞り込み駆動中フラグ
がセットされていたら、ステップ330にて絞り込み駆
動の為の処理を行い、ステップ117へ戻る。
<Step 133> If the stop-in-driving flag is set, the process for the stop-down drive is performed in step 330, and the process returns to step 117.

【0150】図11(イ)のステップ301〜307は
ステップ300の無限駆動のサブルーチンを示したもの
である。
Steps 301 to 307 of FIG. 11A show an infinite drive subroutine of step 300.

【0151】<ステップ301>フォーカスエンコーダ
ー値を電気端子6を通してレンズ2から取り込み、メモ
リENC_1に格納する。
<Step 301> The focus encoder value is fetched from the lens 2 through the electric terminal 6 and stored in the memory ENC_1.

【0152】<ステップ302>前回取得したフォーカ
スエンコーダー値ENC_0と今回取得したENC_を
比較し、変化していなければステップ305へ進み、変
化していたらステップ303へ進む。
<Step 302> The focus encoder value ENC_0 obtained last time is compared with the ENC_ obtained this time. If the value has not changed, the process proceeds to step 305. If the value has changed, the process proceeds to step 303.

【0153】<ステップ303>今回取得したフォーカ
スエンコーダー値ENC_1の内容をメモリENC_0
にコピーし、ENC_0を更新する。
<Step 303> The contents of the focus encoder value ENC_1 obtained this time are stored in the memory ENC_0.
And updates ENC_0.

【0154】<ステップ304>装着しているレンズ2
のフォーカスを駆動量Pだけ無限側に駆動するように、
電気端子6を通してレンズ2を制御する。
<Step 304> Attached lens 2
Is driven to the infinity side by the driving amount P,
The lens 2 is controlled through the electric terminal 6.

【0155】<ステップ305>フォーカスが無限端に
到達しているかどうかを電気端子6を通してレンズ2か
ら取り込み、無限端に達していなければそのままサブル
ーチンを終了する。また、無限端に到達していたらステ
ップ306へ進む。
<Step 305> Whether or not the focus has reached the infinity end is fetched from the lens 2 through the electric terminal 6, and if the focus has not reached the infinity end, the subroutine is terminated as it is. If it has reached the infinite end, the process proceeds to step 306.

【0156】<ステップ306>装着されているレンズ
2のフォーカスを停止させるように、電気端子6を通し
てレンズ2を制御する。
<Step 306> The lens 2 is controlled through the electric terminal 6 so as to stop the focus of the mounted lens 2.

【0157】<ステップ307>フォーカス無限方向駆
動中フラグをクリアし、サブルーチンを終了する。
<Step 307> The in-focus in-direction driving flag is cleared, and the subroutine ends.

【0158】図11(ロ)のステップ311〜317は
ステップ310の至近駆動のサブルーチンを示したもの
である。
Steps 311 to 317 of FIG. 11B show a subroutine for the closest drive of step 310.

【0159】<ステップ311>フォーカスエンコーダ
ー値を電気端子6を通してレンズ2から取り込み、メモ
リENC_1に格納する。
<Step 311> The focus encoder value is fetched from the lens 2 through the electric terminal 6 and stored in the memory ENC_1.

【0160】<ステップ312>前回取得したフォーカ
スエンコーダー値ENC_0と今回取得したENC_を
比較し変化していなければステップ315へ進み、変化
していたらステップ313へ進む。
<Step 312> The focus encoder value ENC_0 acquired last time is compared with the ENC_ acquired this time. If the value has not changed, the process proceeds to step 315. If the value has changed, the process proceeds to step 313.

【0161】<ステップ313>今回取得したフォーカ
スエンコーダー値ENC_1の内容をメモリENC_0
にコピーし、ENC_0を更新する。
<Step 313> The content of the focus encoder value ENC_1 obtained this time is stored in the memory ENC_0.
And updates ENC_0.

【0162】<ステップ314>装着しているレンズ2
のフォーカスを駆動量Pだけ至近側に駆動するように、
電気端子6を通してレンズ2を制御する。
<Step 314> Attached Lens 2
Is driven by the drive amount P to the nearest side,
The lens 2 is controlled through the electric terminal 6.

【0163】<ステップ315>フォーカスが至近端に
到達しているかどうかを電気端子6を通してレンズ2か
ら取り込み、至近端に達していなければそのままサブル
ーチンを終了する。また、至近端に到達していたらステ
ップ316へ進む。
<Step 315> Whether or not the focus has reached the closest end is fetched from the lens 2 through the electric terminal 6, and if not, the subroutine is terminated as it is. If it has reached the closest end, the process proceeds to step 316.

【0164】<ステップ316>装着されているレンズ
2のフォーカスを停止させるように、電気端子6を通し
てレンズ2を制御する。
<Step 316> The lens 2 is controlled through the electric terminal 6 so as to stop the focus of the mounted lens 2.

【0165】<ステップ317>フォーカス至近方向駆
動中フラグをクリアし、サブルーチンを終了する。
<Step 317> The flag in the near-focus direction is cleared, and the subroutine ends.

【0166】図12(イ)のステップ321〜328は
ステップ320の絞り開放駆動のサブルーチンを示した
ものである。
Steps 321 to 328 of FIG. 12A show a subroutine of the aperture opening drive of step 320.

【0167】<ステップ321>タイマ割り込み発生フ
ラグがセットされていなかったら、前回の絞り駆動から
時間Tが経過していないので、そのまま開放駆動サブル
ーチンを終了する。また、タイマ割り込み発生フラグが
セットされていたらステップ322へ進む。
<Step 321> If the timer interrupt occurrence flag has not been set, the time T has not elapsed since the previous aperture drive, and the opening drive subroutine is terminated as it is. If the timer interrupt occurrence flag is set, the process proceeds to step 322.

【0168】<ステップ322>装着されているレンズ
2の絞りが開放状態であるかどうかを、電気端子6を通
して取り込み、開放状態ならばこれ以上開放方向へ駆動
する必要がないので、ステップ326へ進む。
<Step 322> Whether or not the aperture of the mounted lens 2 is in the open state is fetched through the electric terminal 6, and if it is in the open state, there is no need to further drive in the opening direction, so the process proceeds to step 326. .

【0169】<ステップ323>レンズ2の絞りを1/
8段だけ開放方向へ駆動するように、電気端子6を通し
てレンズ2を制御する。
<Step 323> Set the aperture of the lens 2 to 1 /
The lens 2 is controlled through the electric terminal 6 so as to be driven in the opening direction by eight steps.

【0170】<ステップ224>時間Tで割り込みが発
生するようにタイマーをスタートさせる。
<Step 224> A timer is started so that an interrupt occurs at time T.

【0171】<ステップ325>タイマ割り込み発生フ
ラグをクリアして、サブルーチンを終了する。
<Step 325> The timer interrupt occurrence flag is cleared, and the subroutine ends.

【0172】<ステップ326>装着されているレンズ
2の絞り駆動を停止させるように、電気端子を通してレ
ンズ2を制御する。
<Step 326> The lens 2 is controlled through an electric terminal so as to stop driving the aperture of the mounted lens 2.

【0173】<ステップ327>絞り開放方向駆動中フ
ラグをクリアする。
<Step 327> The flag in the aperture opening direction driving flag is cleared.

【0174】<ステップ328>タイマ割り込み発生フ
ラグをクリアしてサブルーチンを終了する。
<Step 328> The timer interrupt occurrence flag is cleared and the subroutine is terminated.

【0175】図12(ロ)のステップ331〜338は
ステップ330の絞り込み駆動のサブルーチンを示した
ものである。
Steps 331 to 338 in FIG. 12B show a subroutine of the narrowing-down drive in step 330.

【0176】<ステップ331>タイマ割り込み発生フ
ラグがセットされていなかったら、前回の絞り駆動から
時間Tが経過していないので、そのまま絞り込み駆動サ
ブルーチンを終了する。また、タイマ割り込み発生フラ
グがセットされていたらステップ332へ進む。
<Step 331> If the timer interrupt occurrence flag has not been set, the time T has not elapsed since the previous aperture driving, and the aperture driving subroutine is terminated as it is. If the timer interrupt occurrence flag has been set, the process proceeds to step 332.

【0177】<ステップ332>装着されているレンズ
2の絞りが最小絞り状態であるかどうかを、電気端子6
を通して取り込み、最小絞り状態ならばこれ以上絞りこ
む方向へ駆動する必要がないので、ステップ336へ進
む。
<Step 332> It is determined whether or not the aperture of the attached lens 2 is in the minimum aperture state by the electric terminal 6.
If it is in the minimum aperture state, there is no need to drive in the further aperture direction, so the process proceeds to step 336.

【0178】<ステップ333>レンズ2の絞りを1/
8段だけ絞り込む方向へ駆動されるように、電気端子6
を通してレンズ2を制御する。
<Step 333> Set the aperture of the lens 2 to 1 /
The electric terminals 6 are driven so as to be narrowed down by eight steps.
Lens 2 is controlled through

【0179】<ステップ334>時間Tで割り込みが発
生するようにタイマーをスタートさせる。
<Step 334> A timer is started so that an interrupt occurs at time T.

【0180】<ステップ335>タイマ割り込み発生フ
ラグをクリアして、サブルーチンを終了する。
<Step 335> The timer interrupt occurrence flag is cleared, and the subroutine ends.

【0181】<ステップ336>装着されているレンズ
2の絞り駆動を停止させるように、電気端子を通してレ
ンズ2を制御する。
<Step 336> The lens 2 is controlled through an electric terminal so as to stop driving the aperture of the mounted lens 2.

【0182】<ステップ337>絞り込み方向駆動中フ
ラグをクリアする。
<Step 337> The driving flag in the focusing direction is cleared.

【0183】<ステップ338>タイマ割り込み発生フ
ラグをクリアしてサブルーチンを終了する。
<Step 338> The timer interrupt occurrence flag is cleared and the subroutine is terminated.

【0184】図12(ハ)のステップ340はタイマ割
り込みが発生したときの割り込みルーチンである。
Step 340 in FIG. 12C is an interrupt routine when a timer interrupt occurs.

【0185】<ステップ340>タイマTでタイマ割り
込みが発生したので、タイマ割り込み発生フラグWPO
セットをセットして割り込みルーチン終了する。
<Step 340> Since the timer T generates a timer interrupt, the timer interrupt generation flag WPO
Set and end the interrupt routine.

【0186】以上述べてきたように、本実施例ではメイ
ンスイッチPSが投入された直後は、外部制御装置5か
らの制御信号による制御と、RS232Cによるコンピ
ュータ4からの制御の両方からのレンズ2の制御が可能
となるが、一旦RS232Cによるコンピュータからの
制御が実行されると、それ以後はコンピュータから特定
のコマンドを受信するまでは外部制御装置からの制御を
禁止している。
As described above, in this embodiment, immediately after the main switch PS is turned on, the lens 2 is controlled by both the control by the control signal from the external control device 5 and the control by the computer 4 by the RS232C. Control is possible, but once control from the computer by the RS232C is executed, control from the external control device is prohibited thereafter until a specific command is received from the computer.

【0187】(実施例2)図14は本発明の第2実施例
のアダプター1および外部制御装置5を説明するための
回路構成図である。図2と同一部分は同一番号を付し、
詳細な説明は省略する。
Embodiment 2 FIG. 14 is a circuit diagram for explaining an adapter 1 and an external control device 5 according to a second embodiment of the present invention. The same parts as those in FIG.
Detailed description is omitted.

【0188】図14において、26はスイッチでスイッ
チ26がオン状態の時、RS232Cによるコンピュー
タからの制御が選択され、また、スイッチ26がオフ状
態の時、外部制御装置からの制御が選択される。
In FIG. 14, reference numeral 26 denotes a switch. When the switch 26 is on, control from the computer by the RS232C is selected. When the switch 26 is off, control from an external control device is selected.

【0189】図15は本実施例におけるマイクロコンピ
ュータ13の動作を説明するフローチャートであり、図
5のフローチャートと同じ符番のものは同じステップを
示すのでその内容については説明を省略する。
FIG. 15 is a flow chart for explaining the operation of the microcomputer 13 in the present embodiment. The same reference numerals as those in the flow chart of FIG. 5 denote the same steps, and a description thereof will be omitted.

【0190】ステップ101からステップ114までは
図5の動作と同じである。
Steps 101 to 114 are the same as the operations in FIG.

【0191】<ステップ415>図14のスイッチ26
の状態を取り込み、オンしていたらステップ416へ進
み、オフであればステップ118へ進む。
<Step 415> Switch 26 in FIG.
If it is on, the process proceeds to step 416; if it is off, the process proceeds to step 118.

【0192】ステップ118から130までは図5のス
テップと同じである。
Steps 118 to 130 are the same as the steps in FIG.

【0193】<ステップ416>RS232Cによる通
信を受信したときに発生する割り込みを許可し、ステッ
プ130へ進む。その後のステップ133までとステッ
プ300、310、320、330も図10と同じであ
る。割り込みが発生したら、図16のステップ500か
らのRS232C通信割り込みルーチンへ進む。
<Step 416> An interrupt generated when communication by RS232C is received is permitted, and the flow advances to step 130. Subsequent steps up to step 133 and steps 300, 310, 320 and 330 are the same as those in FIG. When an interrupt occurs, the process proceeds to the RS232C communication interrupt routine from step 500 in FIG.

【0194】図15で示されているサブルーチン、すな
わちステップ140、150、160、170、18
0、190は図6(イ)〜(ヘ)にて説明しているので
省略する。
The subroutine shown in FIG. 15, that is, steps 140, 150, 160, 170 and 18
0 and 190 have been described with reference to FIGS.

【0195】図16のステップ500はRS232C通
信の受信による割り込みを説明するものである。
Step 500 in FIG. 16 explains an interruption due to the reception of the RS232C communication.

【0196】<ステップ500>受信したコマンドの解
析を行い、各コマンド受信処理ルーチンへ進む。各コマ
ンド受信処理ルーチンは図7の(ロ)〜(ホ)、図8の
(イ)〜(ロ)、図9の(イ)〜(ニ)に示されるルー
チンと同じであるので説明は省略する。
<Step 500> The received commands are analyzed, and the process proceeds to each command reception processing routine. The command reception processing routines are the same as the routines shown in (b) to (e) of FIG. 7, (a) to (b) of FIG. 8, and (a) to (d) of FIG. I do.

【0197】このように第2の実施例ではスイッチ26
の状態によって、外部制御装置5からの制御信号による
制御と、RS232Cによるコンピュータ4からの制御
のどちらか一方を選択することができる。
As described above, in the second embodiment, the switch 26
Depending on the state, either the control by the control signal from the external control device 5 or the control from the computer 4 by the RS232C can be selected.

【0198】(実施例3)図17は本発明の第3の実施
例に関わるアダプター1および外部制御装置5を説明す
るための回路構成図である。図2と同一部分は同一番号
を付し、詳細な説明は省略する。
(Embodiment 3) FIG. 17 is a circuit diagram illustrating an adapter 1 and an external control device 5 according to a third embodiment of the present invention. The same parts as those in FIG.

【0199】図17において、27は不揮発性メモリ
で、マイクロコンピュータ13に接続され、メモリ18
内のデータ消去、書き込み、読み出しがマイクロコンピ
ュータ13により制御される。
In FIG. 17, reference numeral 27 denotes a non-volatile memory, which is connected to the microcomputer 13;
Erasing, writing, and reading of data in the memory are controlled by the microcomputer 13.

【0200】図18は第3の実施例におけるマイクロコ
ンピュータ13の動作を説明するフローチャートであ
り、図5と同じ符番は同じステップを示す。
FIG. 18 is a flowchart for explaining the operation of the microcomputer 13 in the third embodiment. The same reference numerals as those in FIG. 5 indicate the same steps.

【0201】ステップ101からステップ114とステ
ップ118からステップ133までは図5、図10のフ
ローチャートと同じ動作である。その後のステップ13
3までとステップ300、310、320、330も図
10と同じである。さらに図18に示されているサブル
ーチン、すなわちステップ140、150、160、1
70、180、190は図6(イ)〜(ヘ)にて説明し
ているので省略する。
Steps 101 to 114 and steps 118 to 133 are the same operations as those in the flowcharts of FIGS. Subsequent step 13
Up to 3 and steps 300, 310, 320 and 330 are also the same as in FIG. Further, the subroutine shown in FIG.
70, 180, and 190 have been described with reference to FIGS.

【0202】なお、本実施例ではステップ102におい
て図17の不揮発性メモリ27の内容を読み出し、マイ
クロコンピュータ13内のメモリに格納する。なお、不
揮発性メモリ27には図19に示した内容のデータが記
憶されている。図19でF_MEMO0〜F_MEMO
7はフォーカス位置の記憶データでレンズ2内の不図示
のフォーカスエンコーダーからの値で設定されている。
F_SPD0〜F_SDP3はフォーカス速度データで
レンズ2内のフォーカス駆動量で設定されている。I_
SPD0〜I_SDP3はIRIS速度データでレンズ
2内の絞り(IRIS)の駆動を実行する時間間隔で設
定されている。また、MODEは、00Hが書き込まれ
ている時にはRS232Cによるコンピュータからの制
御が選択され、FFHが書き込まれている時は外部制御
装置からの制御が選択される。なお、F_MEMO0〜
F_MEMO7はそれぞれマイクロコンピュータ13の
メモリMF_MEMO0〜MF_MEMO7に、F_S
PD0〜F_SPD3はそれぞれマイクロコンピュータ
13のメモリMF_SPD0〜MF_SPD3に、また
I_SPD0〜I_SPD3はそれぞれマイクロコンピ
ュータ13のメモリMI_SPD0〜MI_SPD3
に、同様にMODEはメモリM_MODEに格納され
る。
In this embodiment, the contents of the non-volatile memory 27 shown in FIG. 17 are read in step 102 and stored in the memory of the microcomputer 13. Note that the nonvolatile memory 27 stores data having the contents shown in FIG. In FIG. 19, F_MEMO0 to F_MEMO
Reference numeral 7 denotes storage data of a focus position, which is set by a value from a focus encoder (not shown) in the lens 2.
F_SPD <b> 0 to F_SDP <b> 3 are focus speed data and are set by a focus drive amount in the lens 2. I_
SPD0 to I_SDP3 are set by IRIS speed data at time intervals at which the driving of the aperture (IRIS) in the lens 2 is executed. As for MODE, control from the computer by RS232C is selected when 00H is written, and control from an external control device is selected when FFH is written. In addition, F_MEMO0
F_MEMO7 is stored in the memories MF_MEMO0 to MF_MEMO7 of the microcomputer 13 respectively.
PD0 to F_SPD3 are respectively stored in the memories MF_SPD0 to MF_SPD3 of the microcomputer 13, and I_SPD0 to I_SPD3 are respectively stored in the memories MI_SPD0 to MI_SPD3 of the microcomputer 13.
Similarly, MODE is stored in the memory M_MODE.

【0203】<ステップ615>メモリM_MODEの
内容が00Hならばステップ416へ進み、FFHなら
ばステップ118へ進む。
<Step 615> If the content of the memory M_MODE is 00H, the flow proceeds to step 416; if it is FFH, the flow proceeds to step 118.

【0204】<ステップ416>RS232Cによる通
信を受信したときに発生する割り込みを許可し、ステッ
プ130へ進む。割り込みが発生したら、図16のステ
ップ500からのRS232C通信割り込みルーチンへ
進む。
<Step 416> An interrupt generated when communication by RS232C is received is permitted, and the flow advances to step 130. When an interrupt occurs, the process proceeds to the RS232C communication interrupt routine from step 500 in FIG.

【0205】また、RS232C通信の受信による割り
込み処理ルーチンは図7(ロ)〜9(ニ)で説明してい
るので省略する。
The interrupt processing routine by the reception of the RS232C communication has been described with reference to FIGS.

【0206】第3の実施例では不揮発性メモリ27のM
ODEに書き込まれている内容によって、外部制御装置
5からの制御信号による制御と、RS232Cによるコ
ンピュータ4からの制御のどちらか一方を選択すること
ができる。
In the third embodiment, the M of the nonvolatile memory 27
Depending on the contents written in the ODE, one of the control by the control signal from the external control device 5 and the control from the computer 4 by the RS232C can be selected.

【0207】[0207]

【発明の効果】本発明のような変換アダプターを用いる
ことにより、電気的な信号のみによって制御される汎用
交換レンズにおいても、他の複数のコンピュータ等から
容易に制御でき、必要に応じて制御装置を切り替えられ
るので、さまざまなシステムにこの変換アダプターが対
応可能となり、多くの用途に利用できるようになる効果
がある。
By using the conversion adapter according to the present invention, even a general-purpose interchangeable lens controlled only by an electric signal can be easily controlled by a plurality of other computers or the like. Since the conversion adapter can be switched, this conversion adapter can be applied to various systems, and there is an effect that it can be used for many purposes.

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

【図1】本発明に関わる変換アダプターを用いたシステ
ムの例を説明するための構成図である。
FIG. 1 is a configuration diagram for explaining an example of a system using a conversion adapter according to the present invention.

【図2】変換アダプターの回路構成の第1実施例を示す
図である。
FIG. 2 is a diagram showing a first embodiment of a circuit configuration of a conversion adapter.

【図3】スイッチ15とRS232Cのボーレイトの関
係を示した図である。
FIG. 3 is a diagram showing a relationship between a switch 15 and a baud rate of RS232C.

【図4】外部制御装置の構成例を示す図である。FIG. 4 is a diagram illustrating a configuration example of an external control device.

【図5】第1実施例の変換アダプターの動作例を説明す
るためのフローチャートである。
FIG. 5 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図6】第1実施例の変換アダプターの動作例を説明す
るためのフローチャートである。
FIG. 6 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図7】第1実施例の変換アダプターの動作例を説明す
るためのフローチャートである。
FIG. 7 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図8】第1実施例の変換アダプターの動作例を説明す
るためのフローチャートである。
FIG. 8 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図9】第1実施例の変換アダプターの動作例を説明す
るためのフローチャートである。
FIG. 9 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図10】第1実施例の変換アダプターの動作例を説明
するためのフローチャートである。
FIG. 10 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図11】第1実施例の変換アダプターの動作例を説明
するためのフローチャートである。
FIG. 11 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図12】第1実施例の変換アダプターの動作例を説明
するためのフローチャートである。
FIG. 12 is a flowchart illustrating an operation example of the conversion adapter according to the first embodiment.

【図13】不揮発性メモリに格納されるデータの例を示
す一覧表である。
FIG. 13 is a list showing an example of data stored in a nonvolatile memory.

【図14】変換アダプターの回路構成の第2実施例図で
ある。
FIG. 14 is a diagram showing a second embodiment of the circuit configuration of the conversion adapter.

【図15】第2実施例の変換アダプターの動作を説明す
るためのフローチャートである。
FIG. 15 is a flowchart illustrating the operation of the conversion adapter according to the second embodiment.

【図16】第2実施例の変換アダプターの動作を説明す
るためのフローチャートである。
FIG. 16 is a flowchart illustrating the operation of the conversion adapter according to the second embodiment.

【図17】変換アダプターの第3実施例の回路構成図で
ある。
FIG. 17 is a circuit configuration diagram of a third embodiment of the conversion adapter.

【図18】第3実施例の変換アダプターの動作を説明す
るためのフローチャートである。
FIG. 18 is a flowchart illustrating an operation of the conversion adapter according to the third embodiment.

【図19】第3実施例の不揮発性メモリ27に格納され
るデータの例の一覧を示す図である。
FIG. 19 is a diagram illustrating a list of examples of data stored in a nonvolatile memory 27 according to the third embodiment.

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

1 変換アダプター 2 交換レンズ 3 画像処理機器 4 コンピュータ 5 外部制御装置 6 電気端子 7 マウント 8、9 電気端子 10、11 変換回路 12 選択回路 13 マイクロコンピュータ 14 レベル変換回路 15、16 電源制御回路 17 スイッチ 18 不揮発性メモリ 19〜26 スイッチ 27 不揮発性メモリ DESCRIPTION OF SYMBOLS 1 Conversion adapter 2 Interchangeable lens 3 Image processing equipment 4 Computer 5 External control device 6 Electric terminal 7 Mount 8, 9 Electric terminal 10, 11 Conversion circuit 12 Selection circuit 13 Microcomputer 14 Level conversion circuit 15, 16 Power supply control circuit 17 Switch 18 Nonvolatile memory 19 to 26 Switch 27 Nonvolatile memory

フロントページの続き (56)参考文献 特開 平4−243236(JP,A) 特開 昭63−199335(JP,A) 特開 平5−91384(JP,A) 特開 平6−301111(JP,A) 特開 平6−317736(JP,A) 特開 平6−95199(JP,A) 特開 平5−103248(JP,A) (58)調査した分野(Int.Cl.7,DB名) G03B 7/20 Continuation of the front page (56) References JP-A-4-243236 (JP, A) JP-A-63-199335 (JP, A) JP-A-5-91384 (JP, A) JP-A-6-301111 (JP, A) JP-A-6-317736 (JP, A) JP-A-6-95199 (JP, A) JP-A-5-103248 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB G03B 7/20

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 交換レンズが装着可能な第1のマウント
と、 第1のマウントに取り付けられた交換レンズを撮影光学
系とする光学機器を装着可能な第2のマウントと、 第1のマウント部に具備された第1の電気端子と、 第1の外部制御装置に接続される第2の電気端子と、 第2の電気端子に接続される第1の外部制御装置とは別
の第2の外部制御装置に接続される第3の電気端子と、
を有する変換アダプター。
1. A first mount to which an interchangeable lens can be mounted, a second mount to which an optical device having an interchangeable lens attached to the first mount as a photographic optical system can be mounted, and a first mount unit A second electric terminal connected to the first external control device, a second electric terminal connected to the first external control device, and a second electric terminal different from the first external control device connected to the second electric terminal. A third electrical terminal connected to the external control device;
A conversion adapter.
【請求項2】 請求項1において、 第2の電気端子から入力される信号を変換して第1の電
気端子に出力する第1の変換手段と、 第3の電気端子から入力される信号を変換して第1の電
気端子に出力する第2の変換手段と、 第1の変換手段と第2の変換手段のうちどちらか一方、
または両方を選択する選択手段を有することを特徴とす
る変換アダプター。
2. The method according to claim 1, wherein the first conversion unit converts a signal input from the second electric terminal and outputs the converted signal to the first electric terminal; Second converting means for converting and outputting to the first electric terminal, one of the first converting means and the second converting means,
Alternatively, a conversion adapter having selection means for selecting both.
【請求項3】 請求項2において、 選択手段は外部スイッチまたは内蔵スイツチで制御され
る変換アダプター。
3. The conversion adapter according to claim 2, wherein the selection means is controlled by an external switch or a built-in switch.
【請求項4】 請求項2において、 選択手段は読み書き自在な不揮発性メモリに格納された
データで制御される変換アダプター。
4. The conversion adapter according to claim 2, wherein the selection means is controlled by data stored in a readable and writable nonvolatile memory.
【請求項5】 請求項2において、 選択手段は電源投入後、第2の電気端子から信号が入力
されるまでは第1の変換手段を選択し、 第2の電気端子から信号が入力されるのに伴って第2の
変換手段を選択することを特徴とする変換アダプター。
5. The method according to claim 2, wherein the selection means selects the first conversion means after the power is turned on until a signal is input from the second electric terminal, and the signal is input from the second electric terminal. A conversion adapter, wherein the second conversion means is selected according to the above.
【請求項6】 請求項2において、 選択手段は第1の変換手段を選択している時、第2の電
気端子から入力される信号に基づき第2の変換手段を選
択することが可能である変換アダプター。
6. The method according to claim 2, wherein the selecting means is capable of selecting the second converting means based on a signal inputted from the second electric terminal when the first converting means is selected. Conversion adapter.
【請求項7】 請求項1において、前記第2の外部制御
装置はコンピュータでない変換アダプター。
7. The conversion adapter according to claim 1, wherein the second external control device is not a computer.
JP04027095A 1994-12-22 1995-02-28 Conversion adapter Expired - Fee Related JP3176244B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP04027095A JP3176244B2 (en) 1995-02-28 1995-02-28 Conversion adapter
US08/613,727 US5731920A (en) 1994-12-22 1995-12-14 Converting adapter for interchangeable lens assembly
EP95309361A EP0718672B1 (en) 1994-12-22 1995-12-21 Converting adapter for interchangeable lens assembly
DE69530054T DE69530054T2 (en) 1994-12-22 1995-12-21 Transfer adapter for interchangeable lens arrangement
KR1019950054224A KR100231354B1 (en) 1994-12-22 1995-12-22 Converting adapter for interchangeable lens assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04027095A JP3176244B2 (en) 1995-02-28 1995-02-28 Conversion adapter

Publications (2)

Publication Number Publication Date
JPH08234265A JPH08234265A (en) 1996-09-13
JP3176244B2 true JP3176244B2 (en) 2001-06-11

Family

ID=12575956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04027095A Expired - Fee Related JP3176244B2 (en) 1994-12-22 1995-02-28 Conversion adapter

Country Status (1)

Country Link
JP (1) JP3176244B2 (en)

Also Published As

Publication number Publication date
JPH08234265A (en) 1996-09-13

Similar Documents

Publication Publication Date Title
KR100231354B1 (en) Converting adapter for interchangeable lens assembly
CN100456073C (en) Camera, control method therefor, program, and storage medium
US7822339B2 (en) Interchangeable lens
CN100517044C (en) Image capturing apparatus
US7796350B2 (en) Interchangeable lens barrel, program rewriting system for interchangeable lens barrel
CN110351457B (en) Control device, optical device, imaging device, and control method for optical device
JPH03237413A (en) Electric focal distance changing device
JP3176244B2 (en) Conversion adapter
US5682556A (en) Camera with vibration correcting function
JP3276794B2 (en) Conversion adapter
JP2941966B2 (en) Camera system and interchangeable lens device
JP3176243B2 (en) Conversion adapter
JP5523013B2 (en) Imaging device
JP4750616B2 (en) Imaging apparatus and control method thereof
US6819357B1 (en) Camera having a zoom lens
JPS63172231A (en) Auto-focusing device
JP4827526B2 (en) Optical equipment
JP2007057796A (en) Lens unit
JP2001166196A (en) Camera with power focus
CN110876031B (en) Recording control apparatus and control method thereof
US20230341753A1 (en) Lens apparatus and image pickup apparatus
JP2009053599A (en) Camera system and camera system main body
US6400473B1 (en) Image reader
JP2002006201A (en) Lens device, lens driving unit, lens information writing device, lens system and camera system
JP2023019696A (en) Operating device, optical device, and imaging apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010306

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140406

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees