JPH086885A - Control system for serial communication - Google Patents

Control system for serial communication

Info

Publication number
JPH086885A
JPH086885A JP6137546A JP13754694A JPH086885A JP H086885 A JPH086885 A JP H086885A JP 6137546 A JP6137546 A JP 6137546A JP 13754694 A JP13754694 A JP 13754694A JP H086885 A JPH086885 A JP H086885A
Authority
JP
Japan
Prior art keywords
control command
terminal
terminals
address
computer
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
JP6137546A
Other languages
Japanese (ja)
Inventor
Hiroshi Ito
広志 伊藤
Yoshiji Okada
誉司 岡田
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.)
Toyo Kanetsu KK
Original Assignee
Toyo Kanetsu KK
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 Toyo Kanetsu KK filed Critical Toyo Kanetsu KK
Priority to JP6137546A priority Critical patent/JPH086885A/en
Publication of JPH086885A publication Critical patent/JPH086885A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To provide the control system for serial communication which enables many terminals to be connected without any increase in the constitution cost of a transmission line and can easily control respective terminals. CONSTITUTION:Plural terminals 103 having a necessary number of contacts 105 and 107 are looped to a computer 101 and a 1-byte control command consisting of ON/OFF indication/state data on contacts and address data is sent by asynchronous serial communication from the computer 101 to necessary terminals; and each terminal 103 subtracts the address data and transmits the resulting data to a next-stage terminal when deciding that the received control command is not its control command, or controls its contacts when deciding that the command is its control command.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、指示装置からのシリ
アルデータ伝送により各端末に接続された接点を制御す
るためのシリアル通信用制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial communication control system for controlling contacts connected to terminals by serial data transmission from an indicating device.

【0002】[0002]

【従来の技術】各接点とコンピュータとを伝送路で接続
する接続手段は、例えば、図8乃至図10に示される。
図8は、コンピュータ801に内蔵された制御ボード8
03に、複数の接点出力であるランプ及び/又はブザー
805並びに複数の接点入力であるセンサ及び/又はス
イッチ807が接続された形態を有し、各接点はそれぞ
れコンピュータ801の指示に基づく制御ボード803
により直接制御される。
2. Description of the Related Art A connecting means for connecting each contact and a computer by a transmission line is shown, for example, in FIGS.
FIG. 8 shows a control board 8 built in the computer 801.
03 has a form in which a lamp and / or a buzzer 805 that are a plurality of contact outputs and a sensor and / or a switch 807 that are a plurality of contact inputs are connected, and each contact is a control board 803 based on an instruction from the computer 801.
Directly controlled by.

【0003】また、図9は、RS232Cシリアルイン
ターフェースを介してマイクロコーンピュータ901に
接続されたシリアル/パラレル変換機能及び接続される
各端末のオン/オフ状態を記憶保持するメモリを備えた
I/Oコントローラ903に、複数の接点出力であるラ
ンプ及び/又はブザー905並びに複数の接点入力であ
るセンサ及び/又はスイッチ907が接続された形態を
有し、各接点は、それぞれコンピュータ901により専
用回線を介して1対1で遠隔制御される。
Further, FIG. 9 shows an I / O having a serial / parallel conversion function connected to the micro computer 901 via an RS232C serial interface and a memory for storing and holding the ON / OFF state of each connected terminal. The controller 903 has a form in which a lamp and / or a buzzer 905 which are a plurality of contact outputs and a sensor and / or a switch 907 which are a plurality of contact inputs are connected to each other, and each contact is individually connected by a computer 901 through a dedicated line. It is remotely controlled on a one-to-one basis.

【0004】また、図10は、RS232C/RS48
5インターフェース変換装置953を介してコンピュー
タ951にそれぞれ接点出力であるランプ及び/又はブ
ザー955並びに接点入力であるセンサ及び/又はスイ
ッチ957が接続された複数の端末959がバス方式で
接続された形態を有し、各接点は、それぞれコンピュー
タ951により遠隔制御される。
Further, FIG. 10 shows RS232C / RS48.
A plurality of terminals 959 to which a lamp and / or a buzzer 955, which are contact outputs, and a sensor and / or a switch 957, which are contact inputs, are connected to the computer 951 via the interface converter 953 are connected in a bus system. And each contact is remotely controlled by the computer 951.

【0005】[0005]

【発明が解決しようとする課題】上述の手段は、目的に
応じて適宜選択されるが、各手段はそれぞれその構成に
起因する欠点を有する。すなわち、図8及び図9に示し
た形態にあっては、各端末に対してそれぞれ伝送路を構
成するため、よって伝送路の構成コストが上昇する。ま
た、図10に示した形態にあっては、各端末がバス方式
で接続されるため、伝送路の構成コストを低減させるこ
とができるものの、RS485インターフェースを使用
しているため、物理的制約から接続可能な端末は32台
に制限される。さらに、バス方式で各端末からのデータ
を受信するため、各受信データが衝突するという問題が
発生する。さらに、バス上の情報が、総て各端末で受信
されるため、各端末にそれぞれ設定されたアドレス情報
を識別して固有情報のみを受信する必要がある。
Although the above-mentioned means are appropriately selected according to the purpose, each means has a drawback due to its configuration. That is, in the configurations shown in FIGS. 8 and 9, the transmission path is configured for each terminal, so that the configuration cost of the transmission path is increased. Further, in the form shown in FIG. 10, since each terminal is connected by the bus system, the configuration cost of the transmission path can be reduced, but since the RS485 interface is used, physical restrictions are imposed. The number of connectable terminals is limited to 32. Further, since the data is received from each terminal by the bus system, there is a problem that the received data collide. Further, since all the information on the bus is received by each terminal, it is necessary to identify the address information set in each terminal and receive only the unique information.

【0006】上述のように、従来手段にあっては、その
形態固有の問題を有しており、伝送路の構成コストを低
減して各端末の接続可能数を増加させるとともに、簡易
に各端末を制御することは困難である。そこでこの発明
は、上記事情に鑑みて成されたもので、伝送路の構成コ
スト上昇を招くことなく多数の端末を接続可能ならしめ
るとともに、各端末を簡易制御することができるシリア
ル通信用制御方式を提供することを目的とする。
[0006] As described above, the conventional means has a problem peculiar to the form, reduces the configuration cost of the transmission path, increases the number of connectable terminals, and simplifies each terminal. Is difficult to control. Therefore, the present invention has been made in view of the above circumstances, and it is possible to connect a large number of terminals without increasing the configuration cost of the transmission path, and a serial communication control method capable of simply controlling each terminal. The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】この発明に係わるシリア
ル通信用制御方式は、夫々所要数の接点を備えた複数の
端末を指示装置に環状接続し、前記指示装置から所要端
末に対応して接点のオン/オフの指示/状態データとア
ドレスデータとから成る1バイトで構成される制御コマ
ンドを非同期シリアル通信で送信し、前記端末の各々
は、受信した制御コマンドが自己の制御コマンドでない
と判定したときは、そのアドレスデータを減算して次段
の端末に伝送し、自己の制御コマンドであると判定した
ときは、自己の端末の接点を制御するようにしたもので
ある。
In the control system for serial communication according to the present invention, a plurality of terminals each having a required number of contacts are connected in a ring to an indicating device, and the indicating devices correspond to the required terminals. A control command composed of 1 byte consisting of ON / OFF instruction / state data and address data is transmitted by asynchronous serial communication, and each of the terminals determines that the received control command is not its own control command. In this case, the address data is subtracted and transmitted to the terminal at the next stage, and when it is determined that the command is its own control, the contact of its own terminal is controlled.

【0008】[0008]

【作用】この発明に係わる前記手段によれば、指示装置
に環状接続された複数の端末の接点を制御する場合、指
示装置は、所望端末に対応する制御コマンドを非同期シ
リアル通信で送信する。各端末は、伝送されてくる制御
コマンドが、自己を指定する制御コマンドであるか否か
を判断し、自己の制御コマンドであると判断したとき
は、制御コマンドのオン/オフの指示/状態データに基
づいて接点を制御する。自己の制御コマンドでないと判
断したときは、アドレスデータを減算して次段の端末へ
伝送する。
According to the means of the present invention, when controlling the contacts of a plurality of terminals annularly connected to the indicating device, the indicating device transmits the control command corresponding to the desired terminal by asynchronous serial communication. Each terminal judges whether or not the transmitted control command is a control command for designating itself, and when it judges that it is its own control command, the on / off instruction / state data of the control command Control the contacts based on. When it is determined that the command is not its own control command, the address data is subtracted and transmitted to the next terminal.

【0009】[0009]

【実施例】以下、この発明の実施例を図面を参照して説
明する。図1はこの発明の一実施例を示している。図1
に示されるように、指示装置であるコンピュータ101
のRS422シリアルポートには、複数の端末103が
環状接続される。各端末には、それぞれ所要数の制御接
点(入力DI及び出力DO)が設けられており、入力D
Iには、センサ若しくはスイッチ等の接点入力105、
出力DOには、ランプ若しくはブザー等の接点出力10
7が接続される。各端末に接続された接点は、それぞれ
コンピュータ101により遠隔制御される。なお、コン
ピュータがRS232Cシリアルポートを備えている場
合は、RS232C/RS422インターフェース変換
器を介し、RS422インターフェースを用いて各端末
を環状接続する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of the present invention. FIG.
As shown in FIG.
A plurality of terminals 103 are annularly connected to the RS422 serial port. Each terminal is provided with a required number of control contacts (input DI and output DO), and input D
I is a contact input 105 such as a sensor or a switch,
The output DO is a contact output 10 such as a lamp or a buzzer.
7 is connected. The contacts connected to each terminal are remotely controlled by the computer 101. If the computer has an RS232C serial port, each terminal is connected in a ring using the RS422 interface via the RS232C / RS422 interface converter.

【0010】図2はコンピュータから伝送される電文の
ビット構成を示している。図2に示されるように、電文
フォーマットは、1バイトのデータ長を有する制御コマ
ンドで構成されており、各端末に設けられる制御接点
(入力DI及び出力DO)の数に応じて、該制御コマン
ドの各ビットにオン/オフの指示/状態データとアドレ
スデータとが割り当てられる。例えば、各端末にそれぞ
れ1点の入力DI及び出力DOが設けられているとき
は、制御コマンドの何れか1ビットがオン/オフの指示
/状態に割り当てられ、残り7ビットがアドレスデータ
に割り当てられる。また、各端末にそれぞれ2点の入力
DI及び出力DOが設けられているときは、何れか2ビ
ットがオン/オフの指示/状態に割り当てられ、残り6
ビットがアドレスデータに割り当てられる。さらに、制
御コマンドの何れか1ビットを接点出力の連続モード/
断続モードのモード切換えに割り当てることにより、1
つの出力DOに2状態が得られる。制御コマンドのアド
レスデータは、各端末に伝送される毎に、その値が順次
カウントダウンされ、これにより各端末に伝送方向に順
次設定された識別番号に対応し、所望の端末に接続され
た接点が制御される。アドレスデータがカウントダウン
されながら、一巡してコンピュータに戻ると、アドレス
データの値は「0」になる。
FIG. 2 shows the bit structure of a message transmitted from a computer. As shown in FIG. 2, the electronic message format is composed of control commands having a data length of 1 byte, and the control commands are provided according to the number of control contacts (input DI and output DO) provided in each terminal. ON / OFF instruction / state data and address data are assigned to each bit of the. For example, when each terminal is provided with one input DI and one output DO, one bit of the control command is assigned to the on / off instruction / state, and the remaining 7 bits are assigned to address data. . Also, when each terminal is provided with two input DI and output DO, any two bits are assigned to the on / off instruction / state, and the remaining 6
Bits are assigned to address data. In addition, if any one bit of the control command
1 by assigning to the mode switching of the intermittent mode
Two states are available at one output DO. The value of the control command address data is sequentially counted down each time it is transmitted to each terminal, which corresponds to the identification number sequentially set in the transmission direction of each terminal, and the contact point connected to the desired terminal is Controlled. When the address data is counted down and returned to the computer in one cycle, the value of the address data becomes "0".

【0011】式1は、コンピュータに戻るアドレス値を
示している。 戻りアドレス値=初期値+端末アドレス−終端アドレス (終端アドレス=総端末数−1) …(1) ここで、初期値は、上述したアドレスの最大値と等し
く、制御コマンドを占有するアドレスデータのビット数
に応じて設定される。また、端末アドレスは、伝送順に
設定された各端末の固有アドレス値を示しており、最大
アドレス値乃至0が順次設定されている。アドレスの最
大値は、例えば、アドレスデータが7ビットで構成され
ているときは127(27 −1)に設定され、6ビット
で構成されているときは63(2 6 −1)に設定され
る。例えば、アドレスの最大値が127に設定され、端
末アドレスが127から0まで順次設定され、終端アド
レスが(128−1)に設定されたときの戻りアドレス
値は、127+127−(128−1)=127、12
7+126−(128−1)=126、…127+1−
(128−1)=1、127+0−(128−1)=0
の如く変化し、伝送路を一巡して戻りアドレス値「0」
がコンピュータに戻る。
Equation 1 gives the address value returned to the computer.
Shows. Return address value = initial value + terminal address−termination address (termination address = total number of terminals−1) (1) Here, the initial value is equal to the maximum value of the above-mentioned address.
The number of bits of address data that occupy the control command
It is set according to. Also, the terminal address is
Shows the unique address value of each set terminal, maximum
Address values to 0 are sequentially set. Address top
A large value consists of 7 bits of address data, for example.
127 (27-1) set to 6 bits
63 (2 6-1) is set
It For example, the maximum value of the address is set to 127,
End address is sequentially set from 127 to 0,
Return address when address is set to (128-1)
The value is 127 + 127- (128-1) = 127,12
7 + 126- (128-1) = 126, ... 127 + 1-
(128-1) = 1, 127 + 0- (128-1) = 0
, The return address value "0"
Returns to the computer.

【0012】表1は端末数、端末に設けられる制御接点
数及びモード切換えとの関係を示している。
Table 1 shows the relationship between the number of terminals, the number of control contacts provided in the terminals, and the mode switching.

【0013】[0013]

【表1】 [Table 1]

【0014】図3は表1に示した第2の構成を示してお
り、複数のLED(発光ダイオード)表示器303が、
それぞれRS422シリアルインターフェースを介して
中継器305に環状接続され、中継器305は、RS2
32Cインターフェースを介して指示装置であるコンピ
ュータ301に接続されている。中継器305は、RS
232C/RS422インターフェース変換機能及びL
ED表示器303への電源供給機能を有している。
FIG. 3 shows the second configuration shown in Table 1, in which a plurality of LED (light emitting diode) indicators 303 are
Each is cyclically connected to the relay 305 via the RS422 serial interface, and the relay 305 is connected to the RS2.
It is connected to a computer 301 which is an instruction device via a 32C interface. The relay 305 is an RS
232C / RS422 interface conversion function and L
It has a power supply function to the ED display 303.

【0015】図4はLED表示器を示している。LED
表示器は、入力DIとしてメインスイッチ及びAUXス
イッチ並びに出力DOとしてLED及びブザーを備えた
端末であり、さらに該端末はRS422インターフェー
スを介して伝送される制御コマンドを受信してアドレス
情報を識別するとともに、入力DI及び出力DOにより
制御コマンドの入力ビット及び出力ビットを設定して送
信するCPU(中央演算装置)401を有している。
FIG. 4 shows an LED display. LED
The display is a terminal equipped with a main switch and an AUX switch as an input DI and an LED and a buzzer as an output DO, and the terminal receives a control command transmitted via an RS422 interface to identify address information. , A CPU (Central Processing Unit) 401 for setting and transmitting input bits and output bits of a control command by input DI and output DO.

【0016】図5はコンピュータから送信される制御コ
マンドのビット構成を示している。図5に示されるよう
に、1バイトで構成される制御コマンドのうち、上位2
ビットが、それぞれ入力DI状態設定ビット及び出力D
O指示ビットに割り当てられており、下位6ビットがア
ドレス指示ビットに割り当てられている。この制御コマ
ンドは、所定の端末の接点制御に対応したビット構成を
有しており、従って、例えば、環状接続された全端末の
接点を制御するときは、端末数分の制御コマンドを送信
する。
FIG. 5 shows the bit structure of the control command transmitted from the computer. As shown in FIG. 5, of the control commands composed of 1 byte, the upper 2
Bit is input DI status setting bit and output D
It is assigned to the O instruction bit, and the lower 6 bits are assigned to the address instruction bit. This control command has a bit configuration corresponding to contact control of a predetermined terminal. Therefore, for example, when controlling contacts of all terminals connected in a ring, control commands for the number of terminals are transmitted.

【0017】図6はCPUが実行する制御コマンド処理
を示している。すなわち、CPUは伝送されてくる制御
コマンドを受信して(S601)、該制御コマンドが自
己の制御コマンドか否かを判定すべく、制御コマンドの
アドレスを判定する(S602)。アドレスが0である
と判定されたときは、自アドレス処理系に進み、出力D
Oの出力を実行し(S603)、入力DIの入力状態を
設定する(S604)。その後、アドレスビットを全て
オンにして(S605)、制御コマンドを送信する(S
606)。一方、アドレスが0以外であると判定された
ときは、他アドレス処理系に進み、アドレス−1をアド
レスに設定して(S607)、制御コマンドを送信する
(S606)。
FIG. 6 shows control command processing executed by the CPU. That is, the CPU receives the transmitted control command (S601), and determines the address of the control command to determine whether the control command is its own control command (S602). If it is determined that the address is 0, the process proceeds to the own address processing system, and the output D
The output of O is executed (S603), and the input state of the input DI is set (S604). After that, all the address bits are turned on (S605), and the control command is transmitted (S
606). On the other hand, if it is determined that the address is other than 0, the process proceeds to the other address processing system, address-1 is set as the address (S607), and the control command is transmitted (S606).

【0018】図7はコンピュータから送信される制御コ
マンドの推奨アルゴリズムを示している。先ず、通信ポ
ートを初期化したのち(S701)、接続されたLED
表示器の数の確認処理を実行する(S702)。そし
て、設定数がある場合は、設定数=接続数を判定する
(S703)。その後、制御コマンドテキストの生成処
理を実行し(S704)、テキストの送信処理を実行し
(S705)、応答テキストの受信処理を実行したのち
(S706)、エラーフラグを判定する(S707)。
エラーフラグがオフである判定されたときは、応答テキ
ストの解析処理を実行したのち(708)、S704の
処理へ戻る。一方、エラーフラグがオンであると判定さ
れたときは、直接、S704の処理へ戻る。
FIG. 7 shows a recommended algorithm of the control command transmitted from the computer. First, after initializing the communication port (S701), the connected LED
A confirmation process of the number of display devices is executed (S702). If there is a set number, then the set number = the number of connections is determined (S703). After that, the control command text generation process is executed (S704), the text transmission process is executed (S705), the response text reception process is executed (S706), and then the error flag is determined (S707).
When it is determined that the error flag is off, the response text analysis process is executed (708), and the process returns to S704. On the other hand, when it is determined that the error flag is on, the process directly returns to S704.

【0019】[0019]

【発明の効果】以上説明した発明によれば、各端末に送
信される制御コマンドのうち、アドレスデータに割り当
て可能なビット数を可変にすることで、接続可能な端末
数を増やすことができる。さらに、複数の端末の各々
を、直列接続しているので、接続端末数が増えた場合で
も伝送路の構成コスト上昇を招くことなく、多数の端末
を接続することができる。さらに、所望端末の接点を制
御するときでも、指示装置は、各端末毎にアドレスを指
定することなく、共通の制御コマンドを送信するだけで
良いため、簡易に各端末を制御することができる。
According to the invention described above, the number of connectable terminals can be increased by varying the number of bits that can be assigned to address data in the control command transmitted to each terminal. Furthermore, since each of the plurality of terminals is connected in series, even if the number of connected terminals increases, it is possible to connect a large number of terminals without increasing the cost of configuring the transmission path. Further, even when controlling the contact point of the desired terminal, the instruction device need only transmit a common control command without designating an address for each terminal, and therefore each terminal can be controlled easily.

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

【図1】この発明の一実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示したマイクココンピュータから送信さ
れる電文のビット構成を示す図。
FIG. 2 is a diagram showing a bit configuration of a telegram transmitted from the microphone computer shown in FIG.

【図3】表3に示した第2の構成を示すブロック図。FIG. 3 is a block diagram showing a second configuration shown in Table 3.

【図4】図3に示したLED表示器を示す構成図。FIG. 4 is a configuration diagram showing an LED display shown in FIG.

【図5】図3に示したコンピュータから送信される制御
コマンドのビット構成を示す図。
5 is a diagram showing a bit configuration of a control command transmitted from the computer shown in FIG.

【図6】図5に示したCPUが実行する制御コマンド処
理を示すフローチャート。
6 is a flowchart showing control command processing executed by the CPU shown in FIG.

【図7】この発明に係わる制御コマンドの推奨アルゴリ
ズムを示すフローチャート。
FIG. 7 is a flowchart showing a control command recommendation algorithm according to the present invention.

【図8】各端末の従来接続を示すブロック図。FIG. 8 is a block diagram showing a conventional connection of each terminal.

【図9】各端末の従来接続を示すブロック図。FIG. 9 is a block diagram showing a conventional connection of each terminal.

【図10】各端末の従来接続を示すブロック図。FIG. 10 is a block diagram showing a conventional connection of each terminal.

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

101、301 コンピュータ 103 端末 105 接点入力 107 接点出力 109 電解槽 303 LED表示器 305 中継器 401 CPU 101, 301 Computer 103 Terminal 105 Contact input 107 Contact output 109 Electrolyzer 303 LED display 305 Repeater 401 CPU

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年7月4日[Submission date] July 4, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0003[Name of item to be corrected] 0003

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0003】また、図9は、RS232Cシリアルイン
ターフェースを介してコンピュータ901に接続された
シリアル/パラレル変換機能及び接続される各端末のオ
ン/オフ状態を記憶保持するメモリを備えたI/Oコン
トローラ903に、複数の接点出力であるランプ及び/
又はブザー905並びに複数の接点入力であるセンサ及
び/又はスイッチ907が接続された形態を有し、各接
点は、それぞれコンピュータ901により専用回線を介
して1対1で遠隔制御される。
FIG. 9 shows an I / O controller 903 having a serial / parallel conversion function connected to a computer 901 via an RS232C serial interface and a memory for storing and holding the ON / OFF state of each connected terminal. , And a lamp with multiple contact outputs and / or
Alternatively, a buzzer 905 and a sensor and / or a switch 907 that are a plurality of contact inputs are connected, and each contact is remotely controlled by the computer 901 on a one-to-one basis via a dedicated line.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】この発明の一実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1に示したコンピュータから送信される電文
のビット構成を示す図。
2 is a diagram showing a bit configuration of message sent from the computer shown in FIG.

【図3】表3に示した第2の構成を示すブロック図。FIG. 3 is a block diagram showing a second configuration shown in Table 3.

【図4】図3に示したLED表示器を示す構成図。FIG. 4 is a configuration diagram showing an LED display shown in FIG.

【図5】図3に示したコンピュータから送信される制御
コマンドのビット構成を示す図。
5 is a diagram showing a bit configuration of a control command transmitted from the computer shown in FIG.

【図6】図5に示したCPUが実行する制御コマンド処
理を示すフローチャート。
6 is a flowchart showing control command processing executed by the CPU shown in FIG.

【図7】この発明に係わる制御コマンドの推奨アルゴリ
ズムを示すフローチャート。
FIG. 7 is a flowchart showing a control command recommendation algorithm according to the present invention.

【図8】各端末の従来接続を示すブロック図。FIG. 8 is a block diagram showing a conventional connection of each terminal.

【図9】各端末の従来接続を示すブロック図。FIG. 9 is a block diagram showing a conventional connection of each terminal.

【図10】各端末の従来接続を示すブロック図。FIG. 10 is a block diagram showing a conventional connection of each terminal.

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図5[Name of item to be corrected] Figure 5

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図5】 [Figure 5]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 夫々所要数の接点(105、107)を
備えた複数の端末(103)を指示装置(101)に環
状接続し、前記指示装置(101)から所要端末に対応
して接点のオン/オフの指示/状態データとアドレスデ
ータとから成る1バイトで構成される制御コマンドを非
同期シリアル通信で送信し、前記端末(103)の各々
は、受信した制御コマンドが自己の制御コマンドでない
と判定したときは、そのアドレスデータを減算して次段
の端末に伝送し、自己の制御コマンドであると判定した
ときは、自己の端末の接点を制御するようにしたことを
特徴とするシリアル通信用制御方式。
1. A plurality of terminals (103) each having a required number of contacts (105, 107) are annularly connected to an indicator device (101), and the contact devices are connected from the indicator device (101) to the required terminals. A control command consisting of 1 byte consisting of on / off instruction / state data and address data is transmitted by asynchronous serial communication, and each of the terminals (103) must receive the control command of its own. When it is determined, the address data is subtracted and transmitted to the next-stage terminal, and when it is determined to be its own control command, the contact point of its own terminal is controlled, which is serial communication. Control system.
JP6137546A 1994-06-20 1994-06-20 Control system for serial communication Pending JPH086885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6137546A JPH086885A (en) 1994-06-20 1994-06-20 Control system for serial communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6137546A JPH086885A (en) 1994-06-20 1994-06-20 Control system for serial communication

Publications (1)

Publication Number Publication Date
JPH086885A true JPH086885A (en) 1996-01-12

Family

ID=15201227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6137546A Pending JPH086885A (en) 1994-06-20 1994-06-20 Control system for serial communication

Country Status (1)

Country Link
JP (1) JPH086885A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242058A (en) * 2001-02-06 2002-08-28 Hakuryu Kikaisho Kofun Yugenkoshi Controller of knitting machine through internet
US7545255B2 (en) 2002-06-21 2009-06-09 Kabushiki Kaisha Tokai Rika Denki Seisakusho Electronic key system
JP2009194731A (en) * 2008-02-15 2009-08-27 Fujitsu Ltd Slave device, and system and method for data transmission
JP2012075103A (en) * 2010-09-27 2012-04-12 Robert Bosch Gmbh Method for transmitting data
JP2014519752A (en) * 2011-05-20 2014-08-14 日本テキサス・インスツルメンツ株式会社 Serial communication interface

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002242058A (en) * 2001-02-06 2002-08-28 Hakuryu Kikaisho Kofun Yugenkoshi Controller of knitting machine through internet
US7545255B2 (en) 2002-06-21 2009-06-09 Kabushiki Kaisha Tokai Rika Denki Seisakusho Electronic key system
JP2009194731A (en) * 2008-02-15 2009-08-27 Fujitsu Ltd Slave device, and system and method for data transmission
JP2012075103A (en) * 2010-09-27 2012-04-12 Robert Bosch Gmbh Method for transmitting data
JP2014519752A (en) * 2011-05-20 2014-08-14 日本テキサス・インスツルメンツ株式会社 Serial communication interface

Similar Documents

Publication Publication Date Title
US20050265269A1 (en) Signal transmission apparatus
US4482955A (en) Data transfer system for data entry system
US4608562A (en) Address personalization of a remotely attached device
EP1739569B1 (en) Device and method for performing multi-function using unique port in wireless terminal
JPH086885A (en) Control system for serial communication
JPS583343A (en) Control system for plural terminals
CN210015336U (en) Redundant control system
JP2003112464A (en) Imaging system and communication method of imaging apparatus
JPH09261766A (en) Data transmission system
WO2021095387A1 (en) Device driving apparatus and device driving system
JP3200829B2 (en) Control device
KR910000875B1 (en) A method and an apparatus for transfering serial data without addressing of i/o modules in programmable logic controller
US20220247596A1 (en) Sensor hub, sensor system, method for transmitting sensor signals and computer-readable storage medium
JPH03207196A (en) Transmitter
JPS5848593A (en) Polling transmission system
KR920009438B1 (en) Communication method of self-tunning advanced controller
JPH0528015B2 (en)
JPS61112204A (en) Input/output for remote process
US20200092140A1 (en) Distributed processing of process data
JPH02216998A (en) Remote control method for plural slave sets
KR930003450B1 (en) Data communication circuit between processors
CN116991776A (en) Address modification device and address modification method
JPH021411B2 (en)
JPH03118678A (en) Analog input device
JPH05304696A (en) Programmable controller system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020814