Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5936284B2 - Input/output control method - Google Patents
[go: Go Back, main page]

JPS5936284B2 - Input/output control method - Google Patents

Input/output control method

Info

Publication number
JPS5936284B2
JPS5936284B2 JP55032032A JP3203280A JPS5936284B2 JP S5936284 B2 JPS5936284 B2 JP S5936284B2 JP 55032032 A JP55032032 A JP 55032032A JP 3203280 A JP3203280 A JP 3203280A JP S5936284 B2 JPS5936284 B2 JP S5936284B2
Authority
JP
Japan
Prior art keywords
input
output
command
job
response
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
Application number
JP55032032A
Other languages
Japanese (ja)
Other versions
JPS56127233A (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.)
Omron Corp
Original Assignee
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 Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP55032032A priority Critical patent/JPS5936284B2/en
Publication of JPS56127233A publication Critical patent/JPS56127233A/en
Publication of JPS5936284B2 publication Critical patent/JPS5936284B2/en
Priority to US06/651,639 priority patent/US4639889A/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/22Handling requests for interconnection or transfer for access to input/output bus using successive scanning, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 この発明は入出力制御方式、さらに詳しくはインテリジ
エンスをもつ複数の入出力機器と、これらの入出力機器
と伝送回線により接続されこれらの入出力機器を制御す
る主制御装置とからなるシステムにおける主制御装置の
入出力制御方式に関する。
[Detailed Description of the Invention] This invention relates to an input/output control method, more specifically, a plurality of input/output devices with intelligence, and a main control that is connected to these input/output devices by a transmission line and controls these input/output devices. The present invention relates to an input/output control method for a main controller in a system comprising devices.

このようなシステムにおいて、主制御装置と各入出力機
器との間の回線制御は従来は、主制御装置のジョブ・プ
ログラムとは全く無関係に(非同期的に)行なわれてい
たため、主制御装置によるジョブ実行に必要な入出力機
器とのみデータ伝送を行なうということができず、回線
効率およびジョブ実行速度を充分に高めることができな
いという欠点があつた。
In such systems, line control between the main controller and each input/output device was previously performed completely unrelated to the main controller's job program (asynchronously); This method has the disadvantage that data transmission cannot be performed only with the input/output devices necessary for job execution, and line efficiency and job execution speed cannot be sufficiently increased.

そこで、主制御装置の実行プログラムに対応した回線制
御を行なうことにより、回線効率とジョブ実行速度を高
めることが考えられるが、そうすると主制御装置による
一連の処理実行とは無関係な人出力機器との間のデータ
の交信が困難になる。この発明は、主制御装置のジョブ
・プログラムの各ステツプに対応して、そのステツプの
命令によつて制御される入出力機器との間でのみゼータ
の送受を行なうようにした場合に、主制御装置による一
連の処理とは無関係な入出力機器との間のデータ交信も
可能となる入出力制御方式を提供するものである。
Therefore, it is possible to improve line efficiency and job execution speed by performing line control that corresponds to the execution program of the main controller, but in this case, it is possible to increase the line efficiency and job execution speed, but this would result in the connection between human output devices that are unrelated to the series of processing executed by the main controller. It becomes difficult to exchange data between the two. This invention provides a method for transmitting and receiving zeta only to input/output devices controlled by instructions for each step of the main controller's job program. The present invention provides an input/output control method that enables data communication with input/output devices unrelated to a series of processing by the device.

以下この発明を、自動現金支払機に適用した場合につい
て、図面を参照して詳しく説明する。
The present invention will be described in detail below with reference to the drawings when applied to an automatic cash dispensing machine.

第1図は自動現金支払機の構成を示している。現金支払
機はよく知られているように、口座番号などが磁気記録
されているカードの内容を読取るカード・リーダ71.
取引年月日、支払金額および残高などの必要な情報をジ
ャーナルおよび伝票に印字し、伝票を発行する伝票発行
機72、支払うべき紙幣枚数を計数して一時的に保留し
、放出する紙幣放出機73、暗証番号、支払請求金額な
どの数値情報を入力するテンキ一、確認キーその他のキ
ー、暗証番号、支払請求金額などを表示する数値表示器
および顧客のなすべき操作を誘導する操作手順表示器な
どが設けられた接客パネルならびにその制御部74、な
らびに電源スイツチ、取扱い、同中止切替スイツチ、テ
ストモードなどの設定器またはスイツチ、日付設定器お
よびこれらの表示器などが設けられたモニタ・パネルな
らびにその制御部75などの入出力機器を備えている。
そしてこの実施例では便宜的に、カード・リーダ71お
よび伝票発行機72が1つの入出力装置ユニツト61を
構成し、紙幣放出機73が入出力装置ユニツト62を構
成し、接客パネル制御部74およびモニタパネル制御部
75が入出力装置ユニツト63を構成しており、それぞ
れスレーブ中央処理装置(S−CPUという)65によ
り制御される。しかしながら、カード・リーダ71、伝
票発行機72、紙幣放出機73、接客パネル制御部74
およびモニタパネル制御部75はそれぞれ別個の入出力
機器であり、それぞれ別個の伝送アドレス(CARD)
、(JNL)、(CASII).(FPNL)お、よび
(MPNL)が付されている。各入出力装置61,62
,63は、必要な各種データを記憶するRAM66、S
−CPU65の実行プログラムを格納しているROM6
7および主制御装置50とのデータ伝送のためのインタ
ーフエイス68を備えている。主制御装置50は、ジヨ
ブ・プログラムにしたがう入出力機器71〜74の制御
および他の入出力機器75,76の制御を行なうととも
にセンタとの交信を制御するマスタ中央処理装置(M・
CPUという)51.必要なデータを記憶するRAM5
2、ジヨブ命令からなるジヨブ・プログラムを格納した
ROM53、ジヨブ.プログラムの解読プログラムを格
納したROM54、ジヨブ・プログラム・カウンタ55
、各入出力装置61〜63との間のデータ伝送を制御す
るインターフエイス56、センタとの間の交信を制御す
るインターフエイス57およびリモート・モニタ76と
の間のデータ伝送を制御するインターフエイス58から
構成されている。
FIG. 1 shows the configuration of an automatic cash dispensing machine. As is well known, a cash dispensing machine is equipped with a card reader 71 that reads the contents of a card on which account numbers and the like are magnetically recorded.
A slip issuing machine 72 that prints necessary information such as transaction date, payment amount, and balance on a journal and slip and issues the slip; a bill discharging machine that counts the number of bills to be paid, temporarily holds it, and then releases it. 73. A numeric keypad for inputting numerical information such as a PIN number and the amount to be paid, a confirmation key and other keys, a numeric display that displays the PIN number, the amount to be paid, etc., and an operation procedure display that guides the customer to the operations to be performed. A customer service panel and its control unit 74, which are equipped with a power switch, a handling/cancellation switch, a test mode setting device or switch, a date setting device and a display device thereof, etc. It is equipped with input/output devices such as a control section 75.
In this embodiment, for convenience, the card reader 71 and the slip issuing machine 72 constitute one input/output device unit 61, the banknote ejection machine 73 constitutes the input/output device unit 62, and the customer service panel control section 74 and A monitor panel control section 75 constitutes an input/output device unit 63, each of which is controlled by a slave central processing unit (referred to as S-CPU) 65. However, the card reader 71, slip issuing machine 72, bill ejecting machine 73, customer service panel control unit 74
and the monitor panel control unit 75 are separate input/output devices, and each has a separate transmission address (CARD).
, (JNL), (CASII). (FPNL) and (MPNL) are attached. Each input/output device 61, 62
, 63 is a RAM 66, S which stores various necessary data.
-ROM 6 that stores the execution program of the CPU 65
7 and an interface 68 for data transmission with the main controller 50. The main controller 50 controls the input/output devices 71 to 74 and other input/output devices 75 and 76 according to the job program, and also controls communication with the center.
(referred to as CPU) 51. RAM5 to store necessary data
2, a ROM 53 storing a job program consisting of job instructions; ROM 54 storing the program decoding program, job program counter 55
, an interface 56 that controls data transmission with each of the input/output devices 61 to 63, an interface 57 that controls communication with the center, and an interface 58 that controls data transmission with the remote monitor 76. It consists of

主制御装置50と入出力装置61〜63との間のデータ
伝送は、送信データ、受信データの4線信号のシリアル
伝送方式であり、DMAによつて制御される。またセン
タとの交信はモデム59を介して行なわれる。リモート
・モニタ76には上記のモニタパネルと同じようなスイ
ツチ群、M−CPU5lによつて制御されるS−CPU
などが備えられている。このリモート・モニタ76もま
た1つの入出力機器として位置づけられ、アドレス(R
MC)が割当てられている。第2図は、主制御装置50
と入出力機器71〜76との間で送受される制御データ
のフレーム形式を示している。
Data transmission between the main control device 50 and the input/output devices 61 to 63 is a serial transmission method of four-wire signals of transmitting data and receiving data, and is controlled by DMA. Further, communication with the center is performed via a modem 59. The remote monitor 76 includes a set of switches similar to the monitor panel described above, and an S-CPU controlled by the M-CPU 5l.
etc. are provided. This remote monitor 76 is also positioned as one input/output device, and has an address (R
MC) is assigned. FIG. 2 shows the main controller 50
The frame format of control data transmitted and received between the input and output devices 71 to 76 is shown.

制御データは、開始フラグ、入出力機器のアドレス、コ
マンド、データ、検査ビツトおよび終止フラグから構成
されている。開始フラグおよび終止フラグは同期をとり
、フレームのはじまりと終りを知らせるものである。ア
ドレスは常に入出力機器のアドレスを示しており、主制
御装置50から各入出力機器に伝送する場合には伝送先
の入出力機器を示し、逆に入出力機器から主制御装置5
0にデータを伝送する場合には伝送元の入出力機器を示
す。コマンドには後述するように入出力命令(IOPT
)、待機命令(WAIT)などがある。
The control data consists of a start flag, input/output device addresses, commands, data, check bits, and termination flag. The start flag and end flag are synchronized and notify the beginning and end of a frame. The address always indicates the address of the input/output device, and when transmitting from the main controller 50 to each input/output device, it indicates the destination input/output device, and vice versa.
When transmitting data to 0, it indicates the input/output device of the transmission source. Commands include input/output instructions (IOPT) as described later.
), standby command (WAIT), etc.

データには、各入出力機器に対する読取り(IN.RE
AD)、出金(STOR)、印字(PRNT)、書込み
〔WRIT)、返却または放出(0UT)などの制御コ
ード、これに対する入出力機器からの応答、各入出力機
器の異常、エラーなどを示す情報などが含まれる。
The data includes readings (IN.RE) for each input/output device.
Indicates control codes such as AD), withdrawal (STOR), printing (PRNT), writing [WRIT], return or release (0UT), responses from input/output devices, abnormalities and errors in each input/output device, etc. Contains information, etc.

データを含まない電文もあり、これをレシーブ・レデイ
・フレーム(RRフレームという)とする。命令10P
Tは各入出力機器に所定の動作を実行させるものであり
、上述の制御コードを伴なう。また命令WAITは応答
を待つという意味であつてRRフレームの電文となる。
各入出力機器から主制御装置50に応答したり、データ
を送つたりするときには主制御装置50からのRRフレ
ーム電文に同期して送信する。RRフレームに対してデ
ータを伴なう電文を1フレームとする。検査ビツトは、
フレームの内容が正しく伝送されたかどうかを検査する
ために使用されるものである。第3図は主制御装置50
内のRAM52の構成の一部を示している。
There are also messages that do not contain data, and these are called receive ready frames (referred to as RR frames). Instruction 10P
T causes each input/output device to perform a predetermined operation, and is accompanied by the above-mentioned control code. The command WAIT means to wait for a response, and is a message of an RR frame.
When each input/output device responds or sends data to the main control device 50, the data is sent in synchronization with the RR frame message from the main control device 50. One frame corresponds to a message accompanying data for an RR frame. The inspection bit is
It is used to check whether the contents of the frame have been transmitted correctly. Figure 3 shows the main controller 50.
3 shows a part of the configuration of the RAM 52 in the drawing.

RAM52内には、入出力機器との間の交信のために用
いられる受信データを記憶するエリヤM1および送信デ
ータを記憶するエリヤM2、ならびにセンタとの間の上
り、下り電文を記憶するセンタ送信データ・エリヤM3
およびセンタ受信データ・エリヤM4が設けられ、さら
に現金取引処理に必要なカード・データ、暗証番号、請
求金額および伝票印字データをそれぞれ記憶するエリヤ
M5〜M8が設けられている。カード・データ、暗証番
号および請求金額は受信データ(エリヤM1)として各
入出力機器から送られたときにこれらのエリヤM5〜M
7に記憶され、センタとの交信においてセンタ送信デー
タ中に加えられる。伝票印字データはセンタ受信データ
としてセンタから送られてきたときにエリヤM8に記憶
され、伝票発行機72への制御データとして用いられる
。送信データ・エリヤM2には第2図に示すフレーム形
式と同じように、開始フラグ、アドレス、コマンド、デ
ータ、検査ビツトおよび終止フラグの記憶場所が設けら
れている。また、RAM52には各入出力機器に対する
処理テーブルTMが設けられており、この処理テーブル
TMには、各入出力機器ごとに、走査登録フラグとして
用いられる記憶場所T1と、各人出力機器のアドレスの
記憶場所T2と、各入出力機器固有のサブルーチン・プ
ログラムの先頭アドレスを記憶する場所T3とが設けら
れている。モニタパネル制御部75およびリモート・モ
ニタ76を除く他の入出力機器は、後述するジヨプ・プ
ログラムにしたがつて一定の顔序で制御されるが、ジヨ
ブ・プログラム中にはモニタパネル制御部75およびリ
モート・モニタ76に対する特定の制御プログラムは組
まれていない。これらのモニタパネル制御部75および
リモート・モニタ76は他の入出力機器との間の交信時
に付随的に走査され、その走査時においてのみ主制御装
置50へのゼータ伝送が許される。この主制御装置50
による走査は登録されたモニタパネル制御部75または
リモート・モニタ76に対してのみ行なわれ、登録の有
無は記憶場所T1のフラグの状態によつて判別される。
この走査登録フラグが1の場合に登録有である。カード
・リーダ71〜接客パネル制御部74までの入出力機器
に対しては記憶場所T3には、これらの入出力機器の異
常処理などのサブ・ルーチン・プログラムの先頭アドレ
スが記憶されており、モニタパネル制御部75およびリ
モート・モニタ76に対しては記憶場所T3には、これ
らの入出力機器を走査した場合にRRフレーム以外の電
文が返つてきたときに実行すべきサブ・ルーチンのプロ
グラムの先頭アドレスが記憶されている。第4図は、主
制御装置50のジヨブ・プログラムの概要を示している
Inside the RAM 52, there is an area M1 that stores received data used for communication with input/output devices, an area M2 that stores transmitted data, and a center transmitted data that stores uplink and downlink messages to and from the center.・Elijah M3
and a center reception data area M4 are provided, and furthermore, areas M5 to M8 are provided for respectively storing card data, a personal identification number, a billed amount, and slip print data necessary for cash transaction processing. When the card data, PIN number, and billing amount are sent from each input/output device as received data (area M1), these areas M5 to M
7 and added to the center transmission data during communication with the center. The slip print data is stored in the area M8 when sent from the center as center received data, and is used as control data for the slip issuing machine 72. The transmission data area M2 is provided with storage locations for a start flag, address, command, data, check bit and end flag, similar to the frame format shown in FIG. Further, the RAM 52 is provided with a processing table TM for each input/output device, and this processing table TM includes, for each input/output device, a storage location T1 used as a scan registration flag, and an address of each output device. There are provided a storage location T2 for storing a subroutine program specific to each input/output device, and a location T3 for storing a start address of a subroutine program specific to each input/output device. Other input/output devices other than the monitor panel control section 75 and the remote monitor 76 are controlled in a fixed order according to a job program, which will be described later. A specific control program for remote monitor 76 is not programmed. These monitor panel control unit 75 and remote monitor 76 are scanned incidentally when communicating with other input/output devices, and zeta transmission to the main controller 50 is permitted only during the scan. This main control device 50
Scanning is performed only on the registered monitor panel control unit 75 or remote monitor 76, and the presence or absence of registration is determined by the state of the flag in the storage location T1.
If this scan registration flag is 1, it is registered. For the input/output devices from the card reader 71 to the customer service panel control section 74, the storage location T3 stores the start addresses of subroutine programs such as abnormality processing for these input/output devices, and the monitor For the panel control unit 75 and the remote monitor 76, the memory location T3 contains the beginning of the subroutine program to be executed when a message other than the RR frame is returned when these input/output devices are scanned. Address is memorized. FIG. 4 shows an overview of the job program of the main controller 50.

このプログラムでは便宜的に、接客パネル制御部74の
操作手順表示器、数値表示器に対する処理などが省略さ
れている。また、各ステツプの右がわにはそのステツプ
に対応するジヨブ命令が示されている。イニシャル・り
セツト時に(ステツプ1)、テーブルTMのモニタパネ
ル制御部75およびリモート・モニタ76の記憶場所T
1のフラグを1にセツトし、登録する。また、全人出力
機器に命令WAITを伴なうRRフレーム電文を送出し
て全人出力機器をサーチし、各人出力機器からの応答に
よりその異常、エラーなどを調べる。初期状態の処理が
終了すると入出力機器カード・リーダ71に対する処理
から開始する。カード・リーダ71内にカードが挿入さ
れたかどうか(ステツプ2)を調べ、カードが挿入され
ればカード・データを読取らせる(ステツプ3)。そし
て、読取つたカード・データが正規のものであるかどう
か、たとえばカード・データ中の銀行コードが一致する
かどうかを調べて(ステツプ4)、正規のカードでなけ
ればカードを返却して処理を終える(ステツプ5)。正
規のものであれば、次に接客パネル制御部74に対する
処理に移る。暗証番号がキーインされ(ステツプ6)、
支払請求金額が入力されれば(ステツプ7)、これらを
取込ませる。そして口座番号、支払請求金額などをセン
タに送信し(ステツプ8)、センタからこれに対する電
文が送信されればこの電文を受信し(ステツプ9)、セ
ンタからの下り電文を調べることにより支払いが許可さ
れているかどうかをみる(ステツプ10)。たとえば支
払請求 1金額が残高よりも高額の場合には支払いは不
可能であるから、カードを返却して処理を終える(ステ
ツプ5)。支払いが可能であれば、紙幣放出機73、伝
票発行機72およびカード・リーダ71に対する処理を
平行して実行する。紙幣放出機73に対しては支払うべ
き金額の紙幣の計数と一時保留を指令し、伝票発行機7
2に対しては伝票の印字を、カード・リーダ71に対し
てはカード記録をそれぞれ指令して(ステツプ11〜1
3)、これらが終了すればカードを返却させ(ステツプ
214)、一時保留している紙幣および伝票を放出し
(ステツプ15)、処理を終える。ジヨブ・プログラム
のステツプ2,3は、力ード・リーダ71に対する処理
であり、この処理の実行中は、主制御装置50と入出力
機器との間の 2回線はカード・リーダ71との間での
みデータ伝送が行なわれる。
For convenience, this program omits processing for the operation procedure display and numerical display of the customer service panel control section 74. Further, to the right of each step, a job instruction corresponding to that step is shown. At the time of initial resetting (step 1), the storage location T of the monitor panel control section 75 of the table TM and the remote monitor 76 is
Set the flag 1 to 1 and register. In addition, an RR frame message with a command WAIT is sent to all output devices to search for all output devices, and abnormalities, errors, etc. are investigated based on responses from each output device. When the initial state processing is completed, processing for the input/output device card/reader 71 is started. It is checked whether a card is inserted into the card reader 71 (step 2), and if the card is inserted, the card data is read (step 3). Then, it is checked whether the read card data is legitimate, for example, whether the bank code in the card data matches (step 4), and if the card is not legitimate, the card is returned and processed. Finish (Step 5). If it is legitimate, the process moves on to the customer service panel control section 74 next. The PIN number is keyed in (step 6),
When the payment request amount is input (step 7), these are imported. Then, send the account number, payment amount, etc. to the center (step 8), and if the center sends a corresponding message, receive this message (step 9), and check the downstream message from the center to authorize payment. Check whether it is set (Step 10). For example, if the amount requested for payment is higher than the balance, payment is impossible, so the card is returned and the process is completed (step 5). If payment is possible, processing for the banknote dispensing machine 73, slip issuing machine 72, and card reader 71 is executed in parallel. The bill dispensing machine 73 is instructed to count and temporarily hold the bills of the amount to be paid, and the bill issuing machine 7
2 to print the slip, and the card reader 71 to record the card (steps 11 to 1).
3) When these are completed, the card is returned (step 214), the temporarily held banknotes and slips are released (step 15), and the process is completed. Steps 2 and 3 of the job program are processing for the card reader 71, and while this processing is being executed, the two lines between the main controller 50 and the input/output equipment are connected to the card reader 71. Data transmission takes place only in

第6図を参照して、ステツプ2に対するジヨブ命令の1
つは、命令10PTとアドレスCARDと制御データI
N(カード挿人読取り)とからなり、後述する解読プロ
グラムによ 3つてこのジヨブ命令を編集した電文がカ
ード・リーダ71に伝送されると、カード・リーダ71
はカード挿入検出動作を開始するとともに、このフレー
ム電文の受信確認のためのRRフレーム電文を主制御装
置50に送出する。M−CPU5lはこのRRフレーム
電文を受取ると、次に命令WAITとアドレスCARD
とからなるジヨブ命令を編集したRRフレーム電文をカ
ード・リーダ71に送る。カード・リーダ71は、カー
ドが挿入されてなければこれに対して再びRRフレーム
4電文をM−CPU5lに送出する。そして、力ード
が挿入されこれを検出したときに、カード挿入を検出し
た旨のIフレーム電文を主制御装置50に送る。これで
ステツプ2の処理が終了し、次にステツプ3に移る。ス
テツプ3でも同じように、命令10PT、アドレス(C
ARD)および制御コードREAD(カード・データ読
取り)のジヨブ命令を編集したlフレーム電文をカード
・り一ダ71に伝送するので、カード・リーダ71はカ
ードの内容の読取処理を開始するとともに、確認のため
のRRフレーム電文を主制御装置50に送る。このよう
にして、主制御装置50のM−CPU5lがジヨブ・プ
ログラムのステツプ2,3を実行しているときには、主
制御装置50と入出力機器との回線制御もステツプ2,
3の処理に対応する入出力機器であるカード・リーダ7
1との間でデータの送受を実行する。
Referring to FIG. 6, job command 1 for step 2
One is instruction 10PT, address CARD, and control data I.
N (card insertion reading), and when a message with three job commands edited by the decoding program described later is transmitted to the card reader 71, the card reader 71
starts the card insertion detection operation and sends an RR frame message to the main controller 50 for confirmation of reception of this frame message. When the M-CPU 5l receives this RR frame message, it then sends the instruction WAIT and the address CARD.
An RR frame message containing edited job commands is sent to the card reader 71. If no card is inserted, the card reader 71 sends the RR frame 4 message to the M-CPU 5l again. Then, when the card is inserted and detected, an I-frame message indicating that the card insertion has been detected is sent to the main controller 50. This completes the process of step 2, and then moves on to step 3. In step 3, in the same way, instruction 10PT, address (C
ARD) and the control code READ (read card data) job command is transmitted to the card reader 71, so the card reader 71 starts reading the contents of the card and also confirms the contents. An RR frame message for this purpose is sent to the main controller 50. In this way, when the M-CPU 5l of the main controller 50 is executing steps 2 and 3 of the job program, the line control between the main controller 50 and the input/output equipment is also executed in steps 2 and 3.
Card reader 7, which is an input/output device that supports the processing in step 3.
1 and sends and receives data.

ステツプ6,7のジヨブ命令は接客パネル制御部74に
対するものでありそこに含まれるテンキ一のアドレス(
KEY)が含まれているので、このステツプ6,7の実
行中においては主制御装置50は接客パネル制御部74
とのみデータの送受を行なう。ステツプ11〜15にお
いても同じように、ジヨブ・プログラムの命令に対応し
て、その対応する入出力機器との間での回線制御が実行
される。第5図はジヨブ・プログラム解読プログラムを
示している。ジヨブ・プログラム・メモリ53からジヨ
ブ命令を読出し(ステツプ20)、その命令がIOPT
であるか、WAITであるかをみる(ステツプ21,3
1)。いずれの命令でもない場合にはその他の命令の処
理に移る。命令0PTの場合には、そのジヨブ命令中の
アドレス、制御コードを用いてRAM52のエリヤM2
に送信データを編集して(ステツプ22)、この送信デ
ータをDMA転送する(ステツプ23)。
The job commands in steps 6 and 7 are for the customer service panel control unit 74, and the number one address (
KEY), the main controller 50 controls the customer service panel control section 74 during the execution of steps 6 and 7.
Send and receive data only with. Similarly, in steps 11 to 15, line control with the corresponding input/output device is executed in response to the commands of the job program. FIG. 5 shows a job program decoding program. The job instruction is read from the job program memory 53 (step 20) and the instruction is IOPT.
or WAIT (steps 21 and 3).
1). If it is not one of the commands, processing moves to other commands. In the case of instruction 0PT, the address and control code in the job instruction are used to store area M2 of the RAM 52.
The transmission data is edited (step 22), and this transmission data is transferred by DMA (step 23).

そして、指定した入出力機器から何らかの応答が返送さ
れたかどうかをみる(ステツプ24)。主制御装置50
から制御データを送出したときに監視タイマをスタート
させておき、このタイマの設定時間を超過しても何らの
応答もない場合にはエラーとしてエラー処理(図示略)
に移る。指定した入出力機器から何らかの応答があつた
場合には、それがRRフレームの電文かどうかをみて(
ステツプ25)、RRフレームでない場合には電文中に
何らかのデータが含まれているのであるから、そのデー
タに対する処理を実行する(ステツプ26)。たとえば
、カード・リーダ71からカード・データが送られてき
た場合にはそのカード・データをエリヤM5に書込むな
どの処理を実行する。RRフレームの場合には単なる確
認の電文であつて何らのデータも含まれていないから、
ステツプ26の処理を実行することなくステツプ27に
移つてジヨブ・プログラム・カウンタ55の内容に+1
してこのカウンタを更新する。ステツプ26の処理終了
後も同じようにジヨブ・プログラム・カウンタ55の内
容に+1する(ステツプ27)。そしてこの後ステツプ
20に戻つて、カウンタ55の内容によつて指定される
ジヨブ命令を読出し同じような処理を繰返えす。命令W
AITの場合にも同じように、エリヤM2にRRフレー
ムを編集して(ステツプ32)、この編集した内容を入
出力機器にDMA転送する(ステツプ33)。
Then, it is checked whether any response is returned from the designated input/output device (step 24). Main control device 50
A monitoring timer is started when control data is sent from , and if there is no response even after the set time of this timer is exceeded, an error is handled as an error (not shown).
Move to. When a response is received from the specified input/output device, check whether it is an RR frame message (
In step 25), if the frame is not an RR frame, the message contains some data, so processing for that data is executed (step 26). For example, when card data is sent from the card reader 71, processing such as writing the card data into area M5 is executed. In the case of an RR frame, it is just a confirmation message and does not contain any data.
The program proceeds to step 27 without executing the process of step 26, and adds 1 to the contents of the job program counter 55.
and update this counter. After the processing in step 26 is completed, the job program counter 55 is similarly incremented by 1 (step 27). Thereafter, the process returns to step 20, reads out the job command specified by the contents of the counter 55, and repeats the same process. Command W
Similarly, in the case of AIT, the RR frame is edited in area M2 (step 32), and the edited contents are DMA-transferred to the input/output device (step 33).

そして指定した人出力機器から応答があれば(ステツプ
34)、受信した電文がRRフレームであるかどうかを
みて(ステツプ35)、RRフレームであればステツプ
41に移る。RRフレームでない場合には、ステツプ2
6と同じように送信されたデータに対する処理を実行し
て(ステツプ36)、この後プログラム・カウンタ55
の内容に+1して(ステツプ37)、ステツプ20に戻
る。ステツプ40〜47の処理は、モニタパネル制御部
74およびリモート・モニタ76に対する処理であつて
、他の入出力機器71〜74との間のデータ伝送処理に
付随して実行され、これらの入出力機器71〜74にR
Rフレームの電文を送出し、これらの入出力機器71〜
74からRRフレームが送信されたときに実行される。
If there is a response from the specified human output device (step 34), it is checked whether the received message is an RR frame (step 35), and if it is an RR frame, the process moves to step 41. If it is not an RR frame, step 2
The transmitted data is processed in the same way as in step 6 (step 36), and then the program counter 55
The content is incremented by +1 (step 37) and the process returns to step 20. The processes in steps 40 to 47 are processes for the monitor panel control unit 74 and remote monitor 76, and are executed in conjunction with the data transmission process with other input/output devices 71 to 74, and these input/output R to devices 71-74
Sends the R-frame message and connects these input/output devices 71 to
This is executed when an RR frame is transmitted from 74.

主制御装置50にはテーブルTM検索用のカウンタが設
けられており、このカウンタはテーブルTM内の各入出
力機器に対する処理終了後に更新される。このカウンタ
の示すアドレスにもとづいてテーブルTMを検索し(ス
テツプ41)、検索した記憶場所T1の走査登録フラグ
が1にセツトされているかどうかをみる(ステツプ42
)。このフラグが0であればステツプ40に移つてすべ
ての入出力機器に対する記憶場所の検索が終了したかど
うかをみて、終了していなければステツプ41に移る。
終了していれば上記のカウンタの内容を初期値(テーブ
ルTM中の先頭アドレス)Vc設定してステツプ20に
戻る。フラグが1の場合には、対応する記憶場所T2の
アドレスを読出してRAM52の記憶エリヤM2にRR
フレームを編集し(ステツプ43)、DMA転送する(
ステツプ44)。入出力機器71〜74のフラグはOで
あり、モニタパネル制御部75およびリモート・モニタ
76のフラグが1にセツトされているから、まずモニタ
パネル制御部75のアドレスを含むRRフレームの電文
が送出される。そして、このモニタパネル制御部75か
ら一定時間以内に応答があるかどうかをみて(ステツプ
45)、応答があればそれがRRフレームかどうかを判
断する(ステツプ46)。一定時間以内に応答がない場
合にはエラー処理(図示略)を実行する。モニタパネル
制御部75およびリモート・モニタ76は現金支払機の
動作状態を監視、制御するものであり、上述のように各
種のスイツチ設定器などが設けられている。このような
スイツチ、設定器などの状態に変更があつた場合には、
モニタパネル制御部75およびリモート・モニタ76は
主制御装置50からRRフレームの電文を受信したとき
に(ステツプ44)、スイツチ、設定器などの状態の変
更があつた旨の電文を作成して主制御装置50に応答す
る。スィツチ、設定器などの状態の変更がない場合には
RRフレームの電文で応答する。主制御装置50は、モ
ニタパネル制御部75またはリモート・モニタ76から
の応答がRRフレームの電文であればステツプ40に移
り、RRフレームではなく何らかの応答データがある場
合には、テーブルTMの記憶場所T3に記憶されている
アドレスにジアップして受信データに対応するサブルー
チン処理を実行する(ステツプ47)。ステツプ47の
処理が終了したときにはステツプ20に戻る。そして、
再びステツプ35でYESとなつたときにステツプ40
〜47の処理に入り込む。このようにして、主制御装置
50とモニタパネル制御部75およびリモート・モニタ
76との間のデータ伝送は、主制御装置50と他の入出
力機器71〜74との間の交信時においてRRフレーム
の電文の送受があつたときに実行される。このことによ
り、モニタパネル制御部75およびリモート・モニタ7
6に対するジヨブ・プログラムを設定することなく、モ
ニタパネル制御部75およびリモート・モニタ76の割
込要因を主制御装置50に入力することが可能となる。
第7図は、ジヨブ・プログラムのステツプ15における
処理の際中にモニタパネル制御部75およびリモート・
モニタ76との交信をする場合を示している。
The main controller 50 is provided with a counter for searching the table TM, and this counter is updated after completion of processing for each input/output device in the table TM. The table TM is searched based on the address indicated by this counter (step 41), and it is checked whether the scan registration flag of the searched storage location T1 is set to 1 (step 42).
). If this flag is 0, the process moves to step 40, where it is checked whether the search for storage locations for all input/output devices has been completed, and if not, the process moves to step 41.
If the process has been completed, the contents of the counter described above are set to the initial value (the first address in the table TM) Vc, and the process returns to step 20. If the flag is 1, the address of the corresponding memory location T2 is read and the RR is stored in the memory area M2 of the RAM 52.
Edit the frame (step 43) and perform DMA transfer (
Step 44). Since the flags of the input/output devices 71 to 74 are O, and the flags of the monitor panel control unit 75 and the remote monitor 76 are set to 1, an RR frame message containing the address of the monitor panel control unit 75 is first sent. be done. Then, it is checked whether there is a response from the monitor panel control section 75 within a certain period of time (step 45), and if there is a response, it is determined whether or not it is an RR frame (step 46). If there is no response within a certain period of time, error processing (not shown) is executed. The monitor panel control section 75 and the remote monitor 76 monitor and control the operating state of the cash dispensing machine, and are provided with various switch setting devices as described above. If the status of such switches, setting devices, etc. changes,
When the monitor panel control unit 75 and remote monitor 76 receive the RR frame message from the main controller 50 (step 44), they create a message indicating that the status of a switch, setting device, etc. has changed, and send the message to the main controller. Responsive to controller 50. If there is no change in the status of switches, setting devices, etc., a response is sent with an RR frame message. If the response from the monitor panel control section 75 or the remote monitor 76 is an RR frame message, the main control device 50 moves to step 40, and if there is some response data other than an RR frame, the main control device 50 moves to step 40. The subroutine processing corresponding to the received data is executed by uploading to the address stored in T3 (step 47). When the process of step 47 is completed, the process returns to step 20. and,
When the answer to step 35 is YES again, proceed to step 40.
- 47 processing begins. In this way, data transmission between the main control device 50, the monitor panel control section 75, and the remote monitor 76 is performed using the RR frame during communication between the main control device 50 and other input/output devices 71 to 74. Executed when a message is sent or received. As a result, the monitor panel control section 75 and the remote monitor 7
It becomes possible to input the interrupt factors of the monitor panel control unit 75 and the remote monitor 76 to the main controller 50 without setting a job program for the main controller 6.
FIG. 7 shows the monitor panel control unit 75 and the remote controller during processing in step 15 of the job program.
This shows the case of communicating with the monitor 76.

命令10PT1アドレスCASH、制御コード0UT(
紙幣放出)からなるジヨブ命令の電文を編集して送信す
ると(ステツプ23)、紙幣放出機73からこの電文の
受信確認のRRフレーム電文が送られてくる(ステツプ
25)。フログラム・カウンタ55の内容に+1して(
ステツプ27)、次のジヨブ命令10PT、アドレスJ
NL、制御コード0UT(伝票放出)を読出し(ステツ
プ20)、これを編集して送信すると(ステツプ23)
伝票発行機72からRRフレームの電文が送られてくる
ので(ステツプ25)、再びプログラム・カウンタ55
の内容に+1する(ステツプ27)。次のジヨブ命令は
命令WAlT、アドレスCASHであるからこれを編集
して送信し(ステツプ33)、紙幣放出機73から送ら
れるRRフレームの電文を受信すると(ステツプ35)
、ステツプ41に移る。
Instruction 10 PT1 address CASH, control code 0UT (
When the job command telegram consisting of "bill discharge" is edited and transmitted (step 23), an RR frame telegram confirming receipt of this telegram is sent from the bill dispensing machine 73 (step 25). Add 1 to the contents of the program counter 55 (
Step 27), next job instruction 10PT, address J
NL, control code 0UT (slip release) is read out (step 20), edited and sent (step 23)
Since the RR frame message is sent from the slip issuing machine 72 (step 25), the program counter 55
Add 1 to the content of (step 27). The next job command is the command WALT and the address CASH, so it is edited and sent (step 33), and when the RR frame message sent from the banknote dispenser 73 is received (step 35).
, proceed to step 41.

そして命令WAIT、アドレスMPNLのRRフレーム
電文を送出し(ステツプ44)、モニタパネル制御部7
5からRRフレームの電文による応答があると(ステツ
プ46)、次に命令WAIT、アドレスRMCのRRフ
レーム電文を送出する(ステツプ44)。同じようにリ
モート・モニタ76からRRフレームの応答があると(
ステツプ46)、ステツプ40に戻るが、検索終了であ
るからステツプ20に移る。そして、ジヨブ命令WAI
T、アドレスJNLの電文を送出し(ステツプ33)、
伝票発行機72からRRフレームの電文による応答があ
ると再びステツプ41に移り、モニタパネル制御部75
およびリモート・モニタ76に対する問合せを行なう。
検索終了か、またはモニタパネル制御部75もしくはリ
モート・モニタ76から何らかのデータが送信されそれ
に対する処理を終えればステツプ20に戻る。そして、
再びジヨブ命令WAIT、アドレスCASHの電文を送
出し(ステツプ33)、紙幣放出機73から紙幣放出完
了の応答があればそれに対する処理を実行する(ステツ
プ36)。同じようにして、伝票発行機72にRRフレ
ームの電文を送つたときに伝票放出完了の応答があれば
、すべての処理が終了する。なお、第5図のステツプ3
5からステツプ41に移るのは、ステツプ15の処理に
おいてのみとは限らない。第6図に示すステツプ2の処
理においても、他の処理においても、RRフレームの電
文を送出してRRフレームの電文が返つてきたときには
ステツプ41に移り、モニタパネル制御部75、リモー
ト・モニタ76に対するサーチが実行される。第8図は
1台のシステム・コントローラ(SCという)90によ
り複数台の現金支払機70と現金預金機80を制御する
場合を示している。
Then, the command WAIT and the RR frame message with the address MPNL are sent (step 44), and the monitor panel control unit 7
When there is a response from 5 in the form of an RR frame message (step 46), the RR frame message with the command WAIT and address RMC is sent out (step 44). Similarly, when there is an RR frame response from the remote monitor 76 (
At step 46), the process returns to step 40, but since the search has ended, the process moves to step 20. And job command WAI
T, sends a message with address JNL (step 33),
When there is a response from the slip issuing machine 72 in the form of an RR frame message, the process moves to step 41 again, and the monitor panel control unit 75
and queries the remote monitor 76.
When the search is completed, or when some data is transmitted from the monitor panel control section 75 or the remote monitor 76 and the processing thereof is completed, the process returns to step 20. and,
The job command WAIT and the message CASH are sent out again (step 33), and if there is a response from the banknote dispensing machine 73 indicating completion of banknote dispensing, processing is executed in response to the response (step 36). Similarly, when the RR frame message is sent to the slip issuing machine 72, if there is a response indicating completion of slip release, all processing ends. Note that step 3 in Figure 5
The transition from Step 5 to Step 41 is not limited to the processing of Step 15. In the process of step 2 shown in FIG. 6 as well as in other processes, when an RR frame message is sent and an RR frame message is returned, the process moves to step 41, and the monitor panel control unit 75, remote monitor 76 A search for is executed. FIG. 8 shows a case where a plurality of cash dispensing machines 70 and cash deposit machines 80 are controlled by one system controller (referred to as SC) 90.

現金支払機70は第1図に示すものと同じであつて、現
金預金機80には通帳に貼付された磁気ストライプの内
容を読取りまたは書込む通帳リーダ81.挿入された紙
幣の真偽を判別する紙幣鑑別装置82などが備えられて
いる。これらの各人出力機器もまたS−CPU(図示略
)によつて制御され入出力装置ユニツトを構成している
。また、SC9OにはM−CPUlジヨブ・プログラム
、ジヨブ・プログラム解読プログラムをそれぞれ格納し
たROM、データ用のRAM、ジヨブ・プログラム・カ
ウンタ、交信制御用のインターフエイスなどが備えられ
ている。このようなシステムに対しても本願発明が適用
されるのは言うまでもない。以上詳細に説明したように
この発明は、複数の入出力機器の中に、主制御装置のジ
ヨブ・プログラムにしたがつて一定の順序で制御される
いくつかの特定入出力機器と、他の入出力機器とがある
ようなシステムに適用されるものである。ジヨブ命令と
同期させた特定入出力機器との交信制御のために、ジヨ
ブ・プログラム中の特定入出力機器を制御するためのジ
ヨブ命令には、特定入出力機器に所定の動作を実行させ
るための入出力命令と、同期をとるための待機命令とが
ある。そして同一の特定入出力機器制御に関しては待機
命令は入出力命令の後に配列されている。またこれらの
命令にはその命令によつて制御すべき特定入出力機器の
アドレスがそれぞれ含まれている。他の入出力機器との
交信のために、主制御装置内に、少なくとも他の入出力
機器に関して登録の有無およびそのアドレスが記憶され
た処理テーブルが設けられている。そして、主制御装置
はジヨブ・プログラム解読プログラムにしたがつて次の
動作を行なうように制御されている。
The cash dispensing machine 70 is the same as that shown in FIG. 1, and the cash deposit machine 80 includes a passbook reader 81 for reading or writing the contents of the magnetic stripe affixed to the passbook. A bill validating device 82 for determining the authenticity of inserted bills is provided. These individual output devices are also controlled by an S-CPU (not shown) and constitute an input/output device unit. Further, the SC90 is equipped with a ROM storing an M-CPU job program and a job program decoding program, a RAM for data, a job program counter, an interface for communication control, and the like. It goes without saying that the present invention is also applicable to such a system. As explained in detail above, the present invention includes, among a plurality of input/output devices, some specific input/output devices that are controlled in a fixed order according to the job program of the main controller, and other input/output devices. This is applied to systems that include output devices. In order to control communication with a specific input/output device in synchronization with a job command, a job instruction for controlling a specific input/output device in a job program includes a command to make the specific input/output device perform a predetermined operation. There are input/output instructions and standby instructions for synchronization. Regarding the same specific input/output device control, the standby command is arranged after the input/output command. Each of these instructions also includes the address of a specific input/output device to be controlled by the instruction. In order to communicate with other input/output devices, a processing table is provided in the main controller in which at least the presence or absence of registration of other input/output devices and their addresses are stored. The main controller is controlled to perform the following operations according to the job program decoding program.

まず、読出されたジヨブ命令が入出力命令の場合にはそ
の入出力命令に関する電文を該当する特定入出力機器に
送信しその応答を待つ。この入出力命令に対して該当す
る特定人出力機器から応答があるとその応答に応じた必
要な処理ののち次のジヨブ命令を読出す。読出されたジ
ヨブ命令が待機命令の場合にはその待機命令に関する電
文を該当する特定入出力機器に送信しその応答を待つ。
First, if the read job command is an input/output command, a message related to the input/output command is sent to the corresponding specific input/output device and a response is awaited. When a response is received from the corresponding specific person output device to this input/output command, the next job command is read out after necessary processing according to the response. If the read job command is a standby command, a message related to the standby command is sent to the corresponding specific input/output device and a response is awaited.

待機命令に対する該当特定入出力機器からの応答に実質
的なデータが含まれていない場合には処理テーブルを検
索して登録有の他の入出力機器に問合せ電文を送る。
If the response from the specific input/output device to the standby command does not include substantial data, the processing table is searched and an inquiry message is sent to other registered input/output devices.

これにより特定人出力機器との交信のあい間をぬつて、
しかもジヨブ・プログラム解読プログラムの一部として
、他の入出力機器で発生した割込要因の受入れが可能と
なる。待機命令に関する該当特定入出力機器からの応答
に実質的なデータが含まれている場合には、その応答に
応じた処理をして次のジヨブ命令を読出す。上述のよう
にジヨブ・プログラム中には同一特定入出力機器制御に
関しては、待機命令は入出力命令の後に配列されている
。したがつて、まず入出力命令によつてある人出力機器
に所定の動作を行なうよう指令が与えられる。次に同じ
入出力機器に待機命令の電文が送信される。この待機命
令の電文が送信された場合には対応する入出力機器から
実質的なデータを含む応答があつた後にのみ次のジヨブ
命令の読出しに移る。1つのジヨブ命令の実行において
はその命令に対応する特定入出力機器とのみのデータの
交信が可能となるとともに、ジヨブ命令の実行と、その
命令に関連する入出力機器との交信との同期をとること
が可能となる。
As a result, the communication with the specified person output device is eliminated,
Furthermore, as part of the job program decoding program, it is possible to accept interrupt factors generated in other input/output devices. If the response from the specific input/output device regarding the standby command includes substantial data, processing is performed according to the response and the next job command is read. As mentioned above, in a job program, standby instructions are arranged after input/output instructions for controlling the same specific input/output equipment. Therefore, first, an input/output command is given to a certain human output device to perform a predetermined operation. Next, a standby command message is sent to the same input/output device. When this standby command message is transmitted, reading of the next job command is started only after a response containing substantial data is received from the corresponding input/output device. When executing one job command, data can be exchanged only with the specific input/output device corresponding to that command, and the execution of the job command and communication with the input/output device related to that command can be synchronized. It becomes possible to take

このようにして回線効率とジヨブ実行速度を高めること
ができる。
In this way, line efficiency and job execution speed can be increased.

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

第1図は現金支払機の概略構成を示すプロツク図、第2
図は主制御装置と入出力機器との間で送受される電文の
フレーム形式を示す図、第3図は主制御装置のRAMの
構成を示す図、第4図はジヨブ・プログラムを示すフロ
ー・チヤート、第5図はジヨブ・プログラム解読プログ
ラムを示すフロー・チヤート、第6図および第7図は主
制御装置と入出力機器との間のデータの送受の様子を示
す図、第8図はシステム・コントローラを用いた場合の
他の例を示すプロツク図である。 50・・・・・・主制御装置、51・・・・・・M−C
PU、65・・・・・・S−CPU、71〜76・・・
・・・人出力機器、TM・・・・・・テーブル。
Figure 1 is a block diagram showing the general configuration of the cash dispensing machine, Figure 2
The figure shows the frame format of the message sent and received between the main controller and input/output equipment, Figure 3 shows the configuration of the RAM of the main controller, and Figure 4 shows the flow diagram of the job program. Figure 5 is a flow chart showing the job program decoding program, Figures 6 and 7 are diagrams showing how data is sent and received between the main controller and input/output equipment, and Figure 8 is a system diagram. - It is a block diagram showing another example when a controller is used. 50... Main control device, 51... M-C
PU, 65...S-CPU, 71-76...
...Human output equipment, TM...Table.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の入出力機器とこれらを制御する主制御装置と
からなり、入出力機器と主制御装置とはシリアル伝送回
線によつて結ばれているシステムにおいて、複数の入出
力機器は、主制御装置のジョブ・プログラムにしたがつ
て一定の順序で制御されるいくつかの特定入出力機器と
、他の入出力機器とからなり、ジョブ・プログラム中の
特定入出力機器を制御するためのジョブ命令には、特定
入出力機器に所定の動作を実行させるための入出力命令
と、同期をとるための待機命令とがあり、同一の特定入
出力機器制御に関しては待機命令は入出力命令の後に配
列されているとともにこれらの命令にはその命令によつ
て制御すべき特定入出力機器のアドレスがそれぞれ含ま
れており、主制御装置内に、少なくとも他の入出力機器
に関して登録の有無およびそのアドレスが記憶された処
理テーブルがあり、主制御装置はジョブ・プログラム解
読プログラムにしたがつて次の動作を行なう入出力制御
方式、読出されたジョブ命令が入出力命令の場合にはそ
の入出力命令に関する電文を該当する特定入出力機器に
送信しその応答を待つ、入出力命令に対して該当する特
定入出力機器からの応答があるとその応答に応じた必要
な処理ののち次のジョブ命令を読出す、読出されたジョ
ブ命令が待機命令の場合にはその待機命令に関する電文
を該当する特定入出力機器に送信しその応答を待つ、待
機命令に対する該当特定入出力機器からの応答に実質的
なデータが含まれていない場合には処理テーブルを検索
して登録有の他の入出力機器に問合せ電文を送る、待機
命令に対する該当特定入出力機器からの応答に実質的な
データが含まれている場合には、その応答に応じた処理
をして次のジョブ命令を読出す。
1. In a system consisting of multiple input/output devices and a main control device that controls them, where the input/output devices and the main control device are connected by a serial transmission line, the multiple input/output devices are connected to the main control device. It consists of several specific input/output devices and other input/output devices that are controlled in a fixed order according to the job program, and the job instructions for controlling the specific input/output devices in the job program are There are input/output commands for making a specific input/output device perform a predetermined operation, and standby instructions for synchronization.The standby command is arranged after the input/output command when controlling the same specific input/output device. At the same time, each of these commands includes the address of the specific input/output device to be controlled by the command, and the main control device stores at least the presence or absence of registration and the address of other input/output devices. There is an input/output control method in which the main controller performs the next operation according to the job program decoding program, and if the read job instruction is an input/output instruction, it sends a message related to the input/output instruction. Sends the command to the relevant specific input/output device and waits for its response.When there is a response from the relevant specific input/output device to the input/output command, the next job command is read after performing the necessary processing according to the response. If the read job command is a standby command, a message related to the standby command is sent to the corresponding specific input/output device and the response is waited for.Substantive data is included in the response from the corresponding specific input/output device to the standby command. If not, search the processing table and send an inquiry message to other registered input/output devices.If the response from the specific input/output device to the standby command contains substantial data, , performs processing according to the response and reads the next job command.
JP55032032A 1980-02-19 1980-03-12 Input/output control method Expired JPS5936284B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP55032032A JPS5936284B2 (en) 1980-03-12 1980-03-12 Input/output control method
US06/651,639 US4639889A (en) 1980-02-19 1984-09-17 System for controlling communication between a main control assembly and programmable terminal units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55032032A JPS5936284B2 (en) 1980-03-12 1980-03-12 Input/output control method

Publications (2)

Publication Number Publication Date
JPS56127233A JPS56127233A (en) 1981-10-05
JPS5936284B2 true JPS5936284B2 (en) 1984-09-03

Family

ID=12347522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55032032A Expired JPS5936284B2 (en) 1980-02-19 1980-03-12 Input/output control method

Country Status (1)

Country Link
JP (1) JPS5936284B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60191310A (en) * 1984-03-13 1985-09-28 Mitsubishi Electric Corp Operation desk containing drive device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60198678A (en) * 1984-03-22 1985-10-08 Nec Corp Inter-unit connection system
JP2950844B2 (en) * 1989-04-04 1999-09-20 株式会社東芝 Digital control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60191310A (en) * 1984-03-13 1985-09-28 Mitsubishi Electric Corp Operation desk containing drive device

Also Published As

Publication number Publication date
JPS56127233A (en) 1981-10-05

Similar Documents

Publication Publication Date Title
CA1222824A (en) Data collection system
JP2854636B2 (en) Apparatus and method for issuing portable medium
JPS5936284B2 (en) Input/output control method
JP3097744B2 (en) Cash transaction device management system
JPS5936283B2 (en) Input/output control method
GB2070302A (en) Data communication system
JP2784670B2 (en) Pachinko premium exchange system
JP3118941B2 (en) Automatic transaction equipment
JPS6349267B2 (en)
JPH0612575A (en) Order information management device
JPS6156545B2 (en)
JPH0810458B2 (en) Automatic transaction processing system
JPS59191690A (en) Automatic transaction apparatus
JP3601444B2 (en) Continuous transaction automatic input device and automatic transaction device
JPH0628078B2 (en) IC card trading system
JP2658131B2 (en) Passbook issuing system
JP2604204B2 (en) Vending machine system
JPH0628079B2 (en) IC card trading system
JPH0248791A (en) Card vending machine system
JPS6152510B2 (en)
JPH0626000B2 (en) IC card trading system
JPH0241067B2 (en)
JPH04372057A (en) Automatic information processing/transmission system
JPH06103289A (en) The check-in time changing system for automatic check-in machine
JPH0630120B2 (en) IC card trading system