JPH01180657A - Control system for timer circuit - Google Patents
Control system for timer circuitInfo
- Publication number
- JPH01180657A JPH01180657A JP63004022A JP402288A JPH01180657A JP H01180657 A JPH01180657 A JP H01180657A JP 63004022 A JP63004022 A JP 63004022A JP 402288 A JP402288 A JP 402288A JP H01180657 A JPH01180657 A JP H01180657A
- Authority
- JP
- Japan
- Prior art keywords
- time
- signal
- sent
- terminal device
- timer
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概要〕
上位装置と下位装置間においてデータ送信を行った後に
送信される応答信号が送信されるまでの時間を計時する
計時回路に関し、
一つの計時回路で複数の時間を計時可能とすることを目
的とし、
上位装置が下位装置に対してデータを送信した後、下位
装置から上位装置に対して応答信号が送信されるまでの
時間を計時し、計時時間を越えるとタイムアツプ信号を
下位装置に対して発信する計時回路を有するシステムで
あって、計時回路の計時時間を上位装置が送出する制御
信号の種類に従って計時時間を設定する計時時間制御部
を設け、制御信号の内容に応じて計時回路の計時時間を
変化させることを特徴とする。[Detailed Description of the Invention] [Summary] This invention relates to a timing circuit that measures the time until a response signal is transmitted after data is transmitted between a higher-level device and a lower-level device. The purpose of this system is to measure the time from when a higher-level device sends data to a lower-level device until a response signal is sent from the lower-level device to the higher-level device, and when the measured time is exceeded, This system has a clock circuit that sends a time-up signal to a lower-level device, and includes a clock time control section that sets the clock time of the clock circuit according to the type of control signal sent by the higher-level device. It is characterized by changing the clock time of the clock circuit depending on the content.
本発明は上位装置と下位装置間においてデータ送信を行
った後に送信される応答信号が送信されるまでの時間を
計時する計時回路に関する。The present invention relates to a timing circuit that measures the time until a response signal is transmitted after data is transmitted between a host device and a lower device.
ここで、本発明を適用するためのシステムを第4図及び
第5図のタイムチャートに基づいて説明する。Here, a system for applying the present invention will be explained based on the time charts of FIGS. 4 and 5.
−iのデータ伝送システムは、最初にCPU 1から端
末装置2に対して呼び出し信号(アドレスアウト)を送
出し、端末装置2では例えばオペレータ等がキーボード
等から(オペレーショナルイン)その読み出し信号に対
して対処可能であるならば、その旨、信号(アドレスイ
ン)を送出する。その後、CPU 1からコントローラ
21を介して接続されている端末装置2に対して、今か
らデータを送出する旨の信号(コマンドアウト)を送出
する。端末装置2側はこの信号を受信してデータ受信可
能状態であるならば、コマンドアウト信号を断とし、そ
の旨の信号(ステータスイン)をCPU 1に対して返
送する。これによって、CPU 1と端末装置2間での
データ送受信網(ステータス)が確定されるわけである
が、この後、CPU 1は再度端末装置2に対してサー
ビスアウト信号を送出し、この信号のスキューを考慮し
て予め決められた一定の時間内(この時間は任意にタイ
マにセット可能である)にデータを端末装置2に対して
送信する。端末装置2側ではデータの受信が終了すると
、CPU1にその旨の信号(サービスイン)を送出する
。-i's data transmission system first sends a call signal (address out) from the CPU 1 to the terminal device 2, and in the terminal device 2, for example, an operator or the like responds to the read signal from the keyboard (operational in). If it can be handled, a signal (address in) is sent to that effect. Thereafter, the CPU 1 sends a signal (command out) to the terminal device 2 connected via the controller 21 to the effect that data is about to be sent. If the terminal device 2 receives this signal and is ready to receive data, it cuts off the command out signal and returns a signal to that effect (status in) to the CPU 1. This establishes the data transmission/reception network (status) between the CPU 1 and the terminal device 2, but after this, the CPU 1 again sends a service out signal to the terminal device 2, and this signal is Data is transmitted to the terminal device 2 within a predetermined fixed time (this time can be arbitrarily set in a timer) taking skew into account. When the terminal device 2 side finishes receiving the data, it sends a signal to that effect (service in) to the CPU 1.
この様にすることにより、CPU 1と端末装置2間の
データ送受信が終了する。CPU 1が更に端末装置2
に対して送出するデータがあれば、再度サービスアウト
信号を端末装置2に送出する。By doing this, data transmission and reception between the CPU 1 and the terminal device 2 is completed. CPU 1 is further connected to terminal device 2
If there is data to be sent to the terminal device 2, the service out signal is sent to the terminal device 2 again.
尚、コントローラ21はタイマ40を用い、上述の予め
決められた一定の時間(データ量によって異なる時間)
内にデータの送受信が行われているか否か監視するもの
である一方、複数種の制御信号が正常に送受信行われて
いるか否かの監視を行なうものである。Note that the controller 21 uses a timer 40 to determine the above-mentioned predetermined period of time (time that varies depending on the amount of data).
It monitors whether data is being transmitted and received within the system, and it also monitors whether a plurality of types of control signals are being transmitted and received normally.
従来、計時回路(以下、タイマと称す)の制御方式は第
6図に示す様に、予め少なくとも制御信号数分だけCP
U l内にチャネル1a−1〜nを設けておく。(即ち
、制御信号数とチャネル数は1対1の関係である)CP
UIは端末装置2と制御信号COの送受信を行って所望
のデータの通信をデータ線DTLを用いコントローラ2
1を介して行なうわけであるが、通常は端末装置2にコ
ントローラ21を介して制御信号COの送受信を行なう
一方、端末装置2からCPU 1に対して送信される応
答信号の時間監視を行なうタイマ3−1〜nにも送出さ
れる。ここでは端末装置2からCPU 1に対して返送
される制御信号の着信時間を、タイマの持つ時間内に応
答通知されるか否かを監視し、例えばタイマ3−1が持
つ時間内に端末装置2から制御信号が着信されない場合
は、端末装置2に対してタイマ3−1がタイムアツプ信
号TUを送出していた。Conventionally, the control method for a time measurement circuit (hereinafter referred to as a timer) is to control the CP by at least the number of control signals in advance, as shown in Fig. 6.
Channels 1a-1 to 1a-n are provided in U1. (In other words, the number of control signals and the number of channels have a one-to-one relationship) CP
The UI sends and receives control signals CO to and from the terminal device 2, and communicates desired data to the controller 2 using the data line DTL.
Normally, the control signal CO is sent and received to the terminal device 2 via the controller 21, and at the same time, a timer is used to monitor the time of the response signal sent from the terminal device 2 to the CPU 1. It is also sent to 3-1 to 3-n. Here, the arrival time of the control signal sent back from the terminal device 2 to the CPU 1 is monitored to see if a response is notified within the time set by the timer. When the control signal is not received from the terminal device 2, the timer 3-1 sends a time-up signal TU to the terminal device 2.
然しなから従来のタイマの制御方式では、一つのタイマ
で一つの値を計時しているので、タイマが計時する値が
複数になるとそれに伴ってタイマが増加せねばならない
ため、タイマの設置スペースが大きくなり、且つコスト
高となってしまうという問題点があった。However, in the conventional timer control method, one timer measures one value, so if the number of values measured by the timer increases, the number of timers must increase accordingly, which requires less space for installing the timer. There were problems in that the size and cost were high.
従って本発明はかかる問題点を改善すると共に、一つの
計時回路で複数の時間を計時可能とすることを目的とす
るものである。Therefore, it is an object of the present invention to solve these problems and to enable a single clock circuit to measure multiple times.
このため本発明は第1図に示す如く、計時時間制御部4
により計時回路3の計時時間を上位装置1が送出する制
御信号COの種類に従って設定することにより、上記目
的を達成できる。Therefore, as shown in FIG.
The above object can be achieved by setting the clock time of the clock circuit 3 according to the type of control signal CO sent by the host device 1.
〔作用]
以上の如く構成することにより本発明では、予じめ計時
時間制御部4で上位装置lから送出される複数種の制御
信号COに対応付けてそれぞれ異なる計時時間を設定し
ているために、制御信号COが計時時間制御部4に送出
されるとその都度、計時時間を変化させることにより、
一つの計時回路3で複数の値を計時することが可能とな
る。[Operation] With the above configuration, in the present invention, different clock times are set in advance in the clock time control section 4 in association with a plurality of types of control signals CO sent from the host device l. By changing the clocking time each time the control signal CO is sent to the clocking time control section 4,
It becomes possible to measure a plurality of values with one clock circuit 3.
以下、本発明の一実施例を第2図及び第3図を用いて詳
細に説明する。Hereinafter, one embodiment of the present invention will be described in detail using FIGS. 2 and 3.
第2図は本発明の一実施例であり、第3図は本発明が適
用されるタイマの構成図である。FIG. 2 shows one embodiment of the present invention, and FIG. 3 is a configuration diagram of a timer to which the present invention is applied.
まず、CPU 1がチャネルl a −A −nを介し
て制御信号COを送出し、送出された制御信号COは三
分岐して第1はコントローラ21を介して端末装置2に
通知し、第2はOR回路25及びデイレイタイマ24を
介してタイマ3°に通知し、第3はラッチ回路26を介
してタイマ3“に通知する。具体的に説明すると、第1
の制御信号CO通知では端末装置2に対する呼び出し等
の制御信号の送受信を行ない、第2の制御信号CO通知
ではタイマ3゛(詳細には第3図明記のノモステーブル
マルチバイプレータ30)に対してトリガをかけ、第3
の制御信号CO通知で制御信号COの種類に従って予じ
め設定されている計時定数をデコードする(ここで論理
的にはラッチ回路26は必要としないが時間的な調節の
ために回路中に接続される)のものである。このデコー
ダ23は初期時にどの制御信号COが通知されたらどの
MOSスイッチを選択するかを予じめ決定付けしておく
。First, the CPU 1 sends out a control signal CO via channels l a -A -n, and the sent control signal CO is divided into three branches, the first one is sent to the terminal device 2 via the controller 21, and the second one is sent to the terminal device 2 via the controller 21. is notified to the timer 3° via the OR circuit 25 and the delay timer 24, and the third is notified to the timer 3'' via the latch circuit 26. To explain specifically, the first
In the control signal CO notification, a control signal such as a call is sent to and received from the terminal device 2, and in the second control signal CO notification, the control signal is sent to and received from the timer 3 (specifically, the NOMOStable multivibrator 30 shown in FIG. 3). Apply the trigger and press the third
The control signal CO notification is used to decode a preset time constant according to the type of control signal CO (logically, the latch circuit 26 is not required here, but it is connected in the circuit for time adjustment). ). This decoder 23 determines in advance which MOS switch will be selected when which control signal CO is notified at the initial stage.
例えば前例に従って説明すると、アドレスアウトの場合
にはMOSスイッチ22−1を選択する様にしておき、
ステータスインの場合には?lOSスイッチ22−2を
選択する様にしておく。本発明におけるタイマ3′はモ
ノステーブルマルチバイブレーク30と、この時定数を
設定するためのMOSスイッチ22−1〜n、抵抗R1
””n+及びコンデンサCにより構成されているために
、このCR(特に抵抗値)を自由にセレクトすることに
より種々な計時時間を調整できる。そして従来と同様に
、設定した時間内で端末装置2から応答信号がCPU
1に対して着信されない場合は、タイマ3゛(直接はモ
ノステーブルマルチパイプレータ30)から端末装置2
に対してタイムアツプ信号TOを送出する。尚、該設定
した時間内に端末装置2から応答信号がCPU 1に対
して着信された場合は、タイマ3”(詳細にはモノステ
ーブルマルチバイブレーク30)をリセットするもので
ある。For example, to explain according to the previous example, in the case of address out, MOS switch 22-1 is selected,
What about status in? The OS switch 22-2 is selected. The timer 3' in the present invention includes a monostable multi-by-break 30, MOS switches 22-1 to 22-n for setting the time constant, and a resistor R1.
Since it is composed of "" n+ and a capacitor C, various clock times can be adjusted by freely selecting this CR (especially resistance value). Then, as in the past, a response signal is sent from the terminal device 2 to the CPU within the set time.
If the call is not received for terminal device 1, timer 3' (directly from monostable multipipulator 30) sends a call to terminal device 2.
A time-up signal TO is sent to the Incidentally, if a response signal is received from the terminal device 2 to the CPU 1 within the set time, the timer 3'' (more specifically, the monostable multi-bye break 30) is reset.
尚、タイムアツプ信号TOが端末装置2に対して通知さ
れると一定時間をもってコントローラ21からタイマ3
゛(詳細には第3図明記のモノステーブルマルチハイブ
レーク30)に対してリセット信号が通知されタイムア
ツプ信号TOがリセットされる。Note that when the time-up signal TO is notified to the terminal device 2, the controller 21 starts the timer 3 after a certain period of time.
A reset signal is notified to the monostable multi-high break 30 (specifically, the monostable multi-high break 30 shown in FIG. 3), and the time-up signal TO is reset.
更に、?’lOSスイッチ22−1−nには常時、電源
Vが供給され続けているものである。Furthermore? The power supply V is constantly supplied to the OS switch 22-1-n.
以上説明した様に本発明によって、一つの計時回路で複
数の値を計時可能となることにより、計時回路を複数個
不必要としないため、計時回路の設置スペースを縮小で
き、且つコスト的に安となる。As explained above, the present invention makes it possible to time multiple values with one timekeeping circuit, thereby eliminating the need for multiple timekeeping circuits, reducing the installation space for the timekeeping circuit, and reducing costs. becomes.
第1図は本発明の原理図を示し、第2図は本発明の一実
施例を示し、第3図はタイマの構成図を示し、第4図は
本発明を適用するためのシステム図を示し、第5図は第
4図における動作説明用タイムチャートを示し、第6図
は従来のブロック図を示すものである。
図において、
1−−−−−−−−−一上位装置(CP U) + 1
a−1〜n −−−−−−−・−チャネル、2−・−
・・・−下位装置(端末装置) 、 3−−−−−−
−−−−計時回路(タイマ)+ 4−・−・−計時定
数制御部。
21−一−−−−−−−−コントローラ、 23−−−
−−−−−・−デコーダ、 24−−・−・−デイレイ
・タイマ、 25−−−−−−−−・−OR回路、26
・・・−一ラッチ回路、30・−−−−−一−・−ノモ
ステープルマルチバイブレーク、 CO−・−・−−−
−−・−制御信号、 TU−−−−−−−−・・−タイ
ムアツプ信号をそれぞれ示す。
タイマ簾ハ゛図
第3図Fig. 1 shows a principle diagram of the present invention, Fig. 2 shows an embodiment of the invention, Fig. 3 shows a configuration diagram of a timer, and Fig. 4 shows a system diagram for applying the present invention. 5 shows a time chart for explaining the operation in FIG. 4, and FIG. 6 shows a conventional block diagram. In the figure, 1----------1st-level unit (CPU) + 1
a-1~n -----------・-channel, 2-・-
...-lower device (terminal device), 3--------
----Clock circuit (timer) + 4-・-・-Time constant control section. 21-1------ Controller, 23---
-------・-Decoder, 24--・--・-Delay timer, 25----------OR circuit, 26
...-1 latch circuit, 30・-----1--・-NOMO staple multi-by-break, CO-・--・--
--- Control signal, TU --- Indicates time-up signal, respectively. Timer screen diagram Figure 3
Claims (1)
信した後、該下位装置(2)から該上位装置(1)に対
して応答信号が送信されるまでの時間を計時し、計時時
間を越えるとタイムアップ信号TUを該下位装置(2)
に対して発信する計時回路(3)を有するシステムであ
って、 前記計時回路(3)の計時時間を前記上位装置(1)が
送出する制御信号COの種類に従って計時時間を設定す
る計時時間制御部(4)を設け、該制御信号COの内容
に応じて前記計時回路(3)の計時時間を変化させるこ
とを特徴とする計時回路の制御方式[Claims] After the higher-level device (1) transmits data to the lower-level device (2), until the response signal is sent from the lower-level device (2) to the higher-level device (1). The time is measured, and when the measured time is exceeded, a time-up signal TU is sent to the lower device (2).
A system comprising a clock circuit (3) that transmits a signal to a clock, the system comprising: a clock time control system that sets the clock time of the clock circuit (3) according to the type of control signal CO sent by the host device (1); A control method for a timekeeping circuit, characterized in that a part (4) is provided, and the time measured by the timekeeping circuit (3) is changed according to the content of the control signal CO.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63004022A JPH01180657A (en) | 1988-01-12 | 1988-01-12 | Control system for timer circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63004022A JPH01180657A (en) | 1988-01-12 | 1988-01-12 | Control system for timer circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01180657A true JPH01180657A (en) | 1989-07-18 |
Family
ID=11573338
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63004022A Pending JPH01180657A (en) | 1988-01-12 | 1988-01-12 | Control system for timer circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01180657A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0440340U (en) * | 1990-07-26 | 1992-04-06 | ||
| JP2006268309A (en) * | 2005-03-23 | 2006-10-05 | Seiko Epson Corp | Image forming apparatus and communication data processing method therein |
-
1988
- 1988-01-12 JP JP63004022A patent/JPH01180657A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0440340U (en) * | 1990-07-26 | 1992-04-06 | ||
| JP2006268309A (en) * | 2005-03-23 | 2006-10-05 | Seiko Epson Corp | Image forming apparatus and communication data processing method therein |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR920003300A (en) | Electronic device connection device | |
| AU575281B2 (en) | Packet and circuit switched communications network | |
| JPH0561826B2 (en) | ||
| JPH03121549A (en) | State control system for channel device | |
| JPS6116641A (en) | Automatic multiplex delay system | |
| JPS6340079B2 (en) | ||
| JPH0740702B2 (en) | Remote test circuit | |
| JPS5866494A (en) | Multiplex transmission system | |
| JP3516152B2 (en) | Synchronization establishing device | |
| JPS6374239A (en) | Data transmission equipment | |
| JPH01251999A (en) | Data transmission system | |
| JPS6118245A (en) | Data transfer system | |
| JPS6394394A (en) | Controller for master slave type vending machine | |
| JPH0716193B2 (en) | Power-off detection method for modulator / demodulator | |
| JPH0746805B2 (en) | Time division multiplex transmission system | |
| JPH0783511B2 (en) | Remote monitoring controller | |
| JPS61287358A (en) | Communication control equipment | |
| JPH0253158A (en) | Remote data sampling system | |
| JPS60246154A (en) | Network control unit | |
| JPS62147835A (en) | Time division multiplex transmission system | |
| JPH07118718B2 (en) | Group communication method | |
| JPH05244667A (en) | Centralized monitoring device | |
| JPH0514375A (en) | Communication speed setting system for control system | |
| JPS63122991A (en) | Load control system | |
| JPH05143483A (en) | Reset control system |