JPH0523098B2 - - Google Patents

Info

Publication number
JPH0523098B2
JPH0523098B2 JP57119920A JP11992082A JPH0523098B2 JP H0523098 B2 JPH0523098 B2 JP H0523098B2 JP 57119920 A JP57119920 A JP 57119920A JP 11992082 A JP11992082 A JP 11992082A JP H0523098 B2 JPH0523098 B2 JP H0523098B2
Authority
JP
Japan
Prior art keywords
transmission
message
terminal
central processing
processing unit
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 - Lifetime
Application number
JP57119920A
Other languages
Japanese (ja)
Other versions
JPS5911054A (en
Inventor
Satoru Saito
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 JP57119920A priority Critical patent/JPS5911054A/en
Publication of JPS5911054A publication Critical patent/JPS5911054A/en
Publication of JPH0523098B2 publication Critical patent/JPH0523098B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L13/00Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

(発明の分野) 本発明は中央処理装置と端末機との間のデータ
伝送を伝送変換装置を介して行なうデータ伝送装
置に関し、特に伝送変換装置を汎用化して、端末
機の種類によつては電文伝送の制御方法が異なる
複数の端末機に対応できるようにしたデータ伝送
装置に関する。 (発明の背景) 従来、中央処理装置と端末機との間に中間処理
装置すなわち伝送変換装置を介挿してデータ伝送
を行なうデータ伝送装置が知られている。このよ
うなデータ伝送装置においては、中央処理装置は
単に端末機のデータ伝送手順およびデータフオー
マツトに合わせた電文を送出するだけであり、伝
送変換装置がこの電文の内容によつて次に自身の
なすべき処理を決定するように構成されていた。
すなわち、伝送変換装置においては、第1図のフ
ローチヤートに示すように、中央処理装置から端
末機へ送出されるコマンドの内容を判別し、コマ
ンドの内容によつて端末機へデータ送信を行なつ
た後の処理として端末機からの応答を持つか、ま
たは中央処理装置からの次のデータ入力を待つか
の判断をしていた。 ところで、このようなデータ伝送装置に接続さ
れる端末機は、例えば同一のコマンドに相当する
言語が異なつていたり、または同一のコマンドに
対して応答する端末機と応答しない端末機がある
というようにその電文伝送の制御方法に様々のも
のが存在する。このため、電文伝送の制御方法の
異なる端末機を接続するときは中央処理装置のプ
ログラムを変更することは勿論であるが、さらに
伝送変換装置のプログラムも併せて変更する必要
があり、対応に手間を要するという不都合があつ
た。 (発明の目的) 本発明の目的は上述の従来形における問題点に
鑑み、伝送変換装置を備えるデータ伝送装置にお
いて、伝送変換装置を汎用化し、端末機の電文伝
送の制御方法が異なる場合にも中央処理装置のプ
ログラムを変更するだけで対応を可能とすること
にある。 (発明の構成および効果) 上記目的を達成するため本発明のデータ転送装
置は、中央処理装置と、伝送変換装置と、この中
央処理装置との間での電文伝送の制御方法が端末
機の種類によつては異なる含数の端末機とを備
え、該中央処理装置と該端末機との間のデータ伝
送を該伝送変換装置を介して行うデータ伝送装置
において、前記中央処理装置は各端末機への送信
電文に対し、送信先の端末機種類およびその送信
電文内容に対応して前記伝送変換装置が行うべき
電文伝送の制御内容を示す指令を付加して該伝送
変換装置へ送出する手段を含み、該伝送変換装置
は該指令と該送信電文を分離する手段と、該送信
電文を該端末機に送出する手段と、該指令に基づ
いて電文伝送の制御を行う手段とを具備すること
を特徴とする。従つて、本発明によると、端末機
ごとに電文伝送の制御方法が異なつても伝送変換
装置でこの電文中のコマンドを解読する必要がな
いため、伝送変換装置のプログラムを固定でき、
伝送変換装置を汎用化することができる。すなわ
ち、端末機の電文伝送の制御方法が異なつても中
央処理装置のプログラム変更のみで対応でき、伝
送変換装置のプログラムを変更する必要がない。 (実施例の説明) 以下図面により本発明をさらに詳細に説明す
る。 第2図は本発明の1実施例に係るデータ伝送装
置のプログラム構成を示す。このデータ伝送装置
は中央処理装置1、中央処理装置1と伝送路2を
介して接続された伝送変換装置3、伝送変換装置
3と伝送路4(41,42,…,4n)を介して接
続された端末機5(51,52,…,5n)を具備
する。 中央処理装置1は中央制御装置(CPU)21、
リードオンメモリ(ROM)22、ランダムアク
セスメモリ(RAM)23および伝送回路24等
を具備する。ROM22にはRAM23にCPU2
1用の制御プログラムをロードするための基本制
御プログラムが格納されている。RAM23には
制御プログラム格納エリアや電文を格納するバツ
フアエリアなどが設けられている。なお、ROM
22をプラグイン式等で交換可能とし、または消
去および書込可能なEPROMを用いて外部のロー
ダから制御プログラムの書き換えを可能とするこ
とにより、制御プログラムはROM22に格納す
るようにし、RAM23には前記電文エリア等の
ワーキングエリアのみを設けてもよい。伝送回路
24は電文を並直列変換し、伝送レートやタイミ
ング等を調整して出力したり、また、端末機5か
ら伝送変換装置等を介して入力する電文を直並列
変換してCPU21に入力する。 伝送変換装置3はCPU31、ROM32、
RAM33、伝送回線34および伝送回路35等
を具備し、CPU31の制御のもとに中央処理装
置1の送出する電文を電文を伝送回線34を介し
て取り込んで一時格納したり、この取り込んだ電
文から指令を除いた電文を新たな電文として伝送
回路を介して端末機5に送出したり、中央処理装
置1からの指令に基づく後処理等を行なつたりす
る。ROM32はCPU31用の処理プログラムが
格納されている。RAM33は中央処理装置1の
送出する電文、この電文に含まれる指令およびデ
ータ、または端末機5に送出する新たな電文等を
一時記憶する。伝送回線34および伝送回路35
はそれぞれ中央処理装置1および端末機5の出力
をこれらと同期して取り込み直並列変換して
CPU31に送出し、またCPU31の出力を並直
列変換してそれぞれ中央処理装置1および端末機
5に送出する。 この伝送変換装置3には伝送路4を介して、伝
送変換装置3との間の伝送手順が一定である端末
機5が複数接続されている。この端末機5はAタ
イプのものとBタイプのものとを含み、このAタ
イプとBタイプとでは第1表に示すように同じコ
マンドについて異なる符号が割り当てられてい
る。
(Field of the Invention) The present invention relates to a data transmission device that performs data transmission between a central processing unit and a terminal via a transmission conversion device, and in particular, by making the transmission conversion device general-purpose, it can be used depending on the type of terminal. The present invention relates to a data transmission device that is compatible with a plurality of terminals that use different message transmission control methods. (Background of the Invention) Conventionally, data transmission devices are known in which an intermediate processing device, that is, a transmission conversion device is inserted between a central processing unit and a terminal device to perform data transmission. In such data transmission equipment, the central processing unit simply sends a message that matches the data transmission procedure and data format of the terminal, and the transmission conversion device then uses the contents of this message to transmit its own data. It was configured to determine what action should be taken.
That is, as shown in the flowchart in Figure 1, the transmission conversion device determines the content of the command sent from the central processing unit to the terminal, and transmits data to the terminal according to the content of the command. After that, a decision was made as to whether to receive a response from the terminal or wait for the next data input from the central processing unit. By the way, the terminals connected to such data transmission equipment may have different languages for the same command, or some terminals may respond to the same command while others do not. There are various methods of controlling the message transmission. For this reason, when connecting terminals with different message transmission control methods, it goes without saying that the central processing unit program must be changed, but it is also necessary to change the transmission conversion device program at the same time, which is a time-consuming process. There was the inconvenience that it required (Object of the Invention) In view of the above-mentioned problems with the conventional type, an object of the present invention is to make the transmission conversion device general-purpose in a data transmission device equipped with the transmission conversion device, so that it can be used even when the control method of message transmission of the terminal device is different. The aim is to make it possible to respond simply by changing the program of the central processing unit. (Structure and Effects of the Invention) In order to achieve the above object, the data transfer device of the present invention has a central processing unit, a transmission conversion device, and a method for controlling message transmission between the central processing unit and the terminal device. In the data transmission apparatus, the central processing unit may include a different number of terminals, and transmit data between the central processing unit and the terminals via the transmission conversion device. means for adding a command indicating the control content of the message transmission to be performed by the transmission conversion device in accordance with the type of terminal device of the destination and the contents of the transmission message to the transmission message to be sent to the transmission conversion device; and the transmission conversion device includes means for separating the command and the transmitted message, means for sending the transmitted message to the terminal, and means for controlling message transmission based on the instruction. Features. Therefore, according to the present invention, even if the control method for message transmission differs for each terminal, there is no need for the transmission conversion device to decode the commands in the message, so the program of the transmission conversion device can be fixed.
The transmission conversion device can be made more versatile. That is, even if the control method of message transmission of the terminals is different, it can be handled by simply changing the program of the central processing unit, and there is no need to change the program of the transmission conversion device. (Description of Examples) The present invention will be described in more detail below with reference to the drawings. FIG. 2 shows a program configuration of a data transmission device according to an embodiment of the present invention. This data transmission device includes a central processing unit 1, a transmission conversion device 3 connected to the central processing unit 1 via a transmission path 2, and a transmission conversion device 3 connected to the transmission path 4 (4 1 , 4 2 , ..., 4n). Terminals 5 (5 1 , 5 2 , ..., 5n) are connected to each other. The central processing unit 1 includes a central control unit (CPU) 21,
It includes a read-on memory (ROM) 22, a random access memory (RAM) 23, a transmission circuit 24, and the like. ROM22 has RAM23 and CPU2
A basic control program for loading a control program for 1 is stored. The RAM 23 is provided with a control program storage area, a buffer area for storing messages, and the like. In addition, ROM
By making 22 replaceable with a plug-in type, or by making it possible to rewrite the control program from an external loader using an erasable and writable EPROM, the control program is stored in the ROM 22, and the control program is stored in the RAM 23. Only a working area such as the message area may be provided. The transmission circuit 24 converts the message from parallel to serial, adjusts the transmission rate, timing, etc., and outputs it, and also converts the message input from the terminal 5 via a transmission conversion device, etc. from serial to parallel and inputs it to the CPU 21. . The transmission conversion device 3 includes a CPU 31, a ROM 32,
It is equipped with a RAM 33, a transmission line 34, a transmission circuit 35, etc., and under the control of the CPU 31, the message sent by the central processing unit 1 can be captured via the transmission line 34 and temporarily stored, or from the captured message. The message from which the command has been removed is sent as a new message to the terminal 5 via the transmission circuit, and post-processing based on the instruction from the central processing unit 1 is performed. The ROM 32 stores a processing program for the CPU 31. The RAM 33 temporarily stores a message sent by the central processing unit 1, instructions and data included in this message, or a new message sent to the terminal 5. Transmission line 34 and transmission circuit 35
The outputs of the central processing unit 1 and the terminal 5 are taken in and serial-parallel converted in synchronization with these, respectively.
The output signal is sent to the CPU 31, and the output of the CPU 31 is parallel-serial converted and sent to the central processing unit 1 and the terminal 5, respectively. A plurality of terminal devices 5 are connected to the transmission conversion device 3 via a transmission line 4, and the transmission procedure between the terminal devices 5 and the transmission conversion device 3 is constant. The terminals 5 include an A type and a B type, and different codes are assigned to the same commands in the A type and B type, as shown in Table 1.

【表】 次に第2図のデータ伝送装置の動作を説明す
る。 第3図は第2図のデータ伝送装置においてAタ
イプの端末機5にデータを設定する場合のタイム
チヤートである。先ず、中央処理装置1は設定ス
タートコマンド01からなる電文を送出する。この
場合、コマンド01の先頭に、このコマンド01に従
つて伝送変換装置3がなすべき後処理に関する指
令すなわち端末機5からの応答を待機するべき旨
の指令2を付加する。伝送変換装置3は常時第4
図のフローチヤートに従つて動作しており、中央
処理装置1からの電文が入力すると、指令とコマ
ンドとを分離してコマンドをそのまま端末機5に
送出するとともに指令の内容を判別する。今回は
指令2であるから端末機5からの応答を待機す
る。そして、端末機5から設定可の応答があると
中央処理装置1へその応答を転送し、次の中央処
理装置1からの入力を待機する。 次に中央処理装置1は設定データコマンド02お
よび設定すべきデータとともに端末機5へコマン
ドおよびデータを送出した後は次の中央処理装置
1からの入力を特徴すべく旨の指令1を送出す
る。伝送変換装置3はコマンド02および設定デー
タを端末機5へ送出した後は指令1に従つて中央
処理装置1からの次の入力を待機する。 このように、中央処理装置1において伝送変換
装置3がなすべき処理を指示するデータとして端
末機のタイプおよびコマンドに対応させて指令
1、指令2、…、指令nを付加することにより、
伝送変換装置3は端末タイプで異なるコマンドを
解読する必要なく、したがつてそのプログラムを
変更する必要なく、指令1…指令nに応じて所要
の伝送処理を行うことができる。 なお、指令の他の例としては、例えば、第5図
に指令3として示すように、端末機から複数のデ
ータが返送される旨の指令がある。この場合、伝
送変換装置は、指令3とデータ「01」を受け取る
と、データ「01」を端末機へ送出し、端末機から
のデータ(「02」)の返送を待つ。そして、このデ
ータ「02」を受け取つたらそれを中央処理装置へ
転送し、さらに、端末機からの次のデータ
(「03」)を待つ。そして、伝送変換装置は、この
ような端末機から中央処理装置への転送を、端末
機から所定のデータが返送されてくるまで繰り返
し、その所定のデータを受け取ると、端末機から
の転送を終了し、中央処理装置からの入力待ち状
態となる。
[Table] Next, the operation of the data transmission device shown in FIG. 2 will be explained. FIG. 3 is a time chart when data is set in the A type terminal 5 in the data transmission apparatus shown in FIG. First, the central processing unit 1 sends a message consisting of a setting start command 01. In this case, a command 2 regarding the post-processing to be performed by the transmission conversion device 3 according to the command 01, that is, a command 2 to wait for a response from the terminal device 5, is added to the beginning of the command 01. The transmission converter 3 is always the fourth
It operates according to the flowchart shown in the figure, and when a message from the central processing unit 1 is input, it separates the command from the command, sends the command as it is to the terminal 5, and determines the contents of the command. Since this time it is command 2, a response from terminal 5 is awaited. When there is a response from the terminal 5 indicating that settings are possible, the response is transferred to the central processing unit 1 and the next input from the central processing unit 1 is awaited. Next, the central processing unit 1 sends the command and data together with the setting data command 02 and the data to be set to the terminal device 5, and then sends out a command 1 to characterize the next input from the central processing unit 1. After transmitting command 02 and setting data to terminal 5, transmission conversion device 3 waits for the next input from central processing unit 1 according to command 1. In this way, by adding commands 1, 2, .
The transmission conversion device 3 can perform the required transmission processing according to commands 1 to n without having to decipher commands that differ depending on the terminal type, and therefore without having to change its program. Note that another example of the command is, for example, a command to send back a plurality of data from the terminal, as shown as command 3 in FIG. In this case, upon receiving command 3 and data "01", the transmission conversion device sends data "01" to the terminal and waits for data ("02") to be returned from the terminal. When this data ``02'' is received, it is transferred to the central processing unit and waits for the next data (``03'') from the terminal. The transmission conversion device then repeats this transfer from the terminal device to the central processing unit until the predetermined data is returned from the terminal device, and upon receiving the predetermined data, ends the transfer from the terminal device. Then, it enters a state of waiting for input from the central processing unit.

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

第1図は従来のデータ伝送装置の動作を説明す
るためのフローチヤート、第2図は本発明のデー
タ伝送装置のブロツク構成図、第3図および第4
図はそれぞれ第2図のデータ伝送装置の動作を説
明するためのタイムチヤートおよびフローチヤー
トである。第5図は、第2図のデータ伝送装置に
おける指令の他の例を示すタイムチヤートであ
る。 1……中央処理装置、2,4……伝送路、3…
…伝送変換装置、5……端末機、11,31……
CPU、12,32……ROM、13,33……
RAM、14,35……伝送回路、34……伝送
線路。
FIG. 1 is a flowchart for explaining the operation of a conventional data transmission device, FIG. 2 is a block diagram of the data transmission device of the present invention, and FIGS.
The figures are a time chart and a flow chart, respectively, for explaining the operation of the data transmission device of FIG. 2. FIG. 5 is a time chart showing another example of commands in the data transmission device of FIG. 2. 1...Central processing unit, 2, 4...Transmission line, 3...
...Transmission conversion device, 5...Terminal, 11, 31...
CPU, 12, 32...ROM, 13, 33...
RAM, 14, 35...transmission circuit, 34...transmission line.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置と、伝送変換装置と、この中央
処理装置との間での電文伝送の制御方法が端末機
の種類によつては異なる複数の端末機とを備え、
該中央処理装置と該端末機との間のデータ伝送を
該伝送変換装置を介して行うデータ伝送装置にお
いて、前記中央処理装置は各端末機への送信電文
に対し送信先の端末機種類およびその送信電文内
容に対応して前記伝送変換装置が行うべき電文伝
送の制御内容を示す指令を付加して該伝送変換装
置へ送出する手段を含み、該伝送変換装置は該指
令と該送信電文を分離する手段と、該送信電文を
該端末機に送出する手段と、該指令に基づいて電
文伝送の制御を行う手段とを具備することを特徴
とするデータ伝送装置。
1 comprising a central processing unit, a transmission conversion device, and a plurality of terminals in which the method of controlling message transmission between the central processing unit differs depending on the type of terminal,
In a data transmission device that transmits data between the central processing unit and the terminal device via the transmission conversion device, the central processing device determines the type of destination terminal device and its type in response to a transmission message to each terminal device. The transmission converter includes means for adding a command indicating the control content of the message transmission to be performed by the transmission conversion device in response to the contents of the transmission message and sending it to the transmission conversion device, and the transmission conversion device separates the command and the transmission message. 1. A data transmission device comprising: means for sending the transmitted message to the terminal; and means for controlling message transmission based on the command.
JP57119920A 1982-07-12 1982-07-12 Data transmitter Granted JPS5911054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57119920A JPS5911054A (en) 1982-07-12 1982-07-12 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57119920A JPS5911054A (en) 1982-07-12 1982-07-12 Data transmitter

Publications (2)

Publication Number Publication Date
JPS5911054A JPS5911054A (en) 1984-01-20
JPH0523098B2 true JPH0523098B2 (en) 1993-03-31

Family

ID=14773445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57119920A Granted JPS5911054A (en) 1982-07-12 1982-07-12 Data transmitter

Country Status (1)

Country Link
JP (1) JPS5911054A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1268738A (en) * 1985-12-18 1990-05-08 Hideyuki Takahashi Continuous package train of deoxidizing agent and apparatus for severing packages
JPS63286705A (en) * 1987-05-20 1988-11-24 Mitsubishi Heavy Ind Ltd Position detecting method for robot

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5380144A (en) * 1976-12-25 1978-07-15 Oki Electric Ind Co Ltd Data transmission control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5380144A (en) * 1976-12-25 1978-07-15 Oki Electric Ind Co Ltd Data transmission control system

Also Published As

Publication number Publication date
JPS5911054A (en) 1984-01-20

Similar Documents

Publication Publication Date Title
JPH0523098B2 (en)
JP3230339B2 (en) Communication control device
JPS61186046A (en) System for controlling terminal equipment connection
JPS6236421B2 (en)
JPH01231155A (en) Peripheral equipment controller
JPS5953574B2 (en) Communication control method
JPH10290269A (en) Interface conversion circuit
JPS6281852A (en) Communication terminal equipment
JPS59119439A (en) Buffer busy avoiding system
JPS6112424B2 (en)
JPH02259858A (en) Data transfer processing system
JPH07105795B2 (en) Polling control method
JPS61214043A (en) Terminal equipment
JPH0478249A (en) Communication control method
JPH0214647A (en) Communication controller
JPS63152245A (en) Medium conversion system
JPH039631A (en) Line speed switching control system for time division line exchange
JPS59205848A (en) Priority control system
JPS614387A (en) Two-way catv system
JPS62260253A (en) Loading method for microprogram
JPH05328079A (en) System for facsimile transmission
JPS63137352A (en) On-line type message exchange system
JPH06125590A (en) Remote control system
JPH03154142A (en) Program loading system in electronic mail system
JPH02149049A (en) Communication control system