JP2003114861A - Electronic equipment - Google Patents

Electronic equipment

Info

Publication number
JP2003114861A
JP2003114861A JP2001309650A JP2001309650A JP2003114861A JP 2003114861 A JP2003114861 A JP 2003114861A JP 2001309650 A JP2001309650 A JP 2001309650A JP 2001309650 A JP2001309650 A JP 2001309650A JP 2003114861 A JP2003114861 A JP 2003114861A
Authority
JP
Japan
Prior art keywords
operation mode
electronic device
write
test
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001309650A
Other languages
Japanese (ja)
Inventor
Hajime Yoneyama
元 米山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001309650A priority Critical patent/JP2003114861A/en
Publication of JP2003114861A publication Critical patent/JP2003114861A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide electronic equipment capable of sending an equipment ID capable of flexibly changing the purpose of communication and functions used for the communication. SOLUTION: In this electronic equipment, operations according to operation modes are performed by alternately switching a plurality of modes at least including first operation mode and a second operation mode, and a self equipment ID can be transmitted to an external receiving side based on a specified communication protocol. The equipment comprises a current operation mode setting means for setting either of the first and second operation modes as a current operation mode, a first ID storage means for storing a first ID corresponding to the first operation mode, a second ID storage means for storing a second ID corresponding to the second operation mode, and an ID transmission means for transmitting either of the first ID and the second ID corresponding to the current operation mode to the outside.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、装置IDを有して
外部の装置と通信が可能な電子機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device having a device ID and capable of communicating with an external device.

【0002】[0002]

【従来の技術】従来から、通信相手に対して自己を特定
させるための装置IDを送信可能な電子機器が知られて
いる。この場合、通信先(の装置等)では、受信した装
置IDに基づいて、その装置IDに対応する処理を行う
ためのいわゆるドライバ(ハードとソフトの双方を含む
概念)により、その電子機器との通信を制御する。
2. Description of the Related Art Conventionally, there is known an electronic device capable of transmitting a device ID for identifying itself to a communication partner. In this case, at the communication destination (apparatus or the like), the so-called driver (concept including both hardware and software) for performing processing corresponding to the received device ID is used to communicate with the electronic device. Control communication.

【0003】[0003]

【発明が解決しようとする課題】ところで、装置IDに
より電子機器を特定する場合、詳細レベルから概略レベ
ルまでの種々の規定の仕方が考えられる。すなわち、1
台毎に異なる部分(機能等)を利用した個別(の処理内
容)の通信を行いたければ、いわゆる製造番号等に相当
するような1台毎に個別の装置IDが必要になるし、機
種、シリーズ、バージョン毎に異なる通信(機能等)で
あれば、それに沿った装置IDが必要になる。しかし、
従来の電子機器では、基本的に1台に1つの装置IDし
か持たないので、電子機器の異なる機能を利用した通信
を行うことはできず、通信の目的や利用する機能を柔軟
に変更することはできなかった。
By the way, when an electronic device is specified by a device ID, various prescribing methods from a detailed level to a rough level can be considered. Ie 1
If you want to perform individual (processing contents) communication using different parts (functions etc.) for each machine, you need an individual device ID for each machine that corresponds to so-called serial number etc. If the communication (function, etc.) differs for each series or version, the device ID according to the communication is required. But,
Since the conventional electronic device basically has only one device ID, it is not possible to perform communication using different functions of the electronic device, and it is possible to flexibly change the purpose of communication and the function to be used. I couldn't.

【0004】本発明は、通信の目的やそれに利用する機
能などを柔軟に変更可能な装置IDを送出できる電子機
器を提供することを目的とする。
It is an object of the present invention to provide an electronic device capable of sending out a device ID capable of flexibly changing the purpose of communication and the function used for it.

【0005】[0005]

【課題を解決するための手段】本発明の請求項1の電子
機器は、少なくとも第1動作モードおよび第2動作モー
ドを含む複数の動作モードを相互に切り換えることによ
り、各動作モードに応じた動作を行うとともに、所定の
通信プロトコルに基づいて外部の通信先に対して自己の
装置IDを送信可能な電子機器であって、前記第1動作
モードおよび前記第2動作モードのいずれかを現動作モ
ードとして設定する現動作モード設定手段と、前記第1
動作モードに対応する第1IDを記憶する第1ID記憶
手段と、前記第2動作モードに対応する第2IDを記憶
する第2ID記憶手段と、前記第1IDおよび前記第2
IDのうちの前記現動作モードに対応する一方を外部に
送信するID送信手段と、を備えたことを特徴とする。
The electronic apparatus according to claim 1 of the present invention operates in accordance with each operation mode by mutually switching a plurality of operation modes including at least a first operation mode and a second operation mode. And an electronic device capable of transmitting its own device ID to an external communication destination based on a predetermined communication protocol, wherein the current operation mode is either one of the first operation mode and the second operation mode. Current operation mode setting means for setting as
First ID storage means for storing a first ID corresponding to an operation mode, second ID storage means for storing a second ID corresponding to the second operation mode, the first ID and the second
ID transmitting means for transmitting one of the IDs corresponding to the current operation mode to the outside.

【0006】この電子機器では、複数の動作モードを相
互に切り換えることにより、各動作モードに応じた動作
を行うため、第1動作モードおよび第2動作モードのい
ずれかを現動作モードとして設定することにより、設定
された現動作モードに応じた動作、すなわち、第1動作
モードまたは第2動作モードに応じた動作を行う。ま
た、所定の通信プロトコルに基づいて外部の通信先に対
して自己の装置IDを送信可能であり、第1動作モード
に対応する第1IDおよび第2動作モードに対応する第
2IDを記憶し、これらのうちの現動作モードに対応す
る一方を外部に送信する。このため、第1動作モードお
よび第2動作モードのいずれかを現動作モードとして設
定するだけで、それに応じた動作を行いつつ、対応する
装置IDを送出できる。これにより、通信先において
も、装置IDに基づいて電子機器の現動作モードにおけ
る動作に適合した通信処理・通信制御ができる。すなわ
ち、電子機器の現動作モードの設定を変えることによ
り、通信の目的やそれに利用する機能などを柔軟に変更
でき、かつ、通信先においても、それに適合した処理を
行うことができる。
[0006] In this electronic apparatus, since a plurality of operation modes are switched to each other to operate in accordance with each operation mode, either the first operation mode or the second operation mode should be set as the current operation mode. Thus, the operation according to the set current operation mode, that is, the operation according to the first operation mode or the second operation mode is performed. Further, it can transmit its own device ID to an external communication destination based on a predetermined communication protocol, and stores a first ID corresponding to the first operation mode and a second ID corresponding to the second operation mode. One of the two corresponding to the current operation mode is transmitted to the outside. Therefore, by setting either the first operation mode or the second operation mode as the current operation mode, the corresponding device ID can be transmitted while performing the operation according to the current operation mode. As a result, even at the communication destination, communication processing / communication control suitable for the operation of the electronic device in the current operation mode can be performed based on the device ID. That is, by changing the setting of the current operation mode of the electronic device, it is possible to flexibly change the purpose of communication, the function used for it, and the like, and it is possible to perform processing suitable for it even at the communication destination.

【0007】また、請求項1の電子機器において、前記
現動作モード設定手段は、起動条件に基づいて起動時の
動作モードを決定する起動時動作モード決定手段を有す
ることが好ましい。
Further, in the electronic apparatus according to the first aspect, it is preferable that the current operation mode setting means has a startup operation mode determining means for determining an operation mode at startup based on startup conditions.

【0008】この電子機器では、起動条件に基づいて起
動時の動作モードを決定できるので、起動条件を変更す
ることにより、起動時の動作モードを変更できる。
In this electronic device, the operation mode at the time of startup can be determined based on the startup condition. Therefore, the operation mode at the time of startup can be changed by changing the startup condition.

【0009】また、請求項2の電子機器において、前記
起動条件には、電源投入時のキー操作の条件が含まれる
ことが好ましい。
Further, in the electronic apparatus according to the second aspect, it is preferable that the activation condition includes a condition of a key operation at power-on.

【0010】この電子機器では、起動条件には、電源投
入時のキー操作の条件が含まれるので、電源投入時のキ
ー操作を変更することにより起動条件を変更して、起動
時の動作モードを変更できる。
In this electronic device, since the activation condition includes the condition of the key operation when the power is turned on, the activation condition is changed by changing the key operation when the power is turned on to change the operation mode at the time of activation. Can be changed.

【0011】また、請求項1ないし3のいずれかの電子
機器において、前記第1ID記憶手段は、外部から書換
可能な記憶手段であり、前記第1ID記憶手段に書き込
むIDを外部から書込IDとして入力する書込ID入力
手段と、前記書込IDのID書込指示を外部から入力す
るID書込指示入力手段と、前記ID書込指示に応じて
前記書込IDを書き込む書込ID書込手段と、をさらに
備えたことが好ましい。
Also, in the electronic device according to any one of claims 1 to 3, the first ID storage means is a storage means that can be rewritten from the outside, and the ID to be written in the first ID storage means is a write ID from the outside. Write ID input means for inputting, ID write instruction input means for externally inputting the ID write instruction of the write ID, and write ID writing for writing the write ID according to the ID write instruction It is preferable that the method further comprises:

【0012】この電子機器では、第1IDは書換可能な
記憶手段に記憶され、第1IDとして書き込むIDを外
部から書込IDとして入力し、ID書込指示を外部から
入力し、それに応じて書込IDを書き込むことができる
ので、第1IDを書き換えることができる。
In this electronic device, the first ID is stored in the rewritable storage means, the ID to be written as the first ID is input as the write ID from the outside, the ID writing instruction is input from the outside, and the writing is performed accordingly. Since the ID can be written, the first ID can be rewritten.

【0013】また、請求項4の電子機器において、前記
書込ID書込手段は、前記現動作モードが前記第2動作
モードのときに、前記書込IDの書込を行うことが好ま
しい。
Further, in the electronic device of the fourth aspect, it is preferable that the write ID writing means writes the write ID when the current operation mode is the second operation mode.

【0014】この電子機器では、現動作モードが第2動
作モードのときに、書込IDの書込を行うので、第2動
作モードにおいて、第1動作モードに対応する第1ID
を書き換えることができ、第1IDが未確定の初期化時
等に使用できる。なお、第2動作モード以外の動作モー
ドにおいては書込を無効化するようにすれば、第2動作
モード以外における無用な(不正な)書込を防止でき
る。
In this electronic device, since the write ID is written when the current operation mode is the second operation mode, the first ID corresponding to the first operation mode in the second operation mode.
Can be rewritten, and can be used at the time of initialization when the first ID is undetermined. If writing is disabled in an operation mode other than the second operation mode, useless (illegal) writing in a mode other than the second operation mode can be prevented.

【0015】また、請求項1ないし5のいずれかの電子
機器において、前記通信先から指定IDを受信する指定
ID受信手段をさらに備え、前記現動作モード設定手段
は、受信した前記指定IDに基づいて指定ID受信時以
後の動作モードを決定する指定ID受信後動作モード決
定手段を有することが好ましい。
The electronic device according to any one of claims 1 to 5, further comprising a designated ID receiving means for receiving a designated ID from the communication destination, wherein the current operation mode setting means is based on the received designated ID. It is preferable to have a post-designated-ID operation mode determining means for determining an operation mode after the designated ID is received.

【0016】この電子機器では、通信先から指定IDを
受信し、受信した指定IDに基づいて指定ID受信時以
後の動作モードを決定することができるので、通信先側
から見た場合、指定IDを送信することにより電子機器
の動作モードを変更でき、変更された装置IDを電子機
器から受信できる。すなわち、通信先から見て、この電
子機器は、指定IDにより通信の目的やそれに利用する
機能などを柔軟に変更でき、それに対応する装置IDを
送出できる電子機器となる。
In this electronic device, the designated ID is received from the communication destination, and the operation mode after receiving the designated ID can be determined based on the received designated ID. Can be transmitted to change the operation mode of the electronic device, and the changed device ID can be received from the electronic device. That is, as viewed from the communication destination, this electronic device is an electronic device that can flexibly change the purpose of communication, the function used for it, and the like by the designated ID and can send the device ID corresponding thereto.

【0017】また、請求項6の電子機器において、前記
装置IDの送信と前記指定IDの受信とは同一のインタ
フェースを介して行われることが好ましい。
Further, in the electronic device of the sixth aspect, it is preferable that the transmission of the device ID and the reception of the designated ID are performed through the same interface.

【0018】この電子機器では、装置IDの送信と指定
IDの受信とは同一のインタフェースを介して行われ
る。すなわち、同一インタフェースを介して装置IDと
指定IDの送受信を行うことができる。
In this electronic device, the transmission of the device ID and the reception of the designated ID are performed via the same interface. That is, the device ID and the designated ID can be transmitted and received via the same interface.

【0019】また、請求項1ないし7のいずれかの電子
機器において、前記通信プロトコルは、USB規格に基
づくものであることが好ましい。
Further, in the electronic device according to any one of claims 1 to 7, it is preferable that the communication protocol is based on a USB standard.

【0020】この電子機器では、通信プロトコルは、U
SB規格に基づくものなので、USBインタフェースを
利用した通信ができる。
In this electronic device, the communication protocol is U
Since it is based on the SB standard, communication using the USB interface is possible.

【0021】また、請求項1ないし8のいずれかの電子
機器において、前記第2動作モードは、テストまたはメ
ンテナンスを示す動作モードであり、前記第2IDは、
前記テストまたは前記メンテナンスを行うための装置I
Dであることが好ましい。
Further, in the electronic device according to any one of claims 1 to 8, the second operation mode is an operation mode indicating a test or maintenance, and the second ID is
Device I for performing the test or the maintenance
It is preferably D.

【0022】この電子機器では、第2動作モードは、テ
ストまたはメンテナンスを示す動作モードであり、第2
IDは、テストまたはメンテナンスを行うための装置I
Dである。すなわち、出荷前や保守時のいわゆるテスト
またはメンテナンスを行うときの動作モードおよび装置
IDとして利用可能に規定されている。
In this electronic device, the second operation mode is an operation mode indicating a test or maintenance.
ID is a device I for testing or maintenance.
It is D. That is, it is defined as usable as an operation mode and device ID when performing so-called testing or maintenance before shipment or during maintenance.

【0023】また、請求項9の電子機器において、前記
現動作モードが前記第2動作モードのときに、前記第1
動作モード時に実行するプログラムを前記通信先からダ
ウンロードするダウンロード手段をさらに備えたことが
好ましい。
Further, in the electronic apparatus according to claim 9, when the current operation mode is the second operation mode, the first operation mode is set.
It is preferable to further include a download means for downloading the program executed in the operation mode from the communication destination.

【0024】この電子機器では、現動作モードが第2動
作モードのときに、第1動作モード時に実行するプログ
ラムを通信先からダウンロードできる。また、これによ
り、第1動作モードにおける機能としては、ダウンロー
ド機能が不要となるので、テストまたはメンテナンスの
時以外における実行プログラムの負荷を軽減でき、か
つ、第1動作モードにおける無用かつ不正なダウンロー
ドによるプログラムの書換えを防止できる。
In this electronic device, when the current operation mode is the second operation mode, the program executed in the first operation mode can be downloaded from the communication destination. Further, as a function in the first operation mode, the download function is not necessary, so that the load of the execution program can be reduced except during the test or maintenance, and the unnecessary and unauthorized download in the first operation mode can be performed. Program rewriting can be prevented.

【0025】[0025]

【発明の実施の形態】以下、本発明の一実施形態に係る
電子機器について、添付図面を参照しながら詳細に説明
する。
BEST MODE FOR CARRYING OUT THE INVENTION An electronic device according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0026】まず、前提として、本実施形態の電子機器
1では、複数の動作モードを相互に切り換えることによ
り、各動作モードに応じた動作を行うため、第1動作モ
ードおよび第2動作モードのいずれかを現動作モードと
して設定することにより、設定された現動作モードに応
じた動作、すなわち、第1動作モードまたは第2動作モ
ードに応じた動作を行う。また、所定の通信プロトコル
に基づいて外部の通信先に対して自己の装置IDを送信
可能であり、第1動作モードに対応する第1IDおよび
第2動作モードに対応する第2IDを記憶し、これらの
うちの現動作モードに対応する一方を外部に送信する。
First, as a premise, in the electronic device 1 of the present embodiment, a plurality of operation modes are switched to each other to perform an operation according to each operation mode. Therefore, either the first operation mode or the second operation mode is performed. By setting this as the current operation mode, the operation according to the current operation mode thus set, that is, the operation according to the first operation mode or the second operation mode is performed. Further, it can transmit its own device ID to an external communication destination based on a predetermined communication protocol, and stores a first ID corresponding to the first operation mode and a second ID corresponding to the second operation mode. One of the two corresponding to the current operation mode is transmitted to the outside.

【0027】このため、第1動作モードおよび第2動作
モードのいずれかを現動作モードとして設定するだけ
で、それに応じた動作を行いつつ、対応する装置IDを
送出できる。これにより、通信先においても、装置ID
に基づいて電子機器の現動作モードにおける動作に適合
した通信処理・通信制御ができる。すなわち、電子機器
の現動作モードの設定を変えることにより、通信の目的
やそれに利用する機能などを柔軟に変更でき、かつ、通
信先においても、それに適合した処理を行うことができ
る。
Therefore, by setting either the first operation mode or the second operation mode as the current operation mode, the corresponding device ID can be transmitted while performing the operation according to the current operation mode. As a result, even at the communication destination, the device ID
Based on the above, communication processing / communication control suitable for the operation of the electronic device in the current operation mode can be performed. That is, by changing the setting of the current operation mode of the electronic device, it is possible to flexibly change the purpose of communication, the function used for it, and the like, and it is possible to perform processing suitable for it even at the communication destination.

【0028】以下の説明においては、第1動作モードを
電子機器としての通常動作モード、第2動作モードをテ
ストまたはメンテナンスを行うための動作モードとし、
それぞれに対応して、第1ID(ID1)を通常動作時
の装置ID、第2ID(ID2)をテストまたはメンテ
ナンスを行うときの装置IDとする。また、外部の通信
先としては、通常動作時の通信先としても使用できるパ
ソコン等を想定し、そのパソコン等を、テストまたはメ
ンテナンス時に使用する検査装置TSTとして、例えば
図2に示すように、USBなどのインタフェースIFを
介して接続して、全体として、検査システム50を構成
するものとして説明する。
In the following description, the first operation mode is the normal operation mode for electronic equipment, and the second operation mode is the operation mode for testing or maintenance.
Corresponding to each, the first ID (ID1) is the device ID during normal operation, and the second ID (ID2) is the device ID during testing or maintenance. As an external communication destination, a personal computer or the like that can also be used as a communication destination during normal operation is assumed, and the personal computer or the like is used as an inspection device TST used for testing or maintenance, for example, as shown in FIG. It is described that the inspection system 50 is configured as a whole by connecting via the interface IF such as.

【0029】もちろん、通常動作時においては、インタ
フェースを多段・複数接続構成にしたり、インタネット
等のネットワークを含むインタフェース等とすることも
できるが、これらも図2の最も単純な構成の1対1接続
の応用なので、ここでは、図2のシステムで代表して説
明するものとする。
Of course, during normal operation, the interface can be configured in multiple stages and multiple connections, or can be an interface including a network such as the Internet, but these are also the simplest one-to-one connection of FIG. Therefore, the system of FIG. 2 will be described as a representative example.

【0030】ここで、以下、上述の検査システム50を
利用して検査(テスト)する場合の処理(テスト)フロ
ーを参照しつつ、上述の構成およびそれを利用したテス
ト方法について詳述する。
Here, the above configuration and the test method using it will be described in detail below with reference to the processing (test) flow in the case of inspecting (testing) using the above-described inspection system 50.

【0031】図1に示すように、この検査システム(テ
スト装置)50およびそれによるテスト方法では、ま
ず、初期設定(S1)において、不揮発性のメモリであ
るEEPROMを実装し(S11)、次に、そのEEP
ROMの所定のアドレス、すなわち第1ID(ID1)
用のアドレスに設定IDの書込を行う(S12)。この
場合のEEPROMは、後述のプログラムをダウンロー
ドするメモリと兼用でも良いし、別の物でも良い。ま
た、設定IDは例えば製造番号等に対応する機器毎の個
別IDであり、ここでは、第1ID(ID1)となる。
As shown in FIG. 1, in this inspection system (test device) 50 and the test method using it, first, in the initial setting (S1), an EEPROM which is a non-volatile memory is mounted (S11), and then, , Its EEP
Predetermined address of ROM, that is, first ID (ID1)
The setting ID is written in the address for use (S12). The EEPROM in this case may also be used as a memory for downloading a program to be described later, or may be another one. The setting ID is an individual ID for each device corresponding to, for example, the manufacturing number, and is the first ID (ID1) here.

【0032】初期設定が終了すると(S1)、次に、検
査(テスト:機能テスト)の準備を行う(S2)。この
検査準備(S2)では、まず、図2で示したように、検
査装置(パソコン等)TSTと接続する(S21)。
When the initial setting is completed (S1), the inspection (test: function test) is prepared (S2). In this inspection preparation (S2), first, as shown in FIG. 2, the inspection device (personal computer or the like) TST is connected (S21).

【0033】ここで、本実施形態の電子機器1では、起
動条件に基づいて起動時の動作モードを決定できるよう
になっていて、起動条件には、電源投入時のキー操作の
条件が含まれるため、電源投入時のキー操作を変更する
ことにより起動条件を変更して、起動時の動作モードを
変更できる。ここでは、第2動作モードとなるようにキ
ー操作しながら電源を投入して起動し(S22)、第2
動作モードにおいて、プログラムをダウンロードして
(S23)、検査準備(S2)を終了する。この時点
で、電子機器1はとりあえず電子機器として完成したこ
とになるので、次に、検査(テスト:S3)に進ませる
ことができる。
Here, in the electronic device 1 of the present embodiment, the operation mode at the time of activation can be determined based on the activation condition, and the activation condition includes the condition of key operation at power-on. Therefore, the start condition can be changed by changing the key operation when the power is turned on, and the operation mode at the start can be changed. Here, the power is turned on while the key is operated so as to be in the second operation mode, and the power is turned on (S22).
In the operation mode, the program is downloaded (S23) and the inspection preparation (S2) ends. At this point, the electronic device 1 has been completed as an electronic device for the time being, so that it is possible to proceed to the inspection (test: S3).

【0034】前述のように、この電子機器1では、第2
動作モードは、テストまたはメンテナンスを示す動作モ
ードであり、第2ID(ID2)は、テストまたはメン
テナンスを行うための装置IDである。すなわち、出荷
前や保守時のいわゆるテストまたはメンテナンスを行う
ときの動作モードおよび装置IDとして利用可能に規定
されている。このため、現動作モードが第2動作モード
のときに、第1動作モード時に実行するプログラムを通
信先からダウンロードできるようになっている。また、
これにより、第1動作モードにおける機能としては、ダ
ウンロード機能が不要となるので、テストまたはメンテ
ナンスの時以外における実行プログラムの負荷を軽減で
き、かつ、第1動作モードにおける無用かつ不正なダウ
ンロードによるプログラムの書換えを防止できる。
As described above, in the electronic device 1, the second
The operation mode is an operation mode indicating test or maintenance, and the second ID (ID2) is an apparatus ID for performing test or maintenance. That is, it is defined as usable as an operation mode and device ID when performing so-called testing or maintenance before shipment or during maintenance. Therefore, when the current operation mode is the second operation mode, the program executed in the first operation mode can be downloaded from the communication destination. Also,
This eliminates the need for the download function as the function in the first operation mode, so that the load of the execution program can be reduced except during the test or maintenance, and the program by the unnecessary and unauthorized download in the first operation mode can be saved. Rewriting can be prevented.

【0035】ここで、検査準備(S2)が終了した時点
で完成しているはずの電子機器1の構成について、まと
めておく。この時点の電子機器1では、外部から書換可
能な第1ID(ID1)および所定の第2ID(ID
2)を記憶し、第1ID(ID)および第2ID(ID
2)のいずれかを装置IDとして選択して送信できる
(図2参照)とともに、第1ID(ID1)として書き
込むIDを外部から書込IDとして入力し、ID書込指
示を外部から入力し、それに応じて書込IDを書き込む
ことができるようになっている。
Here, the structure of the electronic device 1 that should be completed when the inspection preparation (S2) is completed will be summarized. In the electronic device 1 at this time, the first ID (ID1) and the predetermined second ID (ID
2) is stored, and the first ID (ID) and the second ID (ID
Any one of 2) can be selected and transmitted as the device ID (see FIG. 2), the ID to be written as the first ID (ID1) is input as the write ID from the outside, and the ID writing instruction is input from the outside. The write ID can be written accordingly.

【0036】すなわち、この時点の電子機器1では、第
1ID(ID1)と第2ID(ID2)のいずれも装置
IDとして読み出せ(送信でき)、かつ、第1ID(I
D1)を書換可能になっている。このため、第1IDが
未書込その他の理由により異常値を示す場合には、とり
あえず第2ID(ID2)を使用して装置IDを使用す
べき通信機能その他のテストを進めることができる。ま
た、後に第1ID(ID1)を正当なIDに書き換えら
れる。
That is, in the electronic device 1 at this time, both the first ID (ID1) and the second ID (ID2) can be read (transmitted) as the device ID, and the first ID (I
D1) can be rewritten. Therefore, if the first ID indicates an abnormal value due to unwritten or other reasons, it is possible to use the second ID (ID2) for the time being and proceed with the communication function and other tests in which the device ID should be used. Further, the first ID (ID1) is later rewritten to a valid ID.

【0037】また、第2IDは出荷前や保守時のいわゆ
るテストまたはメンテナンスを行うときの装置IDとし
て利用可能に規定されているので、読出ID(図2の通
信ID10)として第2ID(ID2)が選択されてい
るときに、ID書込指示を有効とし、それ以外では無効
化する。これにより、第2ID以外(第1ID)が選択
されているときの無用な(不正な)ID書込を防止でき
る。
Since the second ID is defined to be usable as a device ID at the time of so-called testing or maintenance before shipment or during maintenance, the second ID (ID2) is the read ID (communication ID10 in FIG. 2). When it is selected, the ID writing instruction is validated, and otherwise, it is invalidated. As a result, useless (illegal) ID writing can be prevented when the other than the second ID (the first ID) is selected.

【0038】次に、検査(テスト:S3)を開始すると
きの動作モードや読出IDであるが、ここでは、とりあ
えず通常動作の第1動作モードおよび第1ID(ID
1)とする。
Next, the operation mode and the read ID at the start of the inspection (test: S3) will be explained. Here, for the time being, the first operation mode and the first ID (ID
1).

【0039】前述のように、電子機器1では、第1ID
に対応する第1動作モードおよび第2IDに対応する第
2動作モードのいずれかを現動作モードとして設定でき
るので、読出ID(通信ID)と現動作モードとは関連
づけて切り換えられる。この場合、電源投入時のキー操
作を変更することにより起動条件を変更して、起動時の
動作モードおよび読出IDを変更できるが、この他、通
信先(ここではパソコン等:検査装置TST)から指定
IDを受信し、受信した指定IDに基づいて指定ID受
信時以後の動作モードおよび読出IDを決定することが
できるようになっている。
As described above, in the electronic device 1, the first ID
Since either the first operation mode corresponding to or the second operation mode corresponding to the second ID can be set as the current operation mode, the read ID (communication ID) and the current operation mode are switched in association with each other. In this case, the start condition can be changed by changing the key operation when the power is turned on, and the operation mode and the read ID at the start can be changed. In addition to this, from the communication destination (here, a personal computer or the like: inspection device TST). The designated ID is received, and the operation mode and the read ID after the designated ID is received can be determined based on the received designated ID.

【0040】このため、ここでは、まず、検査装置TS
Tから第1ID(ID1)を指定IDとして送信するこ
とにより、検査(テスト:S3)を開始するときの動作
モードおよび読出ID(通信ID)を、それぞれ第1動
作モードおよび第1ID(ID1)とする。この形態を
通信先(検査装置TST:パソコン等)側から見た場
合、指定ID(ここではまず第1ID:ID1)を送信
することにより電子機器1の動作モードを(第1動作モ
ードに)変更でき、変更された装置ID(第1ID:I
D1)を電子機器1から受信できる。すなわち、通信先
から見て、この電子機器1は、指定IDにより利用する
機能などを柔軟に変更でき、それに対応する装置IDを
送出できる電子機器となっている。
Therefore, here, first, the inspection device TS
By transmitting the first ID (ID1) from T as the designated ID, the operation mode and the read ID (communication ID) at the time of starting the inspection (test: S3) are the first operation mode and the first ID (ID1), respectively. To do. When this form is viewed from the communication destination (inspection device TST: personal computer, etc.) side, the operation mode of the electronic device 1 is changed (to the first operation mode) by transmitting the designated ID (here, first ID: ID1). Possible and changed device ID (first ID: I
D1) can be received from the electronic device 1. That is, as seen from the communication destination, the electronic device 1 is an electronic device that can flexibly change the function to be used by the designated ID and can send the device ID corresponding thereto.

【0041】第1動作モードおよび第1ID(ID1)
選択の状態で、検査(テスト:S3)を開始すると、ま
ず、設定ID、すなわち第1IDを読み出す。言い換え
ると、テスト対象のID(テストID:図2の通信I
D)として、第1ID(ID1)を読み出す(インタフ
ェースIFを介して送信する:S31)。
First operation mode and first ID (ID1)
When the inspection (test: S3) is started in the selected state, first, the setting ID, that is, the first ID is read. In other words, the test target ID (test ID: communication I in FIG. 2)
As D), the first ID (ID1) is read (transmitted via the interface IF: S31).

【0042】そして、次に、その読み出した設定ID
(第1ID:ID1)が、異常値か否かを判別する(S
32)。設定IDは、前述のように、機器毎の個別ID
ではあるが、製造番号等に対応する値なので、書込が正
常に終了していれば、通常、所定の範囲内の数値とな
る。したがって、いわゆる不定状態に近いような値であ
れば異常値と判別できる。
Then, the read setting ID
It is determined whether or not (first ID: ID1) is an abnormal value (S
32). The setting ID is the individual ID for each device, as described above.
However, since the value corresponds to the manufacturing number and the like, if the writing is normally completed, the value is usually within a predetermined range. Therefore, a value that is close to what is called an indefinite state can be determined as an abnormal value.

【0043】設定IDが異常値でないと判別されたとき
には(S32:No)、通常動作に関するテスト(テス
トルーチン:第1動作に関するテスト:第1ID機能テ
スト)を行い、異常があれば(S351:Yes)、そ
れに対処して(S352)、問題(異常など)を解析あ
るいは解決する(S35)。
When it is determined that the set ID is not an abnormal value (S32: No), a test for normal operation (test routine: test for first operation: first ID function test) is performed, and if there is an error (S351: Yes). ), It is dealt with (S352), and the problem (abnormality etc.) is analyzed or solved (S35).

【0044】一方、設定IDが異常値と判別されたとき
には(S32:Yes)、次に、例えば検査装置(パソ
コン等)TSTのモニタに表示するなどにより、その旨
(異常である旨)を報知し(S33)、指定IDを第2
ID(ID2)とすることにより、第2動作モードおよ
び第2IDに切り換える。
On the other hand, when the setting ID is determined to be an abnormal value (S32: Yes), the fact (abnormality) is notified by, for example, displaying it on the monitor of the inspection device (PC or the like) TST. (S33), the designated ID is the second
By setting the ID (ID2), the second operation mode and the second ID are switched.

【0045】すなわち、第2ID(ID2)を機器(の
同一機種または同一バージョン)に共通のデフォルトI
Dとして、第1ID(ID1)の代わりに装置IDとし
て送信させ、送信された第2IDに対応する所定の第2
機能テストを行う。これにより、装置IDとして読み出
すべき第1IDが未書込その他の理由により異常値を示
す場合であっても、第2機能テストとして規定された機
能テストを進めることができる。
That is, the second ID (ID2) is the default I common to the devices (of the same model or version).
As D, a predetermined second ID corresponding to the transmitted second ID is transmitted as the device ID instead of the first ID (ID1).
Perform a functional test. As a result, even when the first ID to be read as the device ID shows an abnormal value due to other reasons such as unwritten, it is possible to proceed with the functional test defined as the second functional test.

【0046】なお、具体的に、この場合の第2機能テス
トには、送信された第1IDが正常値であると判別され
たときに行う機能テストと同一の機能をテストする第1
ID機能テストが含まれる。このため、装置IDとして
読み出すべき第1IDが未書込その他の理由により異常
値を示す場合であっても、第1ID機能テスト(テスト
ルーチン:第1動作に関するテスト:S35)を進めら
れ、後に第1IDを正当なIDに書き換えてから発見さ
れる問題点を前倒しで発見できる。
In the second functional test in this case, the first functional test for testing the same function as the functional test performed when the transmitted first ID is determined to be a normal value.
Includes ID functional test. Therefore, even when the first ID to be read as the device ID shows an abnormal value due to unwritten or other reasons, the first ID functional test (test routine: first operation test: S35) is performed, and the first ID function test is performed later. 1 Problems that are discovered after rewriting the ID to a valid ID can be discovered ahead of time.

【0047】検査(S3)が終了すると、ID異常が有
ったか否かを判別し(S4)、異常がなければ(S4:
No)、検査を終了して出荷等を行う(S6)。
When the inspection (S3) is completed, it is judged whether or not there is an ID abnormality (S4), and if there is no abnormality (S4:
No), the inspection is completed and the product is shipped (S6).

【0048】一方、ID異常が有ったときには(S4:
Yes)、設定IDの書込をやり直してから(S5)か
ら、再度、同様に検査する(図1のF10で示すフロー
〜S3)。すなわち、ID異常が有ったときには、第2
動作モードおよび第2IDに変更して第2機能テストを
行うが、この第2機能テストの一環として、書込IDを
書き込むID書込機能テスト(S5)が含まれるので、
第1IDが未書込その他の理由により異常値を示す場合
に、その第1IDを書き換えることができる。
On the other hand, when there is an ID abnormality (S4:
Yes), after the setting ID is written again (S5), the same inspection is performed again (flow shown in F10 of FIG. 1 to S3). That is, when there is an ID abnormality, the second
The second function test is performed by changing the operation mode and the second ID. Since the ID write function test (S5) of writing the write ID is included as part of the second function test,
When the first ID shows an abnormal value due to unwritten or other reasons, the first ID can be rewritten.

【0049】ところで、この検査システム(テスト装
置)50(およびそれによるテスト方法)では、ID書
込機能テストにより第1IDを書き換えることができる
が、その書込IDとして第2IDを書き込むことができ
る。すなわち、第1IDを第2IDに合わせることがで
きるので、その前に第2IDにおけるテストが終了して
いれば、第1IDの読出(送出)系統の機能のみをテス
トするなどができ、問題点が発見された場合等において
その問題箇所を切り分け易くなる。
By the way, in this inspection system (test device) 50 (and the test method therefor), the first ID can be rewritten by the ID writing function test, but the second ID can be written as the writing ID. That is, since the first ID can be matched with the second ID, if the test on the second ID is completed before that, it is possible to test only the function of the reading (sending) system of the first ID, and the problem is found. In such a case, the problematic part can be easily isolated.

【0050】また、当然ながら、上記のID書込機能テ
ストにより、本来書き込むべき書込IDとして例えば製
造番号等と対応する機器毎の個別IDを書き込むことが
できる。また、上記の第2ID書込からそのテストまで
を終了後に行っても良い。すなわち、個別IDに対する
機能テストを行うことができるので、例えば第1IDを
第2IDに合わせてテスト可能な他の機器との共通の機
能テストが終了していれば、その個別ID特有の機能の
みをテストするなどができ、問題点が発見された場合等
においてその問題箇所を切り分け易くなる。
Further, as a matter of course, by the above-mentioned ID writing function test, as the writing ID to be originally written, for example, the individual ID corresponding to the manufacturing number or the like for each device can be written. Further, the steps from the writing of the second ID to the test may be performed after the end. That is, since the function test for the individual ID can be performed, for example, if the common function test with another device that can test the first ID in accordance with the second ID is completed, only the function unique to the individual ID is completed. It is possible to test, etc., and when a problem is found, it becomes easy to isolate the problem part.

【0051】上述のように、この検査システム(テスト
装置)50(およびそれによるテスト方法)では、第1
ID(ID1)と第2ID(ID2)のいずれも装置I
Dとして読み出せ(送信でき)、かつ、第1ID(ID
1)を書換可能な電子機器1をテスト対象とし、まず、
その電子機器1に装置IDとして第1ID(ID1)を
送信させ、送信された第1ID(ID1)が正常値か異
常値かを判別する。このため、第1ID(ID1)が未
書込その他の理由により異常値を示す場合には、次に、
とりあえず第2ID(ID2)を使用して装置IDを使
用すべき通信機能その他のテストを進めておき、後に第
1ID(ID1)を正当なIDに書き換えるなどの対応
ができる。
As described above, in this inspection system (test device) 50 (and the test method therefor), the first
Both the ID (ID1) and the second ID (ID2) are the device I.
Read as D (can be sent) and have the first ID (ID
The electronic device 1 capable of rewriting 1) is set as a test target.
The electronic device 1 is caused to transmit a first ID (ID1) as a device ID, and it is determined whether the transmitted first ID (ID1) is a normal value or an abnormal value. Therefore, if the first ID (ID1) indicates an abnormal value due to unwritten data or another reason, then
For the time being, it is possible to use the second ID (ID2) to advance the communication function and other tests that should use the device ID, and later rewrite the first ID (ID1) to a valid ID.

【0052】なお、従来であれば、ID異常を検出した
時点で初期設定(S1)における設定IDの書込(S1
2)からやり直す必要があった(図1のF100で示す
フロー)。また、上述の説明では、初期設定(S1)の
設定IDの書込(S12)において、従来通りの(個別
IDの)設定を行うものとしたが、最初の検査(テス
ト:S3)においてID異常があってもそれを書き換え
て再検査ができるので、最初の設定IDの書込(S1
2)を省略することもできる。
In the conventional case, when the ID abnormality is detected, the setting ID is written (S1) in the initial setting (S1).
It was necessary to start over from 2) (flow indicated by F100 in FIG. 1). Further, in the above description, in the writing of the setting ID of the initial setting (S1) (S12), the conventional setting (of the individual ID) is performed. However, the ID abnormality occurs in the first inspection (test: S3). Even if there is, it can be rewritten and re-inspected, so the first setting ID is written (S1
2) can be omitted.

【0053】また、同様に、最初の設定IDの書込(S
12)では、個別ID(第1ID:ID1)ではなく共
通ID(デフォルトID:第2ID(ID2))を書き
込んでおき、最初の検査(S3)で第2動作モードにお
けるテスト(第2機能テスト)を行ってから、改めて個
別ID(第1ID:ID1)を設定IDとして書込み
(S5)、第1動作モードにおける通常動作の検査を行
うようにしても良い。また、個別ID(第1ID:ID
1)には機能的な意味が無く、機能テストとしては第2
IDに対するものだけで十分な場合、再テストを省略す
ることも可能である(図1のF20で示すフロー)。
Similarly, writing the first setting ID (S
In 12), the common ID (default ID: second ID (ID2)) is written instead of the individual ID (first ID: ID1), and the test in the second operation mode (second functional test) is performed in the first inspection (S3). After performing the above step, the individual ID (first ID: ID1) may be written again as the set ID (S5), and the normal operation in the first operation mode may be inspected. In addition, individual ID (first ID: ID
1) has no functional meaning and is the second functional test.
If only the ID is sufficient, the retest can be omitted (F20 flow in FIG. 1).

【0054】また、上述の説明では、最初の検査(S
3)の開始時点では、一旦、第1動作モードおよび第1
IDとするものとしたが、上述と同様に、最初は第2動
作モードおよび第2IDにて検査を行ってから、改めて
第1動作モードおよび第1IDにおける検査、すなわち
通常(機能)動作に対する検査を行うようにすることも
できる。
In the above description, the first inspection (S
At the start of 3), the first operation mode and the first operation mode are temporarily set.
Although the ID is used, similarly to the above, first, the inspection is performed in the second operation mode and the second ID, and then the inspection in the first operation mode and the first ID, that is, the inspection for the normal (functional) operation is performed again. You can also do it.

【0055】次に、図2の説明に戻る。上述の例におい
て、第1動作モードを電子機器1としての通常動作モー
ド、第2動作モードをテストまたはメンテナンスを行う
ための動作モードとし、それぞれに対応して、第1ID
(ID1)を通常動作時の装置ID、第2ID(ID
2)をテストまたはメンテナンスを行うときの装置ID
とした。この場合、上述の例では、第1ID(ID1)
を書換可能なメモリであるEEPROMに記憶するもの
とし、第2ID(ID2)側は特に明示しなかったが、
所定の値なので論理回路的にクランプ等によりレベル信
号として固定しても良いし、第1IDと同様のメモリに
固定値として記憶しても良い。また、上述の例では、第
2ID側は所定値としたが、第1ID側と同様に書換可
能を前提とすることもできる。
Next, returning to the description of FIG. In the above example, the first operation mode is the normal operation mode of the electronic device 1, and the second operation mode is the operation mode for testing or maintenance.
(ID1) is the device ID during normal operation, and the second ID (ID
2) Device ID for testing or maintenance
And In this case, in the above example, the first ID (ID1)
Is stored in an EEPROM which is a rewritable memory, and the second ID (ID2) side is not specified,
Since it is a predetermined value, it may be fixed as a level signal by a clamp or the like in a logic circuit, or may be stored as a fixed value in a memory similar to the first ID. Further, in the above-mentioned example, the second ID side is set to the predetermined value, but it is possible to assume that rewriting is possible similarly to the first ID side.

【0056】また、外部の通信先として想定したのは、
通常動作時の通信先としても使用できるパソコン等から
成る検査装置TSTであったが、電子機器1に複数(こ
こでは2個)の装置IDがあり、それらを選択的に送信
できる場合、通信先では、ハブ等と同様の接続により複
数あるいは多段接続された複数(2個)の装置と認識す
るので、各IDに対応するドライバ(ハードおよびソフ
トを含む概念)を用意することで対応できる。上述の例
で言えば、第1動作モードの第1ID(ID1)に対応
して通常動作時のドライバDRV1、および第2動作モ
ードの第2ID(ID2)に対応してテストまたはメン
テナンスの時のドライバDRV2(上述の説明に合わせ
れば、ダウンロード等の特殊(テスト時の)処理+通常
動作時の処理に対応)を用意しておくことで対応でき
る。
Also, the external communication destination is assumed to be
Although the inspection device TST is composed of a personal computer or the like that can also be used as a communication destination during normal operation, if the electronic device 1 has a plurality (here, two) of device IDs and can transmit them selectively, the communication destination Then, since it is recognized as a plurality of devices (two devices) connected in multiple stages or in multiple stages by the same connection as a hub, it is possible to prepare by preparing a driver (a concept including hardware and software) corresponding to each ID. In the above example, the driver DRV1 in normal operation corresponding to the first ID (ID1) in the first operation mode and the driver DRV1 in test or maintenance corresponding to the second ID (ID2) in the second operation mode This can be dealt with by preparing a DRV2 (corresponding to the above-mentioned description, a special (during test) process such as download + corresponding to a process during normal operation).

【0057】言い換えれば、図3に示すように、従来の
電子機器100では、基本的に1台に1つの装置ID
(ID10)しか持たないので、電子機器100の異な
る機能を利用した通信を行うことはできず、たとえ通信
先側に複数(2個)のドライバDRV1、DRV2を用
意しても、通信先側でその都度インストールまたはセッ
トアップしなおさない限り対応できなかったが、電子機
器1では、複数(2個)の装置IDを選択的に使用でき
るので、通信先側に複数(2個)のドライバDRV1、
DRV2を用意しておくことで、ドライバの再インスト
ール等を行うことなく、対応できる。
In other words, as shown in FIG. 3, in the conventional electronic device 100, basically one device ID is provided for each device.
Since it has only (ID10), communication using different functions of the electronic device 100 cannot be performed, and even if a plurality of (two) drivers DRV1 and DRV2 are prepared on the communication destination side, the communication destination side Although it could not be handled unless it was installed or set up again each time, in the electronic device 1, since a plurality (two) of device IDs can be selectively used, a plurality of (two) drivers DRV1,
By preparing the DRV2, it is possible to deal with it without re-installing the driver.

【0058】また、上述の電子機器1の例で言えば、通
常(機能)側のドライバDRV1側には、ユーザには不
要なダウンロードの機能が無くても良いので、その分、
ドライバとしての負荷を小さく(必然的に容量的にも小
さく)することができ、また、ユーザの不用意な操作等
によりダウンロード機能が(誤)動作して、異常が発生
するなどの事態を防止できる。
In the example of the electronic device 1 described above, the driver DRV1 on the normal (function) side may not have a download function unnecessary for the user.
The load on the driver can be reduced (inevitably the capacity is also reduced), and the situation where the download function (wrong) operates due to careless operation by the user and an abnormality occurs is prevented. it can.

【0059】なお、この例では、ドライバDRV1を第
1IDの「通常動作(通常)」対応、ドライバDRV2
を第2IDの「メンテナンス(ダウンロード等)+通
常」対応としたが、ドライバDRV2を「メンテナンス
(ダウンロード等)」対応のみとし、第2ID(ID
2)に対しては、ドライバDRV1+ドライバDRV2
で対応するようにしても良い。
In this example, the driver DRV1 corresponds to the "normal operation (normal)" of the first ID, and the driver DRV2
The second ID is "maintenance (download etc.) + normal", but the driver DRV2 is only "maintenance (download etc.)" and the second ID (ID
For 2), driver DRV1 + driver DRV2
You may make it correspond with.

【0060】上述のように、本実施形態の電子機器1で
は、第1動作モードおよび第2動作モードのいずれかを
現動作モードとして設定することにより、設定された現
動作モードに応じた動作とともに、所定の通信プロトコ
ルに基づいて外部の通信先に対して自己の装置IDを送
信可能であり、第1動作モードに対応する第1IDおよ
び第2動作モードに対応する第2IDを記憶し、これら
のうちの現動作モードに対応する一方を外部に送信す
る。このため、第1動作モードおよび第2動作モードの
いずれかを現動作モードとして設定するだけで、それに
応じた動作を行いつつ、対応する装置IDを送出でき
る。
As described above, in the electronic device 1 of this embodiment, by setting either the first operation mode or the second operation mode as the current operation mode, the operation according to the set current operation mode is performed. , Is capable of transmitting its own device ID to an external communication destination based on a predetermined communication protocol, stores a first ID corresponding to the first operation mode and a second ID corresponding to the second operation mode, and stores these One of them, which corresponds to the current operation mode, is transmitted to the outside. Therefore, by setting either the first operation mode or the second operation mode as the current operation mode, the corresponding device ID can be transmitted while performing the operation according to the current operation mode.

【0061】これにより、通信先においても、装置ID
に基づいて電子機器の現動作モードにおける動作に適合
した通信処理・通信制御ができる。すなわち、電子機器
の現動作モードの設定を変えることにより、通信の目的
やそれに利用する機能などを柔軟に変更でき、かつ、通
信先においても、それに適合した処理を行うことができ
る。
As a result, even at the communication destination, the device ID
Based on the above, communication processing / communication control suitable for the operation of the electronic device in the current operation mode can be performed. That is, by changing the setting of the current operation mode of the electronic device, it is possible to flexibly change the purpose of communication, the function used for it, and the like, and it is possible to perform processing suitable for it even at the communication destination.

【0062】なお、上述の例では、通常時動作とテスト
時動作等に対応して装置IDを区別して利用したが、こ
のほかにも、例えば機種、シリーズ、バージョン毎に異
なる通信(機能等)であれば、それに沿った装置IDを
用意するなどの応用ができる。その他、もちろん、その
他、本発明の要旨を逸脱しない範囲で、適宜変更も可能
である。
In the above example, the device IDs are used by distinguishing between the normal operation and the test operation, but in addition to this, communication (function, etc.) different for each model, series, and version is used. If so, it is possible to apply such as preparing a device ID in accordance with it. In addition, of course, other changes can be made as appropriate without departing from the scope of the present invention.

【0063】[0063]

【発明の効果】上述のように、本発明の電子機器によれ
ば、通信の目的やそれに利用する機能などを柔軟に変更
可能な装置IDを送出できる、などの効果がある。
As described above, according to the electronic device of the present invention, there is an effect that the device ID capable of flexibly changing the purpose of communication and the function used for it can be transmitted.

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

【図1】本発明の一実施形態に係る電子機器を検査する
ためのテスト方法を示すフローチャートである。
FIG. 1 is a flowchart illustrating a test method for inspecting an electronic device according to an exemplary embodiment of the present invention.

【図2】本発明の一実施形態に係る電子機器の通信形態
およびそれを検査する検査システムを示す説明図であ
る。
FIG. 2 is an explanatory diagram showing a communication form of an electronic device and an inspection system for inspecting the communication form according to an embodiment of the present invention.

【図3】従来の一例における、図2と同様の説明図であ
る。
FIG. 3 is an explanatory view similar to FIG. 2 in a conventional example.

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

1 電子機器 50 検査システム(テスト装置) DRV1、DRV2 …… ドライバ ID1 第1ID ID2 第2ID IF インタフェース TST 検査装置 1 electronic equipment 50 Inspection system (test equipment) DRV1, DRV2 ... Driver ID1 1st ID ID2 Second ID IF interface TST inspection device

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも第1動作モードおよび第2動
作モードを含む複数の動作モードを相互に切り換えるこ
とにより、各動作モードに応じた動作を行うとともに、
所定の通信プロトコルに基づいて外部の通信先に対して
自己の装置IDを送信可能な電子機器であって、 前記第1動作モードおよび前記第2動作モードのいずれ
かを現動作モードとして設定する現動作モード設定手段
と、 前記第1動作モードに対応する第1IDを記憶する第1
ID記憶手段と、 前記第2動作モードに対応する第2IDを記憶する第2
ID記憶手段と、 前記第1IDおよび前記第2IDのうちの前記現動作モ
ードに対応する一方を外部に送信するID送信手段と、
を備えたことを特徴とする電子機器。
1. A plurality of operation modes including at least a first operation mode and a second operation mode are mutually switched to perform an operation according to each operation mode,
An electronic device that is capable of transmitting its own device ID to an external communication destination based on a predetermined communication protocol, and is configured to set either the first operation mode or the second operation mode as a current operation mode. An operating mode setting means, and a first storing a first ID corresponding to the first operating mode
An ID storage unit and a second storage unit for storing a second ID corresponding to the second operation mode
ID storage means, and ID transmission means for transmitting one of the first ID and the second ID corresponding to the current operation mode to the outside.
An electronic device comprising:
【請求項2】 前記現動作モード設定手段は、起動条件
に基づいて起動時の動作モードを決定する起動時動作モ
ード決定手段を有することを特徴とする、請求項1に記
載の電子機器。
2. The electronic device according to claim 1, wherein the current operation mode setting unit has a startup operation mode determination unit that determines an operation mode at startup based on startup conditions.
【請求項3】 前記起動条件には、電源投入時のキー操
作の条件が含まれることを特徴とする、請求項2に記載
の電子機器。
3. The electronic device according to claim 2, wherein the activation condition includes a condition of a key operation when the power is turned on.
【請求項4】 前記第1ID記憶手段は、外部から書換
可能な記憶手段であり、 前記第1ID記憶手段に書き込むIDを外部から書込I
Dとして入力する書込ID入力手段と、 前記書込IDのID書込指示を外部から入力するID書
込指示入力手段と、 前記ID書込指示に応じて前記書込IDを書き込む書込
ID書込手段と、をさらに備えたことを特徴とする、請
求項1ないし3のいずれかに記載の電子機器。
4. The first ID storage means is an externally rewritable storage means, and an ID to be written in the first ID storage means is externally written I
A write ID input means for inputting as D, an ID write instruction input means for externally inputting an ID write instruction of the write ID, and a write ID for writing the write ID according to the ID write instruction The electronic device according to claim 1, further comprising a writing unit.
【請求項5】 前記書込ID書込手段は、前記現動作モ
ードが前記第2動作モードのときに、前記書込IDの書
込を行うことを特徴とする、請求項4に記載の電子機
器。
5. The electronic device according to claim 4, wherein the write ID writing unit writes the write ID when the current operation mode is the second operation mode. machine.
【請求項6】 前記通信先から指定IDを受信する指定
ID受信手段をさらに備え、 前記現動作モード設定手段は、受信した前記指定IDに
基づいて指定ID受信時以後の動作モードを決定する指
定ID受信後動作モード決定手段を有することを特徴と
する、請求項1ないし5のいずれかに記載の電子機器。
6. A designation ID receiving means for receiving a designation ID from the communication destination is further provided, wherein the current operation mode setting means designates an operation mode after reception of the designation ID based on the received designation ID. 6. The electronic device according to claim 1, further comprising operation mode determining means after receiving the ID.
【請求項7】 前記装置IDの送信と前記指定IDの受
信とは同一のインタフェースを介して行われることを特
徴とする、請求項6に記載の電子機器。
7. The electronic device according to claim 6, wherein the transmission of the device ID and the reception of the designated ID are performed via the same interface.
【請求項8】 前記通信プロトコルは、USB規格に基
づくものであることを特徴とする、請求項1ないし7の
いずれかに記載の電子機器。
8. The electronic device according to claim 1, wherein the communication protocol is based on the USB standard.
【請求項9】 前記第2動作モードは、テストまたはメ
ンテナンスを示す動作モードであり、 前記第2IDは、前記テストまたは前記メンテナンスを
行うための装置IDであることを特徴とする、請求項1
ないし8のいずれかに記載の電子機器。
9. The second operation mode is an operation mode indicating test or maintenance, and the second ID is an apparatus ID for performing the test or maintenance.
9. The electronic device according to any one of 8 to 8.
【請求項10】 前記現動作モードが前記第2動作モー
ドのときに、前記第1動作モード時に実行するプログラ
ムを前記通信先からダウンロードするダウンロード手段
をさらに備えたことを特徴とする、請求項9に記載の電
子機器。
10. The method according to claim 9, further comprising download means for downloading a program executed in the first operation mode from the communication destination when the current operation mode is the second operation mode. Electronic device described in.
JP2001309650A 2001-10-05 2001-10-05 Electronic equipment Pending JP2003114861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001309650A JP2003114861A (en) 2001-10-05 2001-10-05 Electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001309650A JP2003114861A (en) 2001-10-05 2001-10-05 Electronic equipment

Publications (1)

Publication Number Publication Date
JP2003114861A true JP2003114861A (en) 2003-04-18

Family

ID=19128764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001309650A Pending JP2003114861A (en) 2001-10-05 2001-10-05 Electronic equipment

Country Status (1)

Country Link
JP (1) JP2003114861A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673079B2 (en) 2003-04-15 2010-03-02 Sharp Kabushiki Kaisha Peripheral accessory specification identification and transmission
JP7349522B1 (en) 2022-03-30 2023-09-22 Kyb株式会社 Computing equipment and programs

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673079B2 (en) 2003-04-15 2010-03-02 Sharp Kabushiki Kaisha Peripheral accessory specification identification and transmission
JP7349522B1 (en) 2022-03-30 2023-09-22 Kyb株式会社 Computing equipment and programs
JP2023149048A (en) * 2022-03-30 2023-10-13 Kyb株式会社 Computing device and program

Similar Documents

Publication Publication Date Title
JP5130073B2 (en) Information processing system, server device, user management device, information processing method, and program
US7903267B2 (en) Automatic installation system for printer driver, and program recording medium
US7010624B1 (en) System and method of software/firmware uploading and upgrading for peripheral devices
US6571347B1 (en) Apparatus and method for intelligent computer initiation program recovery
CN110809755A (en) Electronic control system
CN115312110A (en) Chip verification system and verification method thereof
JP3960169B2 (en) Information processing apparatus and recovery method therefor
KR20020014364A (en) auto-diagnosis apparatus and method of device driver
US20100312541A1 (en) Program test device and program
KR20070109578A (en) Navigation apparatus for updating application program of vehicle and updating method thereof
JP6520759B2 (en) Programmable controller, control program of programmable controller
US6052800A (en) Method and system for updating information on an intelligent display device monitoring a computer system
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
CN113612651A (en) IO-Link equipment testing device
JP2003337748A (en) Electronic controller
JP2009193358A (en) Information processor
JP2003114861A (en) Electronic equipment
JP6765343B2 (en) Rewriting system, rewriting device and computer
JP2003114862A (en) Electronic equipment, and test apparatus and test method for electronic equipment
JP2003167757A (en) Electronic equipment, and test device and test method for electronic equipment
JP2001156728A (en) Electronic device and method for outputting operating state of electronic device
JP2001134553A (en) Integrated processor, method for constituting configuration of integrated processor, and monitoring system for function unit on integrated processor
WO2020129324A1 (en) Module, information processing device equipped with same, and program data updating method for updating program data of module
JP2008182327A (en) Programmable device controller, and method thereof
KR101900729B1 (en) Method for running PLC operating system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060502

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060630

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061219