[go: up one dir, main page]

JP2006295710A - Information communication system and master unit - Google Patents

Information communication system and master unit Download PDF

Info

Publication number
JP2006295710A
JP2006295710A JP2005115936A JP2005115936A JP2006295710A JP 2006295710 A JP2006295710 A JP 2006295710A JP 2005115936 A JP2005115936 A JP 2005115936A JP 2005115936 A JP2005115936 A JP 2005115936A JP 2006295710 A JP2006295710 A JP 2006295710A
Authority
JP
Japan
Prior art keywords
slave
command
data
individual data
transmitted
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
JP2005115936A
Other languages
Japanese (ja)
Inventor
Toshifumi Goto
敏文 後藤
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.)
Patlite Corp
Original Assignee
Patlite Corp
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 Patlite Corp filed Critical Patlite Corp
Priority to JP2005115936A priority Critical patent/JP2006295710A/en
Publication of JP2006295710A publication Critical patent/JP2006295710A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information communication system wherein display data can be efficiently transmitted to a specific slave unit when performing data communication between a master unit and a plurality of slave units and it is not necessary to perform error display or the like. <P>SOLUTION: The present invention relates to an information communication system for cyclically repeatedly performing data communication based on preset order between one master unit and a plurality of slave units, wherein the master comprises a display data storage means for storing display data to be transmitted to a specific first slave among the plurality of slaves, a stop command transmitting means for transmitting a stop command to second slaves other than the first slave, a recovery command transmitting means for transmitting a recovery command to the second slaves, and a transmission control means for transmitting the stop command to all the second slaves when starting transmitting display data to the first slave, and for transmitting the recovery command to all the second slaves when stopping transmitting the display data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、1台のマスター装置と複数のスレーブ装置との間で、予め設定された順序に基づき、データ通信をサイクル的に繰り返し行う情報通信システム及びこのシステムを構成するマスター装置に関する。   The present invention relates to an information communication system in which data communication is periodically repeated between a single master device and a plurality of slave devices based on a preset order, and a master device constituting this system.

かかる情報通信システムでは、1台の通信制御装置(マスター装置)とn台の情報表示装置(スレーブ装置)をRS485などのシリアル通信線で接続してデータ通信を行う。かかる情報通信システムは、例えば、工場における生産ラインに設置され、マスター装置から特定のスレーブ装置を指定し、表示データ(個別データに相当)を送信する。指定されたスレーブ装置は、受信した表示データに基づいて表示を行う。また、マスター装置は、表示データの送信を行わない場合でも、絶えずスレーブ装置と通信を行っており、各スレーブ装置と平等に通信を行うため、n台のスレーブ装置と、サイクル的に通信を繰り返している。この通信態様を図6に示す。   In such an information communication system, one communication control device (master device) and n information display devices (slave devices) are connected by a serial communication line such as RS485 to perform data communication. Such an information communication system is installed, for example, in a production line in a factory, designates a specific slave device from a master device, and transmits display data (corresponding to individual data). The designated slave device performs display based on the received display data. In addition, even when the display device does not transmit display data, the master device constantly communicates with the slave devices and communicates with each slave device equally, so communication with the n slave devices is repeated in cycles. ing. This communication mode is shown in FIG.

まず、マスター装置からスレーブ装置1にコマンドc1を送信する。スレーブ装置1は、これに応答して応答コマンドr1を返信する。次に、マスター装置からスレーブ装置2にコマンドc2を送信する。スレーブ装置2はマスター装置に応答コマンドr2を返信する。以下同様に、マスター装置はスレーブ装置3〜nにコマンドc3〜cnを送信し、各スレーブ装置3〜nは応答コマンドr3〜rnを返信する。マスター装置は、スレーブ装置nからの応答コマンドrnを受信すると、スレーブ装置1へのコマンド送信から繰り返す。   First, the command c1 is transmitted from the master device to the slave device 1. In response to this, the slave device 1 returns a response command r1. Next, the command c2 is transmitted from the master device to the slave device 2. The slave device 2 returns a response command r2 to the master device. Similarly, the master device transmits commands c3 to cn to the slave devices 3 to n, and each slave device 3 to n returns response commands r3 to rn. When receiving the response command rn from the slave device n, the master device repeats the command transmission to the slave device 1.

以上の通信システムにおけるマスター装置の動作フローチャートを図7により説明する。まず、マスター装置は、スレーブ装置1に対してコマンドc1を送信する(#1−1)。マスター装置はスレーブ装置1からの応答コマンドr1を受信した場合(#1−2)、スレーブ装置2にコマンドc2を送信する(#2−1)。スレーブ装置1からの応答コマンドr1を受信していない場合は、スレーブ装置1にコマンド送信後、タイムアウト時間を経過したか否かを判断する(#1−3)。タイムアウト時間内に応答コマンドr1を受信できなかった場合は、マスター装置はスレーブ装置1がコマンド受信状態でないことを認識する(#1−4)。   An operation flowchart of the master device in the above communication system will be described with reference to FIG. First, the master device transmits a command c1 to the slave device 1 (# 1-1). When the master device receives the response command r1 from the slave device 1 (# 1-2), the master device transmits a command c2 to the slave device 2 (# 2-1). If the response command r1 from the slave device 1 has not been received, it is determined whether or not a timeout time has elapsed after the command is transmitted to the slave device 1 (# 1-3). If the response command r1 cannot be received within the time-out period, the master device recognizes that the slave device 1 is not in the command reception state (# 1-4).

以下、スレーブ装置2にコマンドc2を送信した後は、同様の処理手順をスレーブ装置nまで行い、その後再びステップ(#1−1)に戻り、スレーブ装置1へのコマンド送信から繰り返す。   Thereafter, after the command c2 is transmitted to the slave device 2, the same processing procedure is performed up to the slave device n, and then the process returns to step (# 1-1) again to repeat the command transmission to the slave device 1.

一方、スレーブ装置における動作フローチャートを図8に示す。まず、マスター装置から自機宛のコマンドを受信したか否かを判断する(#10)。受信すればマスター装置に応答コマンドを返信する(#14)。自機宛のコマンドを受信していない場合は、マスター装置からのコマンド待ち時間がタイムアウト時間になったか否かを判断し(#11)、タイムアウト時間が経過した場合は、マスター装置がコマンド送信可能でないと認識する(#12)。この認識後も、マスター装置から自機宛のコマンドを受信したか否かを判断し(#13)、コマンドを受信できた場合は、マスター装置に応答コマンドを返信する(#14)。   On the other hand, an operation flowchart in the slave device is shown in FIG. First, it is determined whether a command addressed to the own device is received from the master device (# 10). If it is received, a response command is returned to the master device (# 14). If the command addressed to the device itself has not been received, it is determined whether the command waiting time from the master device has reached the timeout time (# 11). If the timeout time has elapsed, the master device can send the command. (# 12). After this recognition, it is determined whether or not a command addressed to itself is received from the master device (# 13). If the command is received, a response command is returned to the master device (# 14).

以上のように、マスター装置は複数(n台)のスレーブ装置1〜nと、予め設定された順序(この場合、スレーブ装置1→スレーブ装置2→・・・・→スレーブ装置n)でデータ通信をサイクル的に繰り返し行っている。   As described above, the master device performs data communication with a plurality of (n) slave devices 1 to n in a preset order (in this case, slave device 1 → slave device 2 →... → slave device n). Is repeated cyclically.

また、マスター装置とスレーブ装置との間でデータ通信を行うシステムとして、下記特許文献1に開示される通信システムが知られている。特許文献1に係る通信システムは、1つのマスター局と、このマスター局と全二重方式のシリアル伝送ラインで接続される複数のスレーブ局との間で、所定の送信周期で定期送信データの授受を行うものであり、送信周期で特定される送信周期内の定期送信データの授受が行われていない空き時間に、定期送信する必要のない非定期送信データの授受を行うようにしたシステムである。   Further, as a system for performing data communication between a master device and a slave device, a communication system disclosed in Patent Document 1 below is known. The communication system according to Patent Document 1 transmits and receives periodic transmission data at a predetermined transmission cycle between one master station and a plurality of slave stations connected to the master station through a full-duplex serial transmission line. This is a system in which non-periodic transmission data that does not need to be periodically transmitted is exchanged during idle time in which regular transmission data within the transmission period specified by the transmission period is not exchanged. .

特開2004−242031号公報JP 2004-242031 A

上記図6〜8で説明したシステムにおいて、マスター装置から特定のスレーブ装置に対して、表示データを送信する場合がある。例えば、n台のスレーブ装置のうち、特定のスレーブ装置(例えば、スレーブ装置1)について表示内容を変更する必要性が生じた場合である。かかる表示データは、各スレーブ装置へ送信するコマンドに乗せて送信するわけであるが、送信すべき表示データの量が大きい場合、表示データを分割して何回かに分けて送信することになる。   In the system described with reference to FIGS. 6 to 8, display data may be transmitted from the master device to a specific slave device. For example, there is a need to change the display content of a specific slave device (for example, slave device 1) among n slave devices. Such display data is transmitted on a command transmitted to each slave device. However, when the amount of display data to be transmitted is large, the display data is divided and transmitted several times. .

スレーブ装置1に表示データを送信することを考えると、スレーブ装置がn台ある場合、スレーブ装置1に分割した1回分の表示データを送信した後、残りのn−1台のスレーブ装置に順次コマンド送信を行い、夫々のコマンドに対する応答コマンドを受信している。残りのn−1台のスレーブ装置に表示データを送信する必要がない場合でも、上記のようにサイクル的にデータ通信を行っているため、スレーブ装置1に対して表示データを送信するのに時間がかかり、スレーブ装置1の表示内容の変更がスムーズに行かないという問題が生じる。   Considering sending display data to the slave device 1, if there are n slave devices, the display data for one time divided into the slave devices 1 is sent, and then the remaining n-1 slave devices are sequentially commanded. Transmission is performed and a response command for each command is received. Even when there is no need to transmit display data to the remaining n-1 slave devices, since data communication is performed in a cycle as described above, it takes time to transmit display data to the slave device 1. This causes a problem that the display contents of the slave device 1 cannot be changed smoothly.

仮に、スレーブ装置1〜nへのコマンド送信/応答コマンド受信に各々K時間必要であるとすると、スレーブ装置1へのコマンド通信はK×n時間ごとに1回行われることになる。表示データの分割数がmであったとすると、全ての表示データをスレーブ装置1に送信し終わるまでに、その所要時間は、m回×K時間×n台=mnK時間を必要とし、表示データの送信効率が良くなかった。   Assuming that K hours are required for command transmission / response command reception to the slave devices 1 to n, command communication to the slave device 1 is performed once every K × n hours. Assuming that the number of divisions of the display data is m, the required time is m times × K time × n units = mnK time until transmission of all display data to the slave device 1 is completed. Transmission efficiency was not good.

また、スレーブ装置1のみに対して通信を独占的に行おうとすると、スレーブ装置1以外のスレーブ装置は、コマンドをマスター装置から受信しないため、図8のステップ#12のようにマスター装置がコマンド送信可能でないと認識してしまい、エラー表示あるいは他の機器に接続中である旨の表示などをさせてしまうことになる。   Further, if communication is exclusively performed only for the slave device 1, slave devices other than the slave device 1 do not receive commands from the master device, so that the master device transmits a command as in step # 12 of FIG. It will be recognized that it is not possible, and an error display or a display indicating that it is connected to another device will be displayed.

また、前述した特許文献1における通信システムにおいては、マスター局からn台の各スレーブ局への定期送信データを行わない空き時間を利用して、非定期送信データ(上記表示データに対応する)を送信するものである。しかしながら、非定期送信データを送信する場合でも、常に全てのスレーブ局と定期送信データの授受を行う必要があることから、非定期送信データの量が増大した場合には、データ送信完了まで多大な時間を要することになる。   Further, in the communication system in Patent Document 1 described above, the non-periodic transmission data (corresponding to the display data) is used by using the idle time during which the periodic transmission data from the master station to each of the n slave stations is not performed. To be sent. However, even when non-periodic transmission data is transmitted, it is necessary to always exchange periodic transmission data with all the slave stations. Therefore, if the amount of non-periodic transmission data increases, a large amount of data is required until data transmission is completed. It will take time.

本発明は上記実情に鑑みてなされたものであり、その課題は、マスター装置と複数台のスレーブ装置との間でデータ通信を行うに際して、特定のスレーブ装置に対する表示データの送信を効率よく行うことができ、エラー表示などをさせる必要のない情報通信システム、及びこのシステムを構成するマスター装置を提供することである。   The present invention has been made in view of the above circumstances, and its problem is to efficiently transmit display data to a specific slave device when performing data communication between the master device and a plurality of slave devices. It is possible to provide an information communication system that does not need to display an error and the like, and a master device that constitutes this system.

上記課題を解決するため本発明に係る情報通信システムは、
1台のマスター装置と複数のスレーブ装置との間で、予め設定された順序に基づき、データ通信をサイクル的に繰り返し行う情報通信システムであって、
前記マスター装置が、
複数のスレーブ装置のうちの特定の第1スレーブ装置に対して送信すべき表示データを格納する個別データ格納手段と、
前記第1スレーブ装置以外の第2スレーブ装置に対して停止コマンドを送信する停止コマンド送信手段と、
前記第2スレーブ装置に対して復帰コマンドを送信する復帰コマンド送信手段と、
第1スレーブ装置に対する表示データの送信開始に際して、第2スレーブ装置のすべてに対して停止コマンドを送信すると共に、個別データの送信終了に際して、第2スレーブ装置のすべてに対して復帰コマンドを送信させる送信制御手段とを備えていることを特徴とするものである。
In order to solve the above problems, an information communication system according to the present invention provides:
An information communication system in which data communication is repeated cyclically based on a preset order between one master device and a plurality of slave devices,
The master device is
Individual data storage means for storing display data to be transmitted to a specific first slave device among a plurality of slave devices;
Stop command transmitting means for transmitting a stop command to a second slave device other than the first slave device;
Return command transmission means for transmitting a return command to the second slave device;
At the start of display data transmission to the first slave device, a stop command is transmitted to all of the second slave devices, and at the end of transmission of the individual data, transmission to transmit a return command to all of the second slave devices. And a control means.

かかる情報通信システムの作用・効果を説明する。このシステムは、1台のマスター装置と複数のスレーブ装置との間で、予め設定された順序に基づき、データ通信をサイクル的に繰り返し行うものであり、マスター装置が次のような機能を有している。   The operation and effect of the information communication system will be described. In this system, data communication is repeated cyclically based on a preset order between one master device and a plurality of slave devices. The master device has the following functions. ing.

すなわち、複数のスレーブ装置のうちの特定の第1スレーブ装置に対して送信すべき個別データが個別データ格納手段に格納される。個別データを送信しようとする場合は、第1スレーブ装置以外の全ての第2スレーブ装置に対して停止コマンドを送信する。この停止コマンドにより、第2スレーブ装置はマスター装置からのコマンドを受信しなくても正常な状態であると認識することができる。これにより、マスター装置は第1スレーブ装置のみと通信できる状態となり、個別データを短時間で送信可能になる。個別データの送信が終了すると、第2スレーブ装置の全てに対して復帰コマンドを送信する。これにより、第2スレーブ装置は、通常の通信モードに復帰したことを認識することができる。その結果、マスター装置と複数台のスレーブ装置との間でデータ通信を行うに際して、特定のスレーブ装置に対する個別データの送信を効率よく行うことができ、エラー表示などをさせる必要のない情報通信システムを提供することができる。   That is, individual data to be transmitted to a specific first slave device among the plurality of slave devices is stored in the individual data storage means. When trying to transmit individual data, a stop command is transmitted to all second slave devices other than the first slave device. By this stop command, the second slave device can recognize that it is in a normal state without receiving a command from the master device. Thus, the master device can communicate with only the first slave device, and individual data can be transmitted in a short time. When the transmission of the individual data is completed, a return command is transmitted to all the second slave devices. Thereby, the second slave device can recognize that the normal communication mode has been restored. As a result, when performing data communication between a master device and a plurality of slave devices, an information communication system that can efficiently transmit individual data to a specific slave device and does not need to display an error or the like. Can be provided.

なお、本発明として、個別データを送信しようとする第1スレーブ装置は1台とは限らず2台以上の複数台であってもよい。その場合、スレーブ装置ごとに個別データの内容が異なっていても良いし、一部あるいは全部が同じ個別データを送信するものであってもよい。   In the present invention, the number of first slave devices that are to transmit individual data is not limited to one, and may be two or more. In that case, the contents of the individual data may be different for each slave device, or a part or all of them may transmit the same individual data.

本発明において、前記マスター装置と接続されるホストコンピュータが、
個別データを送信すべきスレーブ装置を設定する送信先設定手段と、
送信すべき個別データを設定する個別データ設定手段と、
送信される個別データの分割数を設定する分割数設定手段と、
これら送信先設定手段、個別データ設定手段、分割数設定手段による設定データに基づいて、マスター装置に対して指令を行う通信指令手段とを備えていることが好ましい。
In the present invention, a host computer connected to the master device is
Destination setting means for setting a slave device to which individual data is to be transmitted;
Individual data setting means for setting individual data to be transmitted;
A division number setting means for setting the division number of the individual data to be transmitted;
It is preferable to include a communication command unit that commands the master device based on the setting data by the transmission destination setting unit, the individual data setting unit, and the division number setting unit.

個別データを送信する場合は、マスター装置と接続されるホストコンピュータで必要事項が設定される。すなわち、個別データを送信すべきスレーブ装置と、送信すべき個別データの内容と、個別データの分割数を設定する。これらの設定されたデータは、通信指令手段により、ホストコンピュータからマスター装置へと送信される。このホストコンピュータにより、マスター装置やスレーブ装置の集中制御を行うことができる。   When individual data is transmitted, necessary items are set in the host computer connected to the master device. That is, the slave device to which the individual data is to be transmitted, the content of the individual data to be transmitted, and the number of divisions of the individual data are set. These set data are transmitted from the host computer to the master device by the communication command means. This host computer can perform centralized control of the master device and slave devices.

本発明に係る情報通信システムを構成するマスター装置は、
複数のスレーブ装置のうちの特定の第1スレーブ装置に対して送信すべき個別データを格納する個別データ格納手段と、
前記第1スレーブ装置以外の第2スレーブ装置に対して停止コマンドを送信する停止コマンド送信手段と、
前記第2スレーブ装置に対して復帰コマンドを送信する復帰コマンド送信手段と、
第1スレーブ装置に対する個別データの送信開始に際して、第2スレーブ装置のすべてに対して停止コマンドを送信すると共に、個別データの送信終了に際して、第2スレーブ装置のすべてに対して復帰コマンドを送信させる送信制御手段とを備えていることを特徴とするものである。
The master device constituting the information communication system according to the present invention,
Individual data storage means for storing individual data to be transmitted to a specific first slave device among a plurality of slave devices;
Stop command transmitting means for transmitting a stop command to a second slave device other than the first slave device;
Return command transmission means for transmitting a return command to the second slave device;
At the start of transmission of individual data to the first slave device, a stop command is transmitted to all of the second slave devices, and at the end of transmission of the individual data, transmission to send a return command to all of the second slave devices And a control means.

更に、前記送信制御手段は、個別データを送信するに際して、設定された分割数により個別データを分割して送信させることが好ましい。   Furthermore, it is preferable that the transmission control means divides the individual data according to the set number of divisions when transmitting the individual data.

かかる構成によるマスター装置の作用・効果は、既に説明したとおりである。   The operation and effect of the master device having such a configuration is as described above.

本発明において、前記停止コマンド送信手段は、すべての第2スレーブ装置に対して同一の停止コマンドを送信することが好ましい。   In this invention, it is preferable that the said stop command transmission means transmits the same stop command with respect to all the 2nd slave apparatuses.

全ての第2スレーブ装置が認識できる停止コマンドを送信することで、応答コマンドを返信しない構成にすることができ、個別データの送信を終了するまでの時間を更に短縮化することができる。   By transmitting a stop command that can be recognized by all the second slave devices, a configuration in which a response command is not returned can be achieved, and the time until the end of transmission of individual data can be further shortened.

本発明において、スレーブ装置は、前記個別データとしての表示データを受信してLEDによる外部表示を行う情報表示装置であることが好ましい。   In the present invention, the slave device is preferably an information display device that receives display data as the individual data and performs external display using LEDs.

本発明に係る情報通信システムの好適な実施形態を図面を用いて説明する。図1は、システムの概要を示す模式図である。   A preferred embodiment of an information communication system according to the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing an outline of the system.

<システムの構成>
マスター装置(親機)としてのリンクターミナル10が設けられており、RS485等のシリアル通信線により、複数台(例えば32台)の情報表示装置11と接続される。情報表示装置11は、スレーブ装置(子機)に相当する。情報表示装置11は、マトリクスLEDパネルを備えており、リンクターミナル10から表示データを受信すると、その表示データに基づいてLEDパネルに表示を行う。情報表示装置11としては、種々の実施形態が考えられるが、特定の形状・構造に限定されるものではない。リンクターミナル10は、ホストコンピュータ20(以下、ホストと省略)と接続されており、ホスト20から表示データの送信に関する指令信号を受信する。
<System configuration>
A link terminal 10 is provided as a master device (parent device), and is connected to a plurality of (for example, 32) information display devices 11 through a serial communication line such as RS485. The information display device 11 corresponds to a slave device (child device). The information display device 11 includes a matrix LED panel. When display data is received from the link terminal 10, the information display device 11 performs display on the LED panel based on the display data. Although various embodiments can be considered as the information display device 11, it is not limited to a specific shape / structure. The link terminal 10 is connected to a host computer 20 (hereinafter abbreviated as “host”), and receives a command signal related to transmission of display data from the host 20.

リンクターミナル10は、シリアル通信線で接続された全ての情報表示装置11と、平等に通信することが可能であり、予め設定された順序に基づき、データ通信をサイクル的に繰り返し行うことができる。予め設定された順序とは、例えば、図1に示す情報表示装置11において、11(1)→(2)→(3)→・・・→(n)→(1)→(2)・・・であり、情報表示装置11(1)から(n)までの1サイクル分の通信が終了すると、再び11(1)に戻ってデータ通信を繰り返す。このような通信順序については、ホスト20において設定可能であり、適宜設定変更も可能である。   The link terminal 10 can communicate equally with all the information display devices 11 connected by the serial communication line, and can repeatedly perform data communication in a cycle based on a preset order. The preset order is, for example, 11 (1) → (2) → (3) →... (N) → (1) → (2) in the information display apparatus 11 shown in FIG. When the communication for one cycle from the information display devices 11 (1) to (n) is completed, the processing returns to 11 (1) again to repeat the data communication. Such a communication order can be set in the host 20, and the setting can be changed as appropriate.

リンクターミナル10と各情報表示装置11とは、このように絶えず通信を行うことで、お互いの動作状況を監視したり、必要なデータを送信・受信するようにしている。また、情報表示装置11では、LEDで情報を表示するものであるが、表示内容を変更する必要があるときは、リンクターミナル10から所望の表示データ(個別データに相当)が特定の情報表示装置11に対して送信される。この表示データの送信は、必要なときに必要な情報表示装置11に対して行われるものであり、常時行われるものではない。例えば、生産ラインにおいてトラブルが発生した場合は、その旨を表示させるための表示データを送信させる。   The link terminal 10 and each information display device 11 communicate with each other in this manner, thereby monitoring each other's operation status and transmitting / receiving necessary data. Further, in the information display device 11, information is displayed by LEDs, but when the display content needs to be changed, desired display data (corresponding to individual data) is transmitted from the link terminal 10 to a specific information display device. 11 is transmitted. This transmission of display data is performed to the necessary information display device 11 when necessary, and is not always performed. For example, when trouble occurs in the production line, display data for displaying the fact is transmitted.

<システムの主要な機能>
図1に示す情報通信システムの主要な機能を図2のブロック図により説明する。ホスト20は、例えば、汎用パソコンにより構成することができ、リンクターミナル10に対する通信指令を行うための通信プログラム21がインストールされている。なお汎用パソコン以外のコンピュータを用いて、ホストコンピュータとしての機能を果たしてもよい。
<Main functions of the system>
The main functions of the information communication system shown in FIG. 1 will be described with reference to the block diagram of FIG. The host 20 can be constituted by a general-purpose personal computer, for example, and a communication program 21 for issuing a communication command to the link terminal 10 is installed. A computer other than a general-purpose personal computer may be used to fulfill the function as a host computer.

通信プログラム21の主要な機能を順番に説明する。送信先設定手段21aは、表示データを送信すべき情報表示装置11を設定する。設定される情報表示装置11は、n台のうちの1台もしくは2台以上であり、必要に応じて指定される。表示データ設定手段21b(個別データ設定手段に相当)は、指定された情報表示装置11に対して送信すべき表示データを設定する。設定は、例えば、キーボードやマウス等の入力操作部を利用して入力したり、予め用意しておいた表示データ群の中から特定の1つを選択するような方法で行われる。情報表示装置11が複数指定された場合は、夫々に対して異なる表示データを設定してもよいし、同じ表示データが設定されてもよい。すなわち、状況に応じて表示データの内容を自由に設定できることが好ましい。   The main functions of the communication program 21 will be described in order. The transmission destination setting means 21a sets the information display device 11 to which display data is to be transmitted. The information display device 11 to be set is one or more of n units, and is designated as necessary. The display data setting unit 21b (corresponding to the individual data setting unit) sets display data to be transmitted to the designated information display device 11. The setting is performed, for example, by inputting using an input operation unit such as a keyboard or a mouse, or by selecting a specific one from a display data group prepared in advance. When a plurality of information display devices 11 are designated, different display data may be set for each, or the same display data may be set. That is, it is preferable that the contents of the display data can be set freely according to the situation.

分割数設定手段21cは、表示データを送信する場合の表示データの分割数を設定する機能を有する。表示データのデータ量が多くなることもあり、かつ、1回のデータ通信で送信されるデータ量には制限があるため、表示データの量が多くなった場合には、前記制限内容に応じて分割して送信させるようにする。   The division number setting means 21c has a function of setting the division number of display data when display data is transmitted. Since the amount of display data may increase and the amount of data transmitted in a single data communication is limited, when the amount of display data increases, Send it in pieces.

通信指令手段21dは、送信先設定手段21a、表示データ設定手段21b、分割数設定手段21cにより設定されたデータに基づいて、リンクターミナル10に対して指令を行う。   The communication command unit 21d issues a command to the link terminal 10 based on the data set by the transmission destination setting unit 21a, the display data setting unit 21b, and the division number setting unit 21c.

次に、リンクターミナル10の主要な機能を説明する。記憶回路12には、各情報表示装置11へ送信すべきデータと、各情報表示装置11から受信したデータが記憶される。表示データ格納手段12aには、ホスト20からの指令により送信されてきた表示データが格納される。通信回路13は、リンクターミナル10と各情報表示装置11の間で通信を行うための回路である。停止コマンド送信手段13aは、各情報表示装置11に対して停止コマンドを送信する機能を有する。この停止コマンドを送信後、情報表示装置11への通信を一時的に停止する。復帰コマンド送信手段13bは、各情報表示装置11に対して復帰コマンドを送信する機能を有する。この復帰コマンドが送信されると、各情報表示装置11への通信停止状態を解除することができ、通常の通信状態に復帰させることができる。   Next, main functions of the link terminal 10 will be described. The storage circuit 12 stores data to be transmitted to each information display device 11 and data received from each information display device 11. The display data storage unit 12a stores display data transmitted in response to a command from the host 20. The communication circuit 13 is a circuit for performing communication between the link terminal 10 and each information display device 11. The stop command transmission unit 13 a has a function of transmitting a stop command to each information display device 11. After transmitting this stop command, communication to the information display device 11 is temporarily stopped. The return command transmission unit 13 b has a function of transmitting a return command to each information display device 11. When this return command is transmitted, the communication stop state to each information display device 11 can be canceled and the normal communication state can be returned.

制御回路14は、記憶回路12と通信回路13に対する制御を行う電子回路である。送信制御手段14aは、前記停止コマンドや復帰コマンドを情報表示装置11に送信するように通信回路13に対する制御を行う。また、表示データ送信制御手段14bは、ホスト20からの指令に基づき、表示データを設定された分割数で送信するように制御を行う。   The control circuit 14 is an electronic circuit that controls the storage circuit 12 and the communication circuit 13. The transmission control unit 14 a controls the communication circuit 13 so as to transmit the stop command and the return command to the information display device 11. Further, the display data transmission control unit 14b performs control so as to transmit the display data in the set division number based on a command from the host 20.

次に、情報表示装置11の主要な機能を説明する。記憶回路15は、リンクターミナル10から受信したデータと、リンクターミナル10へ送信すべきデータが記憶される。通信回路16は、リンクターミナル10と情報表示装置11の間で通信を行うための回路である。制御回路17は記憶回路15と通信回路16に対する制御を行う電子回路である。これら記憶回路15、通信回路16、制御回路17の構成については、基本的にリンクターミナル10と同じとすることができる。   Next, main functions of the information display device 11 will be described. The storage circuit 15 stores data received from the link terminal 10 and data to be transmitted to the link terminal 10. The communication circuit 16 is a circuit for performing communication between the link terminal 10 and the information display device 11. The control circuit 17 is an electronic circuit that controls the storage circuit 15 and the communication circuit 16. The configurations of the storage circuit 15, the communication circuit 16, and the control circuit 17 can be basically the same as those of the link terminal 10.

表示制御回路18は、記憶回路15に記憶されている表示データに基づいて、LED表示パネル19に所望の表示をさせる機能を有する。LED表示パネル19は、マトリクス状に配置されたLEDドットに対する点灯・消灯の制御を行うことで、所望の情報表示をさせることができる。   The display control circuit 18 has a function of causing the LED display panel 19 to perform a desired display based on the display data stored in the storage circuit 15. The LED display panel 19 can display desired information by controlling turning on / off the LED dots arranged in a matrix.

<表示データを送信するときの動作>
次に、図3により表示データを送信する場合の動作を説明する。表示データの送信を行う場合には、最初にホスト20からリンクターミナル10に対して、表示データを送信したい情報表示装置11、送信すべき表示データ、データの分割数に関する指令を与える。以下の説明では、情報表示装置11(1)に対してのみ表示データを送信する場合について説明する。すなわち、情報表示装置11(1)は第1スレーブ装置に該当し、残りの情報表示装置11(2)〜(n)は、第2スレーブ装置に該当する。
<Operation when sending display data>
Next, the operation in the case of transmitting display data will be described with reference to FIG. When transmitting display data, the host 20 first gives an instruction regarding the information display device 11 to which display data is to be transmitted, the display data to be transmitted, and the number of data divisions to the link terminal 10. In the following description, a case where display data is transmitted only to the information display device 11 (1) will be described. That is, the information display device 11 (1) corresponds to the first slave device, and the remaining information display devices 11 (2) to (n) correspond to the second slave device.

まず、リンクターミナル10から情報表示装置11(1)にコマンドc1を送信した後、情報表示装置11(2)〜(n)に対して停止コマンドc2〜cnを送信する。停止コマンドを受信した各情報表示装置11(2)〜(n)は、それに対する応答コマンドr2〜rnを返信する。これにより、情報表示装置11(2)〜(n)は、通信停止モードに移行する。通信停止モードでは、リンクターミナル10からのコマンドを受信しなくても、異常であるとはみなさない。   First, after the command c1 is transmitted from the link terminal 10 to the information display device 11 (1), stop commands c2 to cn are transmitted to the information display devices 11 (2) to (n). The information display devices 11 (2) to 11 (n) that have received the stop command return response commands r2 to rn corresponding thereto. Thereby, the information display apparatuses 11 (2) to (n) shift to the communication stop mode. In the communication stop mode, even if a command from the link terminal 10 is not received, it is not regarded as abnormal.

通信停止モードに移行すると、リンクターミナル10と指定された情報表示装置11(1)との間のみで、通信が行われ、コマンドc1に表示データが乗せられた状態で、表示データが送信される。表示データの送信は、予め設定された分割数(m)で分割されて行われる。   When the communication stop mode is entered, communication is performed only between the link terminal 10 and the designated information display device 11 (1), and the display data is transmitted with the display data placed on the command c1. . The display data is transmitted by being divided by a preset division number (m).

設定された分割数(m)の通信が終了すると、表示データの送信が完了したことになり、情報表示装置11(2)〜(n)に対して復帰コマンドを送信する。これにより、通信停止モードが解除され、通常の通信モードに復帰する。   When communication for the set number of divisions (m) is completed, transmission of display data is completed, and a return command is transmitted to the information display devices 11 (2) to (n). As a result, the communication stop mode is canceled and the normal communication mode is restored.

図4は、情報表示装置11における動作フローチャートを示す図である。情報表示装置11は、リンクターミナル10から自機宛のコマンド受信を待つ(#20)。コマンドが停止コマンドが否かを判断する(#21)。停止コマンドでなければ、リンクターミナル10に対して応答コマンドを送信する(#22)。   FIG. 4 is a diagram showing an operation flowchart in the information display device 11. The information display device 11 waits for a command received from the link terminal 10 addressed to itself (# 20). It is determined whether the command is a stop command (# 21). If it is not a stop command, a response command is transmitted to the link terminal 10 (# 22).

停止コマンドの場合は、リンクターミナル10から自機宛のコマンド受信を待つ(#23)。このとき、コマンドは復帰コマンドか否かを判断する(#24)。復帰コマンドであった場合は、それに対する応答コマンドをリンクターミナル10に返信する。このように、停止コマンドを受信すると、その情報表示装置11は、復帰コマンドを受信するまで通信停止モードになり、復帰コマンドを受信すると、通常の通信モードに復帰する。   In the case of a stop command, it waits for a command received from the link terminal 10 addressed to itself (# 23). At this time, it is determined whether or not the command is a return command (# 24). If it is a return command, a response command to the command is returned to the link terminal 10. As described above, when the stop command is received, the information display device 11 enters the communication stop mode until the return command is received. When the return command is received, the information display device 11 returns to the normal communication mode.

なお、表示データを送信すべき情報表示装置11は1台に限定されるものではなく、n台以下の任意の数を設定することができる。また、図3における通信において、停止コマンドを送信する際に、コマンドには情報表示装置11を特定するIDデータが含まれている。従って、このIDデータにより、各情報表示装置11は自機宛のデータであるか否かを判断することができる。   Note that the number of information display devices 11 to which display data is to be transmitted is not limited to one, and an arbitrary number of n or less can be set. In the communication in FIG. 3, when transmitting a stop command, the command includes ID data for specifying the information display device 11. Therefore, each information display device 11 can determine whether or not the data is addressed to itself by using this ID data.

これに換えて、情報表示装置11(2)〜(n)の全てが認識できる停止コマンド(同一の停止コマンド)を送信するようにしてもよい。この場合の通信動作を図5により説明する。この場合、同時に情報表示装置11(2)〜(n)が停止コマンドを受信できる。この場合、同時に応答コマンドを送信することになるので、これを回避するため、情報表示装置11(2)〜(n)は、応答コマンドをリンクターミナル10に対して返信しないようにする。   Instead, a stop command (identical stop command) that can be recognized by all of the information display devices 11 (2) to (n) may be transmitted. The communication operation in this case will be described with reference to FIG. In this case, the information display devices 11 (2) to (n) can receive the stop command at the same time. In this case, since a response command is transmitted simultaneously, in order to avoid this, the information display apparatuses 11 (2) to 11 (n) do not return a response command to the link terminal 10.

<効果>
以上のとおり、表示データの送信を行う場合、表示データを送信しない情報表示装置11とは通信を行わなくてすむので、表示データの送信を完了するまでの時間を短縮化することができる。また、停止コマンドを予め送信することにより、停止状態の情報表示装置11に対してコマンドを送信しなくても、異常であるという判断がされることはない。
<Effect>
As described above, when display data is transmitted, it is not necessary to communicate with the information display device 11 that does not transmit display data. Therefore, it is possible to shorten the time until transmission of display data is completed. In addition, by transmitting the stop command in advance, it is not determined that there is an abnormality even if the command is not transmitted to the information display device 11 in the stopped state.

次に、データをm回に分割して情報表示装置11に送信する場合の、データを送信終了するまでの所要時間を説明する。1台の情報表示装置11に対する通信時間はKとする。   Next, a description will be given of the time required until data transmission ends when data is divided into m times and transmitted to the information display device 11. The communication time for one information display device 11 is K.

停止モードへの移行時間:n台×K時間=nK時間
表示データの転送時間:m回×K時間=mK時間
通常モードへの復帰時間:n台×K時間=nK時間
従って、トータルで2nK+mK 時間となる。図6に示す従来の通信方式では、mnK時間を要する。
Transition time to stop mode: n units x K time = nK time Display data transfer time: m times x K time = mK time Return time to normal mode: n units x K time = nK time Therefore, 2nK + mK time in total It becomes. The conventional communication method shown in FIG. 6 requires mnK time.

ここでm=100、n=10とすると、
従来の方式では、1000K時間、本発明による方式では、120K時間であり、データ転送に要する時間が1/8に短縮される。この時間短縮の効果は、表示データの量が大きいほど、また、接続される情報表示装置11の数が多いほど、大きくなる。
If m = 100 and n = 10,
The conventional method is 1000K hours, and the method according to the present invention is 120K hours, and the time required for data transfer is reduced to 1/8. The effect of shortening the time becomes larger as the amount of display data is larger and as the number of information display devices 11 connected is larger.

<別実施形態>
本実施形態では、マスター装置とスレーブ装置の例として、リンクターミナルと情報表示装置の組み合わせをあげて説明したが、これに限定されるものではない。シリアル通信の具体例として、RS485を例示したが、これに限定されるものではなく、他の方式を用いてもよい。また、通信は無線であるか有線であるかは問わないものとする。
<Another embodiment>
In the present embodiment, a combination of a link terminal and an information display device has been described as an example of a master device and a slave device, but the present invention is not limited to this. Although RS485 was illustrated as a specific example of serial communication, it is not limited to this, and other methods may be used. In addition, it does not matter whether the communication is wireless or wired.

情報通信システムの概要を示す模式図Schematic diagram showing an overview of an information communication system 情報通信システムの機能を示すブロック図Block diagram showing functions of information communication system 表示データを送信する場合の通信動作を示す図Diagram showing communication operation when display data is transmitted 情報表示装置における動作フローチャートOperation flowchart in information display device 表示データを送信する場合の別の通信動作を示す図The figure which shows another communication operation when transmitting display data 従来技術における通信動作を示す図Diagram showing communication operation in the prior art 従来技術におけるマスター装置の動作を示すフローチャートFlow chart showing the operation of the master device in the prior art 従来技術におけるスレーブ装置の動作を示すフローチャートFlow chart showing operation of slave device in the prior art

符号の説明Explanation of symbols

10 リンクターミナル
11 情報表示装置
12 記憶回路
12a 表示データ格納手段
13 通信回路
13a 停止コマンド送信手段
13b 復帰コマンド送信手段
14 制御回路
14a 送信制御手段
14b 表示データ送信制御手段
15 記憶回路
16 通信回路
17 制御回路
18 表示制御回路
19 LED表示パネル
20 ホストコンピュータ
21 通信プログラム
21a 送信先設定手段
21b 表示データ設定手段
21c 分割数設定手段
21d 通信指令手段
DESCRIPTION OF SYMBOLS 10 Link terminal 11 Information display apparatus 12 Storage circuit 12a Display data storage means 13 Communication circuit 13a Stop command transmission means 13b Return command transmission means 14 Control circuit 14a Transmission control means 14b Display data transmission control means 15 Storage circuit 16 Communication circuit 17 Control circuit 18 Display control circuit 19 LED display panel 20 Host computer 21 Communication program 21a Transmission destination setting means 21b Display data setting means 21c Division number setting means 21d Communication command means

Claims (6)

1台のマスター装置と複数のスレーブ装置との間で、予め設定された順序に基づき、データ通信をサイクル的に繰り返し行う情報通信システムであって、
前記マスター装置が、
複数のスレーブ装置のうちの特定の第1スレーブ装置に対して送信すべき個別データを格納する個別データ格納手段と、
前記第1スレーブ装置以外の第2スレーブ装置に対して停止コマンドを送信する停止コマンド送信手段と、
前記第2スレーブ装置に対して復帰コマンドを送信する復帰コマンド送信手段と、
第1スレーブ装置に対する表示データの送信開始に際して、第2スレーブ装置のすべてに対して停止コマンドを送信すると共に、個別データの送信終了に際して、第2スレーブ装置のすべてに対して復帰コマンドを送信させる送信制御手段とを備えていることを特徴とする情報通信システム。
An information communication system in which data communication is repeated cyclically based on a preset order between one master device and a plurality of slave devices,
The master device is
Individual data storage means for storing individual data to be transmitted to a specific first slave device among a plurality of slave devices;
Stop command transmitting means for transmitting a stop command to a second slave device other than the first slave device;
Return command transmission means for transmitting a return command to the second slave device;
At the start of display data transmission to the first slave device, a stop command is transmitted to all of the second slave devices, and at the end of transmission of the individual data, transmission to transmit a return command to all of the second slave devices. An information communication system comprising control means.
前記マスター装置と接続されるホストコンピュータが、
個別データを送信すべきスレーブ装置を設定する送信先設定手段と、
送信すべき個別データを設定する個別データ設定手段と、
送信される個別データの分割数を設定する分割数設定手段と、
これら送信先設定手段、個別データ設定手段、分割数設定手段による設定データに基づいて、マスター装置に対して指令を行う通信指令手段とを備えていることを特徴とする請求項1に記載の情報通信システム。
A host computer connected to the master device is
Destination setting means for setting a slave device to which individual data is to be transmitted;
Individual data setting means for setting individual data to be transmitted;
A division number setting means for setting the division number of the individual data to be transmitted;
2. The information according to claim 1, further comprising: a communication command unit that commands the master device based on the setting data by the transmission destination setting unit, the individual data setting unit, and the division number setting unit. Communications system.
請求項1又は2に記載の情報通信システムを構成するマスター装置であって、
複数のスレーブ装置のうちの特定の第1スレーブ装置に対して送信すべき個別データを格納する個別データ格納手段と、
前記第1スレーブ装置以外の第2スレーブ装置に対して停止コマンドを送信する停止コマンド送信手段と、
前記第2スレーブ装置に対して復帰コマンドを送信する復帰コマンド送信手段と、
第1スレーブ装置に対する個別データの送信開始に際して、第2スレーブ装置のすべてに対して停止コマンドを送信すると共に、個別データの送信終了に際して、第2スレーブ装置のすべてに対して復帰コマンドを送信させる送信制御手段とを備えていることを特徴とするマスター装置。
A master device constituting the information communication system according to claim 1 or 2,
Individual data storage means for storing individual data to be transmitted to a specific first slave device among a plurality of slave devices;
Stop command transmitting means for transmitting a stop command to a second slave device other than the first slave device;
Return command transmission means for transmitting a return command to the second slave device;
At the start of transmission of individual data to the first slave device, a stop command is transmitted to all of the second slave devices, and at the end of transmission of the individual data, transmission to send a return command to all of the second slave devices And a control device.
前記送信制御手段は、個別データを送信するに際して、設定された分割数により個別データを分割して送信させることを特徴とする請求項3に記載のマスター装置。   4. The master apparatus according to claim 3, wherein the transmission control unit divides and transmits the individual data according to the set division number when transmitting the individual data. 前記停止コマンド送信手段は、すべての第2スレーブ装置に対して同一の停止コマンドを送信することを特徴とする請求項3又は4に記載のマスター装置。   The master device according to claim 3 or 4, wherein the stop command transmitting means transmits the same stop command to all the second slave devices. スレーブ装置は、前記個別データとしての表示データを受信してLEDによる外部表示を行う情報表示装置であることを特徴とする請求項3〜5のいずれか1項に記載のマスター装置。   The master device according to any one of claims 3 to 5, wherein the slave device is an information display device that receives display data as the individual data and performs external display using an LED.
JP2005115936A 2005-04-13 2005-04-13 Information communication system and master unit Pending JP2006295710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005115936A JP2006295710A (en) 2005-04-13 2005-04-13 Information communication system and master unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005115936A JP2006295710A (en) 2005-04-13 2005-04-13 Information communication system and master unit

Publications (1)

Publication Number Publication Date
JP2006295710A true JP2006295710A (en) 2006-10-26

Family

ID=37415768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005115936A Pending JP2006295710A (en) 2005-04-13 2005-04-13 Information communication system and master unit

Country Status (1)

Country Link
JP (1) JP2006295710A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02274037A (en) * 1989-04-14 1990-11-08 Matsushita Electric Ind Co Ltd Communication test method and communication control device used in the test method
JP2004242031A (en) * 2003-02-05 2004-08-26 Fuji Electric Fa Components & Systems Co Ltd Communications system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02274037A (en) * 1989-04-14 1990-11-08 Matsushita Electric Ind Co Ltd Communication test method and communication control device used in the test method
JP2004242031A (en) * 2003-02-05 2004-08-26 Fuji Electric Fa Components & Systems Co Ltd Communications system

Similar Documents

Publication Publication Date Title
US9836038B2 (en) Control device, and control method for link activating and deactivating
US7852790B2 (en) Communication master station startup period control method
JP5408445B2 (en) Programmable controller and master communication circuit
US11233674B2 (en) Processing of process data
CA2627492A1 (en) Modular avionics system of an aircraft
US10033546B2 (en) Method and system for reprogramming
CN102662383B (en) Realizing method for controlling chain of chain control system
JP5570556B2 (en) Numerical control device that communicates with IO unit
US5896509A (en) Network system for a programmable controller
JP2006295710A (en) Information communication system and master unit
US10108214B2 (en) Automation plant having a reduced-power stoppage operating mode
JP2007027889A (en) Method for teaching network configuration information in PLC system
JP4458279B2 (en) Programmable controller system communication method
CN114301776A (en) Function panel, function panel configuration system, and function panel configuration method
JP2006171833A (en) PLC data exchange system and control method of PLC data exchange system
CN103235570A (en) Monitoring message communication system of distributed production equipment
JP4458278B2 (en) Communication cycle control method
JP4407838B2 (en) Communication master station startup control method
JP2017010295A (en) Line system
JP2014222444A (en) Numerical control device and communication method
JP6321393B2 (en) Master-slave relay device and relay method thereof
JP7608880B2 (en) Network equipment and network systems
CN103825753A (en) Server system
CN111245693A (en) Time-sharing data transmission system and transmission method
WO2022190508A1 (en) Master device, slave device, control system, and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20070926

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091222

A131 Notification of reasons for refusal

Effective date: 20100113

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20100512

Free format text: JAPANESE INTERMEDIATE CODE: A02