JPH05128036A - Method for setting up polling table - Google Patents

Method for setting up polling table

Info

Publication number
JPH05128036A
JPH05128036A JP3318487A JP31848791A JPH05128036A JP H05128036 A JPH05128036 A JP H05128036A JP 3318487 A JP3318487 A JP 3318487A JP 31848791 A JP31848791 A JP 31848791A JP H05128036 A JPH05128036 A JP H05128036A
Authority
JP
Japan
Prior art keywords
setting
polling
slave
ecrs
polling table
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
JP3318487A
Other languages
Japanese (ja)
Inventor
Toshio Azuma
敏雄 東
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP3318487A priority Critical patent/JPH05128036A/en
Publication of JPH05128036A publication Critical patent/JPH05128036A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To set up all slave machines in polling bits corresponding to the set number of slave machines and to reset machines succeeding the inputted number of slave machines by setting up the number of plural slave machines connected to a control machine through a common like in a polling table. CONSTITUTION:Electronic cash registers (ECRs) consist of a control station ECR 10 and plural slave station ECRs 11 and the slave station ECRs 11 are connected to the control station ECR 10 through common like 12. A CPU 13 executes various processing based upon a program stored in a ROM 14. A RAM 15 to be used for recording/reading out necessary data has a polling table. A polling table setting program for setting up all slave station ECRs 11 to driven states and setting up slave stations of driving ECRs 11 to driven states and setting up slave stations in polling bits succeeding the input of units to undriven states is prepared. Consequently the setting of the polling table can simply be executed within a short time and the slave stations can easily be managed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、伝送制御手順におけ
るデータリンクの確立方法の1つであるポーリング方式
であって、ポーリングテーブルに従属機の、例えば、稼
動・非稼動を設定するようなポーリングテーブルの設定
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a polling method, which is one of the methods for establishing a data link in a transmission control procedure, in which a slave, for example, active / inactive is set in a polling table. Regarding the setting method of the table.

【0002】[0002]

【従来の技術】例えば、スーパーマーケットにおいて使
用されるECR(電子金銭登録機)は20台あるいは3
0台といった多数がレジに設置されるが、常時全台数が
稼動されるものではなく、利用客の閑散時にはその内の
少数台が稼動される。このような場合、通常はECRの
1つを制御局とし、その他のECRを従属局として、制
御局のECRにはポーリングテーブルを設け、これに従
属局ECRの稼動・非稼動を設定して全体のECRの稼
動を群管理するように設けている。しかし、上述のポー
リングテーブルの設定は、制御局ECRがポーリングテ
ーブルの各ポーリングビット(各従属局ECRのアドレ
スのエリア)に各従属局ECRの稼動または非稼動をセ
ットする必要があるので、前述のように従属局ECRが
20台または30台あれば、その台数分繰返セットしな
ければならない。そのためセットに時間がかかり、また
セットが大変煩わしいという問題点を有する
2. Description of the Related Art For example, there are 20 or 3 ECRs (electronic cash register) used in supermarkets.
Many, such as 0, are installed at the cash register, but not all are operated all the time, and a small number of them are operated when the number of customers is low. In such a case, usually one of the ECRs is used as a control station, the other ECRs are used as dependent stations, and a polling table is provided in the ECR of the control station. It is provided to manage the ECR operation of the group. However, the above-mentioned setting of the polling table requires the control station ECR to set each polling bit (address area of each subordinate station ECR) of the polling table to enable or disable each subordinate station ECR. If there are 20 or 30 dependent station ECRs, it is necessary to repeat the setting for that number. Therefore, there is a problem that it takes time to set and it is very troublesome to set.

【0003】。[0003].

【発明が解決しようとする課題】この発明は、上述のポ
ーリングテーブルのセットを短時間で簡単にすることが
できるポーリングテーブルの設定方法の提供を目的とす
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide a polling table setting method capable of simplifying the above-described polling table setting in a short time.

【0004】[0004]

【課題を解決するための手段】この発明は、ポーリング
テーブルを備えた制御機に対して共通回線で複数の従属
機を接続し、前記ポーリングテーブルに各従属機のセッ
ト・リセットを設定するポーリングテーブルであって、
前記ポーリングテーブルにセットする従属機の台数を入
力し、この台数が入力されたとき、この台数までのポー
リングビットにある従属機の全てをセットし、上記入力
台数よりも以降のポーリングビットの従属機をリセット
するポーリングテーブルの設定方法であることを特徴と
する。
SUMMARY OF THE INVENTION According to the present invention, a polling table for connecting a plurality of subordinate machines to a controller having a polling table via a common line and setting or resetting each subordinate machine in the polling table. And
Input the number of subordinate machines to be set in the polling table, and when this number is input, set all the subordinate machines in the polling bits up to this number, and the subordinate machines of the polling bits subsequent to the input number Is a method of setting a polling table for resetting the.

【0005】[0005]

【発明の効果】この発明のポーリングテーブルの設定方
法によれば、例えば、30台ある従属機の内の15台の
稼動を希望する場合であれば、稼動台数の15台を入力
すると、この台数までのポーリングビットにある従属機
の全てをセットすると共に、16台目以降のポーリング
ビットの全ての従属機をリセットすることになり、従っ
て、ポーリングテーブルのセットは上述例のように15
台のセット台数を入力する操作の1回で済み、セットが
簡単で短時間にでき、従属機の群管理が容易となる。
According to the polling table setting method of the present invention, for example, if it is desired to operate 15 of the 30 subordinate machines, if 15 of the operating machines is input, this machine will be used. All the slaves in the polling bits up to are set, and all the slaves in the 16th and subsequent polling bits are reset. Therefore, the polling table is set to 15 as in the above example.
Only one operation is required to input the number of units to be set, the setting can be done easily and in a short time, and the group management of the subordinate machines becomes easy.

【0006】[0006]

【実施例】この発明の一実施例を以下図面に基づいて詳
述する。図面はスーパーマーケットで使用されるECR
(電子検銭登録機)におけるポーリングテーブルの設定
を示し、図1において、ECRは1台の制御局ECR1
0と複数台の従属局ECR11…とからなり、複数台の
従属局ECR11…は共通回線12によって制御局EC
R10に接続している。図2は上述の制御局ECR10
の制御回路を示し、CPU13はROM14に格納され
たプログラムによって各種処理を実行し、RAM15は
必要なデータの記録および読出しを実行する他に、ポー
リングテーブルを有し、キーボード16は金銭の登録の
他に、ポーリングテーブルの設定入力を行ない、インタ
フェース17は共通回線12を介して他の従属局ECR
11…と接続する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. Drawings are ECR used in supermarket
The setting of the polling table in the (electronic money checker) is shown in FIG. 1, and ECR is one control station ECR1.
0 and a plurality of dependent stations ECR11 ..., The plurality of dependent stations ECR11.
It is connected to R10. FIG. 2 shows the control station ECR10 described above.
The CPU 13 executes various processes according to programs stored in the ROM 14, the RAM 15 executes recording and reading of necessary data, has a polling table, and the keyboard 16 registers money. Then, the polling table is set and input, and the interface 17 sends another dependent station ECR via the common line 12.
11 ... is connected.

【0007】上述のポーリングテーブルの設定におい
て、上述のROM14のプログラムにはポーリングテー
ブルの設定において、従属局ECR11の稼動台数を入
力したとき、この台数までのポーリングビットにある従
属局ECR11の全てを稼動に設定し、上述の入力台数
よりも以降のポーリングビットの従属局ECR11を非
稼動に設定するポーリングテーブルの設定プログラムを
備えている。
In the above-mentioned polling table setting, when the operating number of dependent stations ECR11 is entered in the above-mentioned program of the ROM 14 in the polling table setting, all the dependent stations ECR11 in the polling bits up to this number are operated. , And a polling table setting program for setting the dependent stations ECR11 of the polling bits subsequent to the above-mentioned input number to non-operation.

【0008】図3は、前述のRAM15内に設定される
ポーリングテーブルを示し、ポーリングビットは1つの
アドレス、例えば、アドレスaに8ビットb0〜b7有
し、各ビットにECR10,11…が割り当てられる。
例えば、制御局ECR10が1位で、続いて2位以降に
従属局ECR11…を割り当て、しかもこの従属局EC
R11…に追番1,2,3…のように順位を設定する
と、この順位に沿ってポーリングビットの順位が割り当
てられ、この実施例では64ビットを備えている。
FIG. 3 shows the polling table set in the RAM 15 described above. The polling bit has one address, for example, 8 bits b0 to b7 at the address a, and ECRs 10, 11 ... Are assigned to the respective bits. ..
For example, the control station ECR10 is assigned the first place, and subsequently the dependent stations ECR11 ...
When the order is set to R11 ... Like the serial numbers 1, 2, 3 ..., the order of polling bits is assigned along this order, and in this embodiment, 64 bits are provided.

【0009】上述のように構成したポーリングテーブル
の設定を図4に基づいて詳述すると、上述のポーリング
テーブルの設定はキーボード16から周知の入力操作に
より実行し、処理モードが設定モードおよびポーリング
テーブルの設定以外であれば、それに対応した処理を実
行する(ステップn1〜n4)。
The setting of the polling table configured as described above will be described in detail with reference to FIG. 4. The setting of the polling table is executed by a well-known input operation from the keyboard 16, and the processing mode is set to the setting mode or the polling table. If the setting is other than the setting, the corresponding process is executed (steps n1 to n4).

【0010】上述のステップn2で、ポーリングテーブ
ルの設定であると判定された時は、続いて従属局ECR
11…の台数を入力する(ステップn5)。例えば、E
CR10,11の稼動台数を制御局ECR10の他に、
従属局ECR11…の15台を稼動状態にするときは、
キーボード16により従属局ECR11の15台の台数
を入力する。
If it is determined in step n2 that the polling table is set, then the dependent station ECR
The number of 11 ... Is input (step n5). For example, E
In addition to the control station ECR10, the number of operating CR10,11
To activate 15 subordinate stations ECR11 ...
The keyboard 16 is used to input the number of 15 subordinate stations ECR11.

【0011】この入力でCPU13はROM14のポー
リングテーブルの設定プログラムにより、最初から順位
“15”のポーリングビットまでの全てを稼動の“1”
にセットすると共に、順位“16”以降のポーリングビ
ットの全てを非稼動の“0”のリセットに設定する(ス
テップn6、図3参照)。
With this input, the CPU 13 uses the polling table setting program of the ROM 14 to activate all the bits from the beginning to the polling bit of order "15" to "1".
And all polling bits after the rank "16" are set to the reset "0" of non-operation (step n6, see FIG. 3).

【0012】このようにポーリングテーブルをセットす
ることで、入力操作は従属局ECR11のセット台数を
入力する1回で済み、セットが簡単で短時間にでき、従
属局ECR11…の群管理が容易となる。
By setting the polling table in this way, the input operation is performed only once by inputting the number of sets of the dependent stations ECR11, the setting can be done easily and in a short time, and the group management of the dependent stations ECR11 ... Is facilitated. Become.

【0013】この発明の構成と、上述の実施例との対応
において、この発明の制御機は、実施例の制御局ECR
10に対応し、従属機は、従属局ECR11に対応する
も、この発明は上述の実施例の構成に限定されるもので
はない。
In the correspondence between the configuration of the present invention and the above-described embodiment, the controller of the present invention is the control station ECR of the embodiment.
10, the subordinate machine corresponds to the subordinate station ECR11, but the present invention is not limited to the configuration of the above-described embodiment.

【0014】すなわち、ポーリングテーブルを備える機
器であればこの発明の設定方法を利用することができ
る。
That is, the setting method of the present invention can be used for any device provided with a polling table.

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

【図1】制御局ECRと従属局ECRとの構成図。FIG. 1 is a configuration diagram of a control station ECR and a dependent station ECR.

【図2】制御局ECRの制御回路ブロック図。FIG. 2 is a block diagram of a control circuit of a control station ECR.

【図3】ポーリングテーブルの説明図。FIG. 3 is an explanatory diagram of a polling table.

【図4】ポーリングテーブルの設定処理のフローチャー
ト。
FIG. 4 is a flowchart of a polling table setting process.

【符号の説明】[Explanation of symbols]

10…制御局ECR 11…従属局ECR 12…共通回線 13…CPU 14…ROM 15…RAM(ポーリングテーブル) 16…キーボード 10 ... Control station ECR 11 ... Subordinate station ECR 12 ... Common line 13 ... CPU 14 ... ROM 15 ... RAM (polling table) 16 ... Keyboard

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ポーリングテーブルを備えた制御機に対し
て共通回線で複数の従属機を接続し、前記ポーリングテ
ーブルに各従属機のセット・リセットを設定するポーリ
ングテーブルであって、前記ポーリングテーブルにセッ
トする従属機の台数を入力し、この台数が入力されたと
き、この台数までのポーリングビットにある従属機の全
てをセットし、上記入力台数よりも以降のポーリングビ
ットの従属機をリセットするポーリングテーブルの設定
方法。
1. A polling table for connecting a plurality of subordinate machines to a controller having a polling table via a common line and setting / resetting each subordinate machine in the polling table. Enter the number of subordinate machines to be set, and when this number is input, set all the subordinate machines in the polling bit up to this number, and reset the subordinate machines of the polling bit after the input number How to set the table.
JP3318487A 1991-11-05 1991-11-05 Method for setting up polling table Pending JPH05128036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3318487A JPH05128036A (en) 1991-11-05 1991-11-05 Method for setting up polling table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3318487A JPH05128036A (en) 1991-11-05 1991-11-05 Method for setting up polling table

Publications (1)

Publication Number Publication Date
JPH05128036A true JPH05128036A (en) 1993-05-25

Family

ID=18099669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3318487A Pending JPH05128036A (en) 1991-11-05 1991-11-05 Method for setting up polling table

Country Status (1)

Country Link
JP (1) JPH05128036A (en)

Similar Documents

Publication Publication Date Title
CN100470519C (en) Multiple burst protocol device controller
JPH05128036A (en) Method for setting up polling table
US7865785B2 (en) System and method for improving communications for systems having communications protocol enabled devices
JPH07168740A (en) Watchdog method
CN113239650B (en) Report generation method and device and electronic equipment
JPH0512320A (en) Transaction control method for terminal
JP3381943B2 (en) How to submit commands to multiple nodes
JP2870570B2 (en) Screen color change method
JPH0562025A (en) Data transmission processing system
JP2740421B2 (en) Consultation system and method
JPH096660A (en) Correlation check method for common data in plural departments
JPH1091595A (en) Transaction management device
JP2848172B2 (en) I / O controller
JPH05204790A (en) Online communication confirmation test system
JPH0675915A (en) Transaction processing system
JPH10312354A (en) Interruption processing system
JPH06103233A (en) Remote batch processing system
JPH11232316A (en) Pseudo-line fault generating device
US20030133419A1 (en) Methods, systems and computer program products for accessing descriptive information associated with a TDMA/GSM switch
JPH0651889A (en) Computer system with keyboard for remote operation
JPS6330274A (en) Transaction processing terminal system
JPH02266409A (en) Power supply controller
JPH08115275A (en) Transmission state reproducing device and transaction processing system
JPH06131367A (en) Control method for output device of pos system
JPH0540615A (en) Input processing setting device using input operation table