JPS60206242A - Communicating method - Google Patents

Communicating method

Info

Publication number
JPS60206242A
JPS60206242A JP59061715A JP6171584A JPS60206242A JP S60206242 A JPS60206242 A JP S60206242A JP 59061715 A JP59061715 A JP 59061715A JP 6171584 A JP6171584 A JP 6171584A JP S60206242 A JPS60206242 A JP S60206242A
Authority
JP
Japan
Prior art keywords
response
preamble
timer
command
communication
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
JP59061715A
Other languages
Japanese (ja)
Inventor
Toshio Ogawa
敏夫 小川
So Akai
赤井 創
Koji Demachi
公二 出町
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 Hokushin 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 Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP59061715A priority Critical patent/JPS60206242A/en
Publication of JPS60206242A publication Critical patent/JPS60206242A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Abstract

PURPOSE:To reduce the time loss on a serial transmission packet exchange type communication by transmitting the preamble of a response frame continuously at a reception side until the receiver response message of a command is set up, and monitoring the arrival of the response frame through a timer at a transmission side. CONSTITUTION:A communication line interface LIF sends and receives data through a communication line and an internal bus interface part BIF sends and receive data to and from the data processing part in a station. The preamble is provided at the head of the response frame R1, the response message rm comes next, and a postamble po is provided at the tail. A slave station once receiving the command starts sending the preamble mechanically and firstly regardless of the contents of the command. A master station sets a proper time limit value in the timer on the basis of a time tp and then decides whether there is a response or not. The time limit value of the timer is settable to an irreducible necessary value.

Description

【発明の詳細な説明】 く技術分野〉 水元1すJは、シリアル伝送パケット交換方式の通信に
於iプる通信方法の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] Mizumoto, J., relates to an improvement in a communication method in serial transmission packet switching communication.

この種の通信に於いては、マスターステーションとスレ
ーブステーション、あるいはその両方の機能を有り−る
ステーションが複数白油(f線によって接続され、マス
ターステーションが、スレーブステーションの1つに対
してコマンドフレームを送信し、スレーブステーション
はマスターステーションに対してレスポンスフレームを
返信するようになっている。マスターステーションは、
コマンドフレームを送信すると、タイマーによってスレ
ーブステーションからのレスポンスフレームの到着を監
視し、通信異常の有無を判定している。
In this type of communication, stations that have the functions of a master station, a slave station, or both are connected by white oil (F) wires, and the master station sends a command frame to one of the slave stations. The slave station sends a response frame back to the master station.The master station
When a command frame is sent, a timer monitors the arrival of a response frame from the slave station to determine whether there is a communication abnormality.

スレー1ステーシヨンが返信するレスポンスフレームと
しては、単なるレスポンスとデータイ」きレスポンスと
があり、後者の方がデータの準備を必要とするだけ、レ
スポンスの返信に時間がかかる。
There are two types of response frames that the SLE 1 station sends back: a simple response and a data-ready response, and the latter requires data preparation and therefore takes more time to return the response.

〈従来例〉 このような2種類のレスポンスが混在する場合、その到
着をタイマーによって監視するためには、タイマーの時
限値をデータ付きレスポンスの予想される最大の返信時
間に合せて定めるか、コマンドが指定したレスポンスの
種類に応じてタイマーの時限値を別々に定めることが行
われるが、データ付きレスポンスの予想される最大の返
信時間に合せて定めることは、レスポンスのすべてがデ
ータ付きレスポンスであるとは限らないことにより時間
のロスが太き(、また、コマンドの内容に応じてタイマ
ーの時限値を決めることは、マスターステーションにお
9ノる通信制御を複雑にする。
<Conventional Example> When these two types of responses coexist, in order to monitor their arrival using a timer, either set the timer's time limit to match the expected maximum response time of the response with data, or Although the time limit value of the timer is determined separately depending on the type of response specified by In addition, determining the time limit value of the timer according to the contents of the command complicates communication control at the master station.

〈[1的〉 本発明の目的は、タイマーによってレスポンスの返信時
間を監視するとき、時間のロスが少なく、かつ、マスタ
ーステーションに於G)る通信の制御が簡単になる通信
方法を提供することにある。
[Object 1] An object of the present invention is to provide a communication method that reduces time loss and makes it easy to control communication at a master station when monitoring response return times using a timer. It is in.

〈要点〉 本発明は、 シリアル伝送パケット交換方式の通信に於いて、受信側
は、コマンドの受信後レスポンスメツセージの1ltW
ができるまでレスポンスフレームのプリアンプルの送信
を続け、送信側は、コマンドの送信後タイマーによって
レスポンスフレームの到着を監視することを特徴とする
通信方式 によって上記の1コ的を達成したものである。
<Key Points> In serial transmission packet switching communication, the receiving side receives the 1ltW response message after receiving the command.
One of the above objectives has been achieved using a communication method characterized in that the preamble of the response frame continues to be transmitted until the command is completed, and the transmitting side monitors the arrival of the response frame using a timer after transmitting the command.

〈実施例〉 以下、実施例によって本発明の詳細な説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to Examples.

第1図は本発明が適用される通信系の概念図、第2図は
通信ステーションの要部の概念図、第3図は本発明実施
例に於ける通信遷移図、第4図は本発明実施例の動作説
明図である。
Fig. 1 is a conceptual diagram of a communication system to which the present invention is applied, Fig. 2 is a conceptual diagram of main parts of a communication station, Fig. 3 is a communication transition diagram in an embodiment of the present invention, and Fig. 4 is a conceptual diagram of the present invention. FIG. 3 is an explanatory diagram of the operation of the embodiment.

く構成〉 第1図に於いて、81.82.S3・・・は通信ステー
ションであって、通信ラインしによって接続され、いず
れか1つがマスターステーションとなり、他がスレーブ
ステーションとなるものである。
Configuration> In Figure 1, 81.82. S3... are communication stations connected by communication lines, one of which serves as a master station and the others serve as slave stations.

各通信ステーションS1は、第2図のような通信制御部
を持ち、通信ラインLとステーション内のデータ処理部
とのコミュニケーションを司どる。
Each communication station S1 has a communication control section as shown in FIG. 2, and controls communication between the communication line L and the data processing section within the station.

第2図に於いて、LIFは通信ラインインターフェイス
部、BIFは内部バスインターフェイス部、CNTは制
御部である。通信ラインインター7丁イスLIFは通信
ラインLに対するデータの授受を行い、内部バスインタ
ーフェイスBIFは、ステーション内のデータ処理部に
対するデータの授受を行う。制御部CNTはそれらイン
ターフエイスの動作を制御し、所定の手順に基づく通信
を実行する。制御部CNTは、マイクロプログラムを有
するファームウェア等によって構成される。
In FIG. 2, LIF is a communication line interface section, BIF is an internal bus interface section, and CNT is a control section. The communication line interface LIF sends and receives data to and from the communication line L, and the internal bus interface BIF sends and receives data to and from the data processing section in the station. The control unit CNT controls the operations of these interfaces and executes communication based on predetermined procedures. The control unit CNT is configured by firmware having a microprogram.

通信の手順は、第3図の状態遷移図に示される。The communication procedure is shown in the state transition diagram of FIG.

第3図に於いて、(a)はマスターステーションの状態
遷移図、(b)はスレーブステーションの状態遷移図で
ある。
In FIG. 3, (a) is a state transition diagram of the master station, and (b) is a state transition diagram of the slave station.

マスターステーションの状態遷移としては、送信準備1
11IN送信2m、応答持ち3m、プリアンプル゛受信
4m、応答受信5m、ポストアンブル受1言6IIlが
ある。
The state transition of the master station is transmission preparation 1
11 IN transmission length: 2m, response length: 3m, preamble reception: 4m, response reception: 5m, postamble reception: 1 word, 6IIl.

スレーシステーションの状態遷移としては、受信待ち1
s、受信28.応答準備3sq応答4s。
The state transition of the Threshi station is waiting for reception 1
s, reception 28. Response preparation 3sq Response 4s.

応答終了5Sがある。There is a response end 5S.

マスターステーションの送信2Ilは、スレーブステー
ションの受信待ち1Sから受(= 28への遷移の条件
となる。マスターステーションの応答持ち3mは、スレ
ーブステーションの受信2Sから応?t4Wa3sへの
遷移の条件となる。スレーブステーションの応答準備3
Sは、マスターステーションの応答持ち31からプリア
ンプル受信4mへの遷移の条件となる。スレーブステー
ションの応答45は、マスターステーションのプリアン
プル受信4mから応答受信5Illへの遷移の条件にな
る。
The master station's transmission 2Il is a condition for the slave station's transition from reception waiting 1S to reception (= 28).The master station's response hold 3m is a condition for the slave station's transition from reception 2S to response?t4Wa3s. .Slave station response preparation 3
S is a condition for transition from the master station's response hold 31 to preamble reception 4m. The slave station's response 45 becomes a condition for transition from the master station's preamble reception 4m to response reception 5Ill.

スレーブステーションの応答終了5Sは、マスクステー
ションの応答受信51からポストアンブル受信6mへの
遷移の条件となる。
The slave station's response end 5S is a condition for transition from the mask station's response reception 51 to postamble reception 6m.

レスポンスフレームは、レスポンスメツセージの前後に
プリアンプルとボストアンプルをそれぞれ付加したもの
として構成される。そして、スレーブステーションの応
答準備3Sでプリアンプルの送信が行われ、応答4Sで
レスポンスメツセージの送信が行われ、応答終了5Sで
ポストアンブルの送信が行われる。プリアンプルの送信
は、コマンドフレームの受信を終了すると直ちに始めら
れ、レスポンスメツセージの準備が整うまで続りられる
。マスタステーションは、応答持ち3mでタイマーを設
定してプリアンプルの到着を持ら、タイムアツプ以前に
プリアンプルが到着したときは、プリアンプル受信4m
に遷移づるが、タイムアツプしたときは、通信異常と判
断して送信準備1mに遷移する。
The response frame is configured by adding a preamble and a postampule before and after the response message. Then, in response preparation 3S of the slave station, a preamble is transmitted, a response message is transmitted in response 4S, and a postamble is transmitted in response end 5S. Transmission of the preamble begins immediately upon completion of reception of the command frame and continues until the response message is ready. The master station sets a timer with a response time of 3 m to notify the arrival of the preamble, and if the preamble arrives before time-up, the preamble is received at 4 m.
However, when the time-up occurs, it is determined that there is a communication error and the transition is made to 1m of preparation for transmission.

〈動作〉 このように構成された本発明の実施例の動作は次の通り
である。動作説明図を第4図に示す。
<Operation> The operation of the embodiment of the present invention configured as described above is as follows. An explanatory diagram of the operation is shown in FIG.

マスターステーションがコマンドフレームC1を送(g
 =l−ると、スレーブステーションはそれに対してレ
スポンスフレームR1を返す。
The master station sends a command frame C1 (g
=l-, the slave station returns a response frame R1 in response.

レスポンスフレームR1の最初はプリアンプルprであ
り、次がレスポンスメツセージ「mであり、最後がポス
トアンブルpOである。スレーブステーシコンは、コマ
ンドを受信するとその内容にかかわらず、機械的に先ず
プリアンプルの送信を開始するので、マスターステーシ
ョンがコマンドフレームC1の送信を終えてからレスポ
ンスフレームR1を受信するまでの時間tpは、通信系
の構成によって定まり、コマンドやレスポンスの内容に
無関係なほぼ一定の値となる。プリアンプルp「は、レ
スポンスメツセージの準備ができるまで続くので、ぞの
長さは一定せず、例えば、レスポンスフレームR2のよ
うに長くなることもあるが、プリアンプルが到@する時
間tpは変らない。そこで、マスターステーションでは
、時間tpを基準にして適切な時限値をタイマーに設定
することにより、レスポンスの異常の有無を判定するこ
とができる。
The first part of the response frame R1 is the preamble pr, the next part is the response message "m, and the last part is the postamble pO. When the slave station controller receives a command, it automatically first reads the preamble, regardless of its contents. Therefore, the time tp from when the master station finishes transmitting the command frame C1 until it receives the response frame R1 is determined by the configuration of the communication system and is a nearly constant value that is unrelated to the content of the command or response. Since the preamble p continues until the response message is ready, the length of the preamble p is not constant.For example, it may be longer as in response frame R2, but the time when the preamble arrives tp does not change. Therefore, in the master station, by setting an appropriate time limit value in the timer based on time tp, it is possible to determine whether there is an abnormality in the response.

タイマーの時限値はスレーブステーションにおけるレス
ポンスメツセージの準備時間に無関係に必要最小限の値
に選ぶことができるので、従来のように時間のロスが生
じない。また、タイマーの時限値は一種類でよいから、
マスターステーションに於ける通信制御は簡単になる。
Since the time limit value of the timer can be selected to be the minimum necessary value regardless of the response message preparation time at the slave station, no time loss occurs as in the conventional case. Also, since only one type of timer value is required,
Communication control at the master station is simplified.

く効果〉 以上のように、本発明によれば、タイマーによってレス
ポンスの返信時間を監視するとき、時間のロスが少なく
、かつ、マスターステーションに於ける通信の制御が簡
単になる通信方法が実現できる。
Effects> As described above, according to the present invention, it is possible to realize a communication method in which there is little time loss and communication control at the master station is easy when monitoring the response response time using a timer. .

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

第1図は、本発明が適用される通信系の概念図、第2図
は、第1図の通信ステーションの要部の概念図、 第3図は、本発明実施例の状態遷移図、第4図は、本発
明実施例の動作説明図である。 Sl、82.S2・・・通信ステーションL・・・通信
ライン LIF・・・通信ラインインターフェイス部BIF・・
・内部バスインターフェイス部CNT・・・制御部 C1,C3・・・コマンドフレーム 1−< 1 、 R2・・・レスポンスフレーム11r
・・・ブリシアンプル rm・・・メツセージ 110・・・ポストアンブル 第1図 爪2図
FIG. 1 is a conceptual diagram of a communication system to which the present invention is applied, FIG. 2 is a conceptual diagram of main parts of the communication station in FIG. 1, and FIG. 3 is a state transition diagram of an embodiment of the present invention. FIG. 4 is an explanatory diagram of the operation of the embodiment of the present invention. Sl, 82. S2...Communication station L...Communication line LIF...Communication line interface section BIF...
- Internal bus interface unit CNT...Control units C1, C3...Command frame 1-<1, R2...Response frame 11r
...British ampule rm...Message 110...Postamble Figure 1 Nail Figure 2

Claims (1)

【特許請求の範囲】[Claims] シリアル伝送パケット交換方式の通信に於いて、受信側
は、コマンドの受信後レスポンスメツセージの準備がで
きるまでレスポンスフレームのプリアンプルの送信を続
け、送信側は、コマンドの送信後タイマーによってレス
ポンスフレームの到着を監視り−ることを特徴とする通
(i方式。
In serial transmission packet-switched communication, the receiving side continues to send the preamble of the response frame after receiving the command until the response message is ready, and the sending side uses a timer to detect the arrival of the response frame after sending the command. The i-method is characterized by the ability to monitor
JP59061715A 1984-03-29 1984-03-29 Communicating method Pending JPS60206242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59061715A JPS60206242A (en) 1984-03-29 1984-03-29 Communicating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59061715A JPS60206242A (en) 1984-03-29 1984-03-29 Communicating method

Publications (1)

Publication Number Publication Date
JPS60206242A true JPS60206242A (en) 1985-10-17

Family

ID=13179197

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59061715A Pending JPS60206242A (en) 1984-03-29 1984-03-29 Communicating method

Country Status (1)

Country Link
JP (1) JPS60206242A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0736869A2 (en) * 1995-04-04 1996-10-09 Matsushita Electric Industrial Co., Ltd. Method and apparatus for recording digital signal and drum unit for recording FM audio signal and digital signal
KR100297395B1 (en) * 1992-12-28 2001-10-24 이데이 노부유끼 Communication method
JP2007128436A (en) * 2005-11-07 2007-05-24 Yokogawa Electric Corp Field communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58104546A (en) * 1981-12-16 1983-06-22 Yokogawa Hokushin Electric Corp Data communication controlling system
JPS58181366A (en) * 1982-04-15 1983-10-24 Matsushita Graphic Commun Syst Inc Facsimile communication system
JPS592470A (en) * 1982-06-28 1984-01-09 Ricoh Co Ltd Packet communicating system
JPS59205846A (en) * 1983-05-09 1984-11-21 Canon Inc Data transmission control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58104546A (en) * 1981-12-16 1983-06-22 Yokogawa Hokushin Electric Corp Data communication controlling system
JPS58181366A (en) * 1982-04-15 1983-10-24 Matsushita Graphic Commun Syst Inc Facsimile communication system
JPS592470A (en) * 1982-06-28 1984-01-09 Ricoh Co Ltd Packet communicating system
JPS59205846A (en) * 1983-05-09 1984-11-21 Canon Inc Data transmission control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100297395B1 (en) * 1992-12-28 2001-10-24 이데이 노부유끼 Communication method
EP0736869A2 (en) * 1995-04-04 1996-10-09 Matsushita Electric Industrial Co., Ltd. Method and apparatus for recording digital signal and drum unit for recording FM audio signal and digital signal
EP0736869A3 (en) * 1995-04-04 1997-03-05 Matsushita Electric Ind Co Ltd Method and apparatus for recording digital signal and drum unit for recording FM audio signal and digital signal
US5949598A (en) * 1995-04-04 1999-09-07 Matsushita Electric Industrial Co., Ltd. Method and apparatus for recording digital signal and drum unit for recording FM audio signal and digital signal
US6125001A (en) * 1995-04-04 2000-09-26 Matsushita Electric Industrial Co., Ltd. Method and apparatus for recording digital signal and drum unit for recording FM audio signal and digital signal
JP2007128436A (en) * 2005-11-07 2007-05-24 Yokogawa Electric Corp Field communication system

Similar Documents

Publication Publication Date Title
JPS63199540A (en) Method and equipment for transmitting data
EP0115348B1 (en) Remote initialization of interconnected communications stations
JPS60206242A (en) Communicating method
KR940008103B1 (en) Lan controller
US20230403735A1 (en) Message Transmission Method, Terminal and Storage Medium
JPS6236940A (en) Data communication equipment in automobile
JP2574796B2 (en) Communication control device
JPS5828979B2 (en) Data frame transmission method
JPH0537559Y2 (en)
JPS5843646A (en) Information transfer system
JP3460502B2 (en) Serial transmission system
JPH07193616A (en) Packet transmission method
JP2945200B2 (en) Data transmission method
JPH0741231Y2 (en) Data transmission system
JPS5974749A (en) Protocol converting system of ring bus
JPS6332317B2 (en)
JPS62160835A (en) Data transmission system
JPH01220544A (en) Cyclic transmission system
JPS61150435A (en) Transmission control system
JPS63207238A (en) Data communication system
JPH01252046A (en) Link layer control system
JPS60254949A (en) Data transmission system
JPS60117846A (en) Data transmission system
JPH0355064B2 (en)
JPH0246059A (en) Busy signal transmitting system in no 7 signal device having tuning function