JPS5815355A - Information transfer system - Google Patents

Information transfer system

Info

Publication number
JPS5815355A
JPS5815355A JP56113458A JP11345881A JPS5815355A JP S5815355 A JPS5815355 A JP S5815355A JP 56113458 A JP56113458 A JP 56113458A JP 11345881 A JP11345881 A JP 11345881A JP S5815355 A JPS5815355 A JP S5815355A
Authority
JP
Japan
Prior art keywords
data
transmission
information
response
program
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
JP56113458A
Other languages
Japanese (ja)
Inventor
Satoru Otake
大竹 悟
Toshiaki Masuda
俊明 増田
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi 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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP56113458A priority Critical patent/JPS5815355A/en
Publication of JPS5815355A publication Critical patent/JPS5815355A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To return a response data, to simplify a transmission procedure and to improve the transmission efficiency, when a data is normally received at a transmitter at the reception side without inquiry from the transmitter at the transmission side, by exchanging the information with information data and response data only. CONSTITUTION:Information transmitters 1 and 11 are connected with a transmission line 12, the transmitters 1 and 11 are provided with a microprocessor 2, a program started at a prescribed period is collected as an information data via a signal transmission circuit 10 and stored in a transmission data storage RAM7. When the transmission condition of this transmission data is established, a transmission RAM5 is set and transmitted to the device 11 via an input/output interface 9. In this case, a response monitor time is set to a response monitor program to switch the RAM5 to the response mode to be the reception state of the response data with a response monitor program. The response data is recognized at the processor 2, stored in a reception data storage RAM8 and the RAM6 is cleared.

Description

【発明の詳細な説明】 本発明は、伝送回線で接続された情報伝送装置の情報交
換に係り、特に情報データと応答データのみによってデ
ータ伝送を行なう情報伝送方式に関するものである。従
来の伝送回線で接続された情報伝送装置A・8間の情報
交換は、情報伝送装置Aで送信データが発生した時、送
信要求有りの信号切NQを相手側情報伝送装置(以下伝
送装置と略称する)Bに伝え、伝送装置Bは、受信準備
完了の場合、ACKを伝送装置へ送信し受信準備ができ
ていることを連絡する。このACKを受信して伝送装置
Aは送信動作すなわち情報の伝送の段階にはいる。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to information exchange between information transmission apparatuses connected via a transmission line, and particularly to an information transmission system in which data is transmitted using only information data and response data. For information exchange between information transmission devices A and 8 connected via a conventional transmission line, when data to be transmitted is generated in information transmission device A, a signal cut NQ indicating a transmission request is sent to the other party's information transmission device (hereinafter referred to as the transmission device). When the transmission device B is ready for reception, the transmission device B sends an ACK to the transmission device to notify that it is ready for reception. Upon receiving this ACK, transmission device A enters the transmission operation, that is, the stage of information transmission.

情報データは、データの初まりを示すSTXとデータの
終シを、示すETXにはさまれて送信され、伝送装置B
はそれらを正常に受信する都度、ACKを送信して確認
を行う。伝送されたデータに誤りを検出すると、伝送装
置BはNACを送信してそのデータの再送を要求する。
The information data is transmitted sandwiched between STX indicating the beginning of data and ETX indicating the end of data, and is sent to transmission device B.
Each time it receives them normally, it sends an ACK to confirm. When detecting an error in the transmitted data, transmission device B sends a NAC to request retransmission of the data.

所要のデータの送信が終了すると伝送装置AはEOTを
送信し、伝送の終了を伝送装置Bに伝え、それにより伝
送装置BもEOTを送信し、伝送装置Aがその信号を確
認して、一連の情報データ交換が終了する。この様に、
ENQ、、ACK等の伝送制御キャラクタを用いて行う
情報データ交換は、情報伝送方式が複雑かつ、伝送時間
に無駄があった。
When the transmission of the required data is completed, transmission device A transmits an EOT to notify transmission device B of the end of transmission, which causes transmission device B to also transmit an EOT, and transmission device A confirms the signal and transmits the series. The information data exchange ends. Like this,
Information data exchange performed using transmission control characters such as ENQ, ACK, etc. requires a complicated information transmission method and wastes transmission time.

本発明の目的は、情報伝送の手順を簡便にし、且つ伝送
効率を向上させる情報伝送方式を提供するにある。
An object of the present invention is to provide an information transmission method that simplifies the information transmission procedure and improves transmission efficiency.

本発明の特徴は、情報データと応答データのみにより情
報交換を行い、送信すべき情報データが発生した伝送装
置は、情報データを間合せなしに送信し、応答データを
受信するまでこれを繰返し行い、情報データを受信した
伝送装置は、情報データを正常に受信したときのみ応答
データを返送するようにしていることである。
A feature of the present invention is that information is exchanged using only information data and response data, and a transmission device that has generated information data to transmit transmits the information data without delay, and repeats this until response data is received. , the transmission device that has received the information data returns response data only when it has received the information data normally.

本発明の1つの特徴は、各伝送装置内の記憶装置に、情
報交換すべきデータの種別と、情報データ数をあらかじ
め記憶しておき、情報データを受信した時は、記憶され
ている情報データの種別、データ数をもとにして、正常
に受信したか否かの判断を行うようにしていることであ
る。
One feature of the present invention is that the type of data to be exchanged and the number of information data are stored in advance in the storage device in each transmission device, and when information data is received, the stored information data is Based on the type and number of data, it is determined whether or not the data has been received normally.

以下、本発明の一実施例を図面を参照して説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明が適用される情報伝送装置のブロック
構成を示し、1,11は情報伝送装置、12は情報伝送
装置1,11間を接続する伝送回線、2は伝送制御を行
うマイクロプロセッサ、3はマイクロプロセッサ2のプ
ログラムを格納するROM (リードオンリーメモリ)
で、送信プログラム、受信プログラム、応答監視プログ
ラム、受信データ判別プログラム、および情報収集プロ
グラム等を格納する。4は送受信データの種別と送受信
データ数を記憶する監視データ判別R,OM。
FIG. 1 shows a block configuration of an information transmission device to which the present invention is applied, where 1 and 11 are information transmission devices, 12 is a transmission line that connects the information transmission devices 1 and 11, and 2 is a microcontroller that performs transmission control. Processor 3 is a ROM (read only memory) that stores the program of microprocessor 2
It stores a sending program, a receiving program, a response monitoring program, a received data discrimination program, an information gathering program, and the like. 4 is a monitoring data determination unit R, OM that stores the type of transmitted/received data and the number of transmitted/received data.

5は送受信モードを記憶する伝送モードRAM(ランダ
ムアクセスメモリ)、6は応答監視に使用する応答時間
監視RAM、7は送信データ14を格納するRAM、8
Fi受信データ15、応答データ16を格納するRAM
、9は情報伝送装置1゜11間の送信、受信、応答デー
タの入出力を行う入出力インターフェイス、17はマイ
クロプロセッサ2と各メモリ間を結ぶプライベイトバス
である。
5 is a transmission mode RAM (random access memory) that stores transmission and reception modes; 6 is a response time monitoring RAM used for response monitoring; 7 is a RAM that stores transmission data 14;
RAM that stores Fi reception data 15 and response data 16
, 9 is an input/output interface for transmitting, receiving, and inputting/outputting response data between the information transmission devices 1 and 11, and 17 is a private bus connecting the microprocessor 2 and each memory.

本発明による情報伝送方式はマイクロプロセッサ2によ
り行なわれ、一定周期で起動される情報収集プログラム
が信号伝送回路10を介して情報データ13を収集し、
送信データ格納RAM7にセットし送信条件が成立した
時、第2図に一例を示す送信プログラムを起動し、送信
プログラムが伝送モードR,AM5に送信モードをセッ
トし入出力インターフェイス9より、伝送回線12を介
して送信データを情報伝送装置11へ送信する。これと
同時に情報伝送装置11よりの、応答データを監視する
ために応答時間監視RAM6に監視時間をセットし、伝
送モードR,AMI応答モードに切換え第3図に一例を
示す応答監視プログラムを起動し、情報伝送装置11か
らの応答データの受信待ち状態となる。そして応答デー
タを入出力インターフェイス9を介して受信した時、情
報伝送装置1では入出力インターフェイス9よりの割込
みをプライベイトバス17f:介して、マイクロプロセ
ッサ2が認識し、第4図に一例を示す受信プログラムに
起動をかけ、データを取込み、第5図に一例を示す受信
データ判別プログラムを起動し、取込んだデータが、応
答データであれば、応答時間監視RAM6の監視時間を
クリアし、伝送モードRAM5をアイドルモードにし伝
送を終了する。また、予め設定された応答時間内に、応
答時間監視RAM6がクリアされない時には、応答時間
監視プログラム(第3図)がタイムアツプし、送信プロ
グラムに再送要求を発し、再度、送信データの送信処理
を行う。
The information transmission method according to the present invention is carried out by the microprocessor 2, and an information collection program activated at a constant cycle collects information data 13 via the signal transmission circuit 10,
When the transmission conditions are set in the transmission data storage RAM 7 and the transmission conditions are established, the transmission program, an example of which is shown in FIG. The transmission data is transmitted to the information transmission device 11 via. At the same time, in order to monitor response data from the information transmission device 11, a monitoring time is set in the response time monitoring RAM 6, the transmission mode R is switched to the AMI response mode, and a response monitoring program, an example of which is shown in FIG. 3, is started. , it enters a state of waiting for reception of response data from the information transmission device 11. When the response data is received via the input/output interface 9, the microprocessor 2 in the information transmission device 1 recognizes the interrupt from the input/output interface 9 via the private bus 17f, an example of which is shown in FIG. Start up the reception program, take in the data, start the received data discrimination program, an example of which is shown in FIG. The mode RAM 5 is set to idle mode and the transmission ends. Furthermore, if the response time monitoring RAM 6 is not cleared within the preset response time, the response time monitoring program (Fig. 3) times up, issues a retransmission request to the sending program, and performs the sending process of the sending data again. .

次に情報伝送装置11より受信データを受信した時は、
前記と同様に受信プログラムが起動され、受信データを
取込み伝送モードRAM5に受信モードをセットし、受
信データ判別プログラムが起動され、受信データと監視
データ判別ROM 4内のデータと順次照合し、正常で
あれば伝送モードR,AM5に送信モードをセットし送
信プログラムを起動し、応答データを返送し伝送モード
R,AM5をアイドルモードにし伝送を終了する。
Next, when receiving data is received from the information transmission device 11,
The reception program is started in the same way as above, takes in the received data and sets the reception mode in the transmission mode RAM 5, and the reception data discrimination program is started to sequentially compare the received data with the data in the monitoring data discrimination ROM 4 to determine whether the data is normal or not. If there is, the transmission mode is set to transmission mode R, AM5, the transmission program is started, response data is returned, transmission mode R, AM5 is set to idle mode, and the transmission ends.

第6図は、伝送状態遷移図であり、伝送モードR,AM
5に記憶される伝送モードの遷移を表わしている。ここ
で、SEDは送信モード、R,ECH受信モード、AN
Sは応答監視モード、IDはアイドルモードであり、次
の(1)〜(3)の遷移状態をとる。
FIG. 6 is a transmission state transition diagram, with transmission modes R, AM
5 represents the transition of the transmission mode stored in 5. Here, SED is transmission mode, R, ECH reception mode, AN
S is response monitoring mode, ID is idle mode, and the following transition states (1) to (3) are taken.

(1)送信データ送信から応答データ受信まで、ID→
21→8ED→22→ANS→23→REC→25→I
D (2)送信データ送信から再送要求発生まで、ID→2
1→SED→22→ANS→(応答監視タイムアツプ)
→28→5ED (3)受信データ受信から応答データ送信まで、ID→
24→REC→26→SED→27→D 第7図は、情報伝送時のタイムチャートを示し、■は従
来方式、(I3は本発明による情報伝送方式の場合であ
る。
(1) From sending data to receiving response data, ID→
21→8ED→22→ANS→23→REC→25→I
D (2) From sending data to generating retransmission request, ID → 2
1 → SED → 22 → ANS → (Response monitoring time up)
→28→5ED (3) From receiving data to sending response data, ID→
24→REC→26→SED→27→D FIG. 7 shows a time chart at the time of information transmission, where ■ is the conventional method and (I3 is the information transmission method according to the present invention).

第7図囚から明らかなように、従来方式は、伝送制御キ
ャラクタを使用し、複雑な伝送手順でデータD+ 、D
2を送り、伝送効率も悪いが、本発明によれば、同図■
に示すごとく、同じデータDt −D2を、情報データ
と応答データのみによって処理するので、伝送手順が簡
便となり、伝送効率を向上させている。
As is clear from Figure 7, the conventional method uses transmission control characters and performs complicated transmission procedures to transmit data D+, D.
Although the transmission efficiency is poor, according to the present invention, the same figure ■
As shown in FIG. 2, since the same data Dt-D2 is processed using only information data and response data, the transmission procedure is simplified and transmission efficiency is improved.

伺第1図のブロック図では、プログラム格納ROM3と
監視データ判別ROM4を独立)R,OMとして示して
いるが、これは、同一のROMを分割して使用しても良
い。また、R,AM5〜8もそれぞれ独立なRAMとし
て示しているが、これも、同一のRAMを分割して使用
できることは当然である。
In the block diagram of FIG. 1, the program storage ROM 3 and the monitoring data discrimination ROM 4 are shown as independent R and OM, but the same ROM may be divided and used. Further, although R and AM5 to AM8 are shown as independent RAMs, it is a matter of course that the same RAM can be divided and used.

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

第1図は本発明が適用される情報伝送装置のブロック図
、第2図〜第5図は本発明に用いられるプログラムのゼ
ネラルフローチャートを示し、第2図は、送信プログラ
ム、第3図は応答監視プログラム、第4図は受信プログ
ラム、第5図は受信データ判別プログラム、第6図は本
発明による情報伝送状態遷移図、・第7図は情報伝送時
の従来方式と本発明の伝送方式のタイムチャートを示し
たものである。 1.11・・・情報伝送装置、2・・・マイクロプロセ
ッサ、3・・・プログラム格納ROM、4・・・監視デ
ータ判別ROM、5・・・伝送モードR,AM、 6・
・・応答時間監視RAM、7・・・送信データ格納RA
M、8・・・受信データ格納R,AM、 9・・・入出
力インターフェ環2目 第4図 第5図 第6図 第7図 (A) ( (6)
FIG. 1 is a block diagram of an information transmission device to which the present invention is applied, FIGS. 2 to 5 are general flowcharts of a program used in the present invention, FIG. 2 is a transmission program, and FIG. 3 is a response The monitoring program, Figure 4 shows the receiving program, Figure 5 shows the received data discrimination program, Figure 6 shows the information transmission state transition diagram according to the present invention, and Figure 7 shows the conventional method for information transmission and the transmission method of the present invention. This shows a time chart. 1.11... Information transmission device, 2... Microprocessor, 3... Program storage ROM, 4... Monitoring data discrimination ROM, 5... Transmission mode R, AM, 6.
...Response time monitoring RAM, 7...Transmission data storage RAM
M, 8... Received data storage R, AM, 9... Input/output interface ring 2 Figure 4 Figure 5 Figure 6 Figure 7 (A) ((6)

Claims (1)

【特許請求の範囲】[Claims] 1、情報伝送装置を伝送回路を介して接続し、情報伝送
装置間で情報交換を行う場合の情報伝送方式において、
各情報伝送装置は、送信すべき情報データが発生した時
には、まず間合せなしに情報データを送信し、また、情
報データを受信した場合には、予め当該情報処理装置内
の記憶装置に記憶している情報データの種別と情報デー
タ数をもとに、正常な受信か各かを判別し、正常に受信
したとき応答データを返送するようにし、情報データを
送信した情報処理装置は、相手側情報伝送装置から応答
データを受信しない場合、情報データを再送するように
したことを特徴とする情報伝送方式。
1. In an information transmission method when information transmission devices are connected via a transmission circuit and information is exchanged between the information transmission devices,
When each information transmission device generates information data to be transmitted, it first transmits the information data without delay, and when receiving information data, it stores it in advance in the storage device within the information processing device. Based on the type of information data and the number of information data, it is determined whether the reception is normal or not, and when normal reception is received, response data is returned, and the information processing device that sent the information data is An information transmission method characterized in that when response data is not received from an information transmission device, information data is retransmitted.
JP56113458A 1981-07-22 1981-07-22 Information transfer system Pending JPS5815355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56113458A JPS5815355A (en) 1981-07-22 1981-07-22 Information transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56113458A JPS5815355A (en) 1981-07-22 1981-07-22 Information transfer system

Publications (1)

Publication Number Publication Date
JPS5815355A true JPS5815355A (en) 1983-01-28

Family

ID=14612743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56113458A Pending JPS5815355A (en) 1981-07-22 1981-07-22 Information transfer system

Country Status (1)

Country Link
JP (1) JPS5815355A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62155638A (en) * 1985-12-27 1987-07-10 Matsushita Graphic Commun Syst Inc Retransmission processor
JPS63185135A (en) * 1987-01-27 1988-07-30 Daikin Ind Ltd Data transmission system for air-conditioner
JPH06191475A (en) * 1992-06-23 1994-07-12 Sanyo Kaiun Kk Unloading device for wet powder/grain carrier
CN105373021A (en) * 2015-11-13 2016-03-02 苏州博众精工科技有限公司 Control method for intelligent manufacturing interface program system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62155638A (en) * 1985-12-27 1987-07-10 Matsushita Graphic Commun Syst Inc Retransmission processor
JPS63185135A (en) * 1987-01-27 1988-07-30 Daikin Ind Ltd Data transmission system for air-conditioner
JPH06191475A (en) * 1992-06-23 1994-07-12 Sanyo Kaiun Kk Unloading device for wet powder/grain carrier
CN105373021A (en) * 2015-11-13 2016-03-02 苏州博众精工科技有限公司 Control method for intelligent manufacturing interface program system

Similar Documents

Publication Publication Date Title
EP0369188B1 (en) Communications, information, maintenance diagnostic and training system
JP3118263B2 (en) Vending machine data collection device
JPS5815355A (en) Information transfer system
EP0115348B1 (en) Remote initialization of interconnected communications stations
JPH08106306A (en) Data transmitter
JP3073830B2 (en) Communication control device
JP3471653B2 (en) Data transmission equipment
JPS6158357A (en) Data communication system
JP2742944B2 (en) Transmission data transmission method in wireless control system and wireless control system using the same
JPH04833A (en) Method of monitoring status of device to be monitored
JPH04273738A (en) Supervisory and controlling equipment
JPS6326758A (en) Packet communication equipment by dynamic polling
JPH09204324A (en) Host state display system for monitoring terminal
JP2751505B2 (en) Remote control device
JPH05216793A (en) Device and method for communication control
JP3644984B2 (en) Process control device
JPS63164548A (en) Transmission equipment
JP3241612B2 (en) Data collection system
JPS6053348A (en) Data retransmission system in data transfer device
JPS633347B2 (en)
JPH04192746A (en) Device and method for transmitting data
JPH0342788A (en) Data gathering device
JPH06250958A (en) Information processor
JPS6153748B2 (en)
JPH08191317A (en) Method and device for data transmission