JPS58151743A - Polling system - Google Patents

Polling system

Info

Publication number
JPS58151743A
JPS58151743A JP3385382A JP3385382A JPS58151743A JP S58151743 A JPS58151743 A JP S58151743A JP 3385382 A JP3385382 A JP 3385382A JP 3385382 A JP3385382 A JP 3385382A JP S58151743 A JPS58151743 A JP S58151743A
Authority
JP
Japan
Prior art keywords
polling
stations
order
station
slave
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
JP3385382A
Other languages
Japanese (ja)
Inventor
Takashi Urata
浦田 敞
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 Ltd
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP3385382A priority Critical patent/JPS58151743A/en
Publication of JPS58151743A publication Critical patent/JPS58151743A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Abstract

PURPOSE:To ensure the uniform services to all stations, by changing a station address with which the polling is started for each polling period. CONSTITUTION:The slave work stations 1-8 are connected to a master work station 10 via a serial interface connecting cable 9. A processing buffer 11 is provided within the station 10 to accept an input request. The buffer 11 is shared by all stations. The queuing cases for the input request are increased for the station that receives services in the latter half of the polling. Therefore the polling is started from an SS8 for the 2nd polling period in case the polling is carried out in order of SS1-SS8 in the 1st polling period. Thus other stations are delayed by an order respectively. Hereafter the order is changed in the same way until the 8th polling in order to ensure the uniform services.

Description

【発明の詳細な説明】 発明の青電 本発明はポーリング方式に間し、特にマルチ・ドロップ
形式のシリアル・インタフェース制御方式によりマスタ
ー・ワークステーションが複数ノスレーブ・ワークステ
ーションを制御する場合におけるポーリングを均岬に行
うようにするポーリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The invention relates to a polling method, and particularly to a method for equalizing polling when a master workstation controls multiple slave workstations using a multi-drop serial interface control method. Concerning the polling method to be done on the Cape.

従来技術 従来のl−リング方式においては、ステージ璽ンアドレ
スの一番若い番号から順にポーリングする動作を繰り返
すという順番fi!定ポーリング方式が一般的である。
Prior Art In the conventional L-ring system, the polling operation is repeated in order from the lowest number of stage address. A fixed polling method is common.

しかしながら、1つのポーリング周期で全ステーション
に対して順番にポーリングした後、入力要求等の処理時
間としてインターバルをとり、次のポーリング周期で再
び同じ動作を繰り返すという、ソフトウェアでポーリン
グ誓ることを前提とするシステムにおいては、前述捗。
However, after polling all stations in order in one polling cycle, an interval is taken to process input requests, etc., and the same operation is repeated again in the next polling cycle. For systems that do this, the above-mentioned progress is made.

の如く、ステーションのポーリングの順番が固定されて
いる方式によるとポーリングの順番が後になるステーシ
ョン程、入力要求を受は付けるのが遅くなるため性能が
低下するという問題がある。
According to a system in which the polling order of stations is fixed, as shown in FIG.

特に、入力要求を受は入れる処理バッファの許容量に制
限があるシステムにおいては、一時的に前記処理バッフ
ァが空くまで待つ事態が生ずることがあり、この場合に
は待ち時間が大きくなり、極端なサービス低下を来たす
という重大な問題となる0 これを解決するために、ステーション対応に常時、多く
の処理バッファを用意することも考えられるが、これは
メモリの使用効率が非常に悪くなるという別の問題を生
ずることになる。また、場合によっては、このような十
分な量の処理バッファを用意できないシステムもあり、
現実的には無理なケースが多い。
In particular, in systems where there is a limit to the capacity of the processing buffer that accepts input requests, a situation may arise in which the processing buffer temporarily becomes free, and in this case, the waiting time increases and becomes extremely In order to solve this problem, it is possible to always prepare a large number of processing buffers for stations, but this has another problem, which is that memory usage becomes very inefficient. This will cause problems. Additionally, in some cases, systems may not be able to provide such a large enough processing buffer.
In reality, there are many cases where this is impossible.

発明の目的 本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来のポーリング方式に。
Purpose of the Invention The present invention has been made in view of the above circumstances, and its purpose is to replace the conventional polling method.

おける上述の如き問題を解消し、すべてのステーション
に対するサービスをMill化するようなポーリング方
式を提供することにある。
The object of the present invention is to provide a polling method that solves the above-mentioned problems and mills services for all stations.

本発明の要点は、ポーリング周期(全ステーションに対
して順番にポーリングする動作の時間周期)ごとに、ポ
ーリングを開始するステーション・アドレスを変化させ
る点にあり、より具体的には、その回のポーリング周期
において後位にサー・ビスを受けたステーションが、次
回ポーリング屑、・期では前位にサービスを受ける如く
ソフトウェアで制御し、全ステージ璽ンのサービスを均
等化する点にある。
The key point of the present invention is to change the station address at which polling is started every polling cycle (time cycle of polling all stations in order). The point is that the station that received service later in the cycle is controlled by software so that it receives service earlier in the next polling period, thereby equalizing the service for all stages.

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

発明の実施例とその効果 第1図は本発明の一実施例を示すプ四ツタ図である。本
実施例においては、8台のスレーブ・ワークスチーシロ
ン1〜8がシリアル・インタフェース接続ケーブル9に
より、マスター・ワークステーション10に接続されて
いる。入力要求を受は入れるための処理バッファ11は
、マスター・ステーションlO内に用意されている。
Embodiment of the invention and its effects FIG. 1 is a four-point diagram showing an embodiment of the invention. In this embodiment, eight slave workstations 1 to 8 are connected to a master workstation 10 by a serial interface connection cable 9. A processing buffer 11 for receiving input requests is provided within the master station IO.

第2図はスレーブ・ワークステーションに対してポーリ
ング周期ごとに変化するポーリングの順番を示す図であ
り、881〜888はスレーブ・ワークステーション1
〜8に対応している。
FIG. 2 is a diagram showing the polling order that changes for each polling cycle for slave workstations, and 881 to 888 are slave workstations 1
It corresponds to 8.

マスター・ワークスチーシロン1oがスレーブ・ワーク
ステーション1〜8にポーリングする過程においては、
入力要求が発生すると該、要求を処理バッファ11に取
り込み、処理終了後、次の要求に備えて、前記処理バッ
ファ11を解放する処理方式を採っている。前記処理バ
ッファ11は全ステーションで共有する構成となってい
るので、ポーリングの後半でサービスを受けるステージ
曹ンは入力要求が待たされることが多くなる。そこで、
本実施例においては、第2図に示す如く、ステーション
対応のサービスを、その回のポーリング周期で一番最後
にサービスを受けたステーションが、次回ポーリング周
期では、最初にサービスを受けるという如く変化させ、
ステージ四ン台数分のポーリング周期の単位で、全ステ
ーションに対するサービスが均等化されるようにした。
In the process of master workstation 1o polling slave workstations 1 to 8,
When an input request occurs, the request is taken into the processing buffer 11, and after the processing is completed, the processing buffer 11 is released in preparation for the next request. Since the processing buffer 11 is configured to be shared by all stations, input requests are often made to wait for stage stations that receive service in the latter half of polling. Therefore,
In this embodiment, as shown in FIG. 2, the station-based services are changed such that the station that received the service last in the current polling cycle will receive the service first in the next polling cycle. ,
Service to all stations is now equalized in units of polling cycles equal to the number of stages.

第2図に示す如<、#61回のポーリング周期において
S S l −!−S S 8の順にポーリングした場
合、第2回のポーリング周期においては、第1回で最後
にポーリングしたSSBからポーリングを開始し・、他
のステーションは第1回、に対してポーリングの順番が
それぞれ1つ後にまわされる。以降、第8回まで同様に
順番を変化させて行き、8回を1つ・の単位として全ス
テーションに対してのサービスを均等化するものである
As shown in FIG. 2, in #61 polling cycles, S S l -! - If polling is performed in the order of S S 8, in the second polling cycle, polling will start from the SSB that was polled last in the first cycle, and other stations will be polled in the same order as in the first cycle. Each is passed one step later. Thereafter, the order is changed in the same way up to the 8th time, and services to all stations are equalized with 8 times being one unit.

第3図に本実施例装置におけるプログラム処理7胃−チ
ャードを示した。第3図から明らかな如く、1つのポー
リング周期は、ポーリング・チー。
FIG. 3 shows the program processing of seven stomachs and chards in the apparatus of this embodiment. As is clear from FIG. 3, one polling cycle is a polling cycle.

プルの開始ポインタにより指示されるスレーブ・ステー
ジ渭ンからスタートして1巡した後、ポーリング・テー
ブルの開始ポインタを更新(この場合、最後にポーリン
グしたステーション・アドレスに更新)して終る。
After one cycle starting from the slave stage indicated by the pull start pointer, the start pointer of the polling table is updated (in this case, it is updated to the last polled station address) and the process ends.

なお、上記実施例においては、第1回のポーリング周期
において最後にサービスを受けたステーションが、第J
!回のボーリングmuにおいて最初にサービスを受ける
如く、1個ずつ順位が変化する例を示したが、順位を変
化させるステーションの数は1個に限られるものではな
い。
Note that in the above embodiment, the station that last received service in the first polling cycle is
! Although an example has been shown in which the rankings change one by one, such as being the first station to receive service in a bowling mu, the number of stations whose rankings are changed is not limited to one.

また、上記実施例においては、ステーションのサービス
順序変更の制御を、プ四グラム制御によって行う例を示
したが、これは論理回路の組合せによって行うことも可
能であり、本発明はそのような実施態様をも含むことは
明らかである。
Further, in the above embodiment, an example was shown in which the change of station service order is controlled by four-gram control, but this can also be done by a combination of logic circuits, and the present invention is applicable to such an implementation. It is clear that the term also includes aspects.

発明の効果 以上述べた如く、本発明によれば、シリアル・インタフ
ェースl11m方式により1台のマスター・ワークステ
ーションが複数台のスレーブ・ワークステーションを制
御するワークステーション・システムのポーリング方式
において、ある回のポーリング周期で後位にサービスを
受けたステーションを、次回のポーリング周期では前位
にポーリングする如く制御するようにしたので、全ステ
ーションに対するサービスが均等化されることになり・
、全ステーションの性能の平均化を達成するとともに、
必要最小限のメモリ容量による処理バッファの共有化を
も達成することができるという顕著な効果を奏するもの
である。
Effects of the Invention As described above, according to the present invention, in the polling method of a workstation system in which one master workstation controls a plurality of slave workstations using the serial interface l11m method, Since stations that received service later in the polling cycle are controlled to be polled earlier in the next polling cycle, service to all stations is equalized.
, while achieving the average performance of all stations,
This has the remarkable effect that it is possible to share a processing buffer using the minimum necessary memory capacity.

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

第1図は本発明の一実施例を示すワークステーション・
システムのブロック図、第2図はスレーブ・ワークステ
ーションに対してポーリング周期ごとに変化するポーリ
ングの順番を示す図、第3図は処理フローチャートであ
る。 1〜♂ニスレープ・ワークステーション、9ニジリアル
・インタフェース接続ケーブル、lO:マスター・ワー
クステーション、118処理バツフア、g1〜24:処
理ステップ、25:ポーリング拳テーブル、26:開始
ポインタ。 特許出願人  株式金社 日立製作所 第 11゛〈 第2図
FIG. 1 shows a workstation illustrating an embodiment of the present invention.
FIG. 2 is a block diagram of the system, FIG. 2 is a diagram showing the polling order that changes for each polling cycle for slave workstations, and FIG. 3 is a processing flowchart. 1 to ♂ Nislepe workstation, 9 real interface connection cable, lO: master workstation, 118 processing buffer, g1 to 24: processing step, 25: polling fist table, 26: start pointer. Patent applicant Kinsha Co., Ltd. Hitachi, Ltd. No. 11゛〈 Fig. 2

Claims (2)

【特許請求の範囲】[Claims] (1)シリアル・インタフェース制御方式により1台の
マスター拳ワークステージ冒ンカ複数台ノスレーブ・ワ
ークステーションを制御するポーリング方式において、
前記複数台のスレーブ・ワークステーションに対応して
設けたポーリング・テーブルのポインタを更新すること
により、前記複数1台のスレーブ・ワークステーション
に対するポーリングを、ある回のポーリング周期におし
1て後位にサービスを受けたスレーブ拳ワークステージ
■ンを次回のポーリング周期においては前位にサービス
する如く制御することを特徴とするボー1】ンダ方式。
(1) In a polling method that controls one master workstage and multiple slave workstations using a serial interface control method,
By updating the pointer of the polling table provided corresponding to the plurality of slave workstations, polling of the plurality of slave workstations is performed in a certain polling cycle, and the polling is performed one after another. This method is characterized in that the slave fist work stage which has been serviced is controlled so that it is serviced in the previous position in the next polling cycle.
(2)前記スレーブ・ワークステーションに対するポー
リングを、ある圓のポーリング周期におし蔦て最後位に
サービスを受けたスレーブ・ワークステーションを次回
のポーリング周期におし1て番ま最前位にサービスする
如く制御することを特徴とする特許請求の範S第1項記
載のポーリング方式。
(2) The polling of the slave workstations is repeated in a certain polling cycle, and the slave workstation that was serviced at the end is placed in the next polling cycle, and then the slave workstation is serviced at the top. A polling method according to claim S, characterized in that the polling method is controlled as follows.
JP3385382A 1982-03-05 1982-03-05 Polling system Pending JPS58151743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3385382A JPS58151743A (en) 1982-03-05 1982-03-05 Polling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3385382A JPS58151743A (en) 1982-03-05 1982-03-05 Polling system

Publications (1)

Publication Number Publication Date
JPS58151743A true JPS58151743A (en) 1983-09-09

Family

ID=12398059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3385382A Pending JPS58151743A (en) 1982-03-05 1982-03-05 Polling system

Country Status (1)

Country Link
JP (1) JPS58151743A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4575846A (en) * 1982-10-08 1986-03-11 Canon Kabushiki Kaisha Data communication system
JPS62147834A (en) * 1985-12-23 1987-07-01 Matsushita Electric Works Ltd Time division multiplex transmission system
JPS62147835A (en) * 1985-12-23 1987-07-01 Matsushita Electric Works Ltd Time division multiplex transmission system
JPS62235839A (en) * 1986-03-26 1987-10-16 タンデム コンピユ−タ−ズ インコ−ポレ−テツド Changeable i/o priority selector
JPH01292930A (en) * 1988-05-20 1989-11-27 Fujitsu Ltd Priority system for polling
JPH03209944A (en) * 1989-05-19 1991-09-12 Omron Corp Communication network system by fuzzy control
JP4846966B2 (en) * 2000-09-29 2011-12-28 フレニ・ブレンボ エス・ピー・エー Vehicle hydraulic pumps that can be controlled by a handlebar

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4575846A (en) * 1982-10-08 1986-03-11 Canon Kabushiki Kaisha Data communication system
JPS62147834A (en) * 1985-12-23 1987-07-01 Matsushita Electric Works Ltd Time division multiplex transmission system
JPS62147835A (en) * 1985-12-23 1987-07-01 Matsushita Electric Works Ltd Time division multiplex transmission system
JPH0746806B2 (en) * 1985-12-23 1995-05-17 松下電工株式会社 Time division multiplex transmission system
JPH0746807B2 (en) * 1985-12-23 1995-05-17 松下電工株式会社 Time division multiplex transmission system
JPS62235839A (en) * 1986-03-26 1987-10-16 タンデム コンピユ−タ−ズ インコ−ポレ−テツド Changeable i/o priority selector
JPH01292930A (en) * 1988-05-20 1989-11-27 Fujitsu Ltd Priority system for polling
JPH088577B2 (en) * 1988-05-20 1996-01-29 富士通株式会社 Polling priority method and data transmission device
JPH03209944A (en) * 1989-05-19 1991-09-12 Omron Corp Communication network system by fuzzy control
JPH0771094B2 (en) * 1989-05-19 1995-07-31 オムロン株式会社 Communication network system
JP4846966B2 (en) * 2000-09-29 2011-12-28 フレニ・ブレンボ エス・ピー・エー Vehicle hydraulic pumps that can be controlled by a handlebar

Similar Documents

Publication Publication Date Title
US4630224A (en) Automation initialization of reconfigurable on-line automatic test system
JPS58151743A (en) Polling system
JPS586177B2 (en) Interface circuit selection system
JPS61131057A (en) Serial i/o system
JPH05282242A (en) Bus control system
JP3680446B2 (en) Pipeline control device and data processing method
JPH01192239A (en) Polling system in communication circuit
JPS59204341A (en) Communication system
JPS60168240A (en) Interrupt processing circuit
JPS60204062A (en) Multidata processing system
JPS63137346A (en) Buffer control system for data transfer
JPS6330951A (en) Data transfer system for communication control processor
JPH03265953A (en) Down load control system for control program to terminal equipment
JPH0476655A (en) Edition request scheduling system
JPS60205654A (en) On-line processing system
JP2002222161A (en) Semiconductor device, and method of transferring data
JPS61152136A (en) Method for accomodating terminal with high speed
JPH01256248A (en) Hierarchical protocol parallel processor
JPH0830437A (en) Computer performing arithmetic processing for variable length data
JPS59205848A (en) Priority control system
JPH10505925A (en) Bus allocation system for DSP processor
JPS59144261A (en) Display control system for attendant board incoming
JPH0734189B2 (en) Multiple data input / output control circuit
JPS6150325B2 (en)
JPS59119994A (en) Inter-processor communication system