JP2000231403A - Remote input and output system and slave device for the same - Google Patents
Remote input and output system and slave device for the sameInfo
- Publication number
- JP2000231403A JP2000231403A JP11031861A JP3186199A JP2000231403A JP 2000231403 A JP2000231403 A JP 2000231403A JP 11031861 A JP11031861 A JP 11031861A JP 3186199 A JP3186199 A JP 3186199A JP 2000231403 A JP2000231403 A JP 2000231403A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- information
- circuit
- output system
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000006854 communication Effects 0.000 claims description 131
- 238000001514 detection method Methods 0.000 claims description 22
- 230000010365 information processing Effects 0.000 claims 1
- 230000007175 bidirectional communication Effects 0.000 abstract description 16
- 239000002674 ointment Substances 0.000 abstract 1
- 230000005540 biological transmission Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 102100033029 Carbonic anhydrase-related protein 11 Human genes 0.000 description 1
- 101000867841 Homo sapiens Carbonic anhydrase-related protein 11 Proteins 0.000 description 1
- 101001075218 Homo sapiens Gastrokine-1 Proteins 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、入力された情報又
はこれを加工した情報を出力する1又は複数の子機と、
子機が出力した情報を取り込む親機とを備え、親機から
の所定の信号に子機が応答する双方向通信により、情報
を送受するリモート入出力システムに関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to one or more slave units for outputting input information or information obtained by processing the information,
The present invention relates to a remote input / output system that includes a master unit that captures information output by a slave unit, and that transmits and receives information by bidirectional communication in which the slave unit responds to a predetermined signal from the master unit.
【0002】[0002]
【従来の技術】図4は、従来のリモート入出力システム
の構成例を示すブロック図である。このリモート入出力
システムの子機31は、例えば、投射した光又はその反
射光を受け、その光量に応じた電気信号に変換して出力
するセンサ10が出力した電気信号を、ディジタル信号
に変換するA/D変換器11と、A/D変換器11とバ
ス17により相互接続されたCPU13、ROM14、
RAM15、表示部16、通信回路37及び閾値変更回
路18と、閾値変更回路18に接続されたスイッチ19
とを備えている。通信回路37には、通信回路37が行
う双方向通信の通信速度を切り換える為の切換回路37
aが接続されている。2. Description of the Related Art FIG. 4 is a block diagram showing a configuration example of a conventional remote input / output system. The slave unit 31 of the remote input / output system converts, for example, an electric signal output by the sensor 10 which receives the projected light or the reflected light, converts the received light into an electric signal corresponding to the light amount, and outputs the electric signal, into a digital signal. An A / D converter 11, a CPU 13, a ROM 14, which are interconnected by the A / D converter 11 and a bus 17;
RAM 15, display unit 16, communication circuit 37, threshold changing circuit 18, and switch 19 connected to threshold changing circuit 18.
And The communication circuit 37 includes a switching circuit 37 for switching the communication speed of the bidirectional communication performed by the communication circuit 37.
a is connected.
【0003】このリモート入出力システムの、子機31
とは離れた位置に設置されるPLC(プログラマブル・
コントローラ)からなる親機33は、子機31からのオ
ン−オフ信号を、後述するPLC入力ユニット36を介
して受け取るバス通信回路21と、バス通信回路21と
内部バス27により相互接続されたCPU23、ROM
24、RAM25、表示部26及び操作部30とを備え
ている。The remote unit 31 of the remote input / output system
PLC (programmable
The master unit 33 includes a bus communication circuit 21 that receives an on-off signal from the slave unit 31 via a PLC input unit 36 described later, and a CPU 23 interconnected by the bus communication circuit 21 and the internal bus 27. , ROM
24, a RAM 25, a display unit 26, and an operation unit 30.
【0004】このリモート入出力システムは、子機31
の通信回路37が出力したオン−オフ信号を、親機33
のバス通信回路21が受け取る為のPLC入力ユニット
36を備えており、PLC入力ユニット36は、通信ケ
ーブル38に接続された通信回路35と、親機33のバ
ス通信回路21にバス通信ケーブル34aにより接続さ
れたバス通信回路34とを備えている。通信回路35に
は、通信回路35が行う双方向通信の通信速度を切り換
える為の切換回路35aが接続されている。親機33
は、PLC入力ユニット36及び通信ケーブル38を介
して、複数の子機31の各通信回路37と接続され、順
次、子機31を呼び出し、送信すべきデータが有る子機
31からそのデータを受け取るポーリングにより、双方
向通信を行う。The remote input / output system is composed of
The on-off signal output by the communication circuit 37 of the
A PLC input unit 36 for receiving the bus communication circuit 21 of the base unit 33. The PLC input unit 36 is connected to the communication circuit 35 connected to the communication cable 38 and the bus communication circuit 21 of the master unit 33 by the bus communication cable 34a. And a bus communication circuit 34 connected thereto. The communication circuit 35 is connected to a switching circuit 35a for switching the communication speed of the bidirectional communication performed by the communication circuit 35. Parent machine 33
Is connected to each communication circuit 37 of the plurality of slave units 31 via the PLC input unit 36 and the communication cable 38, sequentially calls the slave units 31, and receives the data from the slave unit 31 having data to be transmitted. Two-way communication is performed by polling.
【0005】このような構成のリモート入出力システム
では、センサ10が、投射した光又はその反射光を受
け、その光量に応じた電気信号に変換して出力する。A
/D変換器11は、センサ10が出力した電気信号をデ
ィジタル信号に変換し、CPU13へ送る。CPU13
は、送られた電気信号を、RAM15に記憶してある所
定の閾値と比較し、その比較結果は、RAM15に一時
記憶しておく。In the remote input / output system having such a configuration, the sensor 10 receives the projected light or the reflected light, converts the received light into an electric signal corresponding to the amount of light, and outputs the electric signal. A
The / D converter 11 converts the electric signal output from the sensor 10 into a digital signal and sends the digital signal to the CPU 13. CPU 13
Compares the transmitted electric signal with a predetermined threshold value stored in the RAM 15, and temporarily stores the comparison result in the RAM 15.
【0006】CPU13は、この状態で、親機33から
呼び出しがあったときに、送信すべきデータがあること
を示す応答を行い、一時記憶してある比較結果を、オン
−オフ信号として親機33へ送る。通信回路37は、切
換回路37aにより選択設定された通信速度により、こ
れらの動作に伴う送受信を行う。また、CPU13は、
A/D変換器11から送られた電気信号が示すセンサ1
0の受光レベルと前記比較結果とを、表示部16に表示
させる。RAM15に記憶してある所定の閾値は、スイ
ッチ19の操作により閾値変更回路18が変更/更新す
ることが出来る。In this state, when there is a call from the master unit 33 in this state, the CPU 13 responds to indicate that there is data to be transmitted, and uses the temporarily stored comparison result as an on-off signal as the on-off signal. Send to 33. The communication circuit 37 performs transmission and reception accompanying these operations at the communication speed selected and set by the switching circuit 37a. Also, the CPU 13
Sensor 1 indicated by electric signal sent from A / D converter 11
The display unit 16 displays the light receiving level of 0 and the comparison result. The predetermined threshold value stored in the RAM 15 can be changed / updated by the threshold value changing circuit 18 by operating the switch 19.
【0007】親機33は、順次、子機31を呼び出し、
送信すべきデータがあることを示す応答が有れば、当該
子機31から前記比較結果を受け取り、RAM25に記
憶し、必要に応じて、表示部26に表示する。PLC入
力ユニット36の通信回路35は、切換回路35aによ
り選択設定された通信速度により、これらの動作に伴う
送受信を行う。また、親機33は、受け取った比較結果
に応じて、操作部30で設定された、図示しない他の接
続する機器を制御する為の演算処理を行い、制御操作の
為の信号を出力する。The master unit 33 calls the slave units 31 sequentially,
If there is a response indicating that there is data to be transmitted, the comparison result is received from the child device 31, stored in the RAM 25, and displayed on the display unit 26 as necessary. The communication circuit 35 of the PLC input unit 36 performs transmission and reception associated with these operations at the communication speed selected and set by the switching circuit 35a. Further, base unit 33 performs an arithmetic process for controlling another connected device (not shown) set by operation unit 30 according to the received comparison result, and outputs a signal for a control operation.
【0008】[0008]
【発明が解決しようとする課題】上述したような従来の
リモート入出力システムでは、親機33(PLC入力ユ
ニット36)と複数の子機31間とは、1本の通信ケー
ブル38により接続されているが、通信ケーブル38が
長くなると、信号波形の歪みが大きくなり、通信不能と
なる。その為、それぞれ切換回路35a及び切換回路3
7aを設けて、通信回路35及び通信回路37の通信速
度を切り換えることが可能となっており、リモート入出
力システムの設置計画の段階で、決定された通信ケーブ
ル38の長さで可能な最も速い通信速度が決められ、親
機33及び子機31は、それぞれ通信回路35及び通信
回路37がその通信速度に設定されて設置される。In the conventional remote input / output system as described above, the master unit 33 (PLC input unit 36) and a plurality of slave units 31 are connected by a single communication cable 38. However, when the communication cable 38 is long, the distortion of the signal waveform increases, and communication becomes impossible. Therefore, each of the switching circuit 35a and the switching circuit 3
7a, it is possible to switch the communication speed of the communication circuit 35 and the communication circuit 37, and the fastest possible with the determined length of the communication cable 38 at the stage of the installation planning of the remote input / output system. The communication speed is determined, and the parent device 33 and the child device 31 are installed with the communication circuit 35 and the communication circuit 37 set to the communication speed, respectively.
【0009】しかし、リモート入出力システムを実際に
現場に設置すると、通信ケーブル38は、現場の事情に
より、設置計画時より長くなっていることが多く、ま
た、ノイズ等の影響で、設置時に設定された通信速度を
変更しなければならないことが多い。ところが、子機3
1が多い場合、各子機31の切換回路35aを切り換え
て現場を回るのは手間が掛かることである。本発明は、
上述したような事情に鑑みてなされたものであり、第1
発明では、親機の通信速度を変更するだけで、全ての子
機の通信速度も変更することができるリモート入出力シ
ステムを提供することを目的とする。第2,3発明で
は、通信速度を手作業により変更する必要がないリモー
ト入出力システムの子機を提供することを目的とする。However, when the remote input / output system is actually installed at the site, the communication cable 38 is often longer than at the time of the installation plan due to the circumstances at the site, and is set at the time of installation due to the influence of noise and the like. It is often necessary to change the communication speed that has been set. However, handset 3
When there are many 1, it takes time to switch the switching circuit 35a of each slave unit 31 and go around the site. The present invention
It was made in view of the circumstances described above, and the first
An object of the present invention is to provide a remote input / output system that can change the communication speed of all the slaves by simply changing the communication speed of the master. In the second and third inventions, it is an object of the present invention to provide a remote input / output system slave unit that does not need to manually change the communication speed.
【0010】[0010]
【課題を解決するための手段】第1発明に係るリモート
入出力システムは、入力された情報又はこれを加工した
情報を出力する1又は複数の子機と、該子機が出力した
情報を取り込む親機とを備え、該親機からの所定の信号
に前記子機が応答する双方向通信により、前記情報を送
受するリモート入出力システムにおいて、前記子機は、
前記親機から受信した前記所定の信号に基づき、前記双
方向通信の通信速度を検出する手段と、該手段が検出し
た通信速度により、前記親機と前記双方向通信を行う手
段とを備えることを特徴とする。A remote input / output system according to a first aspect of the present invention includes one or a plurality of slave units for outputting input information or information obtained by processing the information, and fetches information output by the slave units. A remote input / output system that transmits and receives the information by bidirectional communication in which the child device responds to a predetermined signal from the parent device.
Means for detecting the communication speed of the bidirectional communication based on the predetermined signal received from the master, and means for performing the bidirectional communication with the master based on the communication speed detected by the means. It is characterized by.
【0011】このリモート入出力システムでは、1又は
複数の子機が、入力された情報又はこれを加工した情報
を出力し、親機が、子機が出力した情報を取り込み、親
機からの所定の信号に子機が応答する双方向通信によ
り、前記情報を送受する。子機は、検出する手段が、親
機から受信した所定の信号に基づき、双方向通信の通信
速度を検出し、双方向通信を行う手段が、その検出した
通信速度により、親機と双方向通信を行う。これによ
り、親機の通信速度を変更するだけで、全ての子機の通
信速度も変更することができる。In this remote input / output system, one or a plurality of slave units output the input information or information obtained by processing the information, and the master unit fetches the information output by the slave unit, and receives a predetermined information from the master unit. The information is transmitted and received by the two-way communication in which the slave unit responds to the signal of the above. The slave unit detects the communication speed of the two-way communication based on a predetermined signal received from the master unit, and the means for performing the two-way communication communicates with the master unit based on the detected communication speed. Perform communication. Thus, by simply changing the communication speed of the master unit, the communication speeds of all the slave units can be changed.
【0012】第2発明に係るリモート入出力システムの
子機は、入力された情報又はこれを加工した情報を、親
機からの所定の信号に応答する双方向通信により送信す
るリモート入出力システムの子機において、前記親機か
ら受信した前記所定の信号に基づき、前記双方向通信の
通信速度を検出する速度検出手段と、該速度検出手段が
検出した通信速度により、前記親機と前記双方向通信を
行う手段とを備えることを特徴とする。A slave of the remote input / output system according to the second invention is a remote input / output system of the remote input / output system which transmits input information or information obtained by processing the information by two-way communication in response to a predetermined signal from the master. In the slave, based on the predetermined signal received from the master, a speed detecting means for detecting a communication speed of the bidirectional communication, and the communication speed detected by the speed detecting means, the master and the two-way communication, Communication means.
【0013】このリモート入出力システムの子機では、
入力された情報又はこれを加工した情報を、親機からの
所定の信号に応答する双方向通信により送信する。速度
検出手段は、親機から受信した所定の信号に基づき、双
方向通信の通信速度を検出し、双方向通信を行う手段
は、速度検出手段が検出した通信速度により、親機と双
方向通信を行う。これにより、通信速度を手作業により
変更する必要がない。In the slave unit of this remote input / output system,
The input information or information obtained by processing the input information is transmitted by two-way communication in response to a predetermined signal from the master unit. The speed detecting means detects the communication speed of the bidirectional communication based on a predetermined signal received from the master unit, and the means for performing the bidirectional communication communicates with the master unit based on the communication speed detected by the speed detecting unit. I do. This eliminates the need to manually change the communication speed.
【0014】第3発明に係るリモート入出力システムの
子機は、前記速度検出手段は、前記双方向通信が取り得
る複数の通信速度にそれぞれ対応する複数の手段を有
し、該手段は、前記所定の信号に含まれるスタートビッ
トの所定のパターンを、それぞれ対応する通信速度によ
り記憶し、記憶したパターンと前記所定のパターンとが
略一致したときに、当該通信速度の検出信号を出力すべ
くなしてあることを特徴とする。According to a third aspect of the present invention, in the slave unit of the remote input / output system, the speed detecting means includes a plurality of means respectively corresponding to a plurality of communication speeds that the two-way communication can take. A predetermined pattern of a start bit included in a predetermined signal is stored at a corresponding communication speed, and when the stored pattern substantially matches the predetermined pattern, a detection signal of the communication speed is output. It is characterized by having.
【0015】このリモート入出力システムの子機では、
速度検出手段は、複数の手段が、双方向通信が取り得る
複数の通信速度にそれぞれ対応し、所定の信号に含まれ
るスタートビットの所定のパターンを、それぞれ対応す
る通信速度により記憶し、記憶したパターンと所定のパ
ターンとが略一致したときに、当該通信速度の検出信号
を出力する。これにより、速度検出手段は、双方向通信
の通信速度を検出することが出来、双方向通信を行う手
段は、速度検出手段が検出した通信速度により、親機と
双方向通信を行うことが出来るので、通信速度を手作業
により変更する必要がない。In the slave unit of the remote input / output system,
The speed detecting means, the plurality of means respectively correspond to a plurality of communication speeds that the two-way communication can take, and store a predetermined pattern of start bits included in a predetermined signal with the corresponding communication speed, and store. When the pattern substantially matches the predetermined pattern, a detection signal of the communication speed is output. Thereby, the speed detecting means can detect the communication speed of the two-way communication, and the means for performing the two-way communication can perform the two-way communication with the master unit based on the communication speed detected by the speed detecting means. Therefore, there is no need to manually change the communication speed.
【0016】[0016]
【発明の実施の形態】以下に、本発明をその実施の形態
を示す図面に基づいて説明する。図1は、本発明に係る
リモート入出力システム及びリモート入出力システムの
子機の実施の形態の構成を示すブロック図である。この
リモート入出力システムの子機31aは、例えば、投射
した光又はその反射光を受け、その光量に応じた電気信
号に変換して出力するセンサ10が出力した電気信号
(情報)を、ディジタル信号に変換するA/D変換器1
1と、A/D変換器11とバス17により相互接続され
たCPU13、ROM14、RAM15、表示部16、
通信回路37b及び閾値変更回路18と、閾値変更回路
18に接続されたスイッチ19とを備えている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing an embodiment. FIG. 1 is a block diagram showing the configuration of an embodiment of a remote input / output system and a slave unit of the remote input / output system according to the present invention. The slave unit 31a of the remote input / output system receives, for example, the projected light or the reflected light, converts the received light into an electric signal corresponding to the amount of light, and outputs the electric signal (information) output by the sensor 10 as a digital signal. -To-A / D converter 1
1, a CPU 13, a ROM 14, a RAM 15, a display unit 16, which are interconnected by an A / D converter 11 and a bus 17.
It includes a communication circuit 37b, a threshold changing circuit 18, and a switch 19 connected to the threshold changing circuit 18.
【0017】このリモート入出力システムの、子機31
aとは離れた位置に設置されるPLC(プログラマブル
・コントローラ)からなる親機33は、子機31aから
のオン−オフ信号(データ)を、後述するPLC入力ユ
ニット36を介して受け取るバス通信回路21と、バス
通信回路21と内部バス27により相互接続されたCP
U23、ROM24、RAM25、表示部26及び操作
部30とを備えている。The remote unit 31 of the remote input / output system
A master unit 33 including a PLC (programmable controller) installed at a position distant from the main unit a receives an on-off signal (data) from the slave unit 31a via a PLC input unit 36 described later. 21 and a CP interconnected by a bus communication circuit 21 and an internal bus 27.
A U23, a ROM 24, a RAM 25, a display unit 26, and an operation unit 30 are provided.
【0018】このリモート入出力システムは、子機31
aの通信回路37bが出力したオン−オフ信号を、親機
33のバス通信回路21が受け取る為のPLC入力ユニ
ット36を備えており、PLC入力ユニット36は、通
信ケーブル38に接続された通信回路35と、親機33
のバス通信回路21にバス通信ケーブル34aにより接
続されたバス通信回路34とを備えている。通信回路3
5には、通信回路35が行う双方向通信の通信速度を切
り換える為の切換回路35aが接続されている。親機3
3は、PLC入力ユニット36及び通信ケーブル38を
介して、複数の子機31の各通信回路37bと接続さ
れ、順次、子機31aを呼び出し、送信すべきデータが
有る子機31aからそのデータを受け取るポーリングに
より、双方向通信を行う。This remote input / output system includes a slave 31
a PLC input unit 36 for receiving the on-off signal output from the communication circuit 37b of the communication device 37a by the bus communication circuit 21 of the master unit 33. The PLC input unit 36 is connected to the communication circuit 38 connected to the communication cable 38. 35 and parent device 33
And a bus communication circuit 34 connected to the bus communication circuit 21 by a bus communication cable 34a. Communication circuit 3
5, a switching circuit 35a for switching the communication speed of the bidirectional communication performed by the communication circuit 35 is connected. Base unit 3
3 is connected to each communication circuit 37b of the plurality of slaves 31 via the PLC input unit 36 and the communication cable 38, sequentially calls the slaves 31a, and transmits the data from the slave 31a having data to be transmitted. Two-way communication is performed by the received polling.
【0019】図2は、子機31aの通信回路37bの内
部構成例を示すブロック図である。この通信回路37b
は、通信ケーブル38に接続され、親機33からの信号
を受信する受信回路40と、通信ケーブル38に接続さ
れ、親機33への送信を行う送信回路41と、受信回路
40が受信した信号の通信速度を検出する速度検出回路
42(速度検出手段)と、受信回路40が受信した信号
を、速度検出回路42が検出した通信速度により、デー
タとして受け取り、バス17に流すデータ受信回路47
(双方向通信を行う手段)と、バス17を経由して送ら
れたデータを取り込み、速度検出回路42が検出した通
信速度により、送信回路41へ送るデータ送信回路48
(双方向通信を行う手段)とを備えている。FIG. 2 is a block diagram showing an example of the internal configuration of the communication circuit 37b of the slave unit 31a. This communication circuit 37b
Is a receiving circuit 40 connected to the communication cable 38 for receiving a signal from the base unit 33, a transmitting circuit 41 connected to the communication cable 38 for transmitting to the base unit 33, and a signal received by the receiving circuit 40. And a data receiving circuit 47 which receives a signal received by the receiving circuit 40 as data at the communication speed detected by the speed detecting circuit 42 and sends the signal to the bus 17.
(A means for performing two-way communication) and a data transmission circuit 48 which takes in the data sent via the bus 17 and sends it to the transmission circuit 41 according to the communication speed detected by the speed detection circuit 42.
(Means for performing bidirectional communication).
【0020】速度検出回路42は、PLC入力ユニット
36の切換回路35aが切り換えることが出来る、通信
回路35の例えば2Mbps,1Mbps,500kb
ps,250kbpsの4つの通信速度の内、2Mbp
sの通信速度を検出する検出回路43(対応する手段)
と、1Mbpsの通信速度を検出する検出回路44(対
応する手段)と、500kbpsの通信速度を検出する
検出回路45(対応する手段)と、250kbpsの通
信速度を検出する検出回路46(対応する手段)とを備
えている。The speed detecting circuit 42 can be switched by the switching circuit 35a of the PLC input unit 36. The speed of the communication circuit 35 is, for example, 2 Mbps, 1 Mbps, 500 kb.
2Mbp out of 4 communication speeds of ps and 250kbps
detection circuit 43 (corresponding means) for detecting the communication speed of s
A detection circuit 44 (corresponding means) for detecting a communication speed of 1 Mbps, a detection circuit 45 (corresponding means) for detecting a communication speed of 500 kbps, and a detection circuit 46 (corresponding means) for detecting a communication speed of 250 kbps. ).
【0021】検出回路43〜46は、親機33が何れか
の子機31aを呼び出す都度、PLC入力ユニット36
から送られて来る、例えば図3(a)に示すようなスタ
ートビットのパターン「101001」を、図3(b)
〜(e)に示すようにそれぞれの通信速度で記憶してい
る。検出回路43〜46は、記憶しているパターンと受
信回路40経由で送られて来たパターンとが一致するか
否かを判定し、一致したときは、その検出回路43〜4
6が検出すべき通信速度で作動するように、データ受信
回路47及びデータ送信回路48に検出信号を送る。デ
ータ受信回路47及びデータ送信回路48は、送られて
来た検出信号に応じた通信速度に対応する周波数のクロ
ックにより作動する。Each time the master unit 33 calls one of the slave units 31a, the detection circuit 43 to 46 detects the PLC input unit 36.
For example, a start bit pattern “101001” as shown in FIG.
As shown in (e), the data is stored at each communication speed. The detection circuits 43 to 46 determine whether or not the stored pattern matches the pattern sent via the reception circuit 40, and when they match, the detection circuits 43 to 4
The detection signal is sent to the data reception circuit 47 and the data transmission circuit 48 so that the data transmission circuit 6 operates at the communication speed to be detected. The data receiving circuit 47 and the data transmitting circuit 48 are operated by a clock having a frequency corresponding to a communication speed according to the sent detection signal.
【0022】以下に、このような構成のリモート入出力
システムの動作を説明する。センサ10は、投射した光
又はその反射光を受け、その光量に応じた電気信号に変
換して出力する。A/D変換器11は、センサ10が出
力した電気信号をディジタル信号に変換し、CPU13
へ送る。CPU13は、送られた電気信号を、RAM1
5に記憶してある所定の閾値と比較し、その比較結果
は、RAM15に一時記憶しておく。The operation of the remote input / output system having such a configuration will be described below. The sensor 10 receives the projected light or the reflected light, converts the light into an electric signal corresponding to the light amount, and outputs the electric signal. The A / D converter 11 converts the electric signal output from the sensor 10 into a digital signal,
Send to The CPU 13 converts the transmitted electric signal into the RAM 1
5, and the comparison result is temporarily stored in the RAM 15.
【0023】通信回路37bの速度検出回路42(図
2)では、各検出回路43〜46が、親機33が何れか
の子機31aを呼び出す都度、PLC入力ユニット36
から送られて来る、例えば図3(a)に示すようなスタ
ートビットのパターン「101001」と各検出回路4
3〜46が記憶している各パターンとが一致するか否か
を判定し、一致したときは、その検出回路43〜46が
検出すべき通信速度で作動するように、データ受信回路
47及びデータ送信回路48に検出信号を送る。データ
受信回路47及びデータ送信回路48は、送られて来た
検出信号に応じた通信速度に対応する周波数のクロック
により作動する。In the speed detection circuit 42 (FIG. 2) of the communication circuit 37b, each of the detection circuits 43 to 46 causes the PLC input unit 36 to call each time the parent device 33 calls one of the child devices 31a.
For example, a start bit pattern “101001” as shown in FIG.
The data receiving circuit 47 and the data receiving circuit 47 determine whether the detected patterns 43 to 46 operate at the communication speed to be detected. The detection signal is sent to the transmission circuit 48. The data receiving circuit 47 and the data transmitting circuit 48 are operated by a clock having a frequency corresponding to a communication speed according to the sent detection signal.
【0024】CPU13は、この状態で、親機33から
呼び出しがあったときに、送信すべきデータがあること
を示す応答を行い、一時記憶してある比較結果を、オン
−オフ信号として親機33へ送る。通信回路37bで
は、上述したように、速度検出回路42(図2)が検出
した通信速度により、データ受信回路47及びデータ送
信回路48が、これらの動作に伴う送受信を行う。ま
た、CPU13は、A/D変換器11から送られた電気
信号が示すセンサ10の受光レベルと前記比較結果と
を、表示部16に表示させる。RAM15に記憶してあ
る所定の閾値は、スイッチ19の操作により閾値変更回
路18が変更/更新することが出来る。In this state, when there is a call from the master unit 33 in this state, the CPU 13 responds indicating that there is data to be transmitted, and uses the temporarily stored comparison result as an on-off signal as the on-off signal. Send to 33. In the communication circuit 37b, as described above, the data reception circuit 47 and the data transmission circuit 48 perform transmission and reception in accordance with the communication speed detected by the speed detection circuit 42 (FIG. 2). Further, the CPU 13 causes the display unit 16 to display the light receiving level of the sensor 10 indicated by the electric signal sent from the A / D converter 11 and the comparison result. The predetermined threshold value stored in the RAM 15 can be changed / updated by the threshold value changing circuit 18 by operating the switch 19.
【0025】親機33は、順次、子機31aを呼び出
し、送信すべきデータがあることを示す応答が有れば、
当該子機31aから前記比較結果を受け取り、RAM2
5に記憶し、必要に応じて、表示部26に表示する。P
LC入力ユニット36の通信回路35は、切換回路35
aにより選択設定された通信速度により、これらの動作
に伴う送受信を行う。また、親機33は、受け取った比
較結果に応じて、操作部30で設定された、図示しない
他の接続する機器を制御する為の演算処理を行い、制御
操作の為の信号を出力する。The master unit 33 calls the slave units 31a sequentially, and if there is a response indicating that there is data to be transmitted,
Receiving the comparison result from the slave unit 31a, the RAM 2
5 and display it on the display unit 26 as necessary. P
The communication circuit 35 of the LC input unit 36 includes a switching circuit 35
Transmission and reception associated with these operations are performed at the communication speed selected and set by a. Further, base unit 33 performs an arithmetic process for controlling another connected device (not shown) set by operation unit 30 according to the received comparison result, and outputs a signal for a control operation.
【0026】[0026]
【発明の効果】第1発明に係るリモート入出力システム
によれば、親機の通信速度を変更するだけで、全ての子
機の通信速度も変更することができる。According to the remote input / output system according to the first aspect of the present invention, the communication speed of all the slave units can be changed only by changing the communication speed of the master unit.
【0027】第2,3発明に係るリモート入出力システ
ムの子機によれば、通信速度を手作業により変更する必
要がない。According to the slave unit of the remote input / output system according to the second and third aspects, it is not necessary to manually change the communication speed.
【図1】本発明に係るリモート入出力システム及びリモ
ート入出力システムの子機の実施の形態の構成を示すブ
ロック図である。FIG. 1 is a block diagram showing a configuration of an embodiment of a remote input / output system and a slave unit of the remote input / output system according to the present invention.
【図2】本発明に係る検出システムの子機の通信回路の
内部構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of an internal configuration of a communication circuit of a slave unit of the detection system according to the present invention.
【図3】図2に示した通信回路の動作を説明する為のタ
イミングチャートである。FIG. 3 is a timing chart for explaining an operation of the communication circuit shown in FIG. 2;
【図4】従来のリモート入出力システムの構成例を示す
ブロック図である。FIG. 4 is a block diagram illustrating a configuration example of a conventional remote input / output system.
10 センサ 11 A/D変換器 13,23 CPU 15,25 RAM 20,34 バス通信回路 34a バス通信ケーブル 31a 子機(リモート入出力システムの子機) 33 親機 35,37b 通信回路 36 PLC入力ユニット 38 通信ケーブル 42 速度検出回路(速度検出手段) 43〜46 検出回路(対応する手段) 47 データ受信回路(双方向通信を行う手段) 48 データ送信回路(双方向通信を行う手段) Reference Signs List 10 sensor 11 A / D converter 13, 23 CPU 15, 25 RAM 20, 34 bus communication circuit 34a bus communication cable 31a slave unit (slave unit of remote input / output system) 33 base unit 35, 37b communication circuit 36 PLC input unit 38 Communication cable 42 Speed detection circuit (speed detection means) 43 to 46 Detection circuit (corresponding means) 47 Data reception circuit (means for performing bidirectional communication) 48 Data transmission circuit (means for performing bidirectional communication)
───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5H220 BB11 CC09 CX05 CX09 EE09 EE10 FF09 FF10 JJ17 JJ35 JJ38 5K033 AA05 AA07 BA08 CA11 CB01 CB02 CB04 CC04 DA01 DB12 DB16 EA07 EC01 5K048 AA05 AA09 CA03 DA02 DB02 EA14 HA01 HA02 9A001 CC02 KK56 ──────────────────────────────────────────────────続 き Continuing on the front page F term (reference) 5H220 BB11 CC09 CX05 CX09 EE09 EE10 FF09 FF10 JJ17 JJ35 JJ38 5K033 AA05 AA07 BA08 CA11 CB01 CB02 CB04 CC04 DA01 DB12 DB16 EA07 EC01 5K048 AA05 AA02 CA03 DA02 DB02
Claims (3)
を出力する1又は複数の子機と、該子機が出力した情報
を取り込む親機とを備え、該親機からの所定の信号に前
記子機が応答する双方向通信により、前記情報を送受す
るリモート入出力システムにおいて、 前記子機は、前記親機から受信した前記所定の信号に基
づき、前記双方向通信の通信速度を検出する手段と、該
手段が検出した通信速度により、前記親機と前記双方向
通信を行う手段とを備えることを特徴とするリモート入
出力システム。An information processing apparatus comprising: one or a plurality of slave units that output input information or information obtained by processing the information; and a master unit that captures information output by the slave units. In the remote input / output system that transmits and receives the information by the two-way communication to which the slave unit responds, the slave unit detects a communication speed of the two-way communication based on the predetermined signal received from the master unit. A remote input / output system comprising: means for performing the two-way communication with the master unit based on the communication speed detected by the means.
を、親機からの所定の信号に応答する双方向通信により
送信するリモート入出力システムの子機において、 前記親機から受信した前記所定の信号に基づき、前記双
方向通信の通信速度を検出する速度検出手段と、該速度
検出手段が検出した通信速度により、前記親機と前記双
方向通信を行う手段とを備えることを特徴とするリモー
ト入出力システムの子機。2. A remote unit of a remote input / output system that transmits input information or information obtained by processing the information by two-way communication in response to a predetermined signal from the parent device, wherein the predetermined information received from the parent device is And a means for performing the two-way communication with the master unit based on the communication speed detected by the speed detecting means. Remote I / O system slave unit.
取り得る複数の通信速度にそれぞれ対応する複数の手段
を有し、該手段は、前記所定の信号に含まれるスタート
ビットの所定のパターンを、それぞれ対応する通信速度
により記憶し、記憶したパターンと前記所定のパターン
とが略一致したときに、当該通信速度の検出信号を出力
すべくなしてある請求項2記載のリモート入出力システ
ムの子機。3. The speed detecting means has a plurality of means respectively corresponding to a plurality of communication speeds that the two-way communication can take, and the means comprises a predetermined pattern of a start bit included in the predetermined signal. 3. The remote input / output system according to claim 2, wherein when the stored pattern substantially matches the predetermined pattern, a detection signal of the communication speed is output. Cordless handset.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11031861A JP2000231403A (en) | 1999-02-09 | 1999-02-09 | Remote input and output system and slave device for the same |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11031861A JP2000231403A (en) | 1999-02-09 | 1999-02-09 | Remote input and output system and slave device for the same |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000231403A true JP2000231403A (en) | 2000-08-22 |
Family
ID=12342845
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11031861A Pending JP2000231403A (en) | 1999-02-09 | 1999-02-09 | Remote input and output system and slave device for the same |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000231403A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005293581A (en) * | 2004-03-31 | 2005-10-20 | Microsoft Corp | Multi-system game controller that operates in multiple usb modes |
| JP2006325121A (en) * | 2005-05-20 | 2006-11-30 | Mitsubishi Electric Corp | Programmable control device |
| JP2007288791A (en) * | 2000-12-08 | 2007-11-01 | Boeing Co:The | Network device interface for digitally interfacing data channels to controller via network |
-
1999
- 1999-02-09 JP JP11031861A patent/JP2000231403A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007288791A (en) * | 2000-12-08 | 2007-11-01 | Boeing Co:The | Network device interface for digitally interfacing data channels to controller via network |
| JP2005293581A (en) * | 2004-03-31 | 2005-10-20 | Microsoft Corp | Multi-system game controller that operates in multiple usb modes |
| JP2006325121A (en) * | 2005-05-20 | 2006-11-30 | Mitsubishi Electric Corp | Programmable control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| RU2009115645A (en) | MANUAL TIRE MONITOR FOR FIELD MAINTENANCE | |
| JP2000231403A (en) | Remote input and output system and slave device for the same | |
| KR101439149B1 (en) | Apparatus for controlling external electric devices | |
| JP2719371B2 (en) | Address setting device for remote monitoring and control terminal | |
| JP3516152B2 (en) | Synchronization establishing device | |
| US6351645B1 (en) | Wireless selective calling receiver and external registering device therefore | |
| JP2000224202A (en) | Detection system and master set for the detection system | |
| JPH10188159A (en) | Illumination device | |
| US6944693B2 (en) | Method for centrally setting data rate in a data transmission facility and a device for centrally setting data rates | |
| KR101492452B1 (en) | Apparatus for controlling external electric devices | |
| JP3444206B2 (en) | Load control data setting device | |
| JP3401985B2 (en) | Control communication system | |
| JP3472891B2 (en) | Control communication system | |
| JP2001290535A (en) | Communication control device for drive control | |
| JP4561590B2 (en) | Information processing device | |
| JP2002101480A (en) | Interface device for remote monitoring and control system | |
| KR100962306B1 (en) | Bidirectional Data Communication Device of Embedded System and Its Method | |
| JP2001117609A (en) | Sequence control simulator | |
| JPH0630506B2 (en) | Serial communication device | |
| JP2002305523A (en) | Remote monitor control system | |
| JPH08241469A (en) | Information display device | |
| JPH11161303A (en) | Remote control method for sensor device, sensor control system, and sensor device | |
| JPH06253370A (en) | Remote control device | |
| JP2004163064A (en) | Air conditioner | |
| KR960002083A (en) | Remote sensing device of vending machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060119 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081119 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081125 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090407 |