JPS5928674A - Disconnecting detection of transmission wire - Google Patents

Disconnecting detection of transmission wire

Info

Publication number
JPS5928674A
JPS5928674A JP57139507A JP13950782A JPS5928674A JP S5928674 A JPS5928674 A JP S5928674A JP 57139507 A JP57139507 A JP 57139507A JP 13950782 A JP13950782 A JP 13950782A JP S5928674 A JPS5928674 A JP S5928674A
Authority
JP
Japan
Prior art keywords
time
transmission
vibrator
data
level
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.)
Granted
Application number
JP57139507A
Other languages
Japanese (ja)
Other versions
JPH0231828B2 (en
Inventor
Morikazu Itani
猪谷 盛一
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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP57139507A priority Critical patent/JPS5928674A/en
Publication of JPS5928674A publication Critical patent/JPS5928674A/en
Publication of JPH0231828B2 publication Critical patent/JPH0231828B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/54Testing for continuity

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

PURPOSE:To enable the indication of the interruption in a processing operation or the like owing to wrong read data, by detecting the failure in inversion of N- pieces of transmission wires simultaneously to a logical level ''H'' for a specified time or above on a reception side and deciding the generation of a disconnection. CONSTITUTION:When an AND gate 3 detects a coincidence, a retriggerable monostable multivibrator 4 is triggered at each detection. The normal time T of the vibrator 4 is set at T>t1+t2; therefore, if transmission wires l1-l4 are normal, the vibrator is retriggered within the time T and the output Q of the vibrator 4 is maintained at an ''H'' level, but when at least one among the wires l1-l4 is disconnected, the vibrator 4 fails to be retriggered in the time T and therefore the output Q is reset to a logical level ''L''. The generation of an interruption pulse P2 is indicated by a pulse generator 5 at the negative edge where the Q output of the vibrator is reset to the level ''L''.

Description

【発明の詳細な説明】 本発明は伝送線断線検出方法に関し7、その目的は伝送
線を介して繰り返してデータを伝送するに際し、迅速に
伝送線の断線を検知できる方法を提供することVCある
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a transmission line disconnection detection method, and an object thereof is to provide a method that can quickly detect a transmission line disconnection when data is repeatedly transmitted via the transmission line. .

ση来のデータ送受信方法を第コシIK示す。この第1
し1は、4本の伝送線/1〜14と、その他に1本のス
トローブ信号線t5との合Δ15本の信号線で送信側(
1゛りと受信ll1lI(RX)とを接続し、送信1u
ll (TX ) cは4ビツトの桁直列の名データD
、DLI  ・・・を1   2 l 3 第2図(a)のように前記伝送線j、〜14にビット並
列で順次印加すると共に、送信側(TX)ではこれと共
VC第2図(b)のストローブ信号P1がストローブ信
号線15VC印加される。受信側(RX)ではストロー
ブ信号線15vCストローブ信号Pが発生する度にその
時の4本の伝送線l、〜14の状態をデータとして読み
込むよう構成されている。しかし、従来ではこのような
データ伝送中に伝送#11〜14の断線チェックは伺ら
実施されておらず、前記断線が発生した場合Vこは誤っ
たデータを受信側(RX)で読み込んでしまう恐れがあ
り、この誤ったデータによる処理を中断させることがで
きないのが現状である。
The data transmission/reception method since ση is shown below. This first
1 is a transmission side (
Connect 1u and receive ll1lI (RX), and send 1u
ll (TX) c is 4-bit digit series name data D
, DLI... are sequentially applied in bit parallel to the transmission lines j, ~14 as shown in FIG. ) is applied to the strobe signal line 15VC. On the receiving side (RX), each time the strobe signal line 15vC strobe signal P is generated, the state of the four transmission lines 1 to 14 at that time is read as data. However, in the past, a disconnection check for transmission #11 to #14 was not performed during data transmission, and if the disconnection occurred, the receiving side (RX) would read incorrect data. Currently, it is not possible to interrupt processing due to this incorrect data.

そこで本発明C1、全ピットが同時に処理レベルWH′
に反転し・tい11ビツト■データを順次伝送するN本
の伝送線を、1つのデータの送1d終rのたびにデータ
送信路r時刻から次のデータ送信開始時刻の間に送信側
で少なくとも所定時間にわたつて全て論理レベル1H1
に反私杯ぜ、受信11111では−・尾時間以上にわた
ってN本の前記伝送線が同時に調理レベル1H″に反転
しないことを検出して断線発生と判定するものであって
、以下本発明の具体的な一実施例を第3図と第4図vc
 :4ついて説明する。なお、ここでは電子料金はかり
からプリンタ装置にデータを伝送する場合を例に挙げて
説明する。
Therefore, in the present invention C1, all pits are simultaneously processed at the processing level WH'.
11 bits ■ N transmission lines that transmit data sequentially are transmitted on the transmitting side between the data transmission path time r and the next data transmission start time every time one data transmission ends. All logic levels 1H1 for at least a predetermined period of time
However, the reception 11111 detects that the N transmission lines do not switch to the cooking level 1H'' at the same time for more than -1 hours and determines that a disconnection has occurred. An example of this is shown in Figures 3 and 4.
:I will explain about 4. Note that an example in which data is transmitted from an electronic toll scale to a printer device will be described here.

(1)l−j送信側としての継子料金はかり、(2)は
受信側としてのプリンタ製筒、/1〜14は電子料金は
刀・す(1)とプリンタ装置(2)とを結ぶ4木の伝送
線である。電子料金はかり(1)側では、伝送すべきデ
ータとして、風袋、重量、両路、’f−lll1+など
のデータを有しており、電子料金はかり(1)側のマイ
クロコノピユータ(勾はデータ送出ルーチンが次のよう
に構成されている。
(1) Stepchild charge scale as l-j sending side, (2) printer cylinder as receiver side, /1 to 14 are electronic charge scales 4 connecting the sword/su (1) and printer device (2). It is a wooden transmission line. The electronic toll scale (1) side has data to be transmitted such as tare, weight, both ways, 'f-llll1+, etc. The data sending routine is configured as follows.

マイクロコノピユータ(A)では、送信するデータの順
番が、第4図(a)のように風袋→塩酸→価格→単価の
順の繰り返しサイクル′Cあることが決められ″しおり
、1つのデータの送信路r時刻と次のデータ送旧開始の
間の時間t2をF16〔ビットで書けば、伝送M/、〜
14ケ全て処理レベルl HI [した状態〕に保持し
て伝送する。Lう構成されている。なお、ここでデータ
の伝送はビット並列桁直列でそれぞれ伝送されており、
各データ伝送時間t1は等しく、次のデータまでの前記
時間t2も等しい。また、マイクロコンピュータ(A)
は各データの伝送に同期して従来と同様にストローブ信
弓線15に第4図(b)のように710一ブ信号P1が
発生ずる。
In the microcomputer (A), it is determined that the order of data to be transmitted is a repeating cycle 'C' in the order of tare → hydrochloric acid → price → unit price as shown in Figure 4 (a). The time t2 between the transmission path r time and the start of the next data transmission is F16 [If written in bits, transmission M/, ~
All 14 data are held at the processing level l HI [state] and transmitted. It is composed of L. Note that the data is transmitted in bit parallel and digit series, respectively.
Each data transmission time t1 is equal, and the time t2 until the next data is also equal. Also, microcomputer (A)
In synchronization with the transmission of each data, a 710-bit signal P1 is generated on the strobe signal line 15 as shown in FIG. 4(b) as in the conventional case.

上1ピデータを伝送線/、〜14を介して読み込むグリ
ンタ装!(2) (則では、マイクロコンピュータ(B
)が、ストローブ信号線15vCストローブ信号Pが発
生したタイミングの前記伝送線11〜14の状態をデー
タとしてその都度読み込まれる。また、プリンタ装置(
2)側でQJ1アンドゲート(3)が伝送線11〜14
の論理積を取り、こσ)アントゲ−1−(3Jが第4図
(Q)のように一致を検出するとそのlj Vこ再トリ
ガがd」能な雫安定マルチバイブレータ(4)を第4図
(d)のようにトリガする。ここe単安定−フルテバイ
ブレータ(4)の規履時間Tは、T ) t 、 十t
、、に設定されているため、伝送線11〜14が正常で
あるならば規に時間T以内に再トリガσiして、単安定
マルチバイフレータ(4)の出力Qば1Hルベルに維持
されるが、伝送線/1〜14のうちの少なくとも1つが
断線すると単安定マルチバ・fフレーク(4)は前記規
定時間T以内に(与トリガきれないため、出力Qが論理
レベルW L 1に復帰する。単安定マルチバイブレー
タ(4)の出力Qが論理レベルI L lに復帰するネ
ガティブエツジで、パルス発生器(5)は割込みパルス
P2の発生が指示される。この割込みパルスP2はマイ
クロコンピュータCB)に割込み信号として作用し、割
込みかがけられたマ・イクロコンピュータ(f31 H
5、ストローブ1d号P、Vこよる7+η菖の読み込み
動作を゛中鎖し一〇断線報知のだめのルーチンを実行す
るよう構成されている。なお、断線報知のルーチン七し
てQ」、例えば伝送線断軛を表わ−)−コード等はプリ
ントアウト−fる動作を挙げることができるっ にml実施例で61時間t2の間の全域にわたって”1
6を送信するよう嘴成しノこが、これは時間t2の間C
、アントゲ−目3)が[F確にデータを読み取るに要す
る時間以−トあればよい。
Glinter equipment that reads the upper 1 pin data via the transmission line /,~14! (2) (According to the regulations, a microcomputer (B
) is read each time as data of the states of the transmission lines 11 to 14 at the timing when the strobe signal line 15vC strobe signal P is generated. In addition, a printer device (
On the 2) side, QJ1 and gate (3) connects transmission lines 11 to 14.
When σ) ant game 1-(3J detects a match as shown in FIG. Trigger as shown in figure (d).Here, the standard time T of the monostable-furte vibrator (4) is T ) t , 0t
, , so that if the transmission lines 11 to 14 are normal, the output Q of the monostable multibiflator (4) is maintained at 1H level by re-triggering σi within the time T. However, if at least one of the transmission lines /1 to /14 is disconnected, the monostable multibar f flake (4) will not be triggered within the specified time T, so the output Q will return to the logic level WL1. At the negative edge when the output Q of the monostable multivibrator (4) returns to the logic level I L l, the pulse generator (5) is instructed to generate an interrupt pulse P2.This interrupt pulse P2 is generated by the microcomputer CB). acts as an interrupt signal on the microcomputer (f31
5. The strobe 1d is configured to suspend the reading operation of the 7+η irises due to P and V, and execute the routine of 10. disconnection notification. In addition, the disconnection notification routine 7 and Q', which indicates, for example, transmission line disconnection, can be printed out.In the example, the entire area during 61 hours t2 over 1
6, this is C during time t2.
, it is only necessary that the animation number 3) is longer than the time required to read the data.

以ト説明のように本発明によると、伝送線が少なくとも
一本断線すると、速やかにこの断線状態を検知すること
がて酉、誤った読み取りデータによる処理動作の中断等
を指示することができる。
As described above, according to the present invention, when at least one transmission line is disconnected, this disconnection state can be promptly detected and an instruction can be given to interrupt processing operations due to incorrectly read data.

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

第1図は従来のデータ送受(i方式の送信側と受信側の
接続図、第2図は第1図の波形図、第3図は本発明+7
)J4.体内な一実施例の構成図、第4図(a)〜(d
、)は第3図の伝送フォーマットと受信側内部の要部波
形図Cある。 (1)・・・電子料金はかり〔送信側)、(2J・・・
プリンタ装置〔受信側〕、(3)・・・アノトゲ−)、
(4)・・・学安定マルチバイブレーク、(5)・・・
パルス発生器、(A)(b)・・・マイクロコノピユー
タ、/1〜E4・・・伝送線、15・・・ストローノ信
号緑、P2・・・割込みパルス代理人   森  本 
 義  弘
Figure 1 is a connection diagram of the conventional data transmission/reception (i-method sending and receiving sides), Figure 2 is a waveform diagram of Figure 1, and Figure 3 is the present invention +7.
) J4. Configuration diagram of an embodiment inside the body, Fig. 4(a) to (d)
, ) is the transmission format shown in FIG. 3 and the main waveform diagram C inside the receiving side. (1)...Electronic toll scale [sending side], (2J...
Printer device [receiving side], (3)...Anotogame),
(4)... Gakken multi-buy break, (5)...
Pulse generator, (A) (b)... Microcontroller, /1 to E4... Transmission line, 15... Strono signal green, P2... Interrupt pulse agent Morimoto
Yoshihiro

Claims (1)

【特許請求の範囲】[Claims] 〕−全ピットが同時に論理レベル1H1に反転しないN
ビットのデータを順次伝送するN木の伝送線を、1つの
データの送信終了のたびにデータ送信終了時刻から次の
データ送信開始時刻の間に送信側で少な、くとも所定時
間にわたって全て論理レベル@H@vc反転きせ、受信
側では一定時間以上にわたってN本の前記伝送線が同時
に論理レベルIH′に反転しないことを検出して断線発
生と判定する伝送線断線検出方法。
] - All pits are not inverted to logic level 1H1 at the same timeN
N-tree transmission lines that transmit bit data sequentially are set to a logic level for at least a predetermined period of time on the transmitting side, every time one data transmission ends, from the data transmission end time to the next data transmission start time. @H@vc A transmission line disconnection detection method in which the reception side detects that the N transmission lines do not simultaneously invert to the logic level IH' over a certain period of time and determines that a disconnection has occurred.
JP57139507A 1982-08-10 1982-08-10 Disconnecting detection of transmission wire Granted JPS5928674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57139507A JPS5928674A (en) 1982-08-10 1982-08-10 Disconnecting detection of transmission wire

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57139507A JPS5928674A (en) 1982-08-10 1982-08-10 Disconnecting detection of transmission wire

Publications (2)

Publication Number Publication Date
JPS5928674A true JPS5928674A (en) 1984-02-15
JPH0231828B2 JPH0231828B2 (en) 1990-07-17

Family

ID=15246897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57139507A Granted JPS5928674A (en) 1982-08-10 1982-08-10 Disconnecting detection of transmission wire

Country Status (1)

Country Link
JP (1) JPS5928674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295900B2 (en) 2005-04-28 2007-11-13 Denso Corporation Load drive apparatus with short circuit determination

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7295900B2 (en) 2005-04-28 2007-11-13 Denso Corporation Load drive apparatus with short circuit determination

Also Published As

Publication number Publication date
JPH0231828B2 (en) 1990-07-17

Similar Documents

Publication Publication Date Title
CA1315008C (en) System permitting peripheral interchangeability
US4264954A (en) Distributed function communication system for remote devices
GB1531090A (en) Data communication system
EP0335424A3 (en) Improved parity checking apparatus
US5123091A (en) Data processing system and method for packetizing data from peripherals
US4860292A (en) Communication protocol
JPS59127133A (en) Data transmitting system
JPS5928674A (en) Disconnecting detection of transmission wire
CA2014994A1 (en) Protected information transfer system
US4627059A (en) Circuit arrangement for telecommunications systems, particularly telephone switching systems, having data protection by way of parity bits
JPH0441399B2 (en)
JPS5631264A (en) Composite transmission system of data and sound
SU1277126A1 (en) Interface for linking electronic computer with discrete transducers
JPH035623B2 (en)
JP2564982B2 (en) General-purpose interface controller
JPS581001Y2 (en) Line diagnostic circuit
JPS59212055A (en) Circuit adapter
JPS5730437A (en) Block data transmission system
JPS6464433A (en) On-line monitor system
JPS59138141A (en) Transmission system
JPS5676833A (en) Connection system for electronic computer network
JPS5759233A (en) Signal transmitting circuit
JPS59194550A (en) Testing circuit of line adaptor
JPS6423636A (en) Signal protecting circuit
JPS62239627A (en) Multi-line identification system