JPH0717118B2 - Control method of automatic drafting machine - Google Patents
Control method of automatic drafting machineInfo
- Publication number
- JPH0717118B2 JPH0717118B2 JP3850786A JP3850786A JPH0717118B2 JP H0717118 B2 JPH0717118 B2 JP H0717118B2 JP 3850786 A JP3850786 A JP 3850786A JP 3850786 A JP3850786 A JP 3850786A JP H0717118 B2 JPH0717118 B2 JP H0717118B2
- Authority
- JP
- Japan
- Prior art keywords
- writing instrument
- type
- writing
- information
- recording
- 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
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は多ペン式自動製図機の制御方法に関し、特に、
筆記具の種別をその筆記具に表示された情報をもとにし
て光学的に読み取り、その種別に応じた記録条件でヘッ
ドを制御するようにした自動製図機の制御方法に関す
る。The present invention relates to a control method for a multi-pen type automatic drafting machine, and in particular,
The present invention relates to a control method for an automatic drafting machine that optically reads the type of writing instrument based on the information displayed on the writing instrument and controls the head under recording conditions according to the type.
此種の、多ペン式自動製図機は、特開昭59−209200号、
特開昭59−87199号及び実開昭59−176598号公報等に開
示され、これらに記載された自動製図機は、記録ペン
に、その種別に関する情報を表示し、選択した記録ペン
の上記情報を読み取り装置によって読み取って、最適の
記録条件例えば、筆圧、筆記速度等を設定するように構
成されている。This type of multi-pen type automatic drafting machine is disclosed in JP-A-59-209200.
The automatic drafting machines disclosed in JP-A-59-87199 and JP-A-59-176598, which are described therein, display information about the type on the recording pen, and the above information of the selected recording pen. Is read by a reading device, and optimum recording conditions such as writing pressure and writing speed are set.
記録ペンの種別情報を所定位置に設けた光学的読み取り
装置によって読み取る場合、読み取り装置の受光素子に
過大な外光例えば直射日光やカメラのフラッシュ光が入
光した場合、読み取り装置が誤動作し、この誤動作出力
に基いて筆圧、筆記速度等の記録条件が設定されてしま
うと、作図時、記録ペンが破損してしまう恐れがあっ
た。本発明は上記欠陥を除去することを目的とするもの
である。When the type information of the recording pen is read by an optical reading device provided at a predetermined position, if the light receiving element of the reading device receives excessive external light such as direct sunlight or flash light of the camera, the reading device malfunctions. If the recording conditions such as the writing pressure and the writing speed are set based on the malfunction output, the recording pen may be damaged during drawing. The present invention aims to eliminate the above defects.
上記目的を達成するため本願発明は種別に関する情報が
表示された複数の筆記具を保持するストック部と、該ス
トック部との間で相互に筆記具の交換を行い、テーブル
上の作画面に記録を行う作画ヘッドと、前記筆記具に表
示された情報を光学的に読み取る読み取り装置と、前記
筆記具の種別に応じた最適の記録条件を予め記憶してお
く記憶手段とを具備し、選択した筆記具の種別を前記読
み取り装置の出力情報をもとにして識別するとともに、
その種別に応じた記録条件を前記記憶手段から読み出し
この記録条件に基いて前記作画ヘッドの記録動作を制御
するようにした自動製図機において、前記読み取り装置
によって前記筆記具の種別情報を読み取る前に、前記読
み取り装置の受光素子に入光する外光の強さを検出し、
該外光の強さが予じめ設定した基準値を越えているか否
か判定し、越えているときは、予じめ設定した筆記具保
護処理動作に移行するようにしたものである 〔実施例〕 以下に本発明の構成を添付図面に示す実施例を参照して
説明する。In order to achieve the above-mentioned object, the present invention performs a mutual exchange of writing instruments between a stock section that holds a plurality of writing instruments in which information regarding types is displayed and the stock sections, and records on a screen created on a table. The drawing head, the reading device for optically reading the information displayed on the writing instrument, and the storage means for pre-storing the optimum recording conditions according to the type of the writing instrument are provided, and the type of the selected writing instrument is selected. While identifying based on the output information of the reading device,
In the automatic drafting machine that reads the recording condition corresponding to the type from the storage means and controls the recording operation of the drawing head based on the recording condition, before reading the type information of the writing instrument by the reading device, Detecting the intensity of external light entering the light receiving element of the reading device,
It is determined whether or not the intensity of the external light exceeds a preset reference value, and if it exceeds, a preset writing instrument protection processing operation is performed. The structure of the present invention will be described below with reference to the embodiments shown in the accompanying drawings.
第6図において、2は筆記具の選択交換機能を備えた、
いわゆる多ペン式自動製図機の機体であり、テーブル4
の両側に配設したXレールに沿って、Yレール6が、図
中、左右方向に移動自在に支持されている。前記Yレー
ル6には作画ヘッド8が該Yレール6に沿って移動自在
に取り付けられている。前記作画ヘッド8の基板10には
ブラケット12が固設され、該ブラケット12の上位水平部
と前記基板10間に架設されたガイド軸14には昇降体16の
ガイド穴がスライド自在に嵌挿している。18は前記ブラ
ケットに固定された公知のムービングコイル装置であ
り、これのコイルと連結する昇降軸20は前記昇降体16に
連結している。前記昇降体16は通常、コイルスプリング
の復帰力によって上昇位置にあり、前記装置18のムービ
ングコイルが励磁されると、該ムービングコイルと連動
する昇降軸20の駆動力によって、ガイド軸14に沿って下
降するように構成されている。前記装置18の詳細は実公
昭52−46184号公報その他に記載されている。前記昇降
体16には、公知の筆記具ホルダー22が取り付けられてい
る。24はブラケット12に支承された光学的読み取り装置
であり、前記ホルダー22に保持された筆記具26に対向す
る位置に配置され、2個の受光素子によって筆記具26に
設けられた筆記具種類表示マークM1,M2を読み取り、こ
れによって読み取り装置24の出力端は筆記具26の種類を
示す2ビットのディジタル付号を出力するように構成さ
れている。前記テーブル4の一側には複数の筆記具26を
保持する公知の筆記具ストッカー28が設けられている。
前記作画ヘッド8のホルダー22に支承されている筆記具
26は、ヘッド8を前記ストッカー28中の、空の筆記具保
持部28aの前方のペンチェンジポイントに移動させ、該
位置から、ホルダー22が保持部28a内に挿入されるまで
ヘッド8を移動させると、ホルダー22内の筆記具26が保
持部28aに保持され、次に、ヘッド8を元のペンチェン
ジポイントまで後退させると、筆記具26が保持部28aに
保持された状態で、ホルダー22は空の状態で保持部28a
から離反し、ヘッド8のペン置き動作が完了する。ホル
ダー22が空の状態で、ヘッド8を、前記ストッカー28中
の筆記具を保持している保持部28bの前方をペンチェン
ジポイントまで移動し、該位置から、ヘッド8を保持部
28bに接近させて、ホルダー22を保持部28b内に位置さ
せ、しかる後に、キャリッジ8を元のペンチェンジポイ
ントまで後退移動させることで、保持部28bに支承され
ている筆記具がホルダー22に保持され、ヘッド8のペン
取り動作が完了する。上記筆記具の選択交換機能は、自
動製図機においては公知の構成であり、しかも、本願発
明の要旨ではないのでその詳細な構造の図示及び説明は
省略する。前記ヘッド8をYレール6に沿って移動させ
るためのYモータ30、Yレール6を第6図中、左右方向
に移動させるためのXモータ32及び前記ムービングコイ
ル装置18は、第2図に示すように、計算機の図形作図出
力信号によって制御されるコントローラの駆動手段34に
接続している。In FIG. 6, 2 is provided with a writing instrument selective exchange function,
It is a so-called multi-pen type automatic drafting machine, and the table 4
Y rails 6 are supported movably in the left-right direction in the drawing along X rails arranged on both sides of the. An imaging head 8 is attached to the Y rail 6 so as to be movable along the Y rail 6. A bracket 12 is fixedly mounted on a board 10 of the drawing head 8, and a guide hole of an elevating body 16 is slidably inserted into a guide shaft 14 installed between the upper horizontal portion of the bracket 12 and the board 10. There is. Reference numeral 18 denotes a known moving coil device fixed to the bracket, and an elevating shaft 20 connected to the coil of the moving coil device is connected to the elevating body 16. The lifting body 16 is normally in a raised position by the restoring force of the coil spring, and when the moving coil of the device 18 is excited, the driving force of the lifting shaft 20 interlocking with the moving coil moves along the guide shaft 14. It is configured to descend. Details of the device 18 are described in Japanese Utility Model Publication No. 52-46184. A well-known writing instrument holder 22 is attached to the elevating body 16. Reference numeral 24 denotes an optical reading device supported by the bracket 12, which is arranged at a position facing the writing implement 26 held by the holder 22 and is provided with the writing implement 26 by two light receiving elements. The M2 is read, whereby the output end of the reading device 24 is configured to output a 2-bit digital code indicating the type of the writing instrument 26. A known writing instrument stocker 28 holding a plurality of writing instruments 26 is provided on one side of the table 4.
Writing instrument supported on the holder 22 of the drawing head 8
26 moves the head 8 to a pen change point in the stocker 28 in front of the empty writing instrument holder 28a, and moves the head 8 from that position until the holder 22 is inserted into the holder 28a. , The writing tool 26 in the holder 22 is held by the holding section 28a, and then the head 8 is retracted to the original pen change point. When the writing tool 26 is held by the holding section 28a, the holder 22 is empty. With holding part 28a
And the pen placing operation of the head 8 is completed. With the holder 22 empty, the head 8 is moved to the pen change point in front of the holding portion 28b holding the writing instrument in the stocker 28, and the head 8 is held from this position.
The holder 22 is positioned inside the holding portion 28b by approaching 28b, and then the carriage 8 is moved backward to the original pen change point, whereby the writing instrument supported by the holding portion 28b is held by the holder 22. , The pen removal operation of the head 8 is completed. The selective exchange function of the above-mentioned writing instrument has a well-known configuration in an automatic drafting machine, and is not the gist of the present invention, so that detailed illustration and description of its structure will be omitted. A Y motor 30 for moving the head 8 along the Y rail 6, an X motor 32 for moving the Y rail 6 in the horizontal direction in FIG. 6 and the moving coil device 18 are shown in FIG. Thus, it is connected to the driving means 34 of the controller controlled by the graphic drawing output signal of the computer.
次に、第3図乃至第5図を参照して読み取り装置24の内
部回路と、外光検出回路について説明する。Next, the internal circuit of the reading device 24 and the external light detection circuit will be described with reference to FIGS.
読み取り装置24は、ケーシングに配設された2個の赤外
線発光ダイオード(赤外LED)から成る発光素子34(一
方は図示省略)と、2個のフォトトランジスタから成る
受光素子36(一方は図示省略)と比較器38とから構成さ
れ、発光素子34から投射される赤外光線は、ホルダー22
に支持されている筆記具26に当り、その反射光が受光素
子36に入光するように構成されている。発光素子34の電
源電圧VDDはドライバ40により供給され、受光素子36の
電源電圧VDDは、抵抗素子Rを通じて、フォトトランジ
スタのコレクタ・エミッタ間に供給されている。前記比
較器(コンパレータ)38の一方の入力端は、フォトトラ
ンジスタのコレクタと抵抗素子R間に接続し、比較器38
の他方の入力端には比較基準電圧VF1が印加されてい
る。比較器38は、一方の入力端の入力電圧VINが比較基
準電圧VF1より小のときはゼロ、VINがVF1より大となる
と、所定のプラス電圧から成る“1"の出力電圧V3を出力
するように構成されている。フォトトランジスタ即ち受
光素子36への入光量に対応する上記VINの値を示す電圧
特性A,B勾配αは、前記抵抗素子Rの抵抗値Rを大とす
ると第4図bに示すように大きくなり、前記抵抗素子R
の値を小とすれば、上記αも小さくなる。第4図aは受
光素子36に当る光の強さと、受光素子36のコレクタ電流
の関係を示し、第4図cは本実施例における、上記光の
強さとVINの関係を示している。42,44は比較器であり、
それぞれの一方の入力端は、前記受光素子36のコレクタ
と抵抗素子R間に接続し、比較器42,44のそれぞれの他
方の入力端には、比較基準電圧VF2,VF3が印加されてい
る。比較器42は、基準電圧VF2よりも高い電圧が入力さ
れると、所定のプラス電圧から成る“1"の電圧信号を出
力し、入力電圧が上記VF2よりも低い場合には、ゼロを
出力する。比較器44は、同様に、基準電圧VF3よりも低
い電圧が入力されると、所定のプラス電圧からなる“1"
の電圧信号を出力し、入力電圧が上記VF3よりも高い場
合には、ゼロを出力するように設定されている。The reading device 24 includes a light emitting element 34 (one of which is not shown) composed of two infrared light emitting diodes (infrared LEDs) and a light receiving element 36 (one of which is not shown) composed of two phototransistors arranged in a casing. ) And a comparator 38, the infrared rays projected from the light emitting element 34 are
The writing tool 26 supported by the above is hit, and the reflected light enters the light receiving element 36. The power supply voltage VDD of the light emitting element 34 is supplied by the driver 40, and the power supply voltage VDD of the light receiving element 36 is supplied between the collector and emitter of the phototransistor through the resistance element R. One input terminal of the comparator 38 is connected between the collector of the phototransistor and the resistance element R, and the comparator 38
The comparison reference voltage VF1 is applied to the other input terminal of the. The comparator 38 outputs zero when the input voltage VIN at one input terminal is lower than the comparison reference voltage VF1, and outputs “1” output voltage V3 consisting of a predetermined positive voltage when VIN is higher than VF1. Is configured. The voltage characteristics A and B gradient α indicating the value of VIN corresponding to the amount of light entering the phototransistor, that is, the light receiving element 36, becomes large as the resistance value R of the resistance element R becomes large as shown in FIG. 4b. , The resistance element R
If the value of is small, the above α is also small. FIG. 4a shows the relationship between the intensity of light striking the light receiving element 36 and the collector current of the light receiving element 36, and FIG. 4c shows the relationship between the light intensity and VIN in this embodiment. 42 and 44 are comparators,
One input terminal of each of them is connected between the collector of the light receiving element 36 and the resistance element R, and comparison reference voltages VF2 and VF3 are applied to the other input terminals of the comparators 42 and 44, respectively. When a voltage higher than the reference voltage VF2 is input, the comparator 42 outputs a voltage signal of "1" composed of a predetermined plus voltage, and outputs zero when the input voltage is lower than the above VF2. . Similarly, when a voltage lower than the reference voltage VF3 is input, the comparator 44 has a predetermined positive voltage of "1".
Is output, and zero is output when the input voltage is higher than the above VF3.
上記比較器42,44及び受光素子36は過大、過小外光検出
回路を構成している。前記比較器38,42,44は、受光素子
36ごとにそれぞれ設けられている。外光ゼロの状態にお
いて、発光素子34の光が筆記具26の光反射マークに投射
され、その反射光が、受光素子36に入光したときに受光
素子供電ラインの点Cに生じる電圧をVW: 外光ゼロの状態において、発光素子34の光が筆記具26の
光非反射マークに投射され、その微少反射光が受光素子
36に入光したときに上記点Cに生じる電圧をVB: 外光が受光素子36に入光したときに点Cに生じる電圧を
VG: とすると、 外光が受光素子36に入光している状態で、発光素子34の
光が筆記具26の光反射マークに投射され、その反射光が
受光素子36に入光したとき、点Cには、VW+VGの電圧が
生じ、 外光が受光素子36に入光している状態で発光素子34の光
が筆記具26の光非反射マークに投射され、その微少反射
光が受光素子36に入光したとき、点Cには、VB+VGの電
圧が生じる。The comparators 42 and 44 and the light receiving element 36 constitute an oversized / undersized outside light detection circuit. The comparators 38, 42 and 44 are light receiving elements.
It is provided for each 36. In a state where the external light is zero, the light of the light emitting element 34 is projected on the light reflection mark of the writing tool 26, and the reflected light, when incident on the light receiving element 36, produces a voltage generated at the point C of the light receiving element power supply line VW: In the state of zero external light, the light of the light emitting element 34 is projected on the light non-reflective mark of the writing instrument 26, and the minute reflected light thereof is the light receiving element.
The voltage generated at the point C when the light enters the light source 36 is VB: The voltage generated at the point C when the external light enters the light receiving element 36
If VG: is set, when the external light is incident on the light receiving element 36, the light of the light emitting element 34 is projected on the light reflection mark of the writing instrument 26, and when the reflected light enters the light receiving element 36, A voltage of VW + VG is generated at C, and the light of the light emitting element 34 is projected on the light non-reflective mark of the writing instrument 26 in a state where the outside light is incident on the light receiving element 36, and the minute reflected light is received by the light receiving element 36. When light enters, a voltage of VB + VG is generated at the point C.
上記VW+VGの値が上記VF1の値より大であれば、比較器3
8は“1"の電圧信号を出力するが、VW+VGの値が上記VF1
の値より小であれば、比較器38は、“1"の電圧信号を出
力しない。即ち、読み取り装置24は、筆記具26の光反射
マークの信号を検出しないことになる。If the value of VW + VG above is larger than the value of VF1 above, comparator 3
8 outputs the voltage signal of "1", but the value of VW + VG is VF1
If it is smaller than the value of, the comparator 38 does not output the voltage signal of "1". That is, the reading device 24 does not detect the signal of the light reflection mark of the writing instrument 26.
従って、上記VW+VGの値が上記VF1の値より小であると
きは、光反射マーク検出不能信号をコントローラのCPU4
6に出力することが望ましい。Therefore, when the value of VW + VG is smaller than the value of VF1, the light reflection mark undetectable signal is sent to the CPU4 of the controller.
It is desirable to output to 6.
即ち、WV+VG<VF1のとき、光反射マーク検出不能信号
を得るには、上記式から VG<VF1−VW であり、外光の光の強さに対応する電圧VGがVF1−VWの
値より小さいときに、光反射マーク検出不能状態とすれ
ば良いことになる。これは、第3図中、上記VF3をVF1−
VWとすることによって達成することができる。即ち、比
較器44の“1"の出力信号は、光反射マーク検出不能状態
を示す。That is, when WV + VG <VF1, to obtain the light reflection mark undetectable signal, VG <VF1−VW from the above formula, and the voltage VG corresponding to the intensity of external light is smaller than the value of VF1−VW. At some point, the light reflection mark cannot be detected. This is the same as VF1−
This can be achieved by using VW. That is, the output signal of "1" of the comparator 44 indicates that the light reflection mark cannot be detected.
また、上記VB+VGの値が上記VF1の値より小であれば、
比較器38はゼロを出力するがVB+VGの値が上記VF1の値
より大であると、比較器38は、プラスの“1"の電圧を出
力してしまう。即ち比較器38はゼロを出力しない。従っ
て、上記VB+VGの値が上記VF1の値より大であるとき
は、光非反射マーク検出不能信号をCPU46に出力するこ
とが望ましい。If the value of VB + VG is smaller than the value of VF1,
The comparator 38 outputs zero, but if the value of VB + VG is larger than the value of VF1, the comparator 38 outputs a positive "1" voltage. That is, the comparator 38 does not output zero. Therefore, when the value of VB + VG is larger than the value of VF1, it is desirable to output the light non-reflection mark undetectable signal to the CPU 46.
VB+VG>VF1のとき、光非反射マーク検出不能信号を得
るには、上記式を、VG>VF1−VBとし、この式から、外
光の光の強さに対応するVGがVF1−VBの値より大きいと
き、例えば直射日光が受光素子36に当っているようなと
きは、光非反射マーク検出不能とすれば良いことにな
る。これは、上記比較器42の基準電圧VF2をVF−VBとす
ることによって達成することができる。即ち、比較器42
の“1"出力信号は光非反射マーク検出不能信号を示す。
尚、筆記具26の光非反射マークを高精度の光乱反射マー
クとすることによって上記VBをきわめて低い値即ちゼロ
に近い値とし、これによって、VW+VG>VF1の状態が成
立しないようにすることが可能であり、この場合には、
上記比較器44を設けなくとも良い。また、上記VBがゼロ
に近い値の場合には、比較器38と42の基準電圧VF1とVF2
を同一とすることができるので、比較器38の出力端をア
ンドゲート(48)を介してCPU46に接続することによ
り、比較器42も省略することができる。When VB + VG> VF1, to obtain the light non-reflective mark undetectable signal, the above equation is set to VG> VF1-VB, and from this equation, VG corresponding to the intensity of external light is the value of VF1-VB. When it is larger, for example, when the sunlight is shining on the light receiving element 36, the non-light-reflecting mark cannot be detected. This can be achieved by setting the reference voltage VF2 of the comparator 42 to VF-VB. That is, the comparator 42
The "1" output signal indicates that the light non-reflective mark cannot be detected.
It should be noted that by making the light non-reflective mark of the writing instrument 26 a highly accurate diffused reflection mark, the above VB can be set to an extremely low value, that is, a value close to zero, thereby preventing the condition of VW + VG> VF1 from being established. And in this case,
The comparator 44 may not be provided. When VB is close to zero, the reference voltages VF1 and VF2 of comparators 38 and 42 are
Can be the same, so that the comparator 42 can also be omitted by connecting the output end of the comparator 38 to the CPU 46 via the AND gate (48).
次に本実施例の作用について説明する。Next, the operation of this embodiment will be described.
第2図に示すCPU46は、筆記具ホルダー22が筆記具26を
保持すると、筆記具ホルダー22に配設したリミットスイ
ッチ(図示省略)のスイッチオン信号によって、筆記具
ホルダー22の筆記具保持状態を検知する。CPU46は、筆
記具ホルダー下降即ち、ペンダウン信号を駆動手段32に
出力する直前に、受光素子36に電源電圧VDDを供給する
ための信号を、電源スイッチ制御素子(図示省略)に出
力し、受光素子36の通電ラインに電源VDDを供給すると
同時に、CPU46は、スイッチ50をオンとする。スイッチ5
0オンによって、外光によって生じる、受光素子36の通
電ラインの点Cの電圧が比較器42,44にそれぞれ入力さ
れ、点Cの電圧VINが、基準電圧VF2,VF3とそれぞれ比較
される。比較器42は、VIN<VF2のときゼロを出力し、VI
N≧FV2のときプラスの“1"の電圧を出力する。比較器44
は、VIN>VF3のときゼロを出力し、VIN≦VF3のときプラ
スの“1"の電圧を出力するように設定されている。比較
器42,44がいづれもゼロを出力すれば、CPU46は、次に、
発光素子34を発光させる“1"の信号をドライバー40に供
給し、発光素子34を発光させる。これと同時にCPU46は
ペン種類判別手段50を作動状態と成し、且つスイッチ50
をオフとしてスイッチ54をオンとする。上記CPU46から
ドライバー40に出力される“1"の信号によりアンドゲー
ト48は遮断される。スイッチ54オンによって、2個の発
光素子34の光は、それぞれ対向する筆記具26のマークM
1,M2に投射され、その反射光が2個の受光素子36に入光
される。受光素子36の各々に設けられた比較器38は、入
力電圧VINがVIN<VF1のときゼロを出力し、VIN≧VF1の
ときプラスの“1"の電圧を出力する。2個の比較器38
(1個は図示省略)の出力V3は、2ビットのコード化信
号としてペン種類判別手段52に入力され、ここで、筆記
具の種類が判別される。この判別信号は、筆記具26の種
別に応じた最適の筆圧・速度等の記録条件が予じめ記憶
されている記憶手段を供えた筆圧・速度設定手段54に供
給される。該手段54は、ペン種類判別信号に基づき、筆
記具26の種類に応じた筆圧、速度条件を読み出し、該記
録条件を駆動手段34に供給する。次に、CPU46から、ペ
ンダウン信号、XYモータ駆動信号が入力されると、駆動
手段34は手段54により設定された筆圧に応じた電流をム
ービング装置18のコイルに供給し、該コイルの通電によ
って筆記具26の先端は、設定された筆圧で作図面に当接
する。また、駆動手段34は、手段54により、設定された
速度に対応するXYモータ駆動信号を出力し、ヘッド8を
設定された速度でテーブル4上を所定のX−Y方向に移
動制御する。When the writing tool holder 22 holds the writing tool 26, the CPU 46 shown in FIG. 2 detects the writing tool holding state of the writing tool holder 22 by a switch-on signal of a limit switch (not shown) arranged in the writing tool holder 22. The CPU 46 outputs a signal for supplying the power supply voltage VDD to the light receiving element 36 to the power switch control element (not shown) immediately before the writing tool holder descends, that is, the pen down signal is output to the driving means 32, and the light receiving element 36 is output. At the same time that the power VDD is supplied to the energization line of, the CPU 46 turns on the switch 50. Switch 5
When 0 is turned on, the voltage at the point C of the energization line of the light receiving element 36 generated by the outside light is input to the comparators 42 and 44, respectively, and the voltage VIN at the point C is compared with the reference voltages VF2 and VF3, respectively. The comparator 42 outputs zero when VIN <VF2, and VI
Outputs a positive "1" voltage when N≥FV2. Comparator 44
Is set to output zero when VIN> VF3, and output a positive “1” voltage when VIN ≦ VF3. If both comparators 42 and 44 output zero, the CPU 46 then
A "1" signal for causing the light emitting element 34 to emit light is supplied to the driver 40 to cause the light emitting element 34 to emit light. At the same time, the CPU 46 activates the pen type discrimination means 50, and the switch 50
Is turned off and the switch 54 is turned on. The AND gate 48 is shut off by the "1" signal output from the CPU 46 to the driver 40. When the switch 54 is turned on, the lights of the two light emitting elements 34 are emitted from the marks M of the writing instruments 26 facing each other.
It is projected on 1, M2, and the reflected light enters the two light receiving elements 36. The comparator 38 provided in each of the light receiving elements 36 outputs zero when the input voltage VIN is VIN <VF1, and outputs a positive “1” voltage when VIN ≧ VF1. Two comparators 38
The output V3 (one of which is not shown) is input to the pen type discriminating means 52 as a 2-bit coded signal, and the type of writing instrument is discriminated here. This discriminating signal is supplied to the writing pressure / speed setting means 54 provided with a storage means in which recording conditions such as optimum writing pressure / speed according to the type of the writing instrument 26 are stored in advance. The means 54 reads the writing pressure and speed conditions according to the type of the writing instrument 26 based on the pen type determination signal, and supplies the recording conditions to the driving means 34. Next, when a pen down signal and an XY motor drive signal are input from the CPU 46, the drive means 34 supplies a current according to the writing pressure set by the means 54 to the coil of the moving device 18, and by energizing the coil. The tip of the writing instrument 26 contacts the drawing with the set writing pressure. Further, the driving means 34 outputs the XY motor drive signal corresponding to the set speed by the means 54, and controls the movement of the head 8 on the table 4 in the predetermined XY directions at the set speed.
尚、発光素子34を発光させる前の、比較器42,44の入力
ラインのスイッチがオンの状態において、受光素子36に
過大な外光又は、過小な外光が入光された状態にある
と、比較器42,44のいづれか一つが“1"の信号を出力
し、この“1"の信号は、アンドゲート48の一方の入力端
に印加される。アンドゲート48の他方の入力端には、
“1"の信号が予じめ印加されているため、アンドゲート
48のアンドが成立し、アンドゲート48は、CPU46に“1"
の信号を入力する。CPU46は、この“1"の信号に基い
て、筆圧・速度設定手段54に、筆圧最弱信号を供給し、
この信号に基いて、設定手段54は、予じめ記憶している
最弱筆圧条件を読み出して該条件を駆動手段32に供給す
る。該状態において、CPU46からペンダウン信号、XYモ
ータ駆動信号が入力されると、駆動手段32は設定された
最弱筆圧に応じた電流をムービングコイル装置18のコイ
ルに供給し、該コイルの通電によって筆記具26の先端
は、設定された最弱の筆圧で作図面に当接する。また、
駆動手段32は、所定のXYモータ駆動信号を出力し、キャ
リッジ8を所定の速度で、所定のX−Y方向に移動制御
する。上記最弱の筆圧設定により、筆記具26の破損が防
止される。尚、上記最弱筆圧設定は、筆記具保護処理動
作の好適な一例であるが、第10図に示すように、CPU46
に過大又は過小外光検出信号が入力されると、CPU46は
ブザー56を通電して警報を発し、及び/又は、駆動手段
32に機械停止指令を入力するようにしても良い。Before the light emitting element 34 is made to emit light, when the input line switches of the comparators 42 and 44 are in the ON state, the light receiving element 36 is in a state where excessive external light or excessive external light is received. One of the comparators 42 and 44 outputs a signal of "1", and the signal of "1" is applied to one input terminal of the AND gate 48. At the other input of AND gate 48,
AND gate because "1" signal is applied in advance
The AND of 48 is established, and the AND gate 48 indicates “1” to the CPU 46.
Input the signal. Based on this "1" signal, the CPU 46 supplies the pen pressure / speed setting means 54 with the pen pressure weakest signal,
Based on this signal, the setting means 54 reads the weakest writing pressure condition stored in advance and supplies it to the driving means 32. In this state, when a pen down signal and an XY motor drive signal are input from the CPU 46, the drive means 32 supplies a current according to the set weakest writing pressure to the coil of the moving coil device 18, and by energizing the coil. The tip of the writing instrument 26 comes into contact with the drawing with the weakest writing pressure set. Also,
The drive means 32 outputs a predetermined XY motor drive signal to control the movement of the carriage 8 in a predetermined XY direction at a predetermined speed. The weakest writing pressure setting prevents damage to the writing instrument 26. The above-mentioned weakest writing pressure setting is a preferable example of the writing implement protection processing operation, but as shown in FIG.
When an excessive or underexternal light detection signal is input to the CPU 46, the CPU 46 energizes the buzzer 56 to issue an alarm and / or drive means.
A machine stop command may be input to 32.
次に他の実施例を第11図に示すフローチャートを参照し
て説明する。Next, another embodiment will be described with reference to the flowchart shown in FIG.
筆記具ホルダー22が筆記具26を保持している状態におい
て、CPU46は、ペンダウン信号を出力する直前に、発光
素子34オフ状態のまま、受光素子36の供電ラインを閉じ
る(ステップ1)。500マイクロセコンド後、スイッチ5
0をオンとして比較器42,44が“1"を出力しているか否か
判定し(ステップ2,3)、“1"を出力している場合、即
ち、受光素子36に入光する外光の強さが規定量以上であ
れば、CPU46は、駆動手段32に最弱筆圧指令を入力する
(ステップ4′)。比較器42,44がいづれも“1"を出力
していない場合には、CPU46は、発光素子34に通電する
(ステップ4)。500マイクロセコンド後、比較器38の
出力は、ペン種類判別手段52に入力され(ステップ
5)、この判別信号は、RAM58に記憶される(ステップ
6)。500マイクロセコンド経過後、再びペン種類判別
手段52は比較器38の出力信号に基いてペン種を判別する
(ステップ7)。CPU46は、判別手段52の現判別信号
と、前の、RAM58に記憶されている判別信号とが同一で
あるか否か判断し(ステップ8)、否であれば駆動手段
32に最弱筆圧設定信号を出力し、同一であれば、前の、
判別信号を筆圧速度設定手段54に入力する(ステップ
9)。以後の動作は、第1実施例で説明したのと同一で
ある。While the writing tool holder 22 holds the writing tool 26, the CPU 46 closes the power supply line of the light receiving element 36 while the light emitting element 34 is in the OFF state immediately before outputting the pen down signal (step 1). After 500 microseconds, switch 5
When 0 is turned on, it is judged whether the comparators 42 and 44 are outputting "1" (steps 2 and 3), and when "1" is being output, that is, the external light entering the light receiving element 36. If the strength of is less than the specified amount, the CPU 46 inputs the weakest writing pressure command to the driving means 32 (step 4 '). When neither of the comparators 42 and 44 outputs "1", the CPU 46 energizes the light emitting element 34 (step 4). After 500 microseconds, the output of the comparator 38 is input to the pen type discrimination means 52 (step 5), and this discrimination signal is stored in the RAM 58 (step 6). After the elapse of 500 microseconds, the pen type discriminating means 52 discriminates the pen type again based on the output signal of the comparator 38 (step 7). The CPU 46 determines whether or not the current determination signal of the determination means 52 and the previous determination signal stored in the RAM 58 are the same (step 8).
The weakest writing pressure setting signal is output to 32, and if the same, the previous,
The discrimination signal is input to the writing pressure velocity setting means 54 (step 9). The subsequent operation is the same as that described in the first embodiment.
尚、比較器42,44を用いない場合には、ステップ2,3にお
いて、比較器38の出力が“1"を出力しているか否かを判
定し、“1"を出力しているときは、ステップ4′に移行
する。比較器42,44を省略する場合については、前述し
たように、比較器38の出力端はCPU46に接続される。If the comparators 42 and 44 are not used, it is determined in step 2 and 3 whether or not the output of the comparator 38 is "1", and if "1" is output, , Step 4 ′. When the comparators 42 and 44 are omitted, the output terminal of the comparator 38 is connected to the CPU 46, as described above.
尚、本発明は、読み取り装置24を、作画ヘッド8のケー
シング内に設けた自動製図機に特に限定されるものでな
く、第9図に示すようにストッカー28側に光学的読み取
り装置24′を設けた自動製図機でも良く、又は、Yレー
ル6に読み取り装置を設けた構成の自動製図機にも応用
することができるものである。本発明は上述の如く、選
択した筆記具の種別を読み取るとき、読み取り装置の受
光素子に基準値上の外光が入光しているか否か検出し、
入光しているときは、機械の停止、警報又は、最弱筆圧
設定等の筆記具保護処理動作に移行するようにしたの
で、筆記具の破損等の事故を防止することができる効果
が存する。The present invention is not particularly limited to the automatic drawing machine provided in the casing of the drawing head 8 as the reading device 24, but an optical reading device 24 'is provided on the stocker 28 side as shown in FIG. The automatic drafting machine provided may be used, or it may be applied to an automatic drafting machine having a configuration in which a reading device is provided on the Y rail 6. As described above, the present invention detects, when reading the selected writing instrument type, whether or not external light on the reference value is incident on the light receiving element of the reading device,
Since the machine is stopped, an alarm is issued, or a writing tool protection processing operation such as setting of the weakest writing pressure is performed when the light is incident, there is an effect that an accident such as damage of the writing tool can be prevented.
図は本発明の好適な実施例を示し、第1図はフローチャ
ート、第2図はブロック回路図、第3図は回路図、第4
図は説明図、第5図は説明図、第6図は平面図、第7図
は側面図、第8図は平面説明図、第9図は他の実施例を
示す外観図、第10図は他の実施例を示すブロック回路
図、第11図は他の実施例を示すフローチャートである。 2……機体,4……テーブル,6……Yレール,8……作画ヘ
ッド,10……基板,12……ブラケット,14……ガイド軸,16
……昇降体,18……ムービングコイル装置,20……昇降
軸,22……筆記具ホルダー,24……読み取り装置,26……
筆記具,28……ストッカー,30……Yモータ,32……Xモ
ータ,34……発光素子,36……受光素子,38……比較器,40
……ドライバ,42,44……比較器,46……CPU,48……アン
ドゲート,52……ペン種類判別手段,54…筆圧・速度設定
手段,56……ブザー,58……RAMFIG. 1 shows a preferred embodiment of the present invention, FIG. 1 is a flow chart, FIG. 2 is a block circuit diagram, FIG. 3 is a circuit diagram, and FIG.
FIG. 7 is an explanatory view, FIG. 5 is an explanatory view, FIG. 6 is a plan view, FIG. 7 is a side view, FIG. 8 is a plan explanatory view, FIG. 9 is an external view showing another embodiment, and FIG. Is a block circuit diagram showing another embodiment, and FIG. 11 is a flow chart showing another embodiment. 2 …… machine, 4 …… table, 6 …… Y rail, 8 …… drawing head, 10 …… board, 12 …… bracket, 14 …… guide shaft, 16
…… Elevator, 18 …… Moving coil device, 20 …… Elevation axis, 22 …… Writing tool holder, 24 …… Reading device, 26 ……
Writing instrument, 28 …… Stocker, 30 …… Y motor, 32 …… X motor, 34 …… Light emitting element, 36 …… Light receiving element, 38 …… Comparator, 40
...... Driver, 42,44 …… Comparator, 46 …… CPU, 48 …… And gate, 52 …… Pen type identification means, 54 …… Pen pressure / speed setting means, 56 …… Buzzer, 58 …… RAM
Claims (2)
具を保持するストッカーと、該ストッカーとの間で相互
に筆記具の交換を行い、テーブル上の作画面に記録を行
う作画ヘッドと、前記筆記具に表示された情報を光学的
に読み取る読み取り装置と、前記筆記具の種別に応じた
最適の記録条件を予め記憶しておく記憶手段とを具備
し、選択した筆記具の種別を前記読み取り装置の出力情
報をもとにして識別するとともに、その種別に応じた記
録条件を前記記憶手段から読み出しこの記録条件に基い
て前記作画ヘッドの記録動作を制御するようにした自動
製図機において、前記読み取り装置によって前記筆記具
の種別情報を読み取る前に、前記読み取り装置の受光素
子に入光する外光の強さを検出し、該外光の強さが予じ
め設定した基準値を越えているか否か判定し、越えてい
るときは、予じめ設定した筆記具保護処理動作に移行す
るようにしたことを特徴とする制御方法。1. A stocker that holds a plurality of writing instruments on which information regarding types is displayed, a drawing head that exchanges the writing instruments with each other, and records on a screen image on a table, and the writing instrument. A reading device that optically reads the information displayed on the display device, and a storage unit that stores in advance optimum recording conditions according to the type of the writing instrument, and the type of the selected writing instrument is output information of the reading device. In the automatic drafting machine, the recording device according to the type is read out, the recording condition corresponding to the type is read out from the storage unit, and the recording operation of the drawing head is controlled based on the recording condition. Before reading the type information of the writing instrument, the intensity of the external light entering the light receiving element of the reading device is detected, and the intensity of the external light is set to a preset reference value. Example by whether determined that, when it exceeds the control method is characterized in that so as to shift the writing instrument protection processing operations because setting pre Ji.
具を保持するストッカーと、該ストッカーとの間で相互
に筆記具の交換を行い、テーブル上の作画面に記録を行
う作画ヘッドと、前記筆記具に表示された情報を光学的
に読み取る読み取り装置と、前記筆記具の種別に応じた
最適の記録条件を予め記憶しておく記憶手段とを具備
し、選択した筆記具の種別を前記読み取り装置の出力情
報をもとにして識別するとともに、その種別に応じた記
録条件を前記記憶手段から読み出しこの記録条件に基い
て前記作画ヘッドの記録動作を制御するようにした自動
製図機において、前記読み取り装置によって前記筆記具
の種別情報を読み取る前に、前記読み取り装置の受光素
子に入光する外光の強さを検出し、該外光の強さが予じ
め設定した基準値を越えているか否か判定し、越えてい
るときは、予じめ設定した筆記具保護処理動作に移行
し、越えていないときは、前記筆記具の種別情報を読み
取って、該読み取り情報を記憶し、しかる後に再度前記
筆記具の種別情報を読み取るとともに該読み取り情報が
前の読み取り情報と同一か否か判定し、同一でないとき
は、予じめ設定した筆記具保護処理動作に移行し、同一
であるとき、前の筆記具読み取り情報に応じた記録条件
を前記記憶装置から読み出すようにしたことを特徴とす
る制御方法。2. A stocker for holding a plurality of writing instruments on which information regarding types is displayed, a drawing head for exchanging the writing instruments with each other, and recording on a screen on a table, and the writing instrument. A reading device that optically reads the information displayed on the display device, and a storage unit that stores in advance optimum recording conditions according to the type of the writing instrument, and the type of the selected writing instrument is output information of the reading device. In the automatic drafting machine, the recording device according to the type is read out, the recording condition corresponding to the type is read out from the storage unit, and the recording operation of the drawing head is controlled based on the recording condition. Before reading the type information of the writing instrument, the intensity of the external light entering the light receiving element of the reading device is detected, and the intensity of the external light is set to a preset reference value. If it exceeds the threshold, the writing implement protection processing operation set in advance is entered.If not, the type information of the writing implement is read and the read information is stored. The type information of the writing instrument is read again, and it is determined whether or not the read information is the same as the previous read information. If the read information is not the same, the writing instrument protection processing operation set in advance is performed. A control method characterized in that a recording condition corresponding to writing instrument read information is read from the storage device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3850786A JPH0717118B2 (en) | 1986-02-24 | 1986-02-24 | Control method of automatic drafting machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3850786A JPH0717118B2 (en) | 1986-02-24 | 1986-02-24 | Control method of automatic drafting machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62196196A JPS62196196A (en) | 1987-08-29 |
| JPH0717118B2 true JPH0717118B2 (en) | 1995-03-01 |
Family
ID=12527182
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3850786A Expired - Lifetime JPH0717118B2 (en) | 1986-02-24 | 1986-02-24 | Control method of automatic drafting machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0717118B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2503751B2 (en) * | 1990-10-09 | 1996-06-05 | マックス株式会社 | Pen plotter pen dry prevention device |
-
1986
- 1986-02-24 JP JP3850786A patent/JPH0717118B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62196196A (en) | 1987-08-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4667113A (en) | Tool failure detection apparatus | |
| JP2916379B2 (en) | Chip mounter | |
| JPH0717118B2 (en) | Control method of automatic drafting machine | |
| JPH0678040B2 (en) | Method for determining the type of writing instrument for an automatic drafting machine | |
| JPS5931050B2 (en) | micro film | |
| JPS5914794B2 (en) | coordinate reading device | |
| JP2608438B2 (en) | Pen recording device having recording pen detection device | |
| US5355157A (en) | Plotter with pencil-lead detecting system | |
| CN210400555U (en) | Water level sensor complete detection equipment | |
| CN212748267U (en) | Motor vehicle headlamp detector | |
| JPH0239835Y2 (en) | ||
| JPH09123160A (en) | Dicing method and apparatus therefor | |
| JP3881283B2 (en) | Separate amplifier type photoelectric sensor | |
| KR100516467B1 (en) | Transfer system having function for position reading | |
| JPS6246699A (en) | Method of controlling exchange of recording pen for automatic drawing instrument | |
| JPH0620640Y2 (en) | Writing tool information detection device for automatic drafting machine | |
| JPH01115696A (en) | Method of detecting writing utensil for pen head in x-y plotter | |
| JP3460844B2 (en) | Frame shape measuring device | |
| JPS6246697A (en) | Method of controlling exchange of recording pen for automatic drawing instrument | |
| JPS61228997A (en) | Pen control system | |
| JPS62254934A (en) | Identification apparatus for adapter device | |
| KR920002919B1 (en) | Automatic measuring device using numerical controller | |
| JP2594431B2 (en) | Writing implement elevation control method in automatic drawing equipment | |
| JPS6389396A (en) | Recorder using pencil lead | |
| JPH0385000A (en) | Decision method for result of insertion of component |