JPH0481141A - Command transfer method - Google Patents

Command transfer method

Info

Publication number
JPH0481141A
JPH0481141A JP19551090A JP19551090A JPH0481141A JP H0481141 A JPH0481141 A JP H0481141A JP 19551090 A JP19551090 A JP 19551090A JP 19551090 A JP19551090 A JP 19551090A JP H0481141 A JPH0481141 A JP H0481141A
Authority
JP
Japan
Prior art keywords
command
commands
important
transferred
bit
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
JP19551090A
Other languages
Japanese (ja)
Inventor
Toshiki Ishii
利樹 石井
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.)
Fujitsu Ltd
Fujitsu Electronics Inc
Original Assignee
Fujitsu Ltd
Fujitsu Electronics Inc
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 Fujitsu Ltd, Fujitsu Electronics Inc filed Critical Fujitsu Ltd
Priority to JP19551090A priority Critical patent/JPH0481141A/en
Publication of JPH0481141A publication Critical patent/JPH0481141A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To reduce a rate of a transfer command being an important command considerably by adopting a command in common to an error check code for the important command to a slave system and not using commands different by prescribed bits from the important command. CONSTITUTION:A system stop command is a data having a 6-bit value of '010101' and 1's complement for high-order 3 bits is used for a level for low- order 3 bits. A command 'b' is a command different by one bit from the system stop command 1 and commands transferred in error as the system stop com mand different by one bit from the system stop command 1 are commands 'b'. Then the commands 'b' are not used as usual commands but remaining commands shown in space in table are used for usual commands. Thus, any command transferred in one bit error is not the system stop command and a rate causing a detrimental mistake due to erroneous command transfer is remarkably reduced.

Description

【発明の詳細な説明】 〔概要〕 複数の独立したシステム間での通信においテ主システム
から従システムへコマンドを転送する方法に関し、 重要なコマンドは誤り検出可能にすることを目的とし、 主システムから従システムへのコマンド転送方法におい
て、主システムから転送されるコマンドのうち、該従シ
ステムに対して重要なコマンドを誤り検出符号を兼ねた
コマンドとし、重要なコマンドと所定ビットだけ値の異
なるコマンドは未使用のコマンドとし、前記重要なコマ
ンド及び前記未使用のコマンド以外を通常のコマンドと
し、前記未使用のコマンドが従システムに入力されたと
きは前記主システムから転送されるコマンドをエラー処
理するよう構成する。
[Detailed Description of the Invention] [Summary] Regarding a method of transferring commands from a master system to a slave system in communication between multiple independent systems, the purpose is to enable error detection of important commands. In the command transfer method from the main system to the slave system, among the commands transferred from the main system, important commands for the slave system are commands that also serve as error detection codes, and commands that have a value different from the important command by a predetermined bit are used. is an unused command, all commands other than the important command and the unused command are normal commands, and when the unused command is input to the slave system, the command transferred from the main system is handled as an error. Configure it like this.

〔産業上の利用分野〕[Industrial application field]

本発明はコマンド転送方法に係り、特に複数の独立した
システム間での通信において主システムから従システム
へコマンドを転送する方法に関する。
The present invention relates to a command transfer method, and more particularly to a method of transferring commands from a master system to a slave system in communication between a plurality of independent systems.

複数の独立したシステム間での通信の例として、例えば
第3図に示す如く、主システム1から従システム2にコ
マンドを転送し、表示装置3の表示を制御するシステム
がある。このようなシステムでは従システム2の動作指
令コマンドのうち特に重要なコマンドについては誤り検
出か従システム2で行なえることが必要とされる。
As an example of communication between a plurality of independent systems, for example, as shown in FIG. 3, there is a system in which commands are transferred from a main system 1 to a slave system 2 to control the display on a display device 3. In such a system, it is necessary that the slave system 2 be able to perform error detection for particularly important commands among the operation commands of the slave system 2.

〔従来の技術〕[Conventional technology]

従来、第3図に示すような表示システムでは主システム
1から従システム2へ転送するコマンドにより表示装置
3の表示を制御するに際しては、すべてのコマンドに誤
り検出符号を付加して転送すると通信量が極めて増大し
、また仮にノイズ等によりコマンドに転送誤りかあって
も大部分は表示装置3の表示か誤るたけてあり、また閉
じたシステムで誤り率は多くないことに鑑み、誤り検出
符号は伝送せず、よって従システム2には誤り検出手段
を有していない。これにより、主システムlにより表示
装置3を簡易に制御することかできる。
Conventionally, in a display system as shown in FIG. 3, when controlling the display of the display device 3 by commands transferred from the main system 1 to the slave system 2, if an error detection code is added to all commands and transferred, the amount of communication is reduced. However, even if there is a transfer error in the command due to noise or the like, most of the errors will be displayed on the display device 3, and considering that the error rate is not high in a closed system, the error detection code is Therefore, the slave system 2 does not have error detection means. Thereby, the display device 3 can be easily controlled by the main system 1.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

しかるに、転送されるコマンドの中には表示文字に関す
るコマンドだけてはなく、転送される頻度はかなり少な
いか従システム2の動作を停止させるコマンドや試験モ
ードとするコマンドもある。
However, among the commands that are transferred, there are not only commands related to display characters, but also commands that are transferred very infrequently, commands that stop the operation of the slave system 2, and commands that set the slave system 2 in a test mode.

表示文字に関するコマンドか別の表示文字に関するコマ
ンドに誤って従システム2に転送された場合は、表示文
字か誤るだけてシステム使用者の影響は小さいか、転送
されるコマンドかノイズ等により例えば従システム2の
動作を停止させるコマンドとして誤って従システム2に
転送されてしまうと、従来は誤り検出を行なっていない
から従システム2か意図しないにも拘らず停止してしま
い、以後、停止解除コマンドか従システム2に入力され
るまで、表示か出ないという重大な動作障害を引き起こ
す。試験モードとするコマンドに誤って転送される場合
も、同様に重大なシステム障害をもたらしてしまう。
If a command related to a display character or a command related to another display character is mistakenly transferred to the slave system 2, the impact on the system user will be small because the display character is incorrect, or the transferred command may be affected by noise, etc. If the command to stop the operation of the slave system 2 is mistakenly transferred to the slave system 2, the slave system 2 will stop even though it was not intended because conventional methods do not detect errors. Until the data is input to the slave system 2, the display will not appear, causing a serious operational failure. If the test mode command is mistakenly forwarded, it will similarly cause a serious system failure.

本発明は以上の点に鑑みなされたもので、重要なコマン
ドは誤り検出可能にするコマンド転送方法を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a command transfer method that enables error detection of important commands.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記目的達成のために、主システムから従シス
テムへのコマンド転送方法において、転送可能なコマン
ドのうち従システムに対して重要なコマンドを誤り検出
符号を兼ねたコマンドとし、重要なコマンドと所定ビッ
トだけの値の異なるコマンドは未使用のコマンドとし、
それら以外を通常のコマンドとし、上記未使用のコマン
ドか従システムに入力されたときは、主システムから転
送されるコマンドをエラー処理とするようにしたもので
ある。
In order to achieve the above object, the present invention provides a method for transferring commands from a main system to a slave system, in which a command important to the slave system among transferable commands is set as a command that also serves as an error detection code. Commands with different values in only the specified bits are treated as unused commands.
Other commands are treated as normal commands, and when an unused command is input to the slave system, the command transferred from the main system is handled as an error.

〔作用〕[Effect]

成るコマンドか誤って前記重要なコマンドとして従シス
テムに入力されると、主システムが意図しない重大な支
障か従システムに生ずる。しかし、本発明では上記重要
なコマンドは誤り検出符号を兼ねて転送するから、転送
コマンドか転送誤りにより重要なコマンドになる割合い
を大幅に低減することがてきる。
If the important command is mistakenly input to the slave system as the important command, a serious problem unintended by the master system or a serious problem will occur in the slave system. However, in the present invention, since the important command is transferred also as an error detection code, the rate of a transfer command becoming an important command due to a transfer error can be significantly reduced.

〔実施例〕〔Example〕

第1図は本発明の一実施例のコマンド説明図を示す。同
図中、Aは上位3ヒツト、Bは下位3ビツトを示し、「
イ」は前記重要なコマンドとしてのシステム停止コマン
ドを示す。すなわち、システム停止コマンドはrolo
lolJなる6ビツトの値をもつデータである。本実施
例では3ビツトの2線式符号をシステl、停止コマンド
に用いており、上位3ビツトの1の補数か下位3ビツト
の値とされている。
FIG. 1 shows a command explanatory diagram of an embodiment of the present invention. In the figure, A indicates the top 3 bits, B indicates the bottom 3 bits, and "
"B" indicates the system stop command as the important command. In other words, the system stop command is rolo
This data has a 6-bit value lolJ. In this embodiment, a 3-bit two-wire code is used for the system stop command, and the value is either the 1's complement of the upper 3 bits or the lower 3 bits.

また、第1図において「口」は上記システム停化コマン
ドと1ビツト値の異なるコマンドを示す。
Further, in FIG. 1, "mouth" indicates a command having a one-bit value different from the above-mentioned system stop command.

すなわち、「イ」で示されるシステム停止コマンドとし
て誤って転送されるのは、殆ど上記「口」で示されるシ
ステム停止コマンドと1ビツト値の異なるコマンドであ
る。そこで、本実施例では、この「口」て示される各コ
マンドは通常のコマンドとして使用せず、第1図中、残
りの空白部の値を通常のコマンドに割当てる。これによ
り、本実施例によれば、1ピツト誤りにより上記システ
ム停止コマンドに誤ることかなくなるから、誤ったコマ
ンド転送によって重大な支障を引き起こす割合を大幅に
低減することかでき、逆にシステム停止コマンドが1ビ
ット誤った場合も容易に検出することかできる。
That is, most of the commands that are erroneously transferred as the system stop commands indicated by "A" are commands that have a 1-bit value different from the system stop commands indicated by the above "g". Therefore, in this embodiment, the commands indicated by "mouth" are not used as normal commands, and the values in the remaining blank spaces in FIG. 1 are assigned to normal commands. As a result, according to this embodiment, the system stop command will not be sent incorrectly due to a single pit error, and the rate of serious problems caused by incorrect command transfer can be greatly reduced. Even if 1 bit is wrong, it can be easily detected.

第2図は本発明の一実施例の構成図を示す。同図中、第
3図と同一構成部分には同一符号を付し、その説明を省
略する。第2図において、従システム2は直並列変換回
路21.コマンドラッチ回路22、コマンドデコーダ2
3.及び表示装置制御部24から構成されている。
FIG. 2 shows a configuration diagram of an embodiment of the present invention. In the figure, the same components as those in FIG. 3 are designated by the same reference numerals, and their explanations will be omitted. In FIG. 2, the slave system 2 includes a serial-to-parallel converter circuit 21. Command latch circuit 22, command decoder 2
3. and a display device control section 24.

主システムlは第1図に示した方法で割当てられた各コ
マンドを必要に応じて従システム2の直並列変換回路2
1へ直列に転送する。直並列変換回路21て直並列変換
されて並列に取り出された6ビツトのコマンドは、コマ
ンドラッチ回路22により一時記憶された後コマンドデ
コーダ23に入力されてデコードされる。このコマンド
デコーダ23は並列入力コマンドをデコードし、第1図
に「イ」て示したシステム停止コマンドのデコート結果
か得られたときは端子aを介して表示装置制御部24ヘ
システム停止制画信号を送出し、また第1図に「口」で
示したコマンドのデコード結果か得られたときは端子す
を介して主システム1ヘエラー検出信号を送出し、更に
第1図の空白部の値の表示文字や色情報に関する各コマ
ンドのデコード結果が得られたときは端子Cを介して表
示装置制御部24ヘシステム停止以外の通常動作制御の
ため、そのコマンドの値に応じた信号を送出する。
The main system 1 transfers each command assigned in the method shown in FIG.
Transfer serially to 1. A 6-bit command serially-parallel-converted and taken out in parallel by the serial-parallel conversion circuit 21 is temporarily stored in the command latch circuit 22, and then inputted to the command decoder 23 and decoded. This command decoder 23 decodes the parallel input commands, and when the decoding result of the system stop command shown as "A" in FIG. When the decoding result of the command shown in Figure 1 is obtained, an error detection signal is sent to the main system 1 via the terminal, and the value in the blank part of Figure 1 is sent. When the decoding result of each command related to display characters and color information is obtained, a signal corresponding to the value of the command is sent to the display device control unit 24 via terminal C for normal operation control other than system stoppage.

このようにして、システム停止コマンドか正常に転送受
信されたときは表示装置制御部24ヘシステム停止制御
信号か送出され、システム停止コマンドか転送されたに
も拘らず1ビット誤りか生したときは主システム1ヘエ
ラー通知がなされる。
In this way, when a system stop command is transferred and received normally, a system stop control signal is sent to the display device control unit 24, and when a 1-bit error occurs even though the system stop command has been transferred, An error notification is sent to the main system 1.

また、1ビット誤りによってシステム停止コマンドにな
るような値のコマンドはもともと使用しないから、1ビ
ット誤りによるシステム停止を防止することができる。
Furthermore, since a command with a value that would result in a system stop command due to a 1-bit error is not originally used, it is possible to prevent the system from stopping due to a 1-bit error.

なお、本発明は上記の実施例に限定されるものてはなく
、例えば他の重要なコマンドについても第1図と同様の
設定を行なってもよく、また2ビット誤りを考慮して重
要なコマンドと2ピツト値か異なるコマンドを不使用に
することもできる。
Note that the present invention is not limited to the above-described embodiment, and for example, settings similar to those shown in FIG. 1 may be made for other important commands, and important commands may be It is also possible to disable the use of commands that have two pit values or different values.

〔発明の効果〕〔Effect of the invention〕

上述の如く、本発明によれば、転送コマンドか転送誤り
により従システムの動作に重大な支障をもたらすような
重大なコマンドになる割合を大幅に低減できるため、従
来に比べて主システムと従システムとの間の通信の信頼
性を大幅に向上することができる等の特長を有するもの
である。
As described above, according to the present invention, it is possible to significantly reduce the proportion of transfer commands or transfer errors that result in serious commands that seriously impede the operation of the slave system. It has features such as being able to significantly improve the reliability of communication between

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

第1図は本発明の一実施例のコマンド説明図、第2図は
本発明の一実施例の構成図、 第3図は本発明を適用し得るシステムの一例の構成図で
ある。 図において、 lは主システム、 2は従システム、 3は表示装置、 23はコマンドデコーダ を示す。
FIG. 1 is a command explanatory diagram of an embodiment of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a block diagram of an example of a system to which the present invention can be applied. In the figure, 1 is a main system, 2 is a slave system, 3 is a display device, and 23 is a command decoder.

Claims (1)

【特許請求の範囲】 主システム(1)から従システム(2)へのコマンド転
送方法において、 主システムから転送されるコマンドのうち、該従システ
ム(2)に対して重要なコマンドを誤り検出符号を兼ね
たコマンドとし、 前記重要なコマンドと所定ビットだけ値の異なるコマン
ドは未使用のコマンドとし、前記重要なコマンド及び前
記未使用のコマンド以外を通常のコマンドとし、前記未
使用のコマンドが従システムに入力されたときは、前記
主システムから転送されるコマンドをエラー処理するこ
とを特徴とするコマンド転送方法。
[Claims] In a method for transferring commands from a main system (1) to a slave system (2), among commands transferred from the main system, important commands for the slave system (2) are encoded with an error detection code. A command that has a value different from the important command by a predetermined bit is an unused command, a command other than the important command and the unused command is a normal command, and the unused command is used as a slave system command. A command transfer method characterized in that when the command is input to the main system, error processing is performed on the command transferred from the main system.
JP19551090A 1990-07-24 1990-07-24 Command transfer method Pending JPH0481141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19551090A JPH0481141A (en) 1990-07-24 1990-07-24 Command transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19551090A JPH0481141A (en) 1990-07-24 1990-07-24 Command transfer method

Publications (1)

Publication Number Publication Date
JPH0481141A true JPH0481141A (en) 1992-03-13

Family

ID=16342282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19551090A Pending JPH0481141A (en) 1990-07-24 1990-07-24 Command transfer method

Country Status (1)

Country Link
JP (1) JPH0481141A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019049528A1 (en) * 2017-09-07 2019-03-14 村田機械株式会社 Communication system and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019049528A1 (en) * 2017-09-07 2019-03-14 村田機械株式会社 Communication system and communication method
JPWO2019049528A1 (en) * 2017-09-07 2020-11-05 村田機械株式会社 Communication system and communication method
US11343217B2 (en) 2017-09-07 2022-05-24 Murata Machinery, Ltd. Communication system and communication method

Similar Documents

Publication Publication Date Title
EP0352028B1 (en) Apparatus for transmitting data between a central processor and remote peripheral devices
US4047162A (en) Interface circuit for communicating between two data highways
US4156932A (en) Programmable communications controller
AU2002324922A1 (en) Network independent safety protocol for industrial controller using data manipulation techniques
EP0067516B1 (en) Shift control system for keyboards
US4511975A (en) Numerical control machine tool
JPH0481141A (en) Command transfer method
KR900002349B1 (en) Program keyboard mechanism
JP2818936B2 (en) Binary data processing method and circuit
CA2048939C (en) Zero-sync-time apparatus for encoding and decoding
JPS6386620A (en) Detector for erroneous operation of decoder
TWI829060B (en) Processing circuit, control system and control method
JPS6240738B2 (en)
JPH0476147B2 (en)
SU1411754A1 (en) Device for checking logical units
KR0155911B1 (en) System bus control apparatus
JPH0224184A (en) Printer
JPH1056378A (en) Counter circuit device
JPS63696A (en) Control system for cash drawer
JPS62125456A (en) Data processing system for communication control unit
JPH0375842A (en) Errorneous control prevention circuit
JPH0542687B2 (en)
JPS60220628A (en) Code error detecting circuit
JPS63245750A (en) Main memory device
JPH02181245A (en) Storage device