JPH03176798A - Transmitter - Google Patents

Transmitter

Info

Publication number
JPH03176798A
JPH03176798A JP31537789A JP31537789A JPH03176798A JP H03176798 A JPH03176798 A JP H03176798A JP 31537789 A JP31537789 A JP 31537789A JP 31537789 A JP31537789 A JP 31537789A JP H03176798 A JPH03176798 A JP H03176798A
Authority
JP
Japan
Prior art keywords
cpu
main body
multiplier
divider
diagnostic
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
JP31537789A
Other languages
Japanese (ja)
Inventor
Toshiaki Mishima
三島 才明
Atsushi Kawachi
河内 淳
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP31537789A priority Critical patent/JPH03176798A/en
Publication of JPH03176798A publication Critical patent/JPH03176798A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Transmitters (AREA)

Abstract

PURPOSE:To attain highly developed diagnosis and to provide a transmitter with a diagnostic function and a restoring function without applying load to a CPU in a body part by diagnosing the function of the body part and outputting a diagnostic result by a diagnostic means in an option part connected to the body part. CONSTITUTION:When the operation of a multiplier/divider 13 in the body part 10 is diagnosed, a multiplier/divider diagnostic command and data necessary for diagnostic operation are sent from a CPU 21 in the option part 20 to a CPU 11 in the body part 10 and these data are sent to the multiplier/divider 13 to execute test operation. The operated result is sent to the CPU 21, which decides whether the operation is normally executed or not, and when the opera tion is normal, ends the diagnosis. At the time of abnormal diagnosis, the multiplier/divider 13 is disconnected from the processing and the CPU 11 is substituted for the multiplier/divider 13 to execute the processing. In the case of when an EEPROM 11 in the body part 10 is diagnosed, a diagnostic command is similarly sent from the CPU 21 to the CPU 11, prescribed data are written/ read out in/from the ROM 12 by the CPU 11, and when the ROM 12 is abnor mal, a RAM 23 is substituted from the ROM 12 to execute processing.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はセンサから入力された検出信号を所定の測定
信号に変換して送出する発信器に関し、特に発信器自身
の機能の診断を行う部分をオプション部として分離し、
発信器本体と着脱できるようにした発信器に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a transmitter that converts a detection signal input from a sensor into a predetermined measurement signal and sends it out, and particularly relates to a portion that diagnoses the function of the transmitter itself. is separated as an optional part,
This invention relates to a transmitter that can be attached to and detached from the transmitter body.

[従来の技術] 従来、発信器自身の機能を診断する場合、発信器自身の
有するCPUによって機能の診断を実行し、機能に異常
があったときはこれを外部に表示するようになっている
[Prior Art] Conventionally, when diagnosing the function of a transmitter itself, the function diagnosis is executed by the transmitter's own CPU, and if there is an abnormality in the function, this is displayed externally. .

[発明が解決しようとする課題] 上述した従来の発信器においては、CPUはその能力の
大半を発信器自体の動作を実行するために費やしており
、自己診断機能に使用できる能力は不十分なものであっ
た。したがって、高度な自己診断機能を提供することは
できなかった。
[Problem to be Solved by the Invention] In the conventional transmitter described above, the CPU spends most of its capacity to execute the operation of the transmitter itself, and the capacity that can be used for the self-diagnosis function is insufficient. It was something. Therefore, it was not possible to provide advanced self-diagnosis functions.

また、発信器において機能異常が発生した場合に、異常
となった機能を代行して発信器の動作を復帰させる手段
はコストが高くなるために設けられておらず、発信器は
自己診断機能により機能に異常が生じたことを外部に表
示するのみであった。
Furthermore, when a malfunction occurs in a transmitter, there is no means for restoring the transmitter's operation by taking over the function that has become abnormal, as it would be costly, and the transmitter does not have a self-diagnosis function. It only displayed externally that a malfunction had occurred.

[課題を解決するための手段] この発明は、センサから入力された検出信号を所定の測
定信号に変換して送出する本体部と、本木部と信号の授
受を行うオプション部とから構成されており、オプショ
ン部は本体部と着脱自在に設けられ、本体部の機能を診
断して診断結果を出力する診断手段と、この診断結果に
応じて本体部の機能を代行する代行手段とを有している
[Means for Solving the Problems] The present invention includes a main unit that converts a detection signal input from a sensor into a predetermined measurement signal and sends it out, and an optional unit that sends and receives signals to and from the main tree. The optional part is detachably attached to the main body, and has a diagnostic means for diagnosing the functions of the main body and outputting the diagnosis results, and a substituting means for performing the functions of the main body according to the diagnosis results. are doing.

[作用] 本体部に接続されたオプション部の診断手段により本体
部の機能が診断されて診断結果が出力され、この診断結
果に応じて代行手段が異常を発生した本体部の機能を代
行することにより、本体部の機能を復帰させる。
[Function] The function of the main body is diagnosed by the diagnostic means of the optional part connected to the main body, the diagnosis result is output, and the proxy means takes over the function of the main body in which the abnormality has occurred in accordance with the diagnosis result. This will restore the functionality of the main unit.

オプション部が本体部と着脱自在に設けられていること
により、1つのオプション部で複数の本体部の機能を診
断できる。
Since the option section is provided detachably from the main body, functions of a plurality of main body sections can be diagnosed with one option section.

[実施例] 次に、この発明について図面を参照して説明する。[Example] Next, the present invention will be explained with reference to the drawings.

第1図はこの発明の発信器の一実施例を示すブロック図
、第2図、第3図は同実施例における動作フローチャー
トである。
FIG. 1 is a block diagram showing an embodiment of the oscillator of the present invention, and FIGS. 2 and 3 are operational flowcharts of the same embodiment.

第1図において、本体部10は通常の発信器の機能を提
供するものであって、本体側のCPU11によってデー
タ処理および各部の制御動作を実行するようになってい
る。12はCPUI 1からデータを入力して記憶する
EEPROM、13はCPUIIから入力したデータを
乗算、除算する乗除算器である。14はフォトトランジ
スタPTlから入力した信号をCPU11に送出する1
10部、15はCPUIIから入力する信号をフォトダ
イオードPDIに送出するドライバである。
In FIG. 1, a main body section 10 provides the functions of a normal transmitter, and a CPU 11 on the main body side executes data processing and control operations of each section. 12 is an EEPROM that inputs and stores data from the CPU 1, and 13 is a multiplier/divider that multiplies and divides the data input from the CPU II. 14 is 1 that sends the signal input from the phototransistor PTl to the CPU 11;
10 and 15 are drivers for sending signals input from the CPU II to the photodiode PDI.

また、本体部10は外部から供給される電源2例えば、
DC24Vで動作するようになっている。
The main body 10 also has a power supply 2 supplied from the outside, for example,
It is designed to operate on DC24V.

一方、オプション部20は診断機能及び復帰機能を提供
するものであって、オプション側のCPU21によって
上記機能を実現するようになっている。22は診断動作
および復帰動作を実行するためのプログラムおよびデー
タを記憶するROM、23は本体部10のEEPROM
12の動作を代行するRAM、24はCPU21から入
力する信号をフォトダイオードPD2に送出するドライ
バ 25はフォトトランジスタPT2から入力する信号
をCPU21に送出するi10部である。
On the other hand, the option section 20 provides a diagnostic function and a recovery function, and the above functions are realized by the CPU 21 on the option side. 22 is a ROM that stores programs and data for executing diagnostic operations and recovery operations; 23 is an EEPROM of the main body 10;
24 is a driver that sends a signal input from the CPU 21 to the photodiode PD2. 25 is an i10 section that sends a signal input from the phototransistor PT2 to the CPU 21.

また、オプション部20は図示しないバッテリ電源を有
しており、この電源によりオプション部20は動作する
ようになっており、RAM2Bはこのバッテリ電源によ
ってバックアップされている6 また、本体部10とオプション部20とは着脱自在な構
成となっており、装着時に互いに対向したフォトトラン
ジスタPTI、PT2およびフォトダイオードPDI、
PD2によって構成されるフォトカプラ形式のインター
フェース部分で信号の授受を行うようになっている。
Further, the option section 20 has a battery power source (not shown), and the option section 20 is operated by this power source, and the RAM 2B is backed up by this battery power source. 20 has a removable structure, and when installed, phototransistors PTI, PT2 and photodiodes PDI, which face each other, are installed.
Signals are sent and received through a photocoupler type interface section configured by the PD2.

次に、以上のように構成された発信器を診断する動作を
説明する。
Next, the operation of diagnosing the transmitter configured as described above will be explained.

第2図のフローチャートを参照して乗除算器診断の動作
を説明する。まず、オプション側のCPU21から本体
側のCPU1.1に対して乗除算器診断指令およびこの
診断動作のために必要なデータをドライバ24.フォト
ダイオードPD2゜フォトトランジスタPT、I10部
14という経路で送出する(ステップ101)。
The operation of the multiplier/divider diagnosis will be explained with reference to the flowchart in FIG. First, the CPU 21 on the option side sends a multiplier/divider diagnostic command to the CPU 1.1 on the main body side and the data necessary for this diagnostic operation to the driver 24. The signal is transmitted through the path of photodiode PD2, phototransistor PT, and I10 section 14 (step 101).

乗除算器診断指令を受は付けた本体側のCPU11は、
これと同時に受は取った診断用データを乗除算器13に
送出してこの乗除算器13にテスト演算を実行させ(ス
テップ102> 、この演算結果をCP−U21にドラ
イバ15.フォトダイオードPDI、フォトトランジス
タPT2.I10部25という経路で送出する(ステッ
プ103)。
The CPU 11 on the main body side, which receives the multiplier/divider diagnosis command,
At the same time, the receiver sends the received diagnostic data to the multiplier/divider 13 and causes the multiplier/divider 13 to execute a test operation (step 102>, and sends the result of this operation to the CP-U 21 through the driver 15, photodiode PDI, The signal is transmitted through the phototransistor PT2.I10 section 25 (step 103).

上記乗除算演算結果を受は取ったCPLJ21は乗除算
演算が正常になされたか否か、すなわち、本体部10の
乗除算器13の動作が正常になされたか否かを判断しく
ステップ104)、「Y」であれば終了し、「N」であ
れば乗除算器13の動作が異常であることを示す診断結
果をCPU11に送出する。この結果、異常と診断され
た乗除算器13はCPUIIにより処理から切り離され
、これ以降CPU21自身が乗除算器13を代行して動
作する(ステップ105)。
The CPLJ 21 receives the multiplication/division operation result and judges whether the multiplication/division operation was performed normally, that is, whether or not the multiplier/divider 13 of the main body 10 operated normally (step 104). If “Y”, the process ends, and if “N”, a diagnosis result indicating that the operation of the multiplier/divider 13 is abnormal is sent to the CPU 11. As a result, the multiplier/divider 13 that has been diagnosed as abnormal is separated from the processing by the CPU II, and from now on, the CPU 21 itself operates on behalf of the multiplier/divider 13 (step 105).

次に、第3図のフローチャートを参照してEEPROM
を診断する動作を説明する。まず、オプション側のCP
U2 Lから本体側のCPUIIに対してE F、 P
 ROM診断指令を第2図の場合と同様な経路で送出す
る(ステップ201)。
Next, referring to the flowchart in Figure 3,
Explain the operation of diagnosing. First, the option side CP
E F, P from U2 L to CPU II on the main body side
A ROM diagnosis command is sent through the same route as in FIG. 2 (step 201).

EEPROM診断指令を受は付けた本体側のCPU]、
lは、EEPROM12に対して所定のテストデータの
書き込みおよび読み出しを行い、正常に書き込み動作お
よび読み出し動作が実行できたか否かを調べ、この結果
をCPU21に送出する(ステップ202)。
The CPU on the main body side that receives the EEPROM diagnosis command],
1 writes and reads predetermined test data to and from the EEPROM 12, checks whether the write and read operations were successfully executed, and sends the results to the CPU 21 (step 202).

この結果を受は収ったCPU21はEEPROM 1.
2が正常が否かを判断しくステップ203)、ry、で
あれば終了し、「N」であればEEPROML2が異常
であることを示す診断結果をcpUllに送出し、これ
以降、オプション部20のRAM23をEEPROM1
2の代わりに使用することをCPUIIに通知する。こ
の結果、異常と診断されたEEPROM12はCPtJ
llにより処理から切り離され、オプション部20のバ
ッテリ(図示せず)によりバックアップされているRA
M23が本体部10のEEPROM12の代わりに使用
される(ステップ204)。
After receiving this result, the CPU 21 stores the EEPROM 1.
Step 203) determines whether EEPROML2 is normal or not. If it is ry, the process ends, and if it is "N", a diagnostic result indicating that EEPROML2 is abnormal is sent to cpUll, and from now on, the option section 20 is RAM23 to EEPROM1
Notify the CPU II that it will be used instead of 2. As a result, EEPROM12 diagnosed as abnormal is CPtJ
RA that is separated from processing by ll and backed up by a battery (not shown) of the option unit 20.
M23 is used instead of EEPROM 12 of main body 10 (step 204).

以上説明したように、本体部10とオプション部20と
は着脱自在に構成されているので、本体部10の診断を
行う場合は、1つのオプション部20によって複数の本
体部10を診断することができる。また、オプション部
10によって本体部10の機能が異常と診断された場合
は、オプション部20のCPU21およびRAM2:3
などが本体部10において異常となった機能の代行を行
うので、本体部10を異常状態から復帰させることがで
きる。
As explained above, the main body section 10 and the option section 20 are configured to be detachable, so when diagnosing the main body section 10, it is possible to diagnose a plurality of main body sections 10 using one option section 20. can. In addition, if the option unit 10 diagnoses that the function of the main body 10 is abnormal, the CPU 21 and RAM 2:3 of the option unit 20
etc., take over the function that has become abnormal in the main body section 10, so that the main body section 10 can be recovered from the abnormal state.

なお、上述した実施例においては乗除算器13およびE
EPROM12に異常が発生した場合について説明した
が、これに限られるものではなく、本体部10の各デバ
イスについても全く同様に診断および機能の代行がなさ
れることはいうまでもない。
In addition, in the embodiment described above, the multiplier/divider 13 and E
Although the case where an abnormality occurs in the EPROM 12 has been described, the present invention is not limited to this, and it goes without saying that diagnosis and functions can be performed on behalf of each device in the main body 10 in exactly the same manner.

[発明の効果] 以上説明したように、この発明の発信器によれば、本体
部に接続されたオプション部の診断手段により本体部の
機能が診断されて診断結果が出力されるので、本体部の
CPUに負荷を与えることなく高度な診断を行うことが
できる。また、オプション部の診断手段から出力された
の診断結果に応じて代行手段が異常を発生した本体部の
機能を代行することにより、本体部の機能を復帰させる
ことができる。また、オプション部が本体部と着脱自在
に設けられていることにより、1つのオプション部で複
数の本体部の機能を診断できるため、本体部のコストを
上昇させることなく、診断機能および復帰機能を提供す
ることができる。
[Effects of the Invention] As explained above, according to the transmitter of the present invention, the function of the main body is diagnosed by the diagnostic means of the optional part connected to the main body and the diagnosis result is output. Advanced diagnosis can be performed without putting a load on the CPU. Furthermore, the function of the main body section can be restored by the acting means acting on behalf of the function of the main body section in which the abnormality has occurred in accordance with the diagnosis result output from the diagnostic means of the optional section. In addition, since the option part is detachably attached to the main body, it is possible to diagnose the functions of multiple main parts with one option part, so the diagnostic function and recovery function can be performed without increasing the cost of the main body. can be provided.

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

第1図はこの発明の発信器の一実施例を示すブロフク図
、第2図、第3図は同実施例における動作フローチャー
トである。 10−・−本体部、20・・・オプション部。 第2図 第3図
FIG. 1 is a block diagram showing one embodiment of the oscillator of the present invention, and FIGS. 2 and 3 are operational flowcharts of the same embodiment. 10-- Main body part, 20... Option part. Figure 2 Figure 3

Claims (1)

【特許請求の範囲】 センサから入力された検出信号を所定の測定信号に変換
して送出する本体部と、本体部と信号の授受を行うオプ
ション部とから構成された発信器であって、 前記オプション部は本体部と着脱自在に設けられ、本体
部の機能を診断して診断結果を出力する診断手段と、前
記診断結果に応じて前記本体部の機能を代行する代行手
段とを有することを特徴とする発信器。
[Scope of Claims] A transmitter comprising a main body that converts a detection signal input from a sensor into a predetermined measurement signal and sends it out, and an optional part that sends and receives signals to and from the main body, the transmitter comprising: The option section is detachably attached to the main body, and includes a diagnostic means for diagnosing the function of the main body and outputting a diagnosis result, and a substituting means for performing the function of the main body according to the diagnosis result. Characteristic transmitter.
JP31537789A 1989-12-06 1989-12-06 Transmitter Pending JPH03176798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31537789A JPH03176798A (en) 1989-12-06 1989-12-06 Transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31537789A JPH03176798A (en) 1989-12-06 1989-12-06 Transmitter

Publications (1)

Publication Number Publication Date
JPH03176798A true JPH03176798A (en) 1991-07-31

Family

ID=18064676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31537789A Pending JPH03176798A (en) 1989-12-06 1989-12-06 Transmitter

Country Status (1)

Country Link
JP (1) JPH03176798A (en)

Similar Documents

Publication Publication Date Title
US5274546A (en) Diagnosis system of numerical control apparatus
JPH03176798A (en) Transmitter
JPH09126954A (en) Electronic control device for automobile
JPS62245341A (en) Engine control device
JP2738173B2 (en) Diagnostic system for stand-alone equipment
JPS63181001A (en) Fault diagnosing device
JP2550896B2 (en) Fault diagnosis device
JPS5844523A (en) Interface adaptor device
JPH0619746A (en) Fault diagnostic device
JP3031050B2 (en) Fault diagnosis device
JPH0727467B2 (en) Diagnostic processor
JPH06202702A (en) Controller
JPS59211120A (en) Interface conversion system
JP2818437B2 (en) Fault detection circuit
JPS6123246A (en) Monitor system of multi-processor system
JPS60147553A (en) Control apparatus having self-diagnosing function
JPS60258608A (en) Diagnosis system of controller
JPH0685514B2 (en) Multiplex transmission controller
JPS61199133A (en) System for diagnosing remotely computer
JPH01241635A (en) Device diagnostic system
JPH02110743A (en) Fault diagnostic processing system
JPH04288630A (en) Device diagnostic control system
JPS6222156A (en) Program execution state supervisory system
JPH02294744A (en) Logical device diagnostic processor
JPH04138750A (en) Communication controller diagnostic system