JP2811911B2 - Serial data transmission device - Google Patents

Serial data transmission device

Info

Publication number
JP2811911B2
JP2811911B2 JP2124575A JP12457590A JP2811911B2 JP 2811911 B2 JP2811911 B2 JP 2811911B2 JP 2124575 A JP2124575 A JP 2124575A JP 12457590 A JP12457590 A JP 12457590A JP 2811911 B2 JP2811911 B2 JP 2811911B2
Authority
JP
Japan
Prior art keywords
data
serial data
clock
line
shift register
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
JP2124575A
Other languages
Japanese (ja)
Other versions
JPH0420147A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2124575A priority Critical patent/JP2811911B2/en
Publication of JPH0420147A publication Critical patent/JPH0420147A/en
Application granted granted Critical
Publication of JP2811911B2 publication Critical patent/JP2811911B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、シリアルデータ伝送装置に関するものであ
り、詳しくは、送信装置と受信装置間の配線数の削減に
関するものである。
Description: TECHNICAL FIELD The present invention relates to a serial data transmission device, and more particularly, to a reduction in the number of wires between a transmission device and a reception device.

<従来の技術> 例えばレコーダを用いた測定にあたって、測定値と警
報設定値との大小関係に応じて、レコーダから離れた場
所の外部回路(例えばAC250V/1A,DC30V/2A)をオンオフ
させたい場合がある。
<Conventional technology> For example, when measuring using a recorder, if you want to turn on / off an external circuit (for example, 250V AC / 1A, 30V DC / 2A) at a location away from the recorder according to the magnitude relationship between the measured value and the alarm set value There is.

測定チャンネルが少ない場合には、レコーダ内部に所
定の電流容量を持った複数のリレーを設けておき、外部
回路をレコーダ内部に取り込んで接続することができる
が、測定チャンネル数が多くなる(例えば30チャンネ
ル)と、レコーダの内部スペース面などから実現は困難
になる。
When the number of measurement channels is small, a plurality of relays having a predetermined current capacity can be provided inside the recorder, and an external circuit can be taken in and connected to the inside of the recorder. However, the number of measurement channels increases (for example, 30 Channel) and the internal space of the recorder.

そこで、従来から、レコーダの警報出力信号に従って
開閉駆動され接点が外部回路の一部に接続される複数の
リレーを収納したリレー箱が用いられている。
Therefore, conventionally, a relay box containing a plurality of relays that are opened and closed in accordance with an alarm output signal of a recorder and whose contacts are connected to a part of an external circuit has been used.

第3図は従来のこのような構成のデータ伝送部分の一
例を示すブロック図であり、第4図は第3図の動作を説
明するタイミングチャートである。
FIG. 3 is a block diagram showing an example of a conventional data transmission portion having such a configuration, and FIG. 4 is a timing chart for explaining the operation of FIG.

レコーダはシリアルデータ送信装置1として機能する
ものであり、CPU2,クロック発生回路3およびシフトレ
ジスタ4が設けられている。リレー箱はシリアルデータ
受信装置5として機能するものであり、シフトレジスタ
6が設けられている。
The recorder functions as the serial data transmission device 1, and includes a CPU 2, a clock generation circuit 3, and a shift register 4. The relay box functions as the serial data receiving device 5 and has a shift register 6.

このような構成において、送信装置1のCPU2はクロッ
ク発生回路3およびシフトレジスタ4を制御する。クロ
ック発生回路3はシフトレジスタ4に第4図(a)に示
すようなクロック信号CLKを出力するとともに、クロッ
ク線を介して受信装置5のシフトレジスタ6にもクロッ
ク信号CLKを出力する。シフトレジスタ4にはレコーダ
1の図示しない部分で生成される警報出力信号がクロッ
ク信号CLKに従って逐次格納され、格納された警報出力
信号は第4図(b)に示すようなシリアルデータDATAと
してデータ線8を介して受信装置5のシフトレジスタ6
に出力される。また、CPU2は一連のデータの送信が終了
する毎にストローブ線9を介してシフトレジスタ6に第
4図(b)に示すようなストローブSTRBを出力する。シ
フトレジスタ6はクロックCLKに従って逐次格納される
データDATAをストローブ信号STRBに従ってラッチする。
このようにしてシフトレジスタ6にラッチされたデータ
DATAは、図示しないリレーの駆動信号として用いられ
る。
In such a configuration, the CPU 2 of the transmission device 1 controls the clock generation circuit 3 and the shift register 4. The clock generation circuit 3 outputs the clock signal CLK as shown in FIG. 4A to the shift register 4 and also outputs the clock signal CLK to the shift register 6 of the receiving device 5 via the clock line. Alarm output signals generated by a not-shown portion of the recorder 1 are sequentially stored in the shift register 4 in accordance with the clock signal CLK, and the stored alarm output signals are serial data DATA as shown in FIG. 8, the shift register 6 of the receiving device 5
Is output to The CPU 2 outputs a strobe STRB as shown in FIG. 4B to the shift register 6 via the strobe line 9 every time a series of data transmission is completed. The shift register 6 latches the data DATA sequentially stored according to the clock CLK according to the strobe signal STRB.
The data thus latched in the shift register 6
DATA is used as a drive signal for a relay (not shown).

<発明が解決しようとする課題> しかし、このような従来の構成によれば、送信装置1
と受信装置5の間に3本の信号線7,8,9が必要であり、
配線コストが高くなってしまうという問題がある。
<Problem to be solved by the invention> However, according to such a conventional configuration, the transmitting device 1
And three signal lines 7, 8, and 9 are required between the
There is a problem that the wiring cost increases.

本発明は、このような点に着目したものであり、その
目的は、データ伝送の信頼性を低下させることなく信号
線を削減できるシリアルデータ伝送装置を提供すること
にある。
The present invention focuses on such a point, and an object of the present invention is to provide a serial data transmission device capable of reducing the number of signal lines without lowering the reliability of data transmission.

<課題を解決するための手段> 本発明のシリアルデータ伝送装置は、 シリアルデータ送信装置とシリアルデータ受信装置が
データ線およびクロック線で接続され、 前記シリアルデータ受信装置は、 データ線を介して伝送されるデータがクロック線を介
して伝送されるクロック信号に従って逐次格納されるシ
フトレジスタと、 クロック線を介して伝送されるクロック信号を常に監
視し、クロック信号が一定時間伝送されないことを検出
することによりシフトレジスタにデータをラッチするス
トローブ信号を出力するウォッチドッグタイマ、 とで構成されたことを特徴とする。
<Means for Solving the Problems> In a serial data transmission device of the present invention, a serial data transmission device and a serial data reception device are connected by a data line and a clock line, and the serial data reception device transmits data via a data line. A shift register in which data to be transmitted is sequentially stored in accordance with a clock signal transmitted through a clock line, and constantly monitoring a clock signal transmitted through the clock line to detect that the clock signal is not transmitted for a certain period of time. And a watchdog timer for outputting a strobe signal for latching data in the shift register.

<作用> シリアルデータ受信装置のウォッチドッグタイマはシ
リアルデータ送信装置からクロック信号が一定時間入力
されないことを検出して一連のデータ転送の終了と判断
し、ストローブ信号を発生して内部のシフトレジスタに
出力する。
<Operation> The watchdog timer of the serial data receiving device detects that no clock signal is input from the serial data transmitting device for a certain period of time, determines that a series of data transfer is completed, generates a strobe signal, and outputs the strobe signal to the internal shift register. Output.

これにより、クロック信号に従ってシリアルデータ受
信装置の内部のシフトレジスタに逐次格納されるデータ
はラッチされることになる。
As a result, data sequentially stored in the shift register inside the serial data receiving device according to the clock signal is latched.

<実施例> 以下、図面を用いて本発明の実施例を詳細に説明す
る。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図であり、
第3図と同一部分には同一符号を付けている。図におい
て、受信装置5にはシフトレジスタ6の他に、クロック
線7を介して伝送されるクロック信号CLKを常に監視す
るウォッチドッグタイマ10が設けられている。このウォ
ッチドッグタイマ10は、クロック信号CLKが一定時間伝
送されないことを検出することによりシフトレジスタ6
にデータDATAをラッチするストローブ信号STRBを出力す
る。なお、本実施例におけるクロック線7およびデータ
線8としては例えば光信号線を用いる。
FIG. 1 is a block diagram showing one embodiment of the present invention.
The same parts as those in FIG. 3 are denoted by the same reference numerals. In the figure, a receiving device 5 is provided with a watchdog timer 10 that constantly monitors a clock signal CLK transmitted via a clock line 7 in addition to a shift register 6. The watchdog timer 10 detects that the clock signal CLK has not been transmitted for a certain period of time,
And outputs a strobe signal STRB for latching data DATA. Incidentally, as the clock line 7 and the data line 8 in this embodiment, for example, an optical signal line is used.

第2図は第1図の動作を説明するタイミングチャート
である。
FIG. 2 is a timing chart for explaining the operation of FIG.

通常の動作 始めに、送信装置1は(a)に示すデータDATAと
(b)に示すクロック信号CLKを受信装置5に伝送す
る。受信装置5のシフトレジスタ6は、伝送されたデー
タDATAをクロック信号CLKに従って順次格納する。一
方、クロック信号CLKは一連のデータDATAの伝送が終了
すると次の一連のデータ伝送開始まで受信装置5には伝
送されない。ウォッチドッグタイマ10は常にクロック信
号CLKを監視していて、クロック信号CLKが予め設定され
た一定時間Tの間クロック信号CLKが到来しないことを
検出することにより一連のデータ伝送が終了したものと
判断して(c)に示すストローブ信号STRBを発生し、シ
フトレジスタ6に出力する。これにより、シフトレジス
タ6は格納している一連のデータDATAをラッチすること
になる。なお、時間Tはクロック信号CLKの周期よりも
多少長く設定しておけばよい。
Normal Operation First, the transmitting device 1 transmits the data DATA shown in (a) and the clock signal CLK shown in (b) to the receiving device 5. The shift register 6 of the receiving device 5 sequentially stores the transmitted data DATA in accordance with the clock signal CLK. On the other hand, the clock signal CLK is not transmitted to the receiving device 5 after the transmission of a series of data DATA is completed until the start of the next series of data transmission. The watchdog timer 10 constantly monitors the clock signal CLK, and determines that a series of data transmissions has been completed by detecting that the clock signal CLK has not arrived for a predetermined time T set in advance. Then, a strobe signal STRB shown in (c) is generated and output to the shift register 6. As a result, the shift register 6 latches a series of stored data DATA. Note that the time T may be set slightly longer than the cycle of the clock signal CLK.

異常時の動作 送信装置1の電源が先に投入されていて送信装置1が
データDATAを伝送している最中に、受信装置5の電源が
投入された場合を考える。
Operation at the Time of Abnormal Consider a case where the power of the receiving device 5 is turned on while the power of the transmitting device 1 is turned on first and the transmitting device 1 is transmitting data DATA.

この場合、受信装置5が最初に受信したデータDATAは
異常データになるが、2回目以降に受信するデータDATA
は正常なデータになる。
In this case, the data DATA received first by the receiving device 5 becomes abnormal data, but the data DATA received second and subsequent times.
Becomes normal data.

次に、クロック線7に突発的なノイズ成分が飛び込ん
だ場合を考える。
Next, consider a case where a sudden noise component jumps into the clock line 7.

この場合もノイズが飛び込んだ時点のデータはデータ
DATAとクロック信号CLKの同期がずれていることから受
信データは異常なものになるが、2回目以降に受信する
データDATAは正常なデータになる。
In this case as well, the data at the time the noise
Since the synchronization between DATA and the clock signal CLK is out of synchronization, the received data becomes abnormal, but the data DATA received after the second time becomes normal.

なお、上記実施例ではクロック線7およびデータ線8
として光信号線を用いる例を示したが、電気信号線であ
ってもよい。ただし、電気信号線を用いる場合にはアー
ス線が必要になることから、従来の構成では合計4本の
信号線が必要になるが本発明では3本に削減できること
になる。
In the above embodiment, the clock line 7 and the data line 8 are used.
As an example, an optical signal line is used, but an electric signal line may be used. However, when an electric signal line is used, since a ground line is required, the conventional configuration requires a total of four signal lines, but the present invention can reduce the number to three.

また、上記実施例ではレコーダとリレー箱間のシリア
ルデータ伝送の例を説明したが、その他の同様な簡易シ
リアルデータ伝送を用いるシステムてにも有効である。
In the above embodiment, the example of serial data transmission between the recorder and the relay box has been described. However, the present invention is also effective for other similar systems using simple serial data transmission.

<発明の効果> 以上説明したように、本発明によれば、データ伝送の
信頼性を低下させることなく信号線を削減できるシリア
ルデータ伝送装置が実現できる。
<Effects of the Invention> As described above, according to the present invention, a serial data transmission device capable of reducing the number of signal lines without deteriorating the reliability of data transmission can be realized.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作を説明するタイミングチャート、第3図は
従来の装置のデータ伝送部分の一例を示すブロック図、
第4図は第3図の動作を説明するタイミングチャートで
ある。 1……シリアルデータ送信装置(レコーダ)、2……CP
U、3……クロック発生回路、4,6……シフトレジスタ、
5……シリアルデータ受信装置、7……クロック信号
線、8……データ線、10……ウォッチドッグタイマ。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a timing chart for explaining the operation of FIG. 1, FIG. 3 is a block diagram showing an example of a data transmission portion of a conventional device,
FIG. 4 is a timing chart for explaining the operation of FIG. 1. Serial data transmission device (recorder) 2. CP
U, 3 ... clock generation circuit, 4,6 ... shift register,
5: Serial data receiving device, 7: Clock signal line, 8: Data line, 10: Watchdog timer.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】シリアルデータ送信装置とシリアルデータ
受信装置がデータ線およびクロック線で接続され、 前記シリアルデータ受信装置は、 データ線を介して伝送されるデータがクロック線を介し
て伝送されるクロック信号に従って逐次格納されるシフ
トレジスタと、 クロック線を介して伝送されるクロック信号を常に監視
し、クロック信号が一定時間伝送されないことを検出す
ることによりシフトレジスタにデータをラッチするスト
ローブ信号を出力するウォッチドッグタイマ、 とで構成されたことを特徴とするシリアルデータ伝送装
置。
1. A serial data transmitting device and a serial data receiving device are connected by a data line and a clock line, and the serial data receiving device includes a clock transmitting data transmitted via the data line via the clock line. A shift register sequentially stored according to a signal, and a clock signal transmitted via a clock line is constantly monitored, and a strobe signal for latching data in the shift register is output by detecting that the clock signal is not transmitted for a predetermined time. A serial data transmission device comprising: a watchdog timer.
JP2124575A 1990-05-15 1990-05-15 Serial data transmission device Expired - Fee Related JP2811911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2124575A JP2811911B2 (en) 1990-05-15 1990-05-15 Serial data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2124575A JP2811911B2 (en) 1990-05-15 1990-05-15 Serial data transmission device

Publications (2)

Publication Number Publication Date
JPH0420147A JPH0420147A (en) 1992-01-23
JP2811911B2 true JP2811911B2 (en) 1998-10-15

Family

ID=14888869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2124575A Expired - Fee Related JP2811911B2 (en) 1990-05-15 1990-05-15 Serial data transmission device

Country Status (1)

Country Link
JP (1) JP2811911B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100861237B1 (en) * 2006-10-26 2008-10-02 한태환 Test for time management watch
KR100826551B1 (en) * 2006-10-09 2008-04-30 심플렉스 인터넷 주식회사 watch for control of examination time and system for watch for control of examination time by using the same
JP5161914B2 (en) * 2010-03-29 2013-03-13 タイヨーエレック株式会社 Game machine
JP5161913B2 (en) * 2010-03-29 2013-03-13 タイヨーエレック株式会社 Game machine
JP5161912B2 (en) * 2010-03-29 2013-03-13 タイヨーエレック株式会社 Game machine
JP5585641B2 (en) * 2012-12-13 2014-09-10 タイヨーエレック株式会社 Game machine
JP5585640B2 (en) * 2012-12-13 2014-09-10 タイヨーエレック株式会社 Game machine
JP5585639B2 (en) * 2012-12-13 2014-09-10 タイヨーエレック株式会社 Game machine

Also Published As

Publication number Publication date
JPH0420147A (en) 1992-01-23

Similar Documents

Publication Publication Date Title
JP2954410B2 (en) Master-slave data transmission system with flexible single-wire bus
JP2811911B2 (en) Serial data transmission device
KR980007258A (en) I²C communication device using general purpose microcomputer
US4733224A (en) Detector system with multiple sensors each sensing different danger conditions
US5948073A (en) Multiplexing bus controller with input conditioning
KR100306349B1 (en) Data communication systems and devices for them
JPH07170294A (en) Serial data reception circuit
JP3410267B2 (en) Recording system
JP2949945B2 (en) Transmission line switching circuit
JPS6259435A (en) Data transfer supervisory equipment
JPS6340079B2 (en)
JPH0516702B2 (en)
JPS63158691A (en) Abnormality protecting system for sensor circuit of fire alarm system
JPH02118800A (en) Alarm detecting circuit
JPS5999596A (en) Input control system for measurement control processor
JP2001051026A (en) Electronic-circuit monitoring apparatus
JPH0339943Y2 (en)
JPS6137658B2 (en)
SU1672457A1 (en) Computer system monitor
JPS6184136A (en) Slip control circuit
JPH05236026A (en) Digital signal monitor circuit
JPS5828977B2 (en) multiplex transmission equipment
JPH07336412A (en) Communication monitor device
JPH0417577B2 (en)
JPS63141138A (en) Switching control circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees