JPH06244811A - Data transmitter and receiver and discontinuity detecting method for data communication line - Google Patents
Data transmitter and receiver and discontinuity detecting method for data communication lineInfo
- Publication number
- JPH06244811A JPH06244811A JP4728793A JP4728793A JPH06244811A JP H06244811 A JPH06244811 A JP H06244811A JP 4728793 A JP4728793 A JP 4728793A JP 4728793 A JP4728793 A JP 4728793A JP H06244811 A JPH06244811 A JP H06244811A
- Authority
- JP
- Japan
- Prior art keywords
- data
- detection
- signal
- line
- level
- 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 title claims abstract description 70
- 238000004891 communication Methods 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title description 37
- 238000001514 detection method Methods 0.000 claims abstract description 84
- 239000008186 active pharmaceutical agent Substances 0.000 claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000007689 inspection Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 230000005856 abnormality Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 101100520231 Caenorhabditis elegans plc-3 gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、パラレル式のデータ
送受信装置およびその通信ラインにおける断線の検知方
法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a parallel type data transmitting / receiving apparatus and a method for detecting disconnection in its communication line.
【0002】[0002]
【従来の技術】通常この種のパラレルデータ通信ライン
は、シリアル通信ラインと異なり、装置間距離が比較的
短くしかもデータ送受信の電気的条件も安定した状態で
使用されることが一般的であるため、特別なエラーチェ
ック手段を予め備えることは考慮されておらず、例えば
通信ラインの断線が疑われると、テスターで通電状態を
検査するなど、専門的な知識を駆使した対応がなされる
のが一般的であった。2. Description of the Related Art Generally, unlike a serial communication line, a parallel data communication line of this type generally has a relatively short distance between devices and is used in a stable electrical condition for data transmission and reception. However, it is not considered to have a special error checking means in advance, and if the communication line is suspected to be broken, for example, a tester is used to inspect the energized state, and it is common to use specialized knowledge. It was target.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、データ
内容の変化が激しいデータ通信ラインにあってはライン
の異常はすぐに判断できるが、操作者によるスイッチの
オン操作を通信ラインを通じてデータ伝送する場合の様
に、データの送出時期自体がランダムでしかも単発的に
発生する様な場合にあっては、通信ラインの異常は気付
きにくいばかりか、そのシステムにとって致命的な欠陥
になる虞れがある。However, in the case of a data communication line in which the data content changes drastically, the abnormality of the line can be immediately judged, but in the case of transmitting the switch ON operation by the operator through the communication line. Similarly, in the case where the data transmission timing itself is random and occurs only once, the abnormality of the communication line is not only difficult to notice, but may be a fatal defect for the system.
【0004】更に、通信ラインにおける何らかのエラー
が判断されたとしても、操作者自らがその詳細について
認知することは極めて難しく、迅速かつ的確な対応は不
可能に近い。Further, even if some kind of error in the communication line is judged, it is extremely difficult for the operator to recognize the details thereof, and it is almost impossible to deal with it promptly and accurately.
【0005】かかる不都合に対し、通信されるデータそ
れ自体のパリティチェックを行う方法も考えられるが、
システムの構成が複雑になるとともに、エラーチェック
も必ずしも完全に行われず、しかも通信ラインの断線位
置を容易に知ることは依然として難しい。To solve this inconvenience, a method of checking the parity of the data itself to be communicated can be considered.
As the system configuration becomes complicated, error checking is not always performed completely, and it is still difficult to easily know the disconnection position of the communication line.
【0006】また、全通信ラインの信号レベルをハイレ
ベル状態にしてチェックする方法も考えられるが、送信
すべきデータとの区別をつける様なシステム制御は難し
く、チェック時期がシステムの起動時などの特定の時期
に限定されるなど、システムとしての自由度が低く、必
ずしも安定した断線検知が行えない。A method of checking by setting the signal level of all communication lines to a high level is also conceivable, but it is difficult to control the system so as to distinguish it from the data to be transmitted, and the check time is such as when the system is started. The degree of freedom as a system is low, such as limited to a specific period, and stable disconnection detection cannot always be performed.
【0007】本発明者は、上記した問題に鑑みて考察を
行った結果、従来の通信ラインに対して検知信号を送受
するための信号線を1本追加するだけで、上記した問題
がすべて解決することを知見した。As a result of considering the above problems, the present inventor has solved all of the above problems by adding one signal line for transmitting / receiving a detection signal to / from a conventional communication line. I found out to do.
【0008】本発明は上記した知見に基づいてなされた
ものであって、検知信号のレベル変換時期に対応して残
りの各線における信号レベルをハイレベル状態に設定
し、この時の信号レベルをデータの受信側でチェックす
ることにより、比較的簡単な構成を維持したまま、任意
のタイミングで通信ラインの断線状態が容易に検知でき
る断線検知方法を提供することを目的とする。The present invention has been made on the basis of the above knowledge, and sets the signal level in each of the remaining lines to a high level state in accordance with the level conversion timing of the detection signal, and the signal level at this time is set to the data level. It is an object of the present invention to provide a disconnection detecting method capable of easily detecting a disconnection state of a communication line at an arbitrary timing while maintaining a relatively simple configuration by performing a check on the receiving side.
【0009】本発明は更に、前記した断線検知方法を実
施して好適なデータ送出装置および受信装置を提供する
ことを目的とする。A further object of the present invention is to provide a suitable data transmission device and reception device by implementing the above-described disconnection detection method.
【0010】[0010]
【課題を解決するための手段】上記した目的を達成する
ため、本発明にかかる断線検知方法にあっては、図1に
示す如く通信ライン18として、複数本のデータ信号線
10と、該データ信号線10の検査時期を知らせる検知
信号線12とを備えている。In order to achieve the above-mentioned object, in the disconnection detecting method according to the present invention, as shown in FIG. 1, a plurality of data signal lines 10 and the data lines 10 are used as communication lines 18. A detection signal line 12 for notifying the inspection time of the signal line 10 is provided.
【0011】ここでデータ信号DSの送出側では、上記
した検知信号線12を通じて送られる検知信号KSの信
号レベルを検知レベル側に転換するのと連動して、デー
タ信号線10を通じて送られる信号レベルを例えばハイ
レベルの様な全て同一レベル状態に設定可能とする一
方、データ信号DSの受信側では、上記した検知信号K
Sの検知レベル側への転換時期に対応して、各線の信号
レベルをチェック可能としている。Here, on the sending side of the data signal DS, the signal level sent through the data signal line 10 is interlocked with the conversion of the signal level of the sensing signal KS sent through the sensing signal line 12 to the sensing level side. Can be set to the same level state such as high level, while the detection signal K described above is received on the receiving side of the data signal DS.
The signal level of each line can be checked in accordance with the timing of conversion of S to the detection level side.
【0012】ここで本発明にかかるデータ送出装置20
は、上記した断線検知方法を実施するものであって、例
えばスイッチのオンオフ操作あるいはセンサにおける設
定レベルを超える検知環境の変化の様な所定の入力動作
を検知すると信号を発生する複数の入力検知部14と、
各入力検知部14の検知動作に対応したパラレルデータ
信号を発生するエンコーダ16と、エンコーダ16から
出力されるデータ信号を外部に引き出す通信ライン18
とを備えている。Here, the data transmission device 20 according to the present invention
Is a method for performing the above-described disconnection detection method, and for example, a plurality of input detection units that generate a signal when a predetermined input operation such as an on / off operation of a switch or a change in a detection environment exceeding a set level in a sensor is detected. 14 and
An encoder 16 that generates a parallel data signal corresponding to the detection operation of each input detection unit 14, and a communication line 18 that draws out the data signal output from the encoder 16 to the outside.
It has and.
【0013】更に上記した通信ライン18は、複数本の
データ信号線10と、そのデータ信号線10上における
データの有効時期を知らせるタイミング用信号線22
と、各線の検査時期を知らせる検知信号線12とを備
え、上記した検知信号線12を通じて送られる信号レベ
ルを制御部24が検知レベル側に転換するのと連動し
て、データ信号線10およびタイミング用信号線22を
通じて送られる信号レベルを、同時に全てハイレベル状
態に設定可能としている。Further, the above-mentioned communication line 18 includes a plurality of data signal lines 10 and a timing signal line 22 for notifying the valid time of data on the data signal lines 10.
And a detection signal line 12 for notifying the inspection time of each line. The data signal line 10 and the timing are linked with the control unit 24 converting the signal level sent through the detection signal line 12 to the detection level side. All the signal levels sent through the signal line 22 for use can be set to a high level state at the same time.
【0014】またデータ受信装置26は、上記したデー
タ送出装置20に対して通信ライン18を介して接続さ
れるものであって、検知信号線12の非検知レベル時
に、データ信号線10を介して送られるデータ信号DS
をデコード可能とするデコーダ28と、検知信号線12
の検知レベル側への転換時期に対応して通信ライン18
を構成する各線の信号レベルを判定する断線検知部30
と、該断線検知部30における判定状態に対応した断線
部位表示などの所定の断線情報を外部に伝達可能とする
断線表示部32とを備えている。Further, the data receiving device 26 is connected to the above-mentioned data transmitting device 20 through the communication line 18, and when the detection signal line 12 is in the non-detection level, it is connected through the data signal line 10. Data signal DS sent
And the detection signal line 12
Corresponding to the time of conversion to the detection level side of the communication line 18
Disconnection detection unit 30 for determining the signal level of each line constituting the
And a disconnection display unit 32 capable of transmitting predetermined disconnection information such as a disconnection portion display corresponding to the determination state in the disconnection detection unit 30 to the outside.
【0015】[0015]
【作用】上記した構成により、データ送出装置20にお
ける特定の入力検知部14が所定の検知動作をすると、
検知入力位置に対応したデータが更にエンコーダ16に
より所定のコード化されて通信ライン18を通じて送出
される。かかるデータ信号DSは、データ受信装置26
側におけるデコーダ28により入力検知部14に対する
検知入力の時期が解読されたあと、例えば入力検知部1
4と同数だけ備えたリレー31の該当位置をオンさせ
る。With the above configuration, when the specific input detection section 14 in the data transmission device 20 performs a predetermined detection operation,
The data corresponding to the detected input position is further encoded by the encoder 16 and transmitted through the communication line 18. The data signal DS is transmitted to the data receiving device 26.
After the time of the detection input to the input detection unit 14 is decoded by the decoder 28 on the side, for example, the input detection unit 1
The corresponding positions of the relays 31 provided by the same number as 4 are turned on.
【0016】ここで、例えば設定時間が経過するなどの
所定の条件が達成されると、制御部24から検知信号線
12を通じて検知信号KSがデータ受信装置26側に送
られる。それと同時に、エンコーダ16からの出力は全
てがハイレベル状態にセットされるので、データ受信装
置26側の断線検知部30では、検知信号KSが検知レ
ベルに転換したことを確認したあと、通信ライン18の
各線における信号レベルを調べる。この時、信号レベル
が低い信号線が確認されると、かかる検知状態を受けた
断線表示部32では、断線位置を特定する断線部位表示
などの所定の断線情報を装置外部に向けて伝達する処理
を実行するのである。Here, when a predetermined condition such as a lapse of a set time is achieved, the detection signal KS is sent from the control section 24 to the data receiving device 26 side through the detection signal line 12. At the same time, all the outputs from the encoder 16 are set to the high level state. Therefore, the disconnection detection unit 30 on the data receiving device 26 side confirms that the detection signal KS has been converted to the detection level, and then the communication line 18 Check the signal level on each line of. At this time, when a signal line with a low signal level is confirmed, the disconnection display unit 32 that has received the detection state transmits predetermined disconnection information such as a disconnection portion display for identifying the disconnection position to the outside of the device. To execute.
【0017】[0017]
【発明の効果】本発明は上記の如く、検知信号線12を
通信ライン18に備えるとともに、かかる検知信号線1
2を通じて送られる検知信号KSによりタイミングをと
りながら、他の信号線のレベルを所定の検知レベルに設
定して受信側でその信号レベルを調べる様に構成したの
で、比較的簡単な構成を維持したまま、任意のタイミン
グで通信ライン18の断線状態が確実に検知できるとと
もに、断線した信号線が容易に特定できる。As described above, according to the present invention, the detection signal line 12 is provided in the communication line 18, and the detection signal line 1 is provided.
While the timing is controlled by the detection signal KS sent through 2, the level of the other signal lines is set to a predetermined detection level and the signal level is examined on the receiving side, so that a relatively simple configuration is maintained. As it is, the disconnection state of the communication line 18 can be reliably detected at an arbitrary timing, and the disconnected signal line can be easily specified.
【0018】[0018]
【実施例】以下本発明を、図2に示す如く、ターゲット
システム38のシーケンス制御専用に特化して構成され
たPLC36に対して通信ライン94・18を介して接
続され、表示および制御を行う表示制御装置34に実施
した一例を示すがこれに限らず、パーソナルコンピュー
タなど、汎用あるいは専用を問わずデータの入出力機能
を有する各種の装置と接続する場合においても略同様に
実施できることは勿論である。BEST MODE FOR CARRYING OUT THE INVENTION The present invention will now be described with reference to FIG. 2, in which a PLC 36 specially configured for sequence control of a target system 38 is connected via communication lines 94 and 18 for display and control. An example of implementation in the control device 34 is shown, but the present invention is not limited to this, and it is needless to say that it can be implemented in substantially the same way when connected to various devices having a data input / output function, whether general-purpose or dedicated. .
【0019】[0019]
【表示制御装置の構成】表示制御装置34は、前記した
PLC36とともにターゲットシステム38の操作卓な
どに一体に組み込み配備され、ターゲットシステム38
に対する操作および表示盤として使用されるものであっ
て、図3に示す様に、本体ケース40の正面中央位置に
大きく設けた開口42を閉じる様にCRT、EL、プラ
ズマあるいは液晶などの各種表示手段から選択されるデ
ィスプレイ44を配置する一方、該ディスプレイ44の
下方位置に、キーボード46のプラグ48を着脱自在に
取り付けるソケット50と、ICカード52に対するデ
ータの入出力動作を行うためのリーダ/ライタ用のソケ
ット54とが配置されている。かかる両ソケット50・
54の開口は、後記する装置の運転時には、一旦ICカ
ード52がソケット54内に挿入され、運転に必要なデ
ータを内部のフラッシュEEPROMの様な不揮発性メ
モリに転送したあと、キーボード46とともに取り外さ
れた状態で閉止され、キーボード46による不要なアク
セスを防止するとともに、本体ケース40の内部に対す
る防塵・防滴が図られている。[Structure of Display Control Device] The display control device 34 is integrated and deployed together with the above-described PLC 36 in an operation console of the target system 38, and the target system 38 is provided.
3, and various display means such as CRT, EL, plasma or liquid crystal for closing an opening 42 which is largely provided at the center of the front face of the main body case 40 as shown in FIG. A reader / writer for arranging a display 44 selected from among the above, a socket 50 to which a plug 48 of a keyboard 46 is detachably attached, and a data input / output operation with respect to an IC card 52 at a position below the display 44. Sockets 54 and are arranged. Both sockets 50
The opening of 54 is removed together with the keyboard 46 after the IC card 52 is once inserted into the socket 54 and the data necessary for the operation is transferred to a nonvolatile memory such as an internal flash EEPROM when the device described later is in operation. In this state, the keyboard 46 is closed to prevent unnecessary access by the keyboard 46, and to protect the inside of the main body case 40 from dust and water.
【0020】本体ケース40の内部には図2に示す表示
制御回路56を収納する一方、上記したディスプレイ4
4の前面を従来と略同様な透明のタッチパネル58によ
り密着状態で覆い、該タッチパネル58を介してシステ
ム全体としての運転時における手動操作を可能とする。Inside the main body case 40, the display control circuit 56 shown in FIG.
The front surface of 4 is covered with a transparent touch panel 58, which is substantially similar to the conventional one, in a close contact state, and manual operation during operation of the entire system is enabled via the touch panel 58.
【0021】表示制御回路56の基本的な構成は一般的
なパーソナルコンピュータと略同一であって、バスライ
ン60を介してCPU62、ROM64、RAM66、
グラフィック用メモリ68、事象データ用メモリ70あ
るいはグラフィックコントローラ72が接続され、RO
M64内に格納されたシステムプログラムに従ってCP
U62が所定の演算動作を行う。The basic structure of the display control circuit 56 is substantially the same as that of a general personal computer, and a CPU 62, a ROM 64, a RAM 66, and a bus line 60 are used.
The graphic memory 68, the event data memory 70 or the graphic controller 72 is connected to the RO
CP according to the system program stored in M64
U62 performs a predetermined arithmetic operation.
【0022】一方、タッチパネルコントローラ78を介
してタッチパネル58から、あるいはI/Oコントロー
ラ74を介してキーボード46からデータ入力を可能と
するとともに、RAM66に適宜格納される演算結果
は、グラフィック用メモリ68内に予め格納されている
画像データを用いてグラフィックコントローラ72によ
りビデオRAM76上へ展開され、該ビデオRAM76
内への書き込み内容に対応した表示をディスプレイ44
で行う。On the other hand, data can be input from the touch panel 58 via the touch panel controller 78, or from the keyboard 46 via the I / O controller 74, and the calculation results stored in the RAM 66 are stored in the graphic memory 68. The image data previously stored in the video RAM 76 is expanded by the graphic controller 72 onto the video RAM 76.
Display corresponding to the contents written in the display 44
Done in.
【0023】本発明を実施する表示制御回路56にあっ
ては、上記した構成に加えて、タッチパネルコントロー
ラ78を介してタッチパネル58によるデータの入力動
作を可能とするとともに、事象データ用メモリ70およ
びグラフィック用メモリ68に格納した各種データによ
り、後記する表示および制御動作を可能とする。In addition to the above-mentioned configuration, the display control circuit 56 embodying the present invention enables data input operation by the touch panel 58 via the touch panel controller 78, as well as the event data memory 70 and the graphic. The various data stored in the memory 68 enables display and control operations described later.
【0024】タッチパネル58はその操作面が電気的に
分割され、各分割領域に対応した物理アドレスがタッチ
パネル58に対する押圧操作と同時にタッチパネルコン
トローラ78に向けて出力される。該タッチパネルコン
トローラ78からは更に、ディスプレイ44における表
示画面の座標位置に対応した座標アドレスが取り出さ
れ、CPU62によりデータ処理がなされる。The operation surface of the touch panel 58 is electrically divided, and the physical address corresponding to each divided area is output to the touch panel controller 78 simultaneously with the pressing operation on the touch panel 58. Further, the coordinate address corresponding to the coordinate position of the display screen on the display 44 is extracted from the touch panel controller 78, and the CPU 62 performs data processing.
【0025】[0025]
【PLCの構成】上記した表示制御装置34が接続され
るPLC36は、必要とする個別の機能毎に回路がユニ
ット化され、各ユニットを必要に応じてバスライン80
を介して適宜追加可能に並列接続することにより、PL
C全体として達成される機能を増減可能とする従来と略
同様な構成のものである(例えば、オムロン社製の製品
番号「C2000H」)。[Configuration of PLC] In the PLC 36 to which the above-mentioned display control device 34 is connected, a circuit is unitized for each required individual function, and each unit is connected to the bus line 80 as required.
PL can be added by connecting in parallel via
It has substantially the same configuration as the conventional one that allows the functions achieved as a whole C to be increased or decreased (for example, product number “C2000H” manufactured by OMRON Corporation).
【0026】この実施例にあっては、PLC全体を制御
するCPUユニット81と、ターゲットシステム38か
ら送られる検知信号82の直接的な取り込みを可能とす
る入力ユニット83と、ターゲットシステム38に向け
て所定の制御信号84の出力を可能とする出力ユニット
85と、各種データを保存するメモリユニット86と、
表示制御装置34との間で所定のデータ通信を可能とす
る計算機リンクユニット87とを基本ユニットとして備
え、CPUユニット81で常時入出力手段の変化状態を
監視しておき、新規データ入力等のデータ変化が認めら
れると、必要な演算処理を施したあとメモリユニット8
6上における該当のアドレスにアクセスして内容を書き
換え、あるいは出力ユニット85に向けてデータを送出
する様に構成している。In this embodiment, a CPU unit 81 for controlling the whole PLC, an input unit 83 for directly taking in a detection signal 82 sent from the target system 38, and a target system 38 are provided. An output unit 85 capable of outputting a predetermined control signal 84, a memory unit 86 storing various data,
A computer link unit 87 that enables predetermined data communication with the display control device 34 is provided as a basic unit, and the CPU unit 81 constantly monitors the change state of the input / output means to input data such as new data input. If a change is found, the necessary arithmetic processing is performed and then the memory unit 8
6 is configured to access the corresponding address on the No. 6 and rewrite the contents, or to send the data to the output unit 85.
【0027】また、例えばコンベア装置の様なターゲッ
トシステム38に対して入出力される状態情報MDの格
納場所が、制御あるいは表示すべきターゲットシステム
38上に備えたレベル計やリミットスイッチの様な受動
部品あるいはリレーやモータの様な能動部品毎にメモリ
ユニット86上に確保され、入出力されるデータが数値
の様なワードデータに対してはワードデバイスが、オン
オフ情報の様なビットデータに対してはビットデバイス
がアドレス指定により格納場所を特定可能にメモリユニ
ット86内に設定されている。従って、PLC36の内
外部からメモリユニット86内における任意のワードデ
バイスあるいはビットデバイスに対してアクセスするだ
けで、ターゲットシステム38の対応位置を制御し或い
はその動作状態に関する情報が個別に取り出せる様にし
ている。Further, the storage location of the status information MD input / output to / from the target system 38 such as a conveyor device is a passive device such as a level meter or limit switch provided on the target system 38 to be controlled or displayed. A word device is secured on the memory unit 86 for each component or each active component such as a relay or a motor, and input / output data is for word data such as numerical values, and a word device for bit data such as on / off information. Is set in the memory unit 86 so that the bit device can specify the storage location by addressing. Therefore, by simply accessing an arbitrary word device or bit device in the memory unit 86 from the outside or inside of the PLC 36, the corresponding position of the target system 38 can be controlled or the information on the operation state can be individually retrieved. .
【0028】[0028]
【通信ラインの構成】更に上記した表示制御装置34
は、接続されるPLC36の回路構成に特化したアルゴ
リズムで動作する通信用プログラムで作動する通信コン
トローラ88を介し、上記したPLC36側の計算機リ
ンクユニット87とRS−232Cの様な所定規格のシ
リアル通信ライン94で接続され、緊急性を要しない定
常的なデータの受け渡しをする。[Composition of communication line] Further, the display control device 34 described above.
Is a serial communication of a predetermined standard such as RS-232C and the computer link unit 87 on the PLC 36 side through the communication controller 88 that operates by a communication program that operates with an algorithm specialized for the circuit configuration of the PLC 36 to be connected. It is connected by a line 94, and steadily exchanges urgent data.
【0029】本発明は、前記した汎用のシリアル通信ラ
イン94とは別に、出力コントローラ90を介してPL
C36側の入力ユニット92とパラレル通信ライン18
で接続し、ターゲットシステム38におけるコンベアの
微動操作の様なインチング動作を行わせるためのデータ
信号DSを、PLC36側に向けて直接的に送出できる
様に構成している。In the present invention, in addition to the above-mentioned general-purpose serial communication line 94, a PL is connected via an output controller 90.
C36 side input unit 92 and parallel communication line 18
, And the data signal DS for performing an inching operation such as a fine movement operation of the conveyor in the target system 38 can be directly sent to the PLC 36 side.
【0030】パラレル通信ライン18は、図4(a)に
示す如く、データ信号DSを送るためのN本(本実施例
にあっては4本)のデータ信号線10と、データ信号線
10の接続状態を検知するための1本の検知信号線12
とを備える。従ってPLC36の入力ユニット92で
は、後で詳述する如く、各信号線のレベル変化を検知
し、該レベル変化に即応した緊急的なデータ処理を可能
とする。As shown in FIG. 4A, the parallel communication line 18 includes N (4 in the present embodiment) data signal lines 10 for transmitting the data signal DS, and the data signal lines 10. One detection signal line 12 for detecting the connection state
With. Therefore, in the input unit 92 of the PLC 36, as will be described later in detail, the level change of each signal line is detected, and the urgent data processing corresponding to the level change is enabled.
【0031】[0031]
【処理指示語の構成】本発明を実施する表示制御装置3
4においては、図5(a)に示す様な表示内容に変更を
要しないベース画面96、あるいはそのベース画面96
上で点滅や色変化させる図5(b)の様な図形98など
のグラフィックデータを、必要とする表示単位毎に1つ
のファイル番号を指定してグラフィック用メモリ68中
に格納しておく。[Structure of processing instruction word] Display control device 3 for implementing the present invention
4, a base screen 96 whose display contents do not need to be changed as shown in FIG.
Graphic data such as the graphic 98 as shown in FIG. 5B, which is blinked or changes color, is stored in the graphic memory 68 by designating one file number for each required display unit.
【0032】一方、PLC36のメモリユニット86内
に構成されたビットまたはワードデバイスが示す状態情
報MDのうち、必要なものを適宜時期にシリアル通信ラ
イン94を通じて表示制御装置34側のRAM66上に
読み込む一方、事象データ用メモリ70に予め格納して
おいた図6(a)で例示する様な処理指示語Wを微小時
間毎に間欠的に読み出し、各処理指示語Wの事象名で特
定される内容の動作を、RAM66に読み出したPLC
36側の状態情報MDを参照しながら実行することによ
り、PLC36側のビットデバイスあるいはワードデバ
イスの内容変化に即応して変化する表示動作が行われ
る。On the other hand, among the status information MD indicated by the bit or word device constructed in the memory unit 86 of the PLC 36, necessary information is read into the RAM 66 on the display control device 34 side through the serial communication line 94 at an appropriate time. The content specified by the event name of each processing instruction word W is read out intermittently at every minute time, and the processing instruction word W as illustrated in FIG. 6A is stored in advance in the event data memory 70. PLC read out the operation of
By executing the operation while referring to the state information MD on the 36 side, a display operation that changes in response to a change in the contents of the bit device or the word device on the PLC 36 side is performed.
【0033】すなわち処理指示語Wの基本的な構成は、
図6(a)に示す如く、表示制御動作を実行すべきベー
ス画面のファイル番号Fと、該ベース画面上で実行すべ
き動作内容を特定する事象名Nと、各実行事象毎に参照
される1又は複数の参照情報dとを1組として備えたも
のであって、各ベース画面上で実行されるべき事象数に
対応した数の処理指示語Wが事象データ用メモリ70上
に格納される。That is, the basic structure of the processing instruction word W is
As shown in FIG. 6A, the file number F of the base screen on which the display control operation is to be executed, the event name N specifying the operation content to be executed on the base screen, and the execution event are referred to. One or a plurality of pieces of reference information d are provided as a set, and as many processing instruction words W as the number of events to be executed on each base screen are stored in the event data memory 70. .
【0034】例えば図6(b)に示す処理指示語WL
は、グラフィック用メモリ68に予めファイル番号F1
として格納しておいた図5(a)の様なベース画面96
上に、ファイル番号F2として格納された図5(b)の
様なスイッチ形状の図形98を図5(c)の様に合成し
て表示するとともに、その図形98の表示色を、PLC
36側の特定のビットデバイスの値に対応させて表示変
更するものであって、ベース画面96のファイル番号F
1、図形98の呼び出しを特定する例えば「L」から始
まる事象名N1、呼び出す図形98を特定するファイル
番号F2、図形98の表示時に参照するPLC36側の
ビットデバイスのアドレスA1、ビットデバイスが
「1」または「0」の時の色を特定する情報M1、図形
98を表示するディスプレイ44上における座標データ
X1とから構成される。For example, the processing instruction word WL shown in FIG.
File number F1 in the graphic memory 68 in advance.
The base screen 96 as shown in FIG. 5A stored as
A switch-shaped graphic 98 as shown in FIG. 5B stored as the file number F2 is synthesized and displayed as shown in FIG. 5C, and the display color of the graphic 98 is changed to PLC.
The display number is changed according to the value of a specific bit device on the 36 side, and the file number F of the base screen 96 is changed.
1, an event name N1 starting from "L" for specifying the call of the graphic 98, a file number F2 for specifying the graphic 98 to be called, an address A1 of a bit device on the PLC 36 side referred to when the graphic 98 is displayed, and a bit device of "1" , Or “0”, the coordinate information X1 on the display 44 for displaying the graphic 98.
【0035】一方、図6(c)に示す処理指示語WTは
上記とは逆に、タッチパネル58に対する押圧操作と連
動して、PLC36側に所定のデータを送ってPLC3
6或いはそれに接続されたターゲットシステム38の制
御を可能とするものであって、ベース画面96のファイ
ル番号F1、タッチパネル58の操作を特定する例えば
「T」から始まる事象名N2、タッチパネル58からの
入力操作を有効とするディスプレイ44上の入力座標範
囲X2、タッチパネル58の操作と連動してデータを書
き込むべきPLC36側のデバイスのアドレスA2、デ
ータの書き込みがタッチパネル58の押圧時期に限定さ
れるモーメンタリなビット書き込みか、絶対値を上書き
するワード書き込みかを特定する動作モードM2、およ
び書き込まれるワードデータまたはワード中のビット位
置情報M3とから構成される。On the other hand, the processing instruction word WT shown in FIG. 6C, contrary to the above, interlocks with the pressing operation on the touch panel 58 and sends predetermined data to the PLC 36 side to send the PLC 3
6 or a target system 38 connected thereto, which is capable of controlling the file number F1 of the base screen 96, the operation name of the touch panel 58, for example, the event name N2 starting from "T", and the input from the touch panel 58. Input coordinate range X2 on the display 44 for validating the operation, address A2 of the device on the PLC 36 side where data should be written in conjunction with the operation of the touch panel 58, momentary bit in which data writing is limited to the pressing time of the touch panel 58 It is composed of an operation mode M2 that specifies writing or word writing for overwriting an absolute value, and word data to be written or bit position information M3 in the word.
【0036】本実施例では更に、上記したタッチパネル
58用に構成した処理指示語WTを拡張して、インチン
グ動作専用の処理指示語Wtを設けている。すなわち、
事象名N3としてインチング動作専用の、例えば「Ti
hX」(ただし、Xは数字)を指定することにより、第
1文字目の「T」でタッチパネル用の処理指示語(以
下、「タッチタグ」という)であることを示すととも
に、次の「ih」でインチング動作用のタッチタグ(以
下、「インチングタグ」という)であることを示し、更
に最後に付加された数字の「X」でPLC36側におけ
る制御デバイス番号を示す。In the present embodiment, the processing instruction word WT constructed for the touch panel 58 is further expanded to provide a processing instruction word Wt dedicated to the inching operation. That is,
For example, "Ti
By designating "hX" (where X is a number), the first letter "T" indicates that it is a processing instruction word for the touch panel (hereinafter referred to as "touch tag"), and the next "ih" Indicates that it is a touch tag for inching operation (hereinafter referred to as “inching tag”), and the number “X” added at the end indicates the control device number on the PLC 36 side.
【0037】かかるデバイス番号は、パラレル通信ライ
ン18におけるデータ信号線10のライン番号と予め一
致させており、デバイス番号を指定するだけで、該当の
データ信号線10における信号レベルが変化する様に構
成している。The device number is matched with the line number of the data signal line 10 in the parallel communication line 18 in advance, and the signal level in the corresponding data signal line 10 is changed only by designating the device number. is doing.
【0038】従って、上記した事象名N3とタッチパネ
ル58上での有効入力座標範囲X2とから、図4(a)
に例示す如く該当の座標位置に対するタッチパネル58
上のスイッチA〜Dの操作時期と正確に連動して、シリ
アル通信ライン94側ではなくパラレル通信ライン18
から、該ライン18の対応する信号線を「H」レベル状
態としてPLC36側に送出され、タッチパネル58に
対するアクセス期間と時間遅れがない、PLC36側に
対するデータ信号DSの送出を可能とする。Therefore, from the event name N3 and the effective input coordinate range X2 on the touch panel 58, as shown in FIG.
The touch panel 58 for the corresponding coordinate position as shown in FIG.
Exactly in conjunction with the operation timing of the above switches A to D, the parallel communication line 18 rather than the serial communication line 94 side
Then, the corresponding signal line of the line 18 is sent to the PLC 36 side in the “H” level state, and it is possible to send the data signal DS to the PLC 36 side without the access period to the touch panel 58 and the time delay.
【0039】[0039]
【表示制御装置の動作】次に、図7〜図10に示す流れ
図に従って、表示制御装置34の動作、特にタッチパネ
ル58を用いて、ターゲットシステム38のコンベアを
インチング動作させながら、通信ライン18の断線検知
も同時に行う方法について説明する。[Operation of Display Control Device] Next, according to the flow charts shown in FIGS. 7 to 10, the operation of the display control device 34, in particular, the touch panel 58 is used to perform the inching operation of the conveyor of the target system 38 while disconnecting the communication line 18. A method of simultaneously performing detection will be described.
【0040】先ず図7のステップ100で電源スイッチ
をオンして表示制御装置34をスタートさせると、ステ
ップ101において、PLC36側と所定のデータ通信
が行われてシステム全体が自動運転されるオンライン状
態か、表示制御装置34のみを作動させて作画処理を行
うオフライン状態であるかの選択が行われる。通常はI
Cカード52からのデータ記憶用として備えた不揮発性
メモリの内容は使用開始時に初期化されており、組み込
みシステムとしての専用のデータは事象データ用メモリ
70およびグラフィック用メモリ68のどちらにも設定
されていないので、ステップ110の作画処理モードに
移って必要なデータの設定処理が行われる。First, in step 100 of FIG. 7, the power switch is turned on to start the display control device 34, and in step 101, predetermined data communication is performed with the PLC 36 side to determine whether the entire system is automatically operated in an online state. A selection is made as to whether or not the display control device 34 is operated to perform the drawing process in the offline state. Usually I
The contents of the non-volatile memory provided for storing data from the C card 52 are initialized at the start of use, and dedicated data as an embedded system is set in both the event data memory 70 and the graphic memory 68. Since it is not, the process moves to the drawing process mode of step 110 and the necessary data setting process is performed.
【0041】図8のステップ110で作画処理モードに
入ると、ステップ112におけるグラフィック用メモリ
68に格納する画像データの作成中か、事象データ用メ
モリ70に格納する事象データの作成中かがステップ1
11で判断される。When the drawing processing mode is entered in step 110 of FIG. 8, it is determined in step 112 whether image data to be stored in the graphic memory 68 or event data to be stored in the event data memory 70 is being created.
It is judged at 11.
【0042】ステップ112で行われるグラフィック処
理は、一般的なCADあるいは作図プログラムにおける
処理動作と略同様な作図動作を可能とするものであっ
て、例えば図5(a)に例示する様な従来の操作盤を模
した図形が画面の全体にわたって表示されるベース画面
96と、該ベース画面96上にあって、スイッチの押し
操作と対応した変化を付与させながら表示する図5
(b)で示すスイッチの様な可動図形98とを、ファイ
ル番号F1、F2でそれぞれを互いに特定しながらグラ
フィック用メモリ68内に格納する。The graphic processing performed in step 112 enables a drawing operation that is substantially the same as the processing operation in a general CAD or drawing program. For example, the conventional graphic processing shown in FIG. A base screen 96 on which a figure simulating an operation panel is displayed over the entire screen, and on the base screen 96, a change corresponding to a switch pressing operation is given and displayed.
A movable figure 98 such as a switch shown in (b) is stored in the graphic memory 68 while specifying each other by the file numbers F1 and F2.
【0043】必要とする図形の作成が全て終了すると、
事象データの登録作業に入る。かかる作業は対話形式で
行われ、入力されるデータの内容を表示制御装置34側
が判断しながら必要なデータの入力を促すことにより、
操作者側がプログラムに関する特別な知識を要せず、必
要な画面設計を可能とするものであって、ステップ11
3で実行させる事象名Nの入力をしたあと、その入力さ
れた事象名の頭文字から、ステップ114において実行
すべき事象の内容が判断される。When all required figures have been created,
The event data registration work starts. Such work is performed in an interactive manner, and the display control device 34 side judges the content of the input data and prompts for the input of necessary data.
The operator does not need any special knowledge about the program and enables the necessary screen design.
After the event name N to be executed in 3 is input, the content of the event to be executed is determined in step 114 from the initials of the input event name.
【0044】例えば、事象名Nの最初の符号が「T」で
あるとタッチタグであることが判断できるので、ステッ
プ115に移る。更にこのステップ115でインチング
タグであると判断されれば、ステップ116に移ってタ
ッチパネル58上での有効入力領域X2をカーソル移動
によって設定することが促される。そこで、例えば左上
隅と右下隅の座標指定により領域指定が終了すると、1
つの処理指示語Wにおける参照情報dの内容が特定でき
るので、次のステップ117で事象データ用メモリ70
への格納が行われる。更に、ステップ118において必
要とする全ての事象についての処理指示語Wの登録が行
われたことが判断されると、ステップ119に移って終
了する。For example, since it can be determined that the event name N is a touch tag when the first code is "T", the process proceeds to step 115. Further, if it is judged in this step 115 that the tag is an inching tag, it is urged to move to step 116 and set the effective input area X2 on the touch panel 58 by moving the cursor. Therefore, for example, when the area designation is completed by designating the coordinates of the upper left corner and the lower right corner, 1
Since the contents of the reference information d in one processing instruction word W can be specified, in the next step 117, the event data memory 70
Is stored in. Further, when it is determined in step 118 that the processing instruction words W for all the required events are registered, the process proceeds to step 119 and ends.
【0045】逆に、ステップ115で通常のタッチタグ
であることが判断されると、ステップ120でデータの
絶対値入力かビットデータのモーメンタリ入力かを区別
する動作モードM2を設定したあと、ステップ121で
データが出力されるPLC36側のデバイスのアドレス
A2を設定し、更にステップ122で出力させるワード
データまたはビットデータのビット位置M3を設定した
あと、ステップ116に移って、上記と同様な処理をす
る。On the contrary, when it is determined in step 115 that the tag is a normal touch tag, in step 120, an operation mode M2 for distinguishing between the absolute value input of data and the momentary input of bit data is set, and then in step 121. After setting the address A2 of the device on the PLC 36 side to which the data is output and further setting the bit position M3 of the word data or the bit data to be output in step 122, the process proceeds to step 116 and the same processing as above is performed.
【0046】更にまた、ステップ114で、タッチタグ
以外の処理指示語Wであることが判断されれば、ステッ
プ123に移って、必要な情報設定を上記と略同様にし
て行う。Furthermore, if it is determined in step 114 that the processing instruction word W is other than the touch tag, the process proceeds to step 123, and necessary information setting is performed in substantially the same manner as above.
【0047】次に、図7のステップ101でオンライン
モードであることが判断されると、ステップ102のデ
ータ通信処理が行われる。かかる通信処理は、事象デー
タ用メモリ70内に設定されている処理指示語Wで引用
されているPLC36側の状態情報MDを表示制御装置
34側に取り出すものであって、事象データ用メモリ7
0に格納されている処理指示語W中、現在表示されてい
るベース画面F1に関係する処理指示語Wに含まれる情
報から、PLC36のワードデバイスおよびビットデバ
イスのアドレスを抜き出し、通信コントローラ88、シ
リアル通信ライン94および計算機リンクユニット87
を通じてPLC36のメモリユニット86に直接アクセ
スし、アドレス指定された状態情報MDをRAM66内
に展開する。Next, when it is determined in step 101 of FIG. 7 that the mode is the online mode, the data communication process of step 102 is performed. This communication processing is to take out the status information MD on the PLC 36 side, which is quoted by the processing instruction word W set in the event data memory 70, to the display control device 34 side.
In the processing instruction word W stored in 0, the address of the word device and the bit device of the PLC 36 is extracted from the information included in the processing instruction word W related to the currently displayed base screen F1, and the communication controller 88, the serial Communication line 94 and computer link unit 87
To directly access the memory unit 86 of the PLC 36 to develop the addressed state information MD in the RAM 66.
【0048】かかるデータ通信処理動作と並行して、ス
テップ103における各事象の表示処理およびステップ
104における通信ライン18の断線検知処理などの各
種制御処理が行われる。表示処理は、事象データ用メモ
リ70中に格納された処理指示語W中、通信処理によっ
てRAM66上に取り出された状態情報MDに基づいた
表示動作を行う。In parallel with the data communication processing operation, various control processing such as display processing of each event in step 103 and disconnection detection processing of the communication line 18 in step 104 are performed. The display process performs a display operation based on the state information MD extracted in the RAM 66 by the communication process in the process instruction word W stored in the event data memory 70.
【0049】更にステップ105において、タッチパネ
ル58が押され或いは離されたことが判断されると、図
9のステップ106から始まるタッチパネル58のデー
タ処理に移る。Further, when it is determined in step 105 that the touch panel 58 is pushed or released, the data processing of the touch panel 58 starts from step 106 of FIG.
【0050】かかるタッチパネルデータ処理は、ステッ
プ130において、タッチパネルコントローラ78から
送られる入力座標データに基づいて事象データ用メモリ
70を検索し、ステップ131で該当の座標データが含
まれる有効入力座標範囲X2が指定されたタッチタグが
登録されているか否かが判断され、未登録の場合はステ
ップ132に移って終了する。In the touch panel data processing, in step 130, the event data memory 70 is searched based on the input coordinate data sent from the touch panel controller 78, and in step 131, the effective input coordinate range X2 including the corresponding coordinate data is determined. It is determined whether or not the designated touch tag is registered, and if not registered, the process proceeds to step 132 and ends.
【0051】ステップ131で、タッチタグの登録があ
ったことが判断されると、ステップ133で動作モード
M2の内容を判定し、ステップ134でデータの書き込
み処理が必要であることが判断されると、ステップ13
5でRAM66における該当のアドレスのデータ書き換
え処理を行う。それと同時に、通信コントローラ88を
介し、PLC36内におけるワードデバイスのアドレス
を指定して書き込みデータを送ることにより、PLC3
6側と表示制御装置34側における状態情報の一致を図
る。When it is determined in step 131 that the touch tag has been registered, the content of the operation mode M2 is determined in step 133, and it is determined that the data writing process is necessary in step 134. Step 13
At 5, the data rewriting process of the corresponding address in the RAM 66 is performed. At the same time, the write data is sent by designating the address of the word device in the PLC 36 via the communication controller 88, and
The state information on the side 6 and the state information on the side of the display control device 34 are made to match.
【0052】一方、図9のステップ134における判定
でインチングタグであれば、ステップ136でタッチパ
ネル58を押したのか離したのかが判断され、押したの
であればステップ137で出力コントローラ90に対し
て出力ピンを指定してデータ信号DSを送り、時間遅れ
を有することなしに該当の通信ライン18のレベルを立
ち上げる。逆にタッチパネル58から手を離したのであ
れば、ステップ138において前記したデータ信号DS
を同様にして直ちにオフし、PLC36側へのデータ信
号DSの送出を停止するのである。On the other hand, if the judgment is made at step 134 in FIG. 9 that it is an inching tag, it is judged at step 136 whether the touch panel 58 is pushed or released, and if so, it is outputted to the output controller 90 at step 137. The data signal DS is sent by designating the pin to raise the level of the corresponding communication line 18 without any time delay. On the contrary, if the hand is released from the touch panel 58, in step 138, the above-mentioned data signal DS
Is immediately turned off in the same manner, and the transmission of the data signal DS to the PLC 36 side is stopped.
【0053】本発明は上記した図7のステップ104に
おける、通信ライン18の断線検知処理の手順にその特
徴を有する。The present invention is characterized by the procedure of the disconnection detection processing of the communication line 18 in step 104 of FIG. 7 described above.
【0054】すなわち、図10においてその詳細な手順
を示す如く、PLC36側における状態情報MD中の所
定アドレスに、パラレル通信ライン18の結線状態に対
応したデータを記憶する領域37を図4(a)の様に設
ける。したがって、かかる検知処理ルーチンに入るとま
ず、ステップ140で記憶領域37のエラーフラッグを
調べ、結線にエラーが発生していることが判断される
と、ステップ141で該当する断線部位データをセット
し、そのセットされたデータに対応した断線部位表示を
ディスプレイ44上で行い、操作者に対応を促す。That is, as shown in the detailed procedure in FIG. 10, an area 37 for storing data corresponding to the connection state of the parallel communication line 18 is stored at a predetermined address in the state information MD on the PLC 36 side as shown in FIG. It is installed like. Therefore, when entering the detection processing routine, first, in step 140, the error flag of the storage area 37 is checked, and when it is determined that an error has occurred in the connection, the corresponding disconnection site data is set in step 141, A display of the disconnection site corresponding to the set data is displayed on the display 44 to prompt the operator to take action.
【0055】ここでステップ141でエラーが発生して
いないことが判断されると、ステップ142で予め設定
してある時間が経過したか否かを調べ、「YES」であ
れば、ステップ143で検知信号KSの出力レベルを下
げる(図4(b)の時刻t1)。しかる後、ステップ1
44で現在出力中のデータ信号DSを保存するととも
に、ステップ145でデータ信号DSを全て同時にハイ
レベルにセットする。かかる状態を所定の短時間だけ維
持した後、ステップ146で出力信号を元に戻し、更に
ステップ147の時刻t3で検知信号KSをハイレベル
状態に戻し、一連の処理動作を終了する。If it is determined in step 141 that no error has occurred, it is checked in step 142 whether a preset time has elapsed. If "YES", the detection is performed in step 143. The output level of the signal KS is lowered (time t1 in FIG. 4B). After that, step 1
At 44, the data signal DS currently being output is saved, and at step 145, all the data signals DS are simultaneously set to the high level. After maintaining such a state for a predetermined short time, the output signal is returned to the original state in step 146, and the detection signal KS is returned to the high level state at time t3 in step 147, and a series of processing operations are ended.
【0056】一方PLC36の入力ユニット92側で
は、ステップ151で検知信号KSのハイレベル状態で
あり且つ、ステップ152で記憶領域37のエラービッ
トがオンされていないことを確認した場合のみ、入力さ
れているデータ信号DSの値が正しいものと判断して、
ステップ153におけるデータの取込処理を行う。On the other hand, on the input unit 92 side of the PLC 36, input is made only when it is confirmed in step 151 that the detection signal KS is in the high level state and in step 152 that the error bit of the storage area 37 is not turned on. It is judged that the value of the data signal DS present is correct,
The data acquisition process in step 153 is performed.
【0057】ステップ151で検知信号KSがローレベ
ルになっていることが判定されると、ステップ154の
時刻t2にデータ信号DSのレベルを調べる。この時、
データ信号DSを含む全ての信号がハイレベルであるこ
とが判定されると、通信ライン18における結線状態に
異常がないことが判断されるので、それ以上何もするこ
となく、ステップ151に戻って上記した処理を繰り返
す。When it is determined in step 151 that the detection signal KS is at low level, the level of the data signal DS is checked at time t2 in step 154. At this time,
If it is determined that all the signals including the data signal DS are at the high level, it is determined that there is no abnormality in the connection state of the communication line 18, and therefore, the process returns to step 151 without further action. The above process is repeated.
【0058】しかし、ステップ154でデータ信号線1
0の何れか1本でもローレベルであることが判定される
と、ステップ155で状態情報MDのエラーデータ中の
所定ビットをオンすることにより、PLC36および表
示制御装置34に対して結線の異常を知らせるのであ
る。However, in step 154, the data signal line 1
If it is determined that any one of the 0's is at a low level, a predetermined bit in the error data of the status information MD is turned on in step 155 to check the abnormal connection of the PLC 36 and the display control device 34. Notify me.
【0059】図11は本発明の他の実施例であって、本
実施例にあっては、タッチパネル58に構成したタッチ
スイッチ14とデータ通信線とは1対1に対応させるの
ではなく、押圧位置が2進データ化されてデータ信号線
10から出力するとともに、更にそのデータ信号線10
から出力されるデータの有効時期を規定するタイミング
用信号線22を備えている。本実施例にあっては、タイ
ミング信号SSの立ち上がり時期である時刻t1にデー
タ信号DSの値を有効として取り込む一方、検知信号K
Sが変化する時期である時刻t2に対応して、データ信
号線10とタイミング用信号線22をもハイレベル状態
にセットすることにより、すべての通信ライン18にお
ける断線状態が同時に検査できる様にしている。FIG. 11 shows another embodiment of the present invention. In this embodiment, the touch switch 14 formed on the touch panel 58 and the data communication line do not correspond one-to-one but are pressed. The position is converted into binary data and is output from the data signal line 10, and further the data signal line 10
A timing signal line 22 is provided for defining the valid period of the data output from. In the present embodiment, the value of the data signal DS is taken as valid at the time t1 which is the rising timing of the timing signal SS, while the detection signal K
Corresponding to the time t2 when S changes, the data signal line 10 and the timing signal line 22 are also set to the high level state so that the disconnection states of all the communication lines 18 can be inspected at the same time. There is.
【0060】なお本実施例にあっては、エンコード出力
用に特化したタッチタグを表わす事象名として、例えば
TiwX(ただしXは数字)を用意している。そして、
図8のステップ115に示すインチングタグの設定時
に、エンコード出力させる出力コードを設定する一方、
図9のステップ137において、設定した出力コードを
指定してデータ信号DSを送る様にしている。In this embodiment, for example, TiwX (where X is a number) is prepared as an event name representing a touch tag specialized for encoding output. And
At the time of setting the inching tag shown in step 115 of FIG. 8, while setting the output code to be encoded and output,
In step 137 of FIG. 9, the set output code is designated to send the data signal DS.
【0061】更にまた図12は、上記の様なスイッチ1
4の押圧時期にのみ対応したデータ出力を行うのではな
く、複数のデータを時分割状態で一連に送受する場合を
例示する。かかる実施例にあっても、検知信号KSの出
力時期に対応して、データの読み込み時期を規定するタ
イミング信号SSを含めてすべての信号線における信号
レベルをハイレベル状態にすることにより、通信ライン
18の断線状態を検知可能としている。Furthermore, FIG. 12 shows the switch 1 as described above.
The case where a plurality of data are transmitted and received in a time-divisional state in series instead of outputting data corresponding to only the pressing time of No. 4 will be exemplified. Also in this embodiment, by setting the signal levels of all the signal lines including the timing signal SS that defines the data read timing in accordance with the output timing of the detection signal KS to the high level state, the communication line The disconnection state of 18 can be detected.
【0062】また、上記の様なPLC36と表示制御装
置34の組み合わせに限らず、図1に示すごとく、機械
的なスイッチ群15を備えたスイッチブロックの様なデ
ータ送出装置20と、該スイッチブロックと通信ライン
18を介して接続されるリレー群33を備えたリレータ
ーミナルの様なデータ受信装置26との組み合わせも可
能である。The combination of the PLC 36 and the display control device 34 is not limited to the above, and as shown in FIG. 1, a data transmission device 20 such as a switch block having a mechanical switch group 15 and the switch block. A combination with a data receiving device 26 such as a relay terminal having a relay group 33 connected via the communication line 18 is also possible.
【0063】本実施例にあっては、スイッチ群15の押
し状態に対応するデータをエンコーダ16により2進デ
ータ化したのち、データ信号線10を通じてリレーター
ミナル26に送られる。一方、リレーターミナル26側
においては、データ信号線10を通じて送られたデータ
信号DSをデコーダ28でデコードし、スイッチ群15
中の入力検知部14として備えた各押圧スイッチに対応
したリレー31をオンする。In this embodiment, the data corresponding to the pressed state of the switch group 15 is converted into binary data by the encoder 16 and then sent to the relay terminal 26 through the data signal line 10. On the other hand, on the relay terminal 26 side, the decoder 28 decodes the data signal DS sent through the data signal line 10, and the switch group 15
The relay 31 corresponding to each press switch provided as the input detection unit 14 therein is turned on.
【0064】同時に、制御部24では上記した手順に従
って検知信号KSをリレーターミナル26側に送る一
方、断線検知部30で通信ライン18の断線状態を判定
し、異常が認められると各信号線毎に備えた表示ランプ
等の表示手段からなる断線表示部32で断線しているラ
インを外部に伝達するのである。At the same time, the control section 24 sends the detection signal KS to the relay terminal 26 side in accordance with the procedure described above, while the disconnection detection section 30 determines the disconnection state of the communication line 18, and if any abnormality is recognized, it is determined for each signal line. The broken line in the broken line display section 32 including the display means such as a display lamp provided is transmitted to the outside.
【0065】なお、通信ライン18に含まれる信号線の
種類および本数は適宜変更して実施できる。また、各信
号線の電圧レベル、あるいはそのデータが有効になる信
号レベルも、通信ライン18の断線状態を検知できるも
のであれば変更してもよい。更に、2つの装置間を通信
ラインでデータ伝送するのに代えて、単一装置あるいは
単一プロセッサ内におけるデータ伝送に対しても略同様
に実施できる。更にデータをコード化する方法も2進化
に限らず、適宜変更して実施できることは勿論である。The type and number of signal lines included in the communication line 18 can be changed as appropriate. Further, the voltage level of each signal line or the signal level at which the data is valid may be changed as long as the disconnection state of the communication line 18 can be detected. Further, instead of transmitting the data via the communication line between the two devices, the data transmission within the single device or the single processor can be performed in substantially the same manner. Further, the method of coding the data is not limited to the binary conversion, and it goes without saying that the method can be appropriately changed and implemented.
【図1】本発明の基本的な構成を示す説明図である。FIG. 1 is an explanatory diagram showing a basic configuration of the present invention.
【図2】本発明を表示制御装置とPLCとの間における
通信ラインに実施した一例を示すブロック図である。FIG. 2 is a block diagram showing an example in which the present invention is applied to a communication line between a display control device and a PLC.
【図3】表示制御装置の外観形状を概略的に示す一部を
破断した斜視図である。FIG. 3 is a partially cutaway perspective view schematically showing the outer shape of the display control device.
【図4】パラレル通信ラインの構成を示す図であって、
(a)はタッチパネル上の押圧位置と信号の出力ライン
とが1対1に対応する例を示す説明図、(b)は断線状
態の検知手順を示す波形図である。FIG. 4 is a diagram showing a configuration of a parallel communication line,
(A) is an explanatory view showing an example in which the pressed position on the touch panel and the output line of the signal correspond to each other on a one-to-one basis, and (b) is a waveform diagram showing the detection procedure of the disconnection state.
【図5】画面構成の一例を示す説明図であって、(a)
はベース画面、(b)は可変図形、(c)は両者の合成
画面を各々示す。FIG. 5 is an explanatory diagram showing an example of a screen configuration, including (a)
Is a base screen, (b) is a variable figure, and (c) is a composite screen of both.
【図6】処理指示語の基本的な構成を示す説明図であっ
て、(a)は基本的な構成、(b)は表示用の構成、
(c)はタッチパネル用の構成を各々示す。6A and 6B are explanatory diagrams showing a basic configuration of a processing instruction word, in which FIG. 6A is a basic configuration, FIG. 6B is a display configuration, and FIG.
(C) each shows the structure for touch panels.
【図7】表示制御装置における全体的な動作手順を示す
流れ図である。FIG. 7 is a flowchart showing an overall operation procedure in the display control device.
【図8】図7における作画処理の動作手順を説明する流
れ図である。FIG. 8 is a flowchart illustrating an operation procedure of the drawing process in FIG.
【図9】図7におけるタッチパネルを通じたデータ処理
動作の手順を説明する流れ図である。9 is a flowchart illustrating a procedure of a data processing operation via the touch panel in FIG.
【図10】図7における断線検知処理の動作手順を説明
する流れ図である。10 is a flowchart illustrating an operation procedure of disconnection detection processing in FIG.
【図11】本発明の他の例を示す図4に類似した図であ
って、(a)はタッチパネルに対する指示データをコー
ド化した例を示す説明図、(b)は断線状態の検知手順
を示す波形図である。FIG. 11 is a view similar to FIG. 4 showing another example of the present invention, in which (a) is an explanatory view showing an example in which instruction data for a touch panel is coded, and (b) shows a disconnection state detection procedure. It is a waveform diagram shown.
【図12】本発明の更に他の実施例を示し、データを時
分割状態で一連に送受する場合における断線の検知手順
を説明する波形図である。FIG. 12 is a waveform diagram illustrating a disconnection detection procedure in the case of transmitting and receiving data in a time division state in series, showing still another embodiment of the present invention.
DS データ信号 KS 検知信号 SS タイミング信号 MD 状態情報 10 データ信号線 12 検知信号線 14 入力検知部 15 スイッチ群 16 エンコーダ 18 パラレル通信ライン 20 データ送出装置 22 タイミング用信号線 24 制御部 26 データ受信装置 28 デコーダ 30 断線検知部 31 リレー 32 断線表示部 33 リレー群 34 表示制御装置 36 PLC 38 ターゲットシステム 44 ディスプレイ 58 タッチパネル 66 RAM 68 グラフィック用メモリ 70 事象データ用メモリ 88 通信コントローラ 90 出力コントローラ 92 入力ユニット 94 シリアル通信ライン DS data signal KS detection signal SS timing signal MD status information 10 data signal line 12 detection signal line 14 input detection unit 15 switch group 16 encoder 18 parallel communication line 20 data transmission device 22 timing signal line 24 control unit 26 data reception device 28 Decoder 30 Disconnection detection unit 31 Relay 32 Disconnection display unit 33 Relay group 34 Display control device 36 PLC 38 Target system 44 Display 58 Touch panel 66 RAM 68 Graphic memory 70 Event data memory 88 Communication controller 90 Output controller 92 Input unit 94 Serial communication line
Claims (3)
線(12)を備え、 データ信号DSの送出側では、上記した検知信号線(1
2)を通じて送られる検知信号KSの信号レベルを検知
レベル側に転換するのと連動して、各信号線を通じて送
られる信号レベルを全て同一レベル状態に設定可能とす
る一方、 データ信号DSの受信側では、上記した検知信号KSの
検知レベル側への転換時期に対応して、各線の信号レベ
ルをチェック可能としたことを特徴とするデータ通信ラ
インの断線検知方法。1. A plurality of data signal lines (10) and a detection signal line (12) for notifying the inspection time of the data signal line (10) are provided, and the above-mentioned detection signal line is provided on the transmission side of the data signal DS. (1
The signal level of the detection signal KS sent through 2) is changed to the detection level side so that all the signal levels sent through the respective signal lines can be set to the same level state, while the receiving side of the data signal DS is set. Then, a disconnection detection method for a data communication line, characterized in that the signal level of each line can be checked in accordance with the above-mentioned conversion timing of the detection signal KS to the detection level side.
する複数の入力検知部(14)と、各入力検知部(1
4)の検知動作に対応したパラレルデータ信号DSを発
生するエンコーダ(16)と、エンコーダ(16)から
出力されるデータ信号DSを外部に引き出す通信ライン
(18)とを備えたデータ送出装置であって、 上記した通信ライン(18)は、複数本のデータ信号線
(10)と、そのデータ信号線(10)上におけるデー
タの有効時期を知らせるタイミング用信号線(22)
と、各線の検査時期を知らせる検知信号線(12)とを
備え、 更に、上記した検知信号線(12)を通じて送られる検
知信号KSの信号レベルを検知レベル側に転換するのと
連動して、データ信号線(10)およびタイミング用信
号線(22)を通じて送られる信号レベルを同時に全て
ハイレベル状態に設定可能とする制御部(24)を備え
たことを特徴とするデータ送出装置。2. A plurality of input detection units (14) for generating a signal when a predetermined input operation is detected, and each input detection unit (1).
It is a data transmission device comprising an encoder (16) for generating a parallel data signal DS corresponding to the detection operation of 4) and a communication line (18) for drawing out the data signal DS output from the encoder (16). The communication line (18) includes a plurality of data signal lines (10) and a timing signal line (22) for notifying the valid time of data on the data signal lines (10).
And a detection signal line (12) for notifying the inspection time of each line, and further, in conjunction with converting the signal level of the detection signal KS sent through the detection signal line (12) to the detection level side, A data transmission device comprising a control unit (24) capable of simultaneously setting all signal levels transmitted through a data signal line (10) and a timing signal line (22) to a high level state.
して通信ライン(18)を介して接続されるデータ受信
装置であって、 検知信号線(12)の非検知レベル時に、データ信号線
(10)を介して送られるデータ信号DSをデコード可
能とするデコーダ(28)と、 検知信号線(12)の検知レベル側への転換時期に対応
して、通信ライン(18)を構成する各線の信号レベル
を判定する断線検知部(30)と、 該断線検知部(30)における判定状態に対応した断線
情報を外部に伝達可能とする断線表示部(32)とを備
えたことを特徴とするデータ受信装置。3. A data receiving device connected to the data transmitting device according to claim 2 via a communication line (18), wherein the data signal line is at a non-detection level of the detection signal line (12). A decoder (28) capable of decoding the data signal DS sent via (10), and each line constituting the communication line (18) corresponding to the time of conversion of the detection signal line (12) to the detection level side. And a disconnection display unit (32) capable of transmitting disconnection information corresponding to the determination state of the disconnection detection unit (30) to the outside. Data receiving device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4728793A JPH06244811A (en) | 1993-02-12 | 1993-02-12 | Data transmitter and receiver and discontinuity detecting method for data communication line |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4728793A JPH06244811A (en) | 1993-02-12 | 1993-02-12 | Data transmitter and receiver and discontinuity detecting method for data communication line |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06244811A true JPH06244811A (en) | 1994-09-02 |
Family
ID=12771080
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4728793A Pending JPH06244811A (en) | 1993-02-12 | 1993-02-12 | Data transmitter and receiver and discontinuity detecting method for data communication line |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06244811A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7819032B2 (en) | 2006-10-31 | 2010-10-26 | Shimano Inc. | Testing tool for electric bicycle devices |
-
1993
- 1993-02-12 JP JP4728793A patent/JPH06244811A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7819032B2 (en) | 2006-10-31 | 2010-10-26 | Shimano Inc. | Testing tool for electric bicycle devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4833592A (en) | Master station apparatus for remote supervisory control system with touch panel video display | |
| CA1124873A (en) | Sequence control system | |
| US4616307A (en) | Programmable controller alarm display method | |
| JPH02110692A (en) | Supervisory alarm unit | |
| KR970066917A (en) | Coordinate reading device and state conversion method for the device | |
| EP0121570B1 (en) | Method of displaying diagnostic result | |
| JP4550641B2 (en) | Data collation apparatus and method | |
| JPH06244811A (en) | Data transmitter and receiver and discontinuity detecting method for data communication line | |
| CN106055472A (en) | Method, device and terminal equipment for entering debugging mode | |
| JP2023024762A (en) | AUTOMATIC TESTING METHOD AND DEVICE FOR CONTROL SOFTWARE AND COMPUTER PROGRAM | |
| JP2008097285A (en) | Plant monitoring and control system | |
| US6145093A (en) | Debugging method and method of displaying information for data processing for use in programmable display device | |
| CN107355949A (en) | A kind of air-conditioning trouble shooting learning method | |
| JPH0916220A (en) | Input / output display | |
| CA2021797C (en) | Apparatus for control of storing information into dial memories in a telephone set | |
| JPS6083132A (en) | Reader for matrix-shaped switch group | |
| JPS6121507A (en) | Monitor device of programmable controller | |
| JPS6415793A (en) | Operating state checking system for operation panel | |
| JP3557113B2 (en) | Operation panel with display | |
| JP4026612B2 (en) | Vehicle inspection management system | |
| JPH0452932A (en) | Program evaluating system | |
| CN117576968A (en) | Simulated electrical operation test method and computer equipment | |
| JP2965408B2 (en) | Display control device | |
| JP2965406B2 (en) | Display control device | |
| JPS63201736A (en) | Programmable controller programming device |