JP3224651B2 - Digital output device with inspection output - Google Patents

Digital output device with inspection output

Info

Publication number
JP3224651B2
JP3224651B2 JP27097393A JP27097393A JP3224651B2 JP 3224651 B2 JP3224651 B2 JP 3224651B2 JP 27097393 A JP27097393 A JP 27097393A JP 27097393 A JP27097393 A JP 27097393A JP 3224651 B2 JP3224651 B2 JP 3224651B2
Authority
JP
Japan
Prior art keywords
inspection
switch
display
output device
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP27097393A
Other languages
Japanese (ja)
Other versions
JPH07128086A (en
Inventor
龍太郎 福元
健彦 西田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP27097393A priority Critical patent/JP3224651B2/en
Publication of JPH07128086A publication Critical patent/JPH07128086A/en
Application granted granted Critical
Publication of JP3224651B2 publication Critical patent/JP3224651B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば産業機械、自動
化装置等の計測制御装置に適用して好適なデジタル出力
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital output device suitable for use in a measurement control device such as an industrial machine and an automation device.

【0002】[0002]

【従来の技術】従来のデジタル出力装置の検査方法を図
9を参照して説明する。図9は、従来のデジタル出力装
置を検査する際の装置接続を示すブロック図である。
2. Description of the Related Art A conventional digital output device inspection method will be described with reference to FIG. FIG. 9 is a block diagram showing the connection of devices when testing a conventional digital output device.

【0003】図9に示す通り、従来のデジタル出力装置
20の検査においては、外部にデジタル信号出力装置2
1を設け、このデジタル信号出力装置21から検査用デ
ータを入力することにより実施していた。
[0003] As shown in FIG. 9, in testing a conventional digital output device 20, a digital signal output device 2 is externally provided.
1 and inputting inspection data from the digital signal output device 21.

【0004】まず、このデジタル信号出力装置21から
入力する検査用データに対してデジタル装置20が出力
すると思われる予想結果を準備する。次に、このデジタ
ル信号出力装置21から入力する検査用データに対して
デジタル装置20が実際に出力した結果を取得する。
First, an expected result which is expected to be output from the digital device 20 with respect to the inspection data input from the digital signal output device 21 is prepared. Next, a result of the digital device 20 actually outputting the test data input from the digital signal output device 21 is obtained.

【0005】そして、この予想結果と実際に出力した結
果とを比較することによりデジタル出力装置20の検査
を行う。また他の方法として、検査用プログラムを組み
込んだメモリ3や1チップマイクロコンピュータを用意
し、そのプログラムを実行することにより検査を実施し
ていた。
[0005] The digital output device 20 is inspected by comparing the expected result with the actually output result. As another method, a memory 3 or a one-chip microcomputer incorporating an inspection program is prepared, and the inspection is performed by executing the program.

【0006】[0006]

【発明が解決しようとする課題】上述した通り、従来の
デジタル出力装置の検査方法では、デジタル出力を行う
ために外部にデジタル信号出力装置を設け、このデジタ
ル信号出力装置からテスト信号を入力する必要があっ
た。
As described above, in the conventional method for testing a digital output device, a digital signal output device must be provided externally for performing digital output, and a test signal must be input from the digital signal output device. was there.

【0007】またこのとき、このデジタル出力装置が特
定のプロトコルでデータ通信を行っている場合、この通
信プロトコルと同じプロトコルでデータを送信するデジ
タル信号出力装置が必要となる。
At this time, if the digital output device performs data communication using a specific protocol, a digital signal output device for transmitting data using the same protocol as the communication protocol is required.

【0008】このため、工場出荷時の検査はもちろん、
製品出荷後の現地調整、検査時にも上述の検査装置を準
備する必要があり、非常に不便であった。また、検査用
プログラムを組み込んだメモリや1チップマイクロコン
ピュータを用意して検査する方法の場合でも、メモリや
1チップマイクロコンピュータの交換が必要となること
があるため、ハンダ付けできず、ソケット等を用意しな
ければならない等の不便さがあった。
For this reason, not only inspection at the time of factory shipment,
It was necessary to prepare the above-mentioned inspection equipment at the time of on-site adjustment and inspection after product shipment, which was very inconvenient. Also, in the case of a method of preparing a memory or a one-chip microcomputer incorporating a test program and performing a test, the memory or the one-chip microcomputer may need to be replaced. There was inconvenience such as having to prepare.

【0009】本発明は上記実情に鑑みなされたもので、
検査用のデジタル信号出力装置を設置すること等を必要
とせず、スイッチを切り換えるのみで検査を実施するこ
とを可能とし、またこのデジタル出力装置の動作内容を
オペレータが容易に識別することを可能とするデジタル
出力装置を提供することにある。
The present invention has been made in view of the above circumstances,
It is not necessary to install a digital signal output device for inspection, etc., it is possible to carry out inspection just by switching the switch, and it is possible for the operator to easily identify the operation contents of this digital output device. To provide a digital output device.

【0010】[0010]

【課題を解決するための手段】本発明による検査用出力
付デジタル出力装置は、この装置の動作内容を表示する
表示装置と、この装置の動作内容を切り換えるロータリ
スイッチ又は数個の切り換えスイッチと、この装置が親
局となる制御装置と通信を行っている状態では通常動作
を行い、通信がなく上記スイッチを特定の位置に一定時
間以上おいたときに検査動作に切り換わり、その後上記
スイッチをその他の特定の位置においたときに、例え
ば、 (1)1ポートずつ一定間隔でONにする。 (2)全ポートOFFにする。 (3)全ポートONにする。 等の検査用データを出力し、かつ上記スイッチの操作と
同期して上記表示装置を表示制御するマイクロコンピュ
ータとを具備したことを特徴とする。
According to the present invention, there is provided a digital output device with an output for inspection according to the present invention, a display device for displaying the operation contents of the device, a rotary switch or several changeover switches for switching the operation contents of the device, When this device is communicating with the control device that is the master station, normal operation is performed, and when there is no communication and the switch is kept at a specific position for a certain period of time or longer, the operation is switched to the inspection operation, and then the switch is switched to another operation. (1) Turn on at regular intervals one port at a time. (2) Turn off all ports. (3) Turn on all ports. And the like, which outputs inspection data such as the above, and controls the display of the display device in synchronization with the operation of the switch.

【0011】[0011]

【作用】本発明の検査用出力付デジタル出力装置を検査
する場合、検査用出力付デジタル出力装置が通信を行っ
ていない状態で、スイッチを特定の手順で操作すること
によりデジタル出力装置に搭載したマイクロコンピュー
タが検査用データを出力し、このスイッチの操作と同期
して表示装置を表示制御する。
When testing the digital output device with test output of the present invention, the digital output device with test output is mounted on the digital output device by operating a switch in a specific procedure in a state where communication is not performed. The microcomputer outputs inspection data, and controls the display of the display device in synchronization with the operation of this switch.

【0012】これにより、スイッチを切り換えるのみで
検査を実施することが可能となり、また、表示装置の表
示によりこのデジタル出力装置の動作内容を容易に識別
することが可能となる。
This makes it possible to carry out the inspection only by switching the switch, and it is possible to easily identify the operation contents of the digital output device by the display on the display device.

【0013】[0013]

【実施例】以下図面を参照して本発明の一実施例を説明
する。図1は同実施例に係る検査用出力付デジタル出力
装置のブロック図である。本装置は、図1に示すよう
に、マイクロコンピュータ2、メモリ3、出力バッファ
4、表示出力バッファ5、スイッチ入力バッファ6、出
力ポート7、表示器8、ロータリ式スイッチ9及びデー
タ通信回路10から構成されている。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a digital output device with a test output according to the embodiment. As shown in FIG. 1, the apparatus includes a microcomputer 2, a memory 3, an output buffer 4, a display output buffer 5, a switch input buffer 6, an output port 7, a display 8, a rotary switch 9, and a data communication circuit 10. It is configured.

【0014】同実施例に係るマイクロコンピュータ2は
メモリ3を使用するが、1チップマイクロコンピュータ
の場合はメモリ3は不要となり、メモリは1チップマイ
クロコンピュータに内蔵される。また、電源回路、クロ
ック回路等は公知の物を使用するので省略する。
The microcomputer 2 according to the embodiment uses the memory 3. However, in the case of a one-chip microcomputer, the memory 3 becomes unnecessary, and the memory is built in the one-chip microcomputer. In addition, the power supply circuit, the clock circuit, and the like are publicly known, and thus are omitted.

【0015】また、同実施例に係るデジタル出力装置1
は、ロータリ式スイッチ9の操作により”0”、”
A”、”B”、”C”、”D”、”E”、”F”の7通
りの動作内容の切り換えが可能であるものとする。
A digital output device 1 according to the embodiment
Are "0", "" by operating the rotary switch 9.
It is assumed that seven types of operation contents of A "," B "," C "," D "," E ", and" F "can be switched.

【0016】本発明に係る検査用デジタル出力装置1
は、データ通信回路10が親局となる制御装置と通信を
行っている状態では通常動作(通信モードON)を行
い、通信がない状態で、かつスイッチを”F”の位置に
一定時間以上おいたときに検査動作(検査モードON)
に切り換わる。
Inspection digital output device 1 according to the present invention
Means that the normal operation (communication mode ON) is performed when the data communication circuit 10 is communicating with the control device serving as the master station, and the switch is kept at the "F" position for a certain period of time without communication. Inspection operation (inspection mode ON)
Switch to.

【0017】検査動作に切り換わった後、スイッチを”
E”の位置に切り換えると、マイクロコンピュータ2
は、1ポートずつ一定時間ONになるように検査用デー
タを出力バッファ4へ出力する。
After switching to the inspection operation, the switch is set to "
When switching to the position of E ”, the microcomputer 2
Outputs the inspection data to the output buffer 4 so as to be ON for a certain period of time for each port.

【0018】また、スイッチを”D”の位置に切り換え
ると、マイクロコンピュータ2は、全ポートONになる
ように検査用データを出力バッファ4へ出力する。さら
に、スイッチを”C”の位置に切り換えると、マイクロ
コンピュータ2は、全ポートOFFになるように検査用
データを出力バッファ4へ出力する。
When the switch is switched to the position "D", the microcomputer 2 outputs inspection data to the output buffer 4 so that all ports are turned ON. Further, when the switch is switched to the position “C”, the microcomputer 2 outputs the test data to the output buffer 4 so that all the ports are turned off.

【0019】通常動作時、データ通信回路10にて受信
した入力信号は、マイクロコンピュータ2から出力バッ
ファ4へ転送され、出力バッファ4で増幅されて出力ポ
ート7から出力される。
During normal operation, an input signal received by the data communication circuit 10 is transferred from the microcomputer 2 to the output buffer 4, amplified by the output buffer 4, and output from the output port 7.

【0020】検査を実施する場合、オペレータはロータ
リ式スイッチ9を上記の手順で操作して通常動作から検
査動作に切り換える。このロータリ式スイッチ9の切り
換え情報は、スイッチ入力バッファ6を介して適当な信
号に変換後、マイクロコンピュータ2に入力される。ス
イッチ入力バッファ6からの信号を受信したマイクロコ
ンピュータ2は、検査用テストデータを出力バッファ4
へ転送するとともに、現在の検査内容を示す表示データ
を表示出力バッファ5を介して表示器8に出力する。マ
イクロコンピュータ2からの表示データを受信した表示
器8は、表示データに基づいた表示を行う。
When the inspection is performed, the operator operates the rotary switch 9 in the above procedure to switch from the normal operation to the inspection operation. The switching information of the rotary switch 9 is converted into an appropriate signal via the switch input buffer 6, and then input to the microcomputer 2. The microcomputer 2 having received the signal from the switch input buffer 6 outputs the test data for inspection to the output buffer 4.
And display data indicating the current inspection content is output to the display 8 via the display output buffer 5. The display 8 receiving the display data from the microcomputer 2 performs display based on the display data.

【0021】次に、同実施例の動作を説明する。図2は
同実施例に係るデジタル出力装置の制御手順を説明する
ためのフローチャート、図3は同実施例に係る割り込み
で処理される通信データの処理手順を説明するためのフ
ローチャートである。
Next, the operation of the embodiment will be described. FIG. 2 is a flowchart for explaining a control procedure of the digital output device according to the embodiment, and FIG. 3 is a flowchart for explaining a processing procedure of communication data processed by interruption according to the embodiment.

【0022】デジタル出力装置1は、電源が投入される
とマイクロコンピュータ2及び出力バッファ4並びに表
示出力バッファ5の初期化を行う(図2のステップA
1)。初期化がおこなわれたあとは正常ループの状態に
入り、まず、出力すべきデータがセットされているか否
かを判断する(図2のステップA2)。出力すべきデー
タがセットされている場合は(図2のステップA2の
Y)、このデータを出力バッファ4へ出力する(図2の
ステップA3)。
When the power is turned on, the digital output device 1 initializes the microcomputer 2, the output buffer 4, and the display output buffer 5 (step A in FIG. 2).
1). After the initialization, a normal loop state is entered, and it is first determined whether or not data to be output has been set (step A2 in FIG. 2). If the data to be output is set (Y in step A2 in FIG. 2), this data is output to the output buffer 4 (step A3 in FIG. 2).

【0023】出力すべきデータがセットされていない場
合は(図2のステップA2のN)、通信タイムアウトが
発生していないかを判断し(図2のステップA4)、通
信タイムアウトが発生していた場合は通信タイムアウト
に伴う通信初期化を行う(図2のステップA5)。
If data to be output has not been set (N in step A2 in FIG. 2), it is determined whether a communication timeout has occurred (step A4 in FIG. 2), and a communication timeout has occurred. In such a case, communication initialization accompanying a communication timeout is performed (step A5 in FIG. 2).

【0024】次に、ロータリ式スイッチ9の位置を読み
取り(図2のステップA6)、ロータリ式スイッチ9の
操作と同期して動作内容(通常又は各種検査)のセット
を行う(図2のステップA7)。動作内容のセットにつ
いては後述する。
Next, the position of the rotary switch 9 is read (step A6 in FIG. 2), and the operation contents (normal or various inspections) are set in synchronization with the operation of the rotary switch 9 (step A7 in FIG. 2). ). The set of operation contents will be described later.

【0025】そして、動作内容と同期した表示データを
発生させ、表示器8に動作内容を示す表示を行わせる
(図2のステップA8)。なお、通信データは割り込み
で処理され、図3に示すように、データ通信回路10に
よるデータの受信(図3のステップB1)、データの送
信(図3のステップB2)、マイクロコンピュータ2に
よる通信モードのON(図3のステップB3)の手順で
実施される。
Then, display data synchronized with the operation contents is generated, and the display unit 8 displays the operation contents (step A8 in FIG. 2). The communication data is processed by interruption, and as shown in FIG. 3, data reception by the data communication circuit 10 (step B1 in FIG. 3), transmission of data (step B2 in FIG. 3), and communication mode by the microcomputer 2 (Step B3 in FIG. 3).

【0026】次に、図4を参照して動作内容のセット手
順を説明する。図4は同実施例に係る動作内容のセット
手順を説明するためのフローチャートである。
Next, the procedure for setting the operation content will be described with reference to FIG. FIG. 4 is a flowchart for explaining a procedure for setting operation contents according to the embodiment.

【0027】まず、通信タイマをチェックし(図4のス
テップC1)、タイムアップの場合(一定時間以上通信
がない場合)のみ(図4のステップC1のY)、通信モ
ードをOFFにする(図4のステップC2)。
First, the communication timer is checked (step C1 in FIG. 4), and only when the time is up (when there is no communication for a certain period of time) (Y in step C1 in FIG. 4), the communication mode is turned off (FIG. 4). 4 Step C2).

【0028】次に、スイッチの位置により処理を以下の
ように振り分ける(図4のステップC3)。まず、スイ
ッチの位置が”C”〜”F”の場合は、それぞれの位置
に対応するステップ(図4のステップC4〜図4のステ
ップC7、詳細は後述する)を実行し、”0”〜”B”
の場合は、検査モードをOFFにし(図4のステップC
8)、ロータリ式スイッチ9の操作と同期した表示を行
う(図4のステップC9)。
Next, the processing is distributed according to the position of the switch as follows (step C3 in FIG. 4). First, when the positions of the switches are "C" to "F", steps corresponding to the respective positions (steps C4 in FIG. 4 to step C7 in FIG. 4, details will be described later) are executed, and "0" to "0""B"
In the case of, the inspection mode is turned off (Step C in FIG. 4)
8) A display synchronized with the operation of the rotary switch 9 is performed (step C9 in FIG. 4).

【0029】次に、図5を参照してスイッチの位置が”
F”である時の処理手順を説明する。図5は同実施例に
係るスイッチの位置が”F”である時の処理手順を説明
するためのフローチャートである。
Next, referring to FIG.
The processing procedure when the switch position is "F" will be described. Fig. 5 is a flowchart for explaining the processing procedure when the switch position is "F" according to the embodiment.

【0030】まず、通信モードがONの状態かOFFの
状態かを判断する(図5のステップD1)。OFFの状
態(一定時間以上通信がない)のときは(図5のステッ
プD1のOFF)、ロータリ式スイッチ9の切り換えが
行われたか否かを判断し(図5のステップD2)、切り
換えが行われていた場合は(図5のステップD2の
Y)、切り換えタイマのセットを行う(図5のステップ
D3)。
First, it is determined whether the communication mode is ON or OFF (step D1 in FIG. 5). When the switch is OFF (no communication for a certain period of time or longer) (OFF in step D1 in FIG. 5), it is determined whether or not the rotary switch 9 has been switched (step D2 in FIG. 5). If it has been set (Y in step D2 in FIG. 5), a switching timer is set (step D3 in FIG. 5).

【0031】次に、切り換えタイマがタイムアップを起
こしているか否かを判断し(図5のステップD4)、切
り換えタイマがタイムアップを起こしていた場合(スイ
ッチを”F”に切り換えた後一定時間が経過している場
合)(図5のステップD4のY)、検査モードをONに
する(図5のステップD5)。
Next, it is determined whether or not the switching timer has timed up (step D4 in FIG. 5). Has elapsed (Y in step D4 in FIG. 5), the inspection mode is turned ON (step D5 in FIG. 5).

【0032】次に、検査モードを判断し(図5のステッ
プD6)、検査モードがONであれば”TEST”(検
査モードへの切り換え完了)と表示するように表示器に
データを転送し(図5のステップD6のON)、検査モ
ードがOFFであれば”CHEK”(検査モードへ切り
換え中)と表示するように表示器にデータを転送する
(図5のステップD6のOFF)。
Next, the test mode is determined (step D6 in FIG. 5), and if the test mode is ON, the data is transferred to the display so as to display "TEST" (completion of switching to the test mode) (FIG. 5). If the inspection mode is OFF, the data is transferred to the display so as to display "CHEK" (while switching to the inspection mode) (OFF in step D6 in FIG. 5).

【0033】次に、図6を参照してスイッチの位置が”
E”である時の処理手順を説明する。図6は同実施例に
係るスイッチの位置が”E”である時の処理手順を説明
するためのフローチャートである。
Next, referring to FIG.
The processing procedure when the switch position is “E” will be described. FIG. 6 is a flowchart for explaining the processing procedure when the switch position is “E” according to the embodiment.

【0034】まず、検査モードを判断し(図6のステッ
プE1)、検査モードがONの場合は(図6のステップ
E1のON)、1ポートずつ一定時間ONになるような
検査用のポーリング出力データをセットする(図6のス
テップE2)。
First, the inspection mode is determined (step E1 in FIG. 6), and when the inspection mode is ON (ON in step E1 in FIG. 6), the polling output for inspection is turned on for one port at a time for a certain period of time. Data is set (step E2 in FIG. 6).

【0035】そして検査内容がポーリングである旨を示
す”*POL”(検査内容がポーリング)という文字を
表示するように表示器にデータを転送する(図6のステ
ップE3)。
Then, the data is transferred to the display so as to display the character "* POL" (inspection content is polling) indicating that the inspection content is polling (step E3 in FIG. 6).

【0036】また、検査モードがOFFの場合は(図6
のステップE1のOFF)、スイッチの位置を”F”に
切り換えた後一定時間を経過させるという操作が完了す
る前に”E”に切り換えたことになるので、この場合は
その旨のエラーを表示するように表示器にデータを転送
する(図6のステップE4)。
When the inspection mode is OFF (see FIG. 6)
(Step E1 is OFF), the switch is switched to "E" before the operation of switching the switch position to "F" and a predetermined time is elapsed before the operation is completed. In this case, an error to that effect is displayed. (Step E4 in FIG. 6).

【0037】次に、図7を参照してスイッチの位置が”
D”である時の処理手順を説明する。図7は同実施例に
係るスイッチの位置が”D”である時の処理手順を説明
するためのフローチャートである。
Next, referring to FIG.
The processing procedure when the switch position is "D" will be described. Fig. 7 is a flowchart for explaining the processing procedure when the switch position is "D" according to the embodiment.

【0038】まず、検査モードを判断し(図7のステッ
プF1)、検査モードがONの場合は(図7のステップ
F1のON)、全ポートOFFになるような検査用の出
力データをセットする(図7のステップF2)。
First, the inspection mode is determined (step F1 in FIG. 7). If the inspection mode is ON (ON in step F1 in FIG. 7), output data for inspection is set so that all ports are OFF. (Step F2 in FIG. 7).

【0039】そして検査内容が全ポートOFFである旨
を示す”*OFF”(検査内容が全ポートOFF)とい
う文字を表示するように表示器にデータを転送する(図
7のステップF3)。
Then, the data is transferred to the display so as to display the character "* OFF" (inspection content is all ports OFF) indicating that the inspection content is all ports OFF (step F3 in FIG. 7).

【0040】また、検査モードがOFFの場合は(図7
のステップF1のOFF)、スイッチの位置を”F”に
切り換えた後一定時間を経過させるという操作が完了す
る前に”D”に切り換えたことになるので、この場合は
その旨のエラーを表示するように表示器にデータを転送
する(図7のステップF4)。
When the inspection mode is OFF (see FIG. 7)
(Step F1 of OFF), the switch is switched to "D" before the operation of switching the switch position to "F" and a predetermined time is passed before the operation is completed. In this case, an error to that effect is displayed. (Step F4 in FIG. 7).

【0041】次に、図8を参照してスイッチの位置が”
C”である時の処理手順を説明する。図8は同実施例に
係るスイッチの位置が”C”である時の処理手順を説明
するためのフローチャートである。
Next, referring to FIG.
The processing procedure when the switch position is "C" will be described. FIG. 8 is a flowchart for explaining the processing procedure when the switch position is "C" according to the embodiment.

【0042】まず、検査モードを判断し(図8のステッ
プG1)、検査モードがONの場合は(図8のステップ
G1のON)、全ポートONになるような検査用の出力
データをセットする(図8のステップG2)。
First, the inspection mode is determined (step G1 in FIG. 8). If the inspection mode is ON (step G1 in FIG. 8), output data for inspection is set so that all ports are ON. (Step G2 in FIG. 8).

【0043】そして検査内容が全ポートONである旨を
示す”*ON*”(検査内容が全ポートON)という文
字を表示するように表示器にデータを転送する(図8の
ステップG3)。
Then, the data is transferred to the display so as to display the characters "* ON *" (inspection contents are all ports ON) indicating that the examination contents are all ports ON (step G3 in FIG. 8).

【0044】また、検査モードがOFFの場合は(図8
のステップG1のOFF)、スイッチの位置を”F”に
切り換えた後一定時間を経過させるという操作が完了す
る前に”C”に切り換えたことになるので、この場合は
その旨のエラーを表示するように表示器にデータを転送
する(図8のステップG4)。
When the inspection mode is OFF (see FIG. 8)
Step G1 is OFF), the switch is switched to "C" before the operation of switching the switch position to "F" and a predetermined time is passed before the operation is completed. In this case, an error to that effect is displayed. Then, the data is transferred to the display device (Step G4 in FIG. 8).

【0045】このように、同実施例に係る検査用出力付
デジタル出力装置1の検査においては、ロータリ式スイ
ッチ9を切り換えるだけで、 (1)1ポートずつ一定間隔でONにする。 (2)全ポートOFFにする。 (3)全ポートONにする。 等の検査を実施することができ、また、この検査出力付
デジタル出力装置が実施している動作内容を表示器で表
示するため、オペレータが簡単に検査出力付デジタル出
力装置の動作内容を把握することが可能である。
As described above, in the test of the digital output device with test output 1 according to the present embodiment, simply by switching the rotary switch 9, (1) the ports are turned on one by one at regular intervals. (2) Turn off all ports. (3) Turn on all ports. The operator can easily grasp the operation contents of the digital output device with the inspection output because the operation contents performed by the digital output device with the inspection output are displayed on the display. It is possible.

【0046】[0046]

【発明の効果】検査用のデジタル信号出力装置を設置す
ること等を必要とせず、スイッチを切り換えるのみで、 (1)1ポートずつ一定間隔でONにする。 (2)全ポートOFFにする。 (3)全ポートONにする。 等の検査を実施することが可能となる。
According to the present invention, there is no need to install a digital signal output device for inspection, etc., but only by switching a switch. (2) Turn off all ports. (3) Turn on all ports. Inspections can be performed.

【0047】これにより、製品出荷時の検査が容易にで
きるばかりでなく、装置出荷後の使用現場においても、
簡単にデジタル出力装置自体の良否を検査でき、アフタ
サービスなどの検査時におおいに省力化することが可能
となる。また、この検査出力付デジタル出力装置が実施
している動作内容を表示器で表示するため、オペレータ
が動作内容を簡単に把握することが可能となる。
As a result, not only inspection at the time of product shipment can be facilitated, but also at the site of use after shipment of the device,
The quality of the digital output device itself can be easily inspected, and it is possible to greatly save labor when inspecting after-service. Further, since the operation contents performed by the digital output device with inspection output are displayed on the display, the operator can easily grasp the operation contents.

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

【図1】本発明の実施例に係る検査用出力付デジタル出
力装置のブロック図。
FIG. 1 is a block diagram of a digital output device with a test output according to an embodiment of the present invention.

【図2】同実施例に係るデジタル出力装置の制御手順を
説明するためのフローチャート。
FIG. 2 is an exemplary flowchart for explaining a control procedure of the digital output device according to the embodiment.

【図3】同実施例に係る割り込みで処理される通信デー
タの処理手順を説明するためのフローチャート。
FIG. 3 is an exemplary flowchart for explaining a processing procedure of communication data processed by an interrupt according to the embodiment;

【図4】同実施例に係る動作モードのセット手順を説明
するためのフローチャート。
FIG. 4 is an exemplary flowchart for explaining an operation mode setting procedure according to the embodiment.

【図5】同実施例に係るスイッチの位置が”F”である
時の処理手順を説明するためのフローチャート。
FIG. 5 is an exemplary flowchart for explaining a processing procedure when the switch position is “F” according to the embodiment;

【図6】同実施例に係るスイッチの位置が”E”である
時の処理手順を説明するためのフローチャート。
FIG. 6 is a flowchart for explaining a processing procedure when the position of the switch is “E” according to the embodiment;

【図7】同実施例に係るスイッチの位置が”D”である
時の処理手順を説明するためのフローチャート。
FIG. 7 is an exemplary flowchart for explaining the processing procedure when the switch position is “D” according to the embodiment;

【図8】同実施例に係るスイッチの位置が”C”である
時の処理手順を説明するためのフローチャート。
FIG. 8 is a flowchart for explaining a processing procedure when the switch position is “C” according to the embodiment;

【図9】従来のデジタル出力装置を検査する際の装置接
続を示すブロック図。
FIG. 9 is a block diagram showing device connections when testing a conventional digital output device.

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

1…検査用出力付デジタル出力装置、2…マイクロコン
ピュータ、3…メモリ、4…出力バッファ、5…表示出
力バッファ、6…スイッチ入力バッファ、7…出力ポー
ト、8…表示器、9…ロータリ式スイッチ、10…デー
タ通信回路、20…従来のデジタル出力装置、21…テ
スト用デジタル信号出力装置。
DESCRIPTION OF SYMBOLS 1 ... Digital output device with test output, 2 ... microcomputer, 3 ... memory, 4 ... output buffer, 5 ... display output buffer, 6 ... switch input buffer, 7 ... output port, 8 ... display, 9 ... rotary type Switch, 10: Data communication circuit, 20: Conventional digital output device, 21: Digital signal output device for test.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01D 3/10 G01D 18/00 G01R 31/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G01D 3/10 G01D 18/00 G01R 31/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信及び制御用のマイクロコンピュータ
を搭載し、デジタル出力を行う装置において、 この装置の動作内容を表示する表示装置と、 この装置の動作内容を切り換えるロータリスイッチ又は
数個の切り換えスイッチと、 この装置が通信を行っていない状態で上記スイッチを特
定の手順で操作したときに検査用データを出力し、かつ
上記スイッチの操作と同期して上記表示装置を表示制御
するマイクロコンピュータとを具備したことを特徴とす
るデジタル出力装置。
1. A device which carries a communication and control microcomputer and performs digital output, comprising: a display device for displaying the operation content of the device; a rotary switch or several changeover switches for switching the operation content of the device; And a microcomputer that outputs inspection data when the switch is operated in a specific procedure in a state where the device is not performing communication, and that controls display of the display device in synchronization with the operation of the switch. A digital output device, comprising:
JP27097393A 1993-10-28 1993-10-28 Digital output device with inspection output Expired - Fee Related JP3224651B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27097393A JP3224651B2 (en) 1993-10-28 1993-10-28 Digital output device with inspection output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27097393A JP3224651B2 (en) 1993-10-28 1993-10-28 Digital output device with inspection output

Publications (2)

Publication Number Publication Date
JPH07128086A JPH07128086A (en) 1995-05-19
JP3224651B2 true JP3224651B2 (en) 2001-11-05

Family

ID=17493615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27097393A Expired - Fee Related JP3224651B2 (en) 1993-10-28 1993-10-28 Digital output device with inspection output

Country Status (1)

Country Link
JP (1) JP3224651B2 (en)

Also Published As

Publication number Publication date
JPH07128086A (en) 1995-05-19

Similar Documents

Publication Publication Date Title
JP3224651B2 (en) Digital output device with inspection output
JP3570547B2 (en) Line interface card tester
JPH0435283A (en) Television receiver
JP2528448B2 (en) Facsimile machine
JPH10260262A (en) Automatic testing apparatus for radiation-monitoring apparatus
JPH0558320B2 (en)
JPH06324723A (en) Programmable controller
JPH03155245A (en) Protocol analyzer system
JP2003108107A (en) Data display device
JPS61243540A (en) Function inspecting system for distributed control system
JP2737767B2 (en) Communication line test method
JP3343203B2 (en) Wireless meter reading system
JPS61282940A (en) Control program inspection system using event table
JPH08316969A (en) Signal processing method of monitor controlling system
JPH02162403A (en) Digital control system
JPH05128021A (en) Multiple signal transmitting equipment
JPH06232944A (en) Field equipment for process control
JPH0635531A (en) Diagnostic method and device for controller
JPH05233057A (en) Instrumentation system with maintaining function
JPH03207156A (en) Image input device
JPH066422A (en) Communication tester
JPS61208138A (en) Test system for microprocessor device
JPS6276344A (en) Testing instrument for protocol conversion function
JPH0435764B2 (en)
JPH01121094A (en) Apparatus for inspection of electrical parts in electronic sewing machine

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010724

LAPS Cancellation because of no payment of annual fees