JPH02306352A - Mode switching control system by terminal - Google Patents
Mode switching control system by terminalInfo
- Publication number
- JPH02306352A JPH02306352A JP1127366A JP12736689A JPH02306352A JP H02306352 A JPH02306352 A JP H02306352A JP 1127366 A JP1127366 A JP 1127366A JP 12736689 A JP12736689 A JP 12736689A JP H02306352 A JPH02306352 A JP H02306352A
- Authority
- JP
- Japan
- Prior art keywords
- attachment
- terminal
- mode
- program
- substitution
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 10
- 238000004891 communication Methods 0.000 claims description 7
- 238000006467 substitution reaction Methods 0.000 abstract 6
- 238000010586 diagram Methods 0.000 description 16
- 230000008676 import Effects 0.000 description 1
- 239000013642 negative control Substances 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【発明の詳細な説明】
[概要]
通信用のアタッチメント、LANケーブルを介して本体
装置と複数の◇:ち末が接続されるシステムにおけるア
タッチメントのモードを切り換える切換制御方式に関し
、
この種のシステムにおいて、アタッチメントのモード切
換を低コストで且つ確実に行うことを目的とし、
アタッチメントが、本体装置の応用プ[]グラ11の代
わりをする代行プログラムを有し、L A Nケ−プル
を介して代行運転開始コマンドを受信した場合には代行
運転モード・フラグを立て、代行運転モード・フラグが
立っている状態の下では端末側からのデータを代行プロ
グラムによって処理するように構成され、ハンディ端末
が、所定のキー操作で代行運転開始コマンド送出モード
になり、当該モードの下でリーグ型端末からのデータ読
取要求を受信した時には、代行運転開始コマンドを送出
するように構成されていることを構成要件としている。[Detailed Description of the Invention] [Summary] This invention relates to a switching control method for switching the mode of an attachment in a system in which a communication attachment is connected to a main unit and a plurality of terminals via a LAN cable. , the purpose is to perform mode switching of the attachment at low cost and reliably, and the attachment has a substitute program that takes the place of the application program 11 of the main unit, and the attachment can be switched via a LAN cable. When an operation start command is received, a proxy operation mode flag is set, and when the proxy operation mode flag is set, data from the terminal side is processed by a proxy program, and the handy terminal A configuration requirement is that when a predetermined key operation enters the substitute operation start command sending mode, and a data reading request is received from a league type terminal under this mode, the substitute operation start command is sent. There is.
本発明は、通信用のアタツヂメント、LANケーブルを
介して本体装置と複数の端末が接続されるシステムにお
けるアタッチメントのモード切(負制御方式に関するも
のである。The present invention relates to a communication attachment and a mode-off (negative control method) of an attachment in a system in which a main unit and a plurality of terminals are connected via a LAN cable.
(従来の技術〕
第8図は1/ストラン・システムの概要を示す図である
。同回において、■は本体装置、2はり、 AN (L
ocal Area Netinork)ケーブル、3
はリーグ型端末、4はハンディ端末、5はプリンタ、6
は通信用アタッチメントをそれぞれ示している。(Prior art) Fig. 8 is a diagram showing an overview of the 1/Stran system.
ocal Area Netinork) cable, 3
is a league type terminal, 4 is a handy terminal, 5 is a printer, 6
indicate communication attachments.
本体装置1は、アタッチメント6を内蔵している。アタ
ッチメント6にLANケーブル2が接続され、+−A
Nケーブル2に複数のリーグ型端末3や複数のプリンタ
5が接続されている。顧客からの注文データをハンディ
端末4に入力し、このハンディ端末4をリーグ型端末3
の上にセットすると、ハンディ端末4の注文データがリ
ーグ型端末3、LANケーブル2.アタッチメント6を
介して本体装置1に送られる。The main body device 1 has an attachment 6 built therein. LAN cable 2 is connected to attachment 6, and +-A
A plurality of league type terminals 3 and a plurality of printers 5 are connected to the N cable 2. Order data from customers is input into the handy terminal 4, and this handy terminal 4 is transferred to the league type terminal 3.
When set on top of the handheld terminal 4, the order data of the handy terminal 4 is transferred to the league type terminal 3, LAN cable 2. It is sent to the main device 1 via the attachment 6.
第9図はアタッチメントのモードを説明する図である。FIG. 9 is a diagram illustrating attachment modes.
モード1においては、本体装置tlの応用プログラムA
PI−がハンディ端末4からの注文データを取り込み、
適宜な処理を行い、注文データの印刷をプリンタ5に指
示する。本体装filがダウンしたときには、モード2
とされる。モード2においては、アタッチメント6の中
に存在する代行プログラムがハンディ端末4からの注文
データを取り込み、適宜な処理を行い、注文データの印
刷をプリンタ5に指示する。In mode 1, application program A of main unit tl
PI- imports the order data from the handy terminal 4,
It performs appropriate processing and instructs the printer 5 to print the order data. When the main unit fil goes down, mode 2
It is said that In mode 2, the proxy program present in the attachment 6 takes in the order data from the handy terminal 4, performs appropriate processing, and instructs the printer 5 to print the order data.
第10図は従来のアタッチメントのモード切換の処理手
順のフローチャートである。FIG. 10 is a flowchart of a conventional attachment mode switching procedure.
本体装置がダウンした場合、アタッチメントのモードを
切り換えて、アタッチメントと端末間だけの動作を行い
たいと言う要求が生ずる。この場合、アタッチメントが
動作可能か否かを調べる。When the main unit goes down, a request arises to switch the mode of the attachment and perform operations only between the attachment and the terminal. In this case, it is checked whether the attachment is operable or not.
アタッチメントが動作可能な場合には、本体装置の応用
プログラムA P i−が動作可能か否かを調べ、動作
可能な場合には応用プログラムからの命令によってアタ
ッチメントのモードを切り換える。応用プログラムが動
作可能でない場合には、アタッチメントのモードを切り
換える外部スイッチが存在するか否かを調べ、存在する
場合には外部スイッチによりアタッチメント内部のモー
ドを切り換える。If the attachment is operable, it is checked whether the application program A P i- of the main body device is operable or not, and if it is operable, the mode of the attachment is switched according to a command from the application program. If the application program is not operable, it is checked whether or not there is an external switch for switching the attachment mode, and if there is an external switch, the mode inside the attachment is switched using the external switch.
上述のように、従来のアタッチメントのモード切換は、
外部スイッチによるか、命令によるかであるが、そのよ
うな外部スイッチを新たに取り付けると、ハードウェア
自体を変更するため、コスト高になる。また、命令によ
る場合、本体がダウンした時はアタッチメントのモード
を切り(負えるごとができない。As mentioned above, the mode switching of conventional attachments is
Whether by an external switch or a command, installing a new external switch requires changing the hardware itself, which increases costs. Also, when using a command, when the main body goes down, the attachment mode is turned off (it cannot be defeated).
本発明は、この点に鑑みて創作されたものであって、本
体装置への入力可能な端末を有するシステJ・において
、本体装置に内蔵されているプログラム処理機能を持っ
たアタッチメントのモード切換を低コストで且つ確実に
行うことを目的としている。The present invention was created in view of this point, and in a system having a terminal capable of inputting data to the main unit, mode switching of an attachment having a program processing function built into the main unit is possible. The aim is to do this at low cost and reliably.
第1図は本発明の原理説明図である。本発明のシステム
は、通信用アタッチメント6を内蔵した本体装置tと、
アタッチメント6と端末3,5とを結ぶLANケーブル
2と、ハンディ端末4と、ハンディ端末4から送られる
データをLANケーブル2を経由してアタッチメント6
に送るためのリーダ型◇:11末3とを具備している。FIG. 1 is a diagram explaining the principle of the present invention. The system of the present invention includes a main body device t having a built-in communication attachment 6;
A LAN cable 2 connects the attachment 6 and the terminals 3 and 5, and the data sent from the handy terminal 4 is connected to the attachment 6 via the LAN cable 2.
It is equipped with a reader type ◇: 11 end 3 for sending to.
アタッチメント6は、本体装置lの応用プログラムの代
わりをする代行プログラムを有し、LANケーブル2を
介して代行運転開始コマンドを受信した場合には代行運
転モード・フラグを立て、代行運転モード・フラグが立
っている状態の下では端末側からのデータを代行プログ
ラムによって処理するように構成されている。The attachment 6 has a substitute program that takes the place of the application program of the main unit l, and when it receives a substitute operation start command via the LAN cable 2, it sets a substitute operation mode flag. In the standing state, data from the terminal side is processed by a proxy program.
ハンディ端末4は、所定のキー操作で代行運転開始コマ
ンド送出モードになり、当該モードの下でリーグ型端末
3からのデータ読取要求を受信した時には、代行運転開
始コマンドを送出するように構成されている。The handy terminal 4 is configured to enter a substitute operation start command sending mode by operating a predetermined key, and to send a substitute operation start command when receiving a data reading request from the league type terminal 3 under this mode. There is.
〔実施例]
第2図は本体装置とアタッチメン1〜のプログラムを示
す図である。同図において、■は本体装置、2はLAN
ケーブル、3はリーグ型端末、4はハンディ端末、5は
プリンタ、6は通信用のアタッチメントをそれぞれ示し
ている。[Embodiment] FIG. 2 is a diagram showing programs for the main unit and attachments 1 to 1. In the same figure, ■ is the main unit, 2 is the LAN
3 indicates a league type terminal, 4 indicates a handy terminal, 5 indicates a printer, and 6 indicates a communication attachment.
本体装置1の中には、アプリケーション・プログラムや
ジョブ・コントロール・プログラム、J CR2ファイ
ル・コントロール・プログラムFCP。Inside the main unit 1 are application programs, job control programs, and a JCR2 file control program FCP.
スーパバイザSPV、 LANff1制御デバイス・
ハンドラDVHのような各種のファームウェアが存在す
る。アタッチメント6の中には、ROM部と制御プログ
ラムがある。制御プロゲラJ、は、1、AN制御2代行
プログラムおよび代行パラメータ等から構成される。制
御プロゲラl、は、例えば電源投入時にDΔSDからア
タッチメントにダウン・ロードされる。Supervisor SPV, LANff1 control device/
There are various types of firmware such as handler DVH. The attachment 6 includes a ROM section and a control program. The control progera J is composed of 1, AN control 2, a proxy program, proxy parameters, and the like. The control progera l is downloaded from the DΔSD to the attachment, for example, when the power is turned on.
第3図は本発明によアタッチメントのモード切換の処理
手順のフローチャー1・である。FIG. 3 is a flowchart 1 of the processing procedure for changing the attachment mode according to the present invention.
先ず、ハンディ端末上のキー操作により、アタッチメン
トのモードを切り換えるためのコマンドを発行するため
の特殊処理モードにする。次に、このハンディ端末をリ
ーグ型端末にセットする。First, by operating keys on the handy terminal, a special processing mode is set for issuing a command for switching the attachment mode. Next, set this handy terminal as a league type terminal.
アタッチメントからの“きっかけコマンド“を受信する
と、リーグ型端末はハンディ端末のデータを読み出し、
ハンディ端末からリーグ型端末を経由して、アタッチメ
ントのモードを切り換えるためのコマンドが発行される
。このコマンドを受信すると、アタッチメントはモー1
′2に切り換わる。Upon receiving the “trigger command” from the attachment, the league type terminal reads the data from the handy terminal,
A command for switching the attachment mode is issued from the handy terminal via the league terminal. When this command is received, the attachment will
'2.
この結果、アタッチメントと端末間だけで動作を行うこ
とが可能となる。As a result, it becomes possible to perform operations only between the attachment and the terminal.
第4図は代行運転起動/解除の操作を説明する図である
。同図において、ENQ3はきっかげコマン)’、5T
X−0−CRは回線オープン・コマンド、5TX−C1
5−CRは代行運転開始コマンド、5TX−C16−C
Rは代行運転終了コマンド、OO0−CRは正常終了ス
テータス、5TX−3OO−CRは正常応答コマンド、
S T X −E−□CRは回線クローズ・コマンドを
それぞれ示している。FIG. 4 is a diagram illustrating the operation of starting/cancelling the substitute operation. In the same figure, ENQ3 is Kikkage Command)', 5T
X-0-CR is line open command, 5TX-C1
5-CR is substitute operation start command, 5TX-C16-C
R is the substitute operation end command, OO0-CR is the normal end status, 5TX-3OO-CR is the normal response command,
STX-E-□CR each indicates a line close command.
第4図(a)は代行運転開始のためのデータ転送シーケ
ンスを示す図である。きっかけコマンドが送られて来る
と、リーグ型端末から回線オープン・コマンドがアタッ
チメントに送られ、次いで代行運転開始コマンドがアタ
ッチメントに送られる。FIG. 4(a) is a diagram showing a data transfer sequence for starting substitute operation. When the trigger command is sent, the league type terminal sends a line open command to the attachment, and then a substitute operation start command is sent to the attachment.
アタッチメントから正常終了ステータスが送られて来る
と、正常応答コマンドがアタッチメントに送られ、次い
で回線クローズ・コマンドがアタッチメントに送られる
。When the successful completion status is sent from the attachment, a successful response command is sent to the attachment, and then a line close command is sent to the attachment.
第4図(1))は代行運転解除のためのデータ転送シー
ケンスを示す図である。きっかけコマンドが送られて来
ると、リーグ型端末から回線オープン・コマ、ンドがア
タッチメントに送られ、次いで代行運転終了コマンドが
アタッチメントに送られる。FIG. 4(1)) is a diagram showing a data transfer sequence for canceling substitute operation. When the trigger command is sent, the league type terminal sends a line open command and command to the attachment, and then a substitute operation end command is sent to the attachment.
アタッチメントから正常終了ステータスが送られて来る
と、正常応答コマンドがアタッチメントに送られ、次い
で回線クローズ・コマンドがアタッチメントに送られる
。When the successful completion status is sent from the attachment, a successful response command is sent to the attachment, and then a line close command is sent to the attachment.
第5図は代行運転開始/終了コマンドが来た時のアタッ
チメントの処理を説明する図である。FIG. 5 is a diagram illustrating the processing of the attachment when a substitute operation start/end command is received.
′:1マントを受信すると、コマンドがC15であるか
否かを調べる。C15の場合には、代行運転モード・フ
ラグを立てる。C15でない場合には、コマンドがC1
6か否かを調べる。C16の場合には、代行運転モード
・フラグを下ろす。C16でない場合には、C13か否
かを調べる。C13の場合には注文データ受信処理を行
う。代行運転モード・フラグがオンの場合には、注文デ
ータ受信処理は代行プログラムによって行われ、代行運
転モード・フラグがオフの場合には、注文データ受信処
理は本体装置の応用プログラムによって行ねれる。': When receiving the cloak, check whether the command is C15. In the case of C15, a substitute operation mode flag is set. If not C15, the command is C1
Check whether it is 6 or not. In the case of C16, the substitute operation mode flag is lowered. If it is not C16, it is checked whether it is C13 or not. In case of C13, order data reception processing is performed. When the proxy operation mode flag is on, the order data reception process is performed by the proxy program, and when the proxy operation mode flag is off, the order data reception process is performed by the application program of the main device.
第6図はアタッチメント・の/S−ドウエア構成例を示
す図、第5図はアク・ノチメントのMPUのアクセス空
間を示す図である。同図において、10しまマイクロプ
ロセッサ(MPU)、11はう、ツチ、12はROM、
13はタイ”?、14はDMAコントローラ、15は回
線制御部、16はドライノh゛/レシーバ、17と18
はRAM、19はう・ソチ、20もRAM、ABはアド
レス・ノλス、DBは書込データ・ハス、*RDTは読
出データ・ノ\゛スをそれぞれ示している。FIG. 6 is a diagram showing an example of the /S-doware configuration of the attachment, and FIG. 5 is a diagram showing the access space of the MPU of the attachment. In the figure, 10 is a microprocessor (MPU), 11 is a microprocessor, 12 is a ROM,
13 is a tie"?, 14 is a DMA controller, 15 is a line control unit, 16 is a dry nozzle/receiver, 17 and 18
19 is a RAM, 20 is also a RAM, AB is an address number λ, DB is a write data number, and *RDT is a read data number.
ROM12の中には、制御プログラムをダウン・ロード
するためのプログラム、アタッチメントの自己診断を行
うブし1グラム、ダンプするためのプロゲラJ、等が格
納されている。回線制御部15は、F′ライハ/レシー
ノ\16を介してI、八pJ )y−−プル2に接続さ
れている。RAML8とRAM20の部分は、バックア
ップRAMを構成し、ており、本体装置側の電源がオフ
されても、これらのRAM18.20の内容は保証され
る。RAM20は、マイクロプロセッサ10と本体装置
1によって共用される。代行プログラムは、RAM1B
にダウン・ローl゛される。The ROM 12 stores a program for downloading a control program, a program for self-diagnosing the attachment, a programmer J for dumping, and the like. The line control section 15 is connected to the I, 8pJ)y--pull 2 via the F'Liha/Resino\16. RAML8 and RAM20 constitute a backup RAM, and the contents of these RAMs 18 and 20 are guaranteed even if the power to the main unit is turned off. RAM 20 is shared by microprocessor 10 and main unit 1 . The substitute program is RAM1B
It is downloaded and rolled.
以上の説明から明らかなように11本発明によれば、本
体装置側がダウンしてしまった時でも、アク、チメント
内のプログラムさえ動作可能であれば、アタッチメント
のモード切換が可能である。As is clear from the above description, according to the present invention, even if the main unit goes down, the mode of the attachment can be switched as long as the program in the attachment can be operated.
このことは、本体の信頼性を高めると言う点で有効であ
る。また、既存のシステムのハードウェアを変更しない
と言う点で、コスト面でも有効である。This is effective in increasing the reliability of the main body. It is also cost effective in that it does not require any changes to the hardware of the existing system.
第1図は本発明の原理説明図、第2図は本体装置とアク
ンチメン1−のプログラムを示す図、第3図は本発明に
よるアタッチメントのモード切換の処理手順フローチャ
ー1・を示す図、第4図は代行運転起動/解除のための
データ転送シーケンスを示す図、第5図は代行運転開始
/終了コマンドが来た時のアタッチメント内の処理を示
す図1、第6図はアタッチメントのバードウ、nア構成
例を示す図、第7図はアタンチメン1−のMPUのアク
セス空間を示す図、第8図はレストラン・システムの概
要を示す図、第9Mはアタッチメントのモードを示す図
、第1O図は従来のアタッチメントのモード切換の処理
手順フローチャートを示す図である。
1・・・本体装置、2・・・L A Nケーブル、3・
・・リーダ型端末、4・・・ハンディ端末、5・・・プ
リンタ、6・・・通信用のアタッチメント。FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a diagram showing the main unit and the program of ACUNCIME 1-, FIG. Figure 4 shows the data transfer sequence for starting/cancelling the substitute operation, Figure 5 shows the processing within the attachment when the command to start/end the substitute operation is received, and Figure 6 shows the attachment's bar dot, FIG. 7 is a diagram showing an access space of the MPU of attachment 1-, FIG. 8 is a diagram showing an overview of the restaurant system, FIG. 9M is a diagram showing attachment modes, and FIG. FIG. 2 is a diagram showing a flowchart of a conventional process procedure for switching modes of an attachment. 1...Main device, 2...LAN cable, 3.
...Reader type terminal, 4...Handy terminal, 5...Printer, 6...Communication attachment.
Claims (1)
と、 アタッチメント(6)と端末(3、5)とを結ぶLAN
ケーブル(2)と、 ハンディ端末(4)と、 ハンディ端末(4)から送られるデータをLANケーブ
ル(2)を経由してアタッチメント(6)に送るための
リーダ型端末(3)と を具備し、 アタッチメント(6)は、本体装置(1)の応用プログ
ラムの代わりをする代行プログラムを有し、LANケー
ブル(2)を介して代行運転開始コマンドを受信した場
合には代行運転モード・フラグを立て、代行運転モード
・フラグが立っている状態の下では端末側からのデータ
を代行プログラムによって処理するように構成され、 ハンディ端末(4)は、所定のキー操作で代行運転開始
コマンド送出モードになり、当該モードの下でリーダ型
端末(3)からのデータ読取要求を受信した時には、代
行運転開始コマンドを送出するように構成されている ことを特徴とする端末によるモード切換制御方式。[Claims] Main unit (1) with built-in communication attachment (6)
and a LAN connecting the attachment (6) and the terminals (3, 5)
It is equipped with a cable (2), a handy terminal (4), and a reader type terminal (3) for sending data sent from the handy terminal (4) to the attachment (6) via the LAN cable (2). The attachment (6) has a proxy program that replaces the application program of the main unit (1), and sets a proxy operation mode flag when it receives a proxy operation start command via the LAN cable (2). When the substitute operation mode flag is set, the data from the terminal side is processed by the substitute program, and the handy terminal (4) enters the substitute operation start command sending mode by operating a predetermined key. A mode switching control method by a terminal, characterized in that the terminal is configured to send a substitute operation start command when a data reading request is received from the reader type terminal (3) under the mode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1127366A JPH02306352A (en) | 1989-05-20 | 1989-05-20 | Mode switching control system by terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1127366A JPH02306352A (en) | 1989-05-20 | 1989-05-20 | Mode switching control system by terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02306352A true JPH02306352A (en) | 1990-12-19 |
| JPH0557621B2 JPH0557621B2 (en) | 1993-08-24 |
Family
ID=14958188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1127366A Granted JPH02306352A (en) | 1989-05-20 | 1989-05-20 | Mode switching control system by terminal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02306352A (en) |
-
1989
- 1989-05-20 JP JP1127366A patent/JPH02306352A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0557621B2 (en) | 1993-08-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02306352A (en) | Mode switching control system by terminal | |
| JPH02189615A (en) | Apparatus for supplying source power from remote console | |
| JPH0199360A (en) | Transaction processing terminal equipment | |
| US6600576B2 (en) | Facsimile apparatus | |
| JPH0198347A (en) | Repeater | |
| JPH04319467A (en) | Printing device | |
| JPH08202658A (en) | Password changing method and terminal device | |
| JP4331280B2 (en) | Centralized entry system | |
| JPH0783419B2 (en) | Fax system | |
| JPH09233563A (en) | Portable information terminal, main body information equipment and communication system for the same | |
| JPH0250560A (en) | Facsimile equipment | |
| JP3503388B2 (en) | Method and apparatus for inspecting transmission distance of wireless keyboard | |
| JPS6339015A (en) | Decentralized processing system for on-line conversation processing system | |
| JPH03125210A (en) | System keyboard device | |
| JPS617923A (en) | Printing system in terminal system | |
| JPH02201629A (en) | Mode switching system for dual mode printer | |
| JPH02271773A (en) | Data communication equipment | |
| JP2002014924A (en) | Computer system | |
| JPH09277659A (en) | Automatic authentication device for printing device | |
| JPH07131500A (en) | Communication processing device | |
| JPS6392141A (en) | Terminal equipment with keyboard | |
| JPH02302845A (en) | Data processing system with memory dump function | |
| JPH0668031A (en) | Terminal-classified application menu controller | |
| JPH0362102A (en) | Process controller | |
| JPH04164664A (en) | printing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |