JP4061535B2 - Communications system - Google Patents

Communications system Download PDF

Info

Publication number
JP4061535B2
JP4061535B2 JP2002351393A JP2002351393A JP4061535B2 JP 4061535 B2 JP4061535 B2 JP 4061535B2 JP 2002351393 A JP2002351393 A JP 2002351393A JP 2002351393 A JP2002351393 A JP 2002351393A JP 4061535 B2 JP4061535 B2 JP 4061535B2
Authority
JP
Japan
Prior art keywords
reception
zero
flip
counter
signal
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
JP2002351393A
Other languages
Japanese (ja)
Other versions
JP2004186981A (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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2002351393A priority Critical patent/JP4061535B2/en
Publication of JP2004186981A publication Critical patent/JP2004186981A/en
Application granted granted Critical
Publication of JP4061535B2 publication Critical patent/JP4061535B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明はFA分野等で用いられる通信システムに関する。
【0002】
【従来の技術】
例えば、特許文献1の分散形数値制御装置では一斉放送の信号で伝送路に接続された分散型数値制御装置の同期化を行うものである。
この場合、HDLCのデータフォーマットを用いると、ゼロインサーションで伝送の時間が変わるので、例えば特許文献2の通信システムでは受信開始から最大長のタイマーを作り、受信完了の信号が来てから同期信号を発生させていた。この方式は送るバイト数が変わると一々設定しなければならず、かつタイマーが長いものになる。
【0003】
【特許文献1】
特公平6−19661号公報
【特許文献2】
特許2985276号公報(第4−5頁、図4)
【0004】
【発明が解決しようとする課題】
本発明は上記課題を解決するためになされたものであり、伝送バイト数に関係なく同期出力を得ることが可能な通信システムを提供することを目的とする。
【0005】
【課題を解決するための手段】
上記問題を解決するために、本発明は、HDLCのデータフォーマットを用いた通信システムにおいて、前記通信システムは、受信シーケンス回路(1)とゼロデリート回路(2)とフリップフロップとカウンター(3)を有しており、前記受信シーケンス回路(1)はアドレスが一致すると受信開始信号を出力し、該フリップフロップのクリアと前記カウンター(3)に1Hのセットをし、また、受信完了すると受信完了信号を出力し該フリップフロップのセットをするものであり、前記ゼロデリート回路(2)はゼロを除去するとデリート信号を出力し前記カウンター(3)のカウントアップをするものであり、前記カウンタ ( ) は該フリップフロップのセットによりゼロデリートされた個数分のデータが増えた値からカウントを始め、FHになると同期信号を出力し、該フリップフロップをクリアするものであることを特徴としている、
【0006】
【発明の実施の形態】
図1はHDLCのデータフォーマットを示す、PF、F以外の部分はデータに1が5個連続すると0が挿入され、受信側は1が5個連続した後の0は除去する、これは公知である。0が挿入され除去された通信では後ろのFで受信完了を出力すると受信開始からバイト長が同じでもデータによりばらつく事は明白である。本発明に於いては受信完了から、ある時間を置いて同期信号を発生させるものであるが、この時間からゼロデリートされた時間を減じて同期信号とする。図2は本発明の回路である、受信シーケンス回路1はアドレスが一致すると受信開始信号を出力フリップフロップをクリアし、カウンター3に1Hをセットする、受信シーケンスの中でゼロデリート回路2がゼロを除去すると、デリート信号を出力しカウンター3はカウントアップする、受信完了で受信シーケンス回路が出力した信号でフリップフロップがセットされ、カウンター3は1Hからゼロデリートされた個数分のデータが増えた値からカウントを始め、FHになると同期信号/INTを出力しフリップフロップをクリアーする、この/INT信号は常に受信開始から一定となるのは明白である。
【0007】
【発明の効果】
僅かなハードウエアーの追加だけで伝送バイト数に関係ない同期出力を得ることが出きる。
【図面の簡単な説明】
【図1】本発明のHDLCのデータフォーマットを示す。
【図2】本発明の回路である。
【符号の説明】
1 受信シーケンス回路
2 ゼロデリート回路
3 カウンター
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication system used in the FA field and the like.
[0002]
[Prior art]
For example, the distributed numerical control device disclosed in Patent Document 1 synchronizes a distributed numerical control device connected to a transmission line with a broadcast signal.
In this case, if the HDLC data format is used, the transmission time changes with zero insertion. For example, in the communication system of Patent Document 2, a maximum length timer is created from the start of reception, and the synchronization signal is received after the reception completion signal is received. Was generated. This method must be set one by one when the number of bytes to be sent changes, and the timer becomes long.
[0003]
[Patent Document 1]
Japanese Patent Publication No. 6-19661 [Patent Document 2]
Japanese Patent No. 2985276 (page 4-5, FIG. 4)
[0004]
[Problems to be solved by the invention]
The present invention has been made to solve the above-described problems, and an object thereof is to provide a communication system capable of obtaining a synchronous output regardless of the number of transmission bytes.
[0005]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides a communication system using an HDLC data format, wherein the communication system includes a reception sequence circuit (1), a zero delete circuit (2), a flip-flop, and a counter (3). The reception sequence circuit (1) outputs a reception start signal when the addresses coincide with each other, clears the flip-flop and sets the counter (3) to 1H. The zero delete circuit (2) outputs a delete signal when the zero is removed and counts up the counter ( 3 ). The counter ( 3 ) Starts counting from the value where the data for the number of zero deleted by the flip-flop set has increased, When it becomes FH, it outputs a synchronization signal and clears the flip-flop.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows the HDLC data format. In the parts other than PF and F, 0 is inserted when 5 consecutive 1s are in the data, and the receiving side removes 0 after 5 consecutive 1s. is there. It is obvious that in the communication in which 0 is inserted and removed, if reception completion is output at the subsequent F, even if the byte length is the same from the start of reception, it varies depending on the data. In the present invention, a synchronization signal is generated after a certain period of time from completion of reception. The time zero-deleted is subtracted from this time to obtain a synchronization signal. FIG. 2 shows a circuit according to the present invention. When the address matches, the reception sequence circuit 1 clears the reception start signal from the output flip-flop and sets 1H to the counter 3. The zero delete circuit 2 sets zero in the reception sequence. When the signal is removed, the delete signal is output and the counter 3 counts up. When the reception is completed, the flip-flop is set by the signal output from the reception sequence circuit. The count starts, and when it becomes FH, the synchronization signal / INT is output and the flip-flop is cleared. It is clear that this / INT signal is always constant from the start of reception.
[0007]
【The invention's effect】
Synchronous output regardless of the number of transmitted bytes can be obtained with a little additional hardware.
[Brief description of the drawings]
FIG. 1 shows an HDLC data format of the present invention.
FIG. 2 is a circuit of the present invention.
[Explanation of symbols]
1 Reception sequence circuit 2 Zero delete circuit 3 Counter

Claims (1)

HDLCのデータフォーマットを用いた通信システムにおいて、
前記通信システムは、受信シーケンス回路(1)とゼロデリート回路(2)とフリップフロップとカウンター(3)を有しており、
前記受信シーケンス回路(1)はアドレスが一致すると受信開始信号を出力し、該フリップフロップのクリアと前記カウンター(3)に1Hのセットをし、また、受信完了すると受信完了信号を出力し該フリップフロップのセットをするものであり、
前記ゼロデリート回路(2)はゼロを除去するとデリート信号を出力し前記カウンター(3)のカウントアップをするものであり、
前記カウンタ ( ) は該フリップフロップのセットによりゼロデリートされた個数分のデータが増えた値からカウントを始め、FHになると同期信号を出力し、該フリップフロップをクリアするものであることを特徴とする通信システム
In a communication system using the HDLC data format,
The communication system includes a reception sequence circuit (1), a zero delete circuit (2), a flip-flop, and a counter (3).
The reception sequence circuit (1) outputs a reception start signal when the addresses match, clears the flip-flop and sets 1H to the counter (3), and outputs a reception completion signal when the reception is completed. Set
The zero delete circuit (2) outputs a delete signal when zero is removed, and counts up the counter (3).
The counter ( 3 ) starts counting from the value where the data corresponding to the number of zero deleted by the set of flip-flops has increased, outputs a synchronization signal when it becomes FH, and clears the flip-flop. A communication system .
JP2002351393A 2002-12-03 2002-12-03 Communications system Expired - Fee Related JP4061535B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002351393A JP4061535B2 (en) 2002-12-03 2002-12-03 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002351393A JP4061535B2 (en) 2002-12-03 2002-12-03 Communications system

Publications (2)

Publication Number Publication Date
JP2004186981A JP2004186981A (en) 2004-07-02
JP4061535B2 true JP4061535B2 (en) 2008-03-19

Family

ID=32753325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002351393A Expired - Fee Related JP4061535B2 (en) 2002-12-03 2002-12-03 Communications system

Country Status (1)

Country Link
JP (1) JP4061535B2 (en)

Also Published As

Publication number Publication date
JP2004186981A (en) 2004-07-02

Similar Documents

Publication Publication Date Title
US20190089615A1 (en) Indirect packet classification timestamping system and method
DE69916047D1 (en) Terminal and method for transmitting data packets over radio frames
EP0986202A3 (en) Enhancements to time synchronization in distributed systems
JP2000224136A5 (en)
EP0430050A2 (en) Asynchronous priority select logic
JP4061535B2 (en) Communications system
SE9900305D0 (en) A method of synchronizing communications means in a battery to communications means in an electronic device, an apparatus, and a battery
JP5528257B2 (en) System and method for detecting multiple timing masters in a network
EP1023788A4 (en) Bi-directional communications protocol
US7050518B1 (en) Data transmission method
JP3085448B2 (en) Communications system
CN107810495B (en) UART with wire activity detector
JP2000286892A (en) Radio communication system and transmitter and receiver used for the system
EP3812912B1 (en) Method of synchronizing a receiver of a synchronous serial communication system for a receiving process of a data frame of a predefined frame size from the synchronous serial communication system, receiver, transmitter and system
CN111181677B (en) Time synchronization method, network device and storage medium
JP3368160B2 (en) Synchronization recovery method and apparatus in data transmission system
JP3559840B2 (en) Super frame synchronization signal generation circuit
JP4075155B2 (en) Data transmission method for digital audio data
JPH03258132A (en) Communication terminal equipment
JPH0456545A (en) Time synchronization control system
JP3420178B2 (en) Network-dependent synchronization of electronic exchanges
KR100330414B1 (en) Ranging Circuit for PON salve system
KR100226665B1 (en) The remote alarm apparatus for t1 network in packet communication system
JPH0313147A (en) Frame converting circuit for asynchronous/synchronous interface
EP1113612A2 (en) Transmission of additional data in a SDH network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071012

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071212

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150111

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees