JPH09244916A - Controller and inspection device therefor - Google Patents

Controller and inspection device therefor

Info

Publication number
JPH09244916A
JPH09244916A JP8055927A JP5592796A JPH09244916A JP H09244916 A JPH09244916 A JP H09244916A JP 8055927 A JP8055927 A JP 8055927A JP 5592796 A JP5592796 A JP 5592796A JP H09244916 A JPH09244916 A JP H09244916A
Authority
JP
Japan
Prior art keywords
communication
cpu
port
inspection device
eeprom
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
JP8055927A
Other languages
Japanese (ja)
Inventor
Yasuo Tsugai
泰夫 番
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.)
R B CONTROLS KK
Original Assignee
R B CONTROLS KK
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 R B CONTROLS KK filed Critical R B CONTROLS KK
Priority to JP8055927A priority Critical patent/JPH09244916A/en
Publication of JPH09244916A publication Critical patent/JPH09244916A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To make a CPU inexpensive and to lower a cost by providing a communication port for an inspection device other than the communication port with an EEPROM in the CPU in the case of connecting the inspection device to a controller provided with the CPU and the EEPROM and inspecting it. SOLUTION: The inspection part 7 of this inspection device 5 is connected to communication lines 41 and 42 through a switching circuit 6 to be OFF when the EEPROM 3 is selected by signals from a chip selection port 23. Also, communication to the EEPROM 3 and the communication to the inspection device 5 are alternatively performed by a pair of the communication ports.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、機器の制御を行う
制御装置に検査装置を接続して制御装置を検査する際に
好適な制御装置及びその検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device suitable for inspecting the control device by connecting the inspection device to the control device for controlling the equipment and the inspection device therefor.

【0002】[0002]

【従来の技術】機器の制御を行う制御装置には演算処理
を行うCPUやデータ等を記憶しておくEEPROMが
備えられている。CPUとEEPROMとは互いの通信
ポートが通信ラインを介して接続されデータ等の通信を
行っている。但し、CPUとEEPROMとは常に通信
しているのではなく、各々に設けられたチップセレクト
ポートをセレクトラインを介して接続し、CPU側のチ
ップセレクトポートがハイ状態の場合のみ通信を行うよ
うになっている。一方、機器を工場から出荷する場合や
出荷後のメンテナンス時等に、制御装置とは別体の検査
装置を用いて制御装置が正常であるか否かを検査する必
要がある。該検査のためには検査装置を制御装置に接続
し、検査装置と制御装置との間で通信を行わなければな
らない。このためCPUにはEEPROMが接続される
通信ポートの他に検査装置を接続るるための通信ポート
を備えている。
2. Description of the Related Art A control device for controlling equipment is provided with a CPU for performing arithmetic processing and an EEPROM for storing data and the like. The CPU and the EEPROM have communication ports connected to each other via a communication line to communicate data and the like. However, the CPU and the EEPROM are not always in communication, but the chip select ports provided in each are connected via the select line so that communication is performed only when the chip select port on the CPU side is in the high state. Has become. On the other hand, when the device is shipped from the factory or at the time of maintenance after shipping, it is necessary to inspect whether or not the control device is normal by using an inspection device separate from the control device. For the inspection, the inspection device must be connected to the control device and communication must be performed between the inspection device and the control device. Therefore, the CPU is provided with a communication port for connecting the inspection device in addition to the communication port for connecting the EEPROM.

【0003】[0003]

【発明が解決しようとする課題】上記検査装置を接続す
るためCPUに設けた通信ポートは上述のごとく出荷時
やメンテナンス時に使用するだけであるので使用頻度は
きわめて低い。一方、CPUに通信ポートを増やすとC
PUのコストが高くなり、このような使用頻度の低い用
途のため専用の通信ポートを設けると不経済である。
尚、検査装置とCPUとが通信を行っている状態ではC
PUとEEPROMとの間で通信が行われることはなく
EEPROM用の通信ポートは使用されていない。
The communication port provided in the CPU for connecting the above-mentioned inspection device is used only at the time of shipping or maintenance as described above, and therefore the frequency of use is extremely low. On the other hand, if you increase the communication port to the CPU, C
The cost of the PU becomes high, and it is uneconomical to provide a dedicated communication port for such an infrequently used application.
In addition, in the state where the inspection device and the CPU are communicating, C
There is no communication between the PU and the EEPROM and the communication port for the EEPROM is not used.

【0004】そこで本発明は、上記の問題点に鑑み、C
PUに検査装置用の専用の通信ポートが設けられていな
くても制御装置の検査を行いうる検査装置を提供するこ
とを課題とする。
Therefore, in view of the above problems, the present invention provides C
An object of the present invention is to provide an inspection device that can inspect a control device even if the PU does not have a dedicated communication port for the inspection device.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に本発明は、CPUとEEPROMとを備え機器の制御
を行う制御装置であって、CPUの通信ポートとEEP
ROMの通信ポートとが通信ラインを介して相互に接続
されると共に、CPUのチップセレクトポートとEEP
ROMのチップセレクトポートとがセレクトラインを介
して相互に接続され、CPUのチップセレクトポートが
ハイの場合に通信ラインを介して通信を行うものにおい
て、セレクトラインに接続された制御端子を備える切換
回路を設け、通信ラインに切換回路を介して接続可能で
あってCPUとの間で通信を行って制御装置を検査する
検査装置に対して、制御端子にハイの信号が入力されな
いときにのみ検査装置と制御部との間での通信を可能と
したことを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is a control device for controlling equipment, comprising a CPU and an EEPROM, wherein a communication port of the CPU and an EEP
The communication port of the ROM is mutually connected via a communication line, and the chip select port of the CPU and the EEP
A switching circuit having a control terminal connected to the select line, in which communication is performed via the communication line when the chip select port of the ROM is mutually connected via the select line and the chip select port of the CPU is high And an inspection device that can be connected to a communication line through a switching circuit and inspects the control device by communicating with the CPU, only when the high signal is not input to the control terminal. It is characterized in that communication between the control unit and the control unit is possible.

【0006】また、CPUとEEPROMとを備え機器
の制御を行う制御装置であって、CPUの通信ポートと
EEPROMの通信ポートとが通信ラインを介して相互
に接続されると共に、CPUのチップセレクトポートと
EEPROMのチップセレクトポートとがセレクトライ
ンを介して相互に接続され、CPUのチップセレクトポ
ートがハイの場合に通信ラインを介して通信を行うもの
を検査する検査装置において、切換回路と、CPUとの
間で通信を行って制御装置を検査する、通信ラインに切
換回路を介して接続可能な検査部とを備え、切換回路に
セレクトラインに接続可能な制御端子を設け、制御端子
にハイの信号が入力されないときにのみ検査部と制御部
との間での通信を可能としたことを特徴とする。
Further, in a control device for controlling the equipment, which comprises a CPU and an EEPROM, the communication port of the CPU and the communication port of the EEPROM are connected to each other via a communication line, and the chip select port of the CPU And an EEPROM chip select port are connected to each other via a select line, and an inspection device for inspecting what communicates via a communication line when the CPU chip select port is high is used. And a control unit that can be connected to a communication line via a switching circuit, and a control terminal that can be connected to a select line is provided in the switching circuit, and a high signal is supplied to the control terminal. The feature is that the communication between the inspection unit and the control unit is enabled only when is not input.

【0007】検査装置はEEPROMが接続されている
通信ラインに接続し、CPUの通信ポートを兼用して使
用する。但し、検査装置とEEPROMとではEEPR
OMを優先させ、EEPROMとCPUとが通信してい
る間は切換回路により検査装置をCPUに対して遮断し
検査装置がCPUにアクセスできないようにした。尚、
検査装置と制御装置のCPUとが通信する間はチップセ
レクトポートをローの状態にする。
The inspection device is connected to the communication line to which the EEPROM is connected and is also used as the communication port of the CPU. However, the inspection device and the EEPROM are EEPR
OM is given priority, and the inspection device is cut off from the CPU by the switching circuit so that the inspection device cannot access the CPU while the EEPROM and the CPU are communicating. still,
The chip select port is kept low during the communication between the inspection device and the CPU of the control device.

【0008】ところで、該切換回路は制御装置側と検査
装置側とのいずれに設けてもよい。
By the way, the switching circuit may be provided on either the control device side or the inspection device side.

【0009】[0009]

【発明の実施の形態】図1を参照して、1はガス器具等
の機器内に設けられ、該機器の作動の制御を行う制御装
置である。該制御装置1には制御のための演算処理を行
うCPU2と該CPU2との間で通信を行うEEPRO
M3とが設けられている。該CPU2には通信用信号を
入出力する1対の通信ポート21・22が設けられてい
る。また、EEPROM3にも同じく1対の通信ポート
31・32が設けられている。そして、通信ポート21
・22と通信ポート31・32とは通信ライン41・4
2を介して相互に接続されている。CPU2とEEPR
OM3とには更に各々チップセレクトポート23・33
が設けられており、両チップセレクトポート23・33
はセレクトライン43を介して相互に接続されている。
CPU2はEEPROM3との間で通信を行うときに
は、まずチップセレクトポート23をローからハイに切
り替える。このようにチップセレクトポート23がハイ
に切り替えられている間はEEPROM3とCPU2と
の間で通信を行うことができる。
BEST MODE FOR CARRYING OUT THE INVENTION Referring to FIG. 1, reference numeral 1 denotes a control device which is provided in equipment such as a gas appliance and controls the operation of the equipment. The control device 1 includes a CPU 2 that performs arithmetic processing for control and an EEPRO that communicates between the CPU 2 and the CPU 2.
And M3 are provided. The CPU 2 is provided with a pair of communication ports 21 and 22 for inputting and outputting communication signals. Similarly, the EEPROM 3 is also provided with a pair of communication ports 31 and 32. And the communication port 21
・ 22 and communication ports 31 and 32 are communication lines 41.4
2 are connected to each other. CPU2 and EEPR
OM3 and chip select ports 23 and 33, respectively
Both chip select ports 23 and 33 are provided.
Are mutually connected via a select line 43.
When communicating with the EEPROM 3, the CPU 2 first switches the chip select port 23 from low to high. In this way, communication can be performed between the EEPROM 3 and the CPU 2 while the chip select port 23 is switched to high.

【0010】ところで、機器を工場から出荷する際やメ
ンテナンス時には制御装置1が正常に作動し得るか否か
を検査する必要がある。該検査は機器とは別体の検査装
置5を制御装置1に接続し該検査装置5からCPU2に
所定の信号を送り、その信号に対する応答を受信し制御
装置1が正常に作動しているか否かを検査する。該検査
装置5は切換回路6及び検査部7から構成されている。
該切換回路6は、入出力ポート61・62と制御端子6
3とを備え、制御端子63がハイ以外の状態の場合に入
出力ポート61・62と検査部7とを接続し、制御端子
63にハイの信号が入力されたとき入出力ポート61・
62と検査部7との間を遮断するように構成されてい
る。従って、図示のごとく入出力ポート61・62を通
信ライン41・42に各々接続し、かつ制御端子63を
セレクトライン43に接続すると、CPU2とEEPR
OM3との間で通信が行われている間はセレクトライン
43がハイになっているので検査部7は通信ライン41
・42に対して遮断され、検査装置5に優先してEEP
ROM3とCPU2との間で通信が行われる。
By the way, it is necessary to inspect whether the control device 1 can operate normally when the device is shipped from the factory or at the time of maintenance. For the inspection, an inspection device 5 separate from the equipment is connected to the control device 1, a predetermined signal is sent from the inspection device 5 to the CPU 2, and a response to the signal is received to determine whether the control device 1 is operating normally. To inspect. The inspection device 5 comprises a switching circuit 6 and an inspection unit 7.
The switching circuit 6 includes input / output ports 61 and 62 and a control terminal 6
3, the input / output ports 61 and 62 are connected to the inspection unit 7 when the control terminal 63 is in a state other than high, and the input / output port 61 and 62 are connected when a high signal is input to the control terminal 63.
It is configured to cut off between 62 and the inspection unit 7. Therefore, when the input / output ports 61 and 62 are connected to the communication lines 41 and 42 respectively and the control terminal 63 is connected to the select line 43 as shown in the figure, the CPU 2 and the EEPR are connected.
Since the select line 43 is high while the communication with the OM 3 is being performed, the inspection unit 7 uses the communication line 41.
・ The EEP is blocked against 42 and prior to the inspection device 5.
Communication is performed between the ROM 3 and the CPU 2.

【0011】上述のように、検査装置5を接続して制御
装置1を検査する場合とは、機器を工場から出荷する際
やメンテナンス時のように特別の場合である。従って、
例えば検査スイッチ11を機器側に設けておき、図外の
電源スイッチをオンにする際に同時に検査スイッチ11
をオンにすることにより強制的にチップセレクトポート
23がローに保持されるようにすれば、CPU2とEE
PROM3との間で通信が行われず、通信ポート21・
22を利用して検査装置5との間で通信が行われ制御装
置1を検査することができる。
As described above, the case where the inspection device 5 is connected and the control device 1 is inspected is a special case such as when the device is shipped from the factory or at the time of maintenance. Therefore,
For example, the inspection switch 11 is provided on the device side, and when the power switch (not shown) is turned on, the inspection switch 11
If the chip select port 23 is forcibly held low by turning on the
Communication is not performed with the PROM3, and the communication port 21.
The control device 1 can be inspected by communicating with the inspection device 5 using 22.

【0012】ところで、上記実施形態では切換回路6を
検査装置5内に設けたが、図2に示すように制御装置1
1側に設けておき、検査部7を備えた通常の検査装置5
を切換回路6に接続可能に構成してもよい。
In the above embodiment, the switching circuit 6 is provided in the inspection device 5, but as shown in FIG.
Ordinary inspection device 5 provided on the first side and provided with the inspection unit 7
May be connectable to the switching circuit 6.

【0013】[0013]

【発明の効果】以上の説明から明らかなように、本発明
によれば、CPUに1対の通信ポートしかない場合であ
ってもEEPROMとの通信と検査装置との通信との双
方を択一的に行うことができ、従来のように2対の通信
ポートを有しているCPUであれば余った1対の通信ポ
ートを他の用途、例えば他の制御装置との間の通信に利
用することができる。また、他の用途に利用する必要の
ない場合であれば、1対の通信ポートを有する安価なC
PUに取り替えることができ、制御装置のコストを下げ
ることができる。
As is apparent from the above description, according to the present invention, both the communication with the EEPROM and the communication with the inspection device can be selected even if the CPU has only one pair of communication ports. If the CPU has two pairs of communication ports as in the conventional case, the remaining one pair of communication ports is used for another purpose, for example, communication with another control device. be able to. If it is not necessary to use it for other purposes, it is an inexpensive C with a pair of communication ports.
It can be replaced with a PU, and the cost of the control device can be reduced.

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

【図1】本発明の一実施の形態の構成を示すブロック図FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の他の実施の形態の構成を示すブロック
FIG. 2 is a block diagram showing a configuration of another embodiment of the present invention.

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

1 制御装置 2 CPU 3 EEPROM 5 検査装置 6 切換回路 7 検査部 41 通信ライン 42 通信ライン 43 セレクトライン 1 Control Device 2 CPU 3 EEPROM 5 Inspection Device 6 Switching Circuit 7 Inspection Unit 41 Communication Line 42 Communication Line 43 Select Line

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUとEEPROMとを備え機器の
制御を行う制御装置であって、CPUの通信ポートとE
EPROMの通信ポートとが通信ラインを介して相互に
接続されると共に、CPUのチップセレクトポートとE
EPROMのチップセレクトポートとがセレクトライン
を介して相互に接続され、CPUのチップセレクトポー
トがハイの場合に通信ラインを介して通信を行うものに
おいて、セレクトラインに接続された制御端子を備える
切換回路を設け、通信ラインに切換回路を介して接続可
能であってCPUとの間で通信を行って制御装置を検査
する検査装置に対して、制御端子にハイの信号が入力さ
れないときにのみ検査装置と制御部との間での通信を可
能としたことを特徴とする制御装置。
1. A control device for controlling equipment, comprising a CPU and an EEPROM, the communication port of the CPU and E
The EPROM communication port is connected to each other via a communication line, and the CPU chip select port and E
A switching circuit having a control terminal connected to the select line, in which communication is performed via the communication line when the chip select port of the EPROM is mutually connected via the select line and the chip select port of the CPU is high And an inspection device that can be connected to a communication line through a switching circuit and inspects the control device by communicating with the CPU, only when the high signal is not input to the control terminal. And a control unit that enables communication between the control unit and the control unit.
【請求項2】 CPUとEEPROMとを備え機器の
制御を行う制御装置であって、CPUの通信ポートとE
EPROMの通信ポートとが通信ラインを介して相互に
接続されると共に、CPUのチップセレクトポートとE
EPROMのチップセレクトポートとがセレクトライン
を介して相互に接続され、CPUのチップセレクトポー
トがハイの場合に通信ラインを介して通信を行うものを
検査する検査装置において、切換回路と、CPUとの間
で通信を行って制御装置を検査する、通信ラインに切換
回路を介して接続可能な検査部とを備え、切換回路にセ
レクトラインに接続可能な制御端子を設け、制御端子に
ハイの信号が入力されないときにのみ検査部と制御部と
の間での通信を可能としたことを特徴とする制御装置の
検査装置。
2. A control device for controlling equipment, comprising a CPU and an EEPROM, the communication port of the CPU and the E
The EPROM communication port is connected to each other via a communication line, and the CPU chip select port and E
In an inspection device for inspecting what is communicated through a communication line when a chip select port of an EPROM is mutually connected through a select line and the chip select port of a CPU is high, a switching circuit and a CPU Equipped with an inspection unit that communicates between devices to inspect the control device and that can be connected to a communication line via a switching circuit.The switching circuit has a control terminal connectable to the select line, and a high signal is output to the control terminal. An inspection device for a control device, which enables communication between the inspection unit and the control unit only when no input is made.
JP8055927A 1996-03-13 1996-03-13 Controller and inspection device therefor Pending JPH09244916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8055927A JPH09244916A (en) 1996-03-13 1996-03-13 Controller and inspection device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8055927A JPH09244916A (en) 1996-03-13 1996-03-13 Controller and inspection device therefor

Publications (1)

Publication Number Publication Date
JPH09244916A true JPH09244916A (en) 1997-09-19

Family

ID=13012733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8055927A Pending JPH09244916A (en) 1996-03-13 1996-03-13 Controller and inspection device therefor

Country Status (1)

Country Link
JP (1) JPH09244916A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571167A (en) * 2016-11-09 2017-04-19 上海华虹集成电路有限责任公司 Method for building ''read'' testing benchmark of embedded EEPROM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571167A (en) * 2016-11-09 2017-04-19 上海华虹集成电路有限责任公司 Method for building ''read'' testing benchmark of embedded EEPROM

Similar Documents

Publication Publication Date Title
JPH09244916A (en) Controller and inspection device therefor
US6694201B1 (en) Supervisory parallel switching device for computer integrated manufacturing system with secs-compliant serial communication links
US5422520A (en) Switching control device
KR100378593B1 (en) Double Switch Board and A method of switch board redundancy
KR200154731Y1 (en) Testing apparatus using 3-phase exchange switch
KR200380799Y1 (en) lamp test control system for local control device
KR200275119Y1 (en) Ethernet using double line
KR19990009122U (en) Train control device
KR100350480B1 (en) Dual-mode control apparatus and method for determining initial active status in a generic redundant communication system
JPH02122730A (en) Signal line terminating system
KR100286102B1 (en) Multi contact control apparatus using computer system
KR100471135B1 (en) Power supply apparatus
JPH06167362A (en) Master-slave switching type measuring instrument
JPH05204401A (en) Interlock system
JP2000113785A (en) Time switch
JPH0512458A (en) One-chip microcomputer
KR19980040009A (en) Inspection system of switch for elevator
JP2663489B2 (en) Power control device
JP2020144581A (en) Signal changeover apparatus
JPS60231213A (en) Monitoring device of sequence controller
JPH09230914A (en) Controller
JPH06189027A (en) Information processor
JPH0563802A (en) Duplicate equipment for exchange
JPS6326715A (en) Connection switching device for work station
JP2000088130A (en) Valve control device having doubled controller