JPH04252599A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH04252599A
JPH04252599A JP3008696A JP869691A JPH04252599A JP H04252599 A JPH04252599 A JP H04252599A JP 3008696 A JP3008696 A JP 3008696A JP 869691 A JP869691 A JP 869691A JP H04252599 A JPH04252599 A JP H04252599A
Authority
JP
Japan
Prior art keywords
communication device
signal
line
communication equipment
data
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.)
Withdrawn
Application number
JP3008696A
Other languages
Japanese (ja)
Inventor
Kazuhiro Mishina
三品 一博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP3008696A priority Critical patent/JPH04252599A/en
Publication of JPH04252599A publication Critical patent/JPH04252599A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To build up the data transmission system inexpensively by employing a signal line, a clock line and a strobe line only for wiring so as to simplify the constitution of a communication equipment 20. CONSTITUTION:A control panel A is provided with a controller 1 and a communication equipment 10 and an operating panel B is provided with a communication equipment 20. The communication equipment 10 sends an output data bit by bit synchronously with a clock signal through a signal line L1. Simultaneously, the clock signal is sent from a clock line L3 to the communication equipment 20. The output data is stored in a shift register 22 of the communication equipment 20 synchronously with the clock signal. The communication equipment 10 stops the transmission of the clock signal at the end of transmission and sends a strobe signal. The communication equipment 20 reads the output data synchronously with the trailing of the strobe signal and reads the input data to a shift register 25 synchronously with the leading of the strobe signal and sends the input data to the communication equipment 10 through a signal line L2 synchronously with the clock signal.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プログラムに応じて機
器の動作を制御する制御装置が装備された制御盤と、制
御装置から制御を受ける機器側に設けられる操作盤との
間で行われるデータ伝送方式に関するものである。
[Industrial Application Field] The present invention is implemented between a control panel equipped with a control device that controls the operation of equipment according to a program, and an operation panel provided on the equipment side that receives control from the control device. This relates to data transmission methods.

【0002】0002

【従来の技術】製造設備を構築する産業機器等の制御は
、ユーザプログラムに従ってシーケンシャルに機器の制
御を行うプログラマブルコントローラ等の制御装置によ
り行い、例えば作業単位毎の機器の動作状態の調整や表
示を行うために作業単位毎に操作盤を設けたものがある
[Background Art] Control of industrial equipment, etc. that construct manufacturing equipment is performed by a control device such as a programmable controller that sequentially controls the equipment according to a user program. Some machines are equipped with an operation panel for each work unit.

【0003】図3は上記制御装置1を操作盤Bに直接に
接続した場合を示し、操作盤Bの備える発光ダイオード
LDで機器の動作状態の表示を行い、スイッチSWを用
いて動作調整を行うことができるようにしてある。しか
し、このように制御装置1と操作盤Bとを直接に接続す
ると、制御装置1が装備された制御盤と操作盤Bとが離
れている場合、制御盤と操作盤Bとの間を必要な入出力
線数だけ配線しなければならないため、配線の工数及び
配線後の点検工数がかかり問題があった。
FIG. 3 shows a case where the control device 1 is directly connected to the operation panel B, and the operating status of the equipment is displayed using the light emitting diode LD provided on the operation panel B, and the operation is adjusted using the switch SW. It has been made possible to do so. However, when the control device 1 and the operation panel B are directly connected in this way, if the control panel equipped with the control device 1 and the operation panel B are separated, it becomes necessary to connect the control panel and the operation panel B. Since it is necessary to wire the same number of input/output wires, there is a problem in that it takes a lot of man-hours for wiring and for inspection after wiring.

【0004】そこで、図4に示すように制御盤A及び操
作盤Bに夫々通信装置2を設け、制御盤A側から操作盤
B側に、及び操作盤B側から制御盤A側に夫々データ伝
送を行う2本のペア線からなる2組の信号線L1 ,L
2 で通信装置2間を接続し、配線の本数を減らして、
配線の工数及び配線後の点検工数を削減したものがある
。なお、データ伝送はペア線により差動方式で行うよう
にしてある。
Therefore, as shown in FIG. 4, a communication device 2 is provided on control panel A and operation panel B, and data is transmitted from control panel A side to operation panel B side and from operation panel B side to control panel A side. Two sets of signal lines L1 and L consisting of two pair lines for transmission
2 to connect the communication devices 2 and reduce the number of wires,
There is a method that reduces wiring man-hours and post-wiring inspection man-hours. Note that data transmission is performed in a differential manner using pair wires.

【0005】[0005]

【発明が解決しようとする課題】ところで、この場合に
は通信装置2でデータのタイミングと手順とを合わせる
必要があるため、夫々の通信装置2をマイクロプロセッ
サ(CPU)を用いて構成する必要がある。図4の通信
装置2では、CPU3、ROM4,RAM5及びドライ
バ/レシーバ6で構成してあり、さらに操作盤B側の通
信装置2には入出力バッファ7を必要をする。しかし、
このように構成した場合には、配線の本数を削減できる
が、通信装置2がCPUを必要とするために高価となる
問題があった。
[Problem to be Solved by the Invention] In this case, it is necessary to match the data timing and procedure in the communication devices 2, so it is necessary to configure each communication device 2 using a microprocessor (CPU). be. The communication device 2 in FIG. 4 includes a CPU 3, a ROM 4, a RAM 5, and a driver/receiver 6, and further requires an input/output buffer 7 in the communication device 2 on the operation panel B side. but,
With this configuration, the number of wires can be reduced, but there is a problem in that the communication device 2 requires a CPU, making it expensive.

【0006】本発明は上述の点に鑑みて為されたもので
あり、その目的とするところは、配線数を削減でき、し
かも通信装置を安価とできるデータ通信方式を提供する
ことにある。
The present invention has been made in view of the above-mentioned points, and its object is to provide a data communication system that can reduce the number of wiring lines and also make communication equipment inexpensive.

【0007】[0007]

【課題を解決するための手段】本発明では、上記目的を
達成するために、プログラムに応じて機器の動作を制御
する制御装置が装備された制御盤が第1の通信装置を備
えると共に、制御装置から制御を受ける機器側に設けら
れる操作盤が第2の通信装置を備え、第1の通信装置か
ら第2の通信装置にデータを伝送する第1の信号線と、
第2の通信装置から第1の通信装置にデータを伝送する
第2の信号線と、第1の通信装置側から第2の通信装置
にクロック信号及びストローブ信号を夫々送信するクロ
ック線及びストローブ線とで上記通信装置間を接続し、
第1の通信装置に設けられたCPUなどで構成された制
御部によるクロック信号に応じて第1及び第2の通信装
置からデータを1ビットずつ伝送させると共に、ストロ
ーブ信号によりデータ伝送方向の切換指令を行っている
[Means for Solving the Problems] In order to achieve the above object, in the present invention, a control panel equipped with a control device that controls the operation of equipment according to a program is provided with a first communication device, and a control panel equipped with a control device that controls the operation of equipment according to a program. An operation panel provided on a device side controlled by the device includes a second communication device, and a first signal line that transmits data from the first communication device to the second communication device;
A second signal line that transmits data from the second communication device to the first communication device, and a clock line and a strobe line that transmit the clock signal and strobe signal from the first communication device to the second communication device, respectively. Connect the above communication devices with
Transmits data one bit at a time from the first and second communication devices in response to a clock signal by a control unit including a CPU or the like provided in the first communication device, and instructs switching of the data transmission direction using a strobe signal. It is carried out.

【0008】[0008]

【作用】本発明は、上述のようにすることにより、第2
の通信装置の通信動作は第1の通信装置が備えるCPU
などで構成された制御部から制御の下で行われるように
し、第2の通信装置側には上記制御部のような高価な構
成を必要としないようにし、しかも各通信装置間の配線
が2本の信号線とクロック線及びストローブ線だけで済
むことにより、配線の本数を削減できるようにしたもの
である。
[Operation] The present invention achieves the second
The communication operation of the communication device is performed by the CPU included in the first communication device.
This is done under the control of a control unit consisting of a controller, etc., so that an expensive configuration such as the control unit described above is not required on the second communication device side, and furthermore, the wiring between each communication device is By requiring only one signal line, clock line, and strobe line, the number of wiring lines can be reduced.

【0009】[0009]

【実施例】図1に本発明の一実施例を示す。本実施例の
場合には、制御盤A側の通信装置10として、ROM及
びRAMを内蔵する4ビットのマイクロコンピュータ(
以下、マイコンと呼ぶ)11と、マイコン11からのデ
ータを操作盤B側に送ると共に、操作盤Bからのデータ
を受けるドライバ/レシーバ12とで構成してある。
Embodiment FIG. 1 shows an embodiment of the present invention. In the case of this embodiment, the communication device 10 on the control panel A side is a 4-bit microcomputer (
11 (hereinafter referred to as a microcomputer), and a driver/receiver 12 that sends data from the microcomputer 11 to the operation panel B side and receives data from the operation panel B.

【0010】ここで、マイコン11の内蔵するROM1
3は通信を行うタイミングや手順に関するプログラムを
記憶させると共に、RAM14には入出力データを記憶
させる。操作盤Bの装備する通信装置20は、制御盤A
からの信号を受けると共に、制御盤Aに信号を送るドラ
イバ/レシーバ21を備え、上記通信装置10側のドラ
イバ/レシーバ12との間は信号線L1 ,L2 、ク
ロック線L3 ,ストローブ線L4 及びグランド線L
5 で接続されている。信号線L1 ,L3 ,L4 
は夫々マイコン11の出力ポートに接続され、信号線L
1 ,クロック線L3 及びストローブ線L4 を夫々
介して通信装置10から通信装置20にデータ、クロッ
ク信号及びストローブ信号を送る。また、信号線L2 
はマイコンの入力ポートに接続され、信号線L2 を介
して通信装置20から通信装置10にデータを送る。グ
ランド線L5 は通信装置10,20間の電位を合わせ
るために設けてある。この通信装置20には、上記通信
装置10から送られて来るクロック信号に同期して通信
装置10からのデータを受ける32ビット構成のシフト
レジスタ22と、ストローブ信号の立下りに同期して上
記シフトレジスタ22に格納されているデータを読み込
んで記憶するラッチ機能付きのバッファ23と、操作盤
Bの備えるスイッチSWの操作状態などの入力データを
記憶するラッチ機能付きのバッファ24と、ストローブ
信号の立上りに同期してバッファ24に記憶するデータ
を読み込む32ビット構成のシフトレジスタ25とを設
けてある。ここで、上記バッファ23のデータが各機器
に出力され、それに応じて機器の動作状態を発光ダイオ
ードLDで表示する。また、夫々のドライバ/レシーバ
12,21のドライバとしてはオープンコレクタタイプ
のものを用いてある。
[0010] Here, the ROM1 built in the microcomputer 11
3 stores programs related to communication timing and procedures, and stores input/output data in the RAM 14. The communication device 20 equipped on the operation panel B is connected to the control panel A.
The driver/receiver 21 is equipped with a driver/receiver 21 that receives signals from the control panel A and sends signals to the control panel A, and is connected to the driver/receiver 12 on the communication device 10 side through signal lines L1, L2, clock line L3, strobe line L4, and ground. Line L
5 is connected. Signal lines L1, L3, L4
are connected to the output ports of the microcomputer 11, respectively, and the signal line L
1, data, a clock signal, and a strobe signal are sent from the communication device 10 to the communication device 20 via the clock line L3 and the strobe line L4, respectively. In addition, signal line L2
is connected to the input port of the microcomputer, and sends data from the communication device 20 to the communication device 10 via the signal line L2. A ground line L5 is provided to match the potentials between the communication devices 10 and 20. This communication device 20 includes a 32-bit shift register 22 that receives data from the communication device 10 in synchronization with a clock signal sent from the communication device 10, and a shift register 22 with a 32-bit configuration that receives data from the communication device 10 in synchronization with a clock signal sent from the communication device 10, and a shift register 22 that receives data from the communication device 10 in synchronization with a clock signal sent from the communication device 10, and a shift register 22 that receives data from the communication device 10 in synchronization with a clock signal sent from the communication device 10, and a shift register 22 with a 32-bit configuration that receives data from the communication device 10 in synchronization with a clock signal sent from the communication device 10. A buffer 23 with a latch function that reads and stores the data stored in the register 22, a buffer 24 with a latch function that stores input data such as the operating state of the switch SW provided on the operation panel B, and a buffer 24 with a latch function that reads and stores the data stored in the register 22, A shift register 25 having a 32-bit configuration is provided, which reads data to be stored in the buffer 24 in synchronization with the . Here, the data in the buffer 23 is output to each device, and the operating status of the device is displayed on the light emitting diode LD accordingly. Further, as the drivers for the respective drivers/receivers 12 and 21, open collector type drivers are used.

【0011】以下、本実施例の通信装置10,20間の
通信方法について説明する。通信装置10は、RAM1
4に記憶してある出力データを読み出すことにより、出
力データを1ビットずつ送信する(図2(c))。この
出力データは、通信装置20側で図2(a)に示すクロ
ック信号CKに同期して順次シフトレジスタ22内に格
納されて行く。そして、通信装置10のマイコン11か
ら出力データを32ビット分(8ワード)送信した時点
で、図2(b)に示すようにストローブ信号STBを送
る。このストローブ信号STBを受けた通信装置20で
は、ストローブ信号STBの立上りに同期してシフトレ
ジスタ22に格納されている出力データを一括してバッ
ファ23が読み込む。そして、上述のようにストローブ
信号STBを受けた通信装置20では、ストローブ信号
STBの立下りに同期してバッファ24に記憶する入力
データを一括してシフトレジスタ25が読み込む。そし
て、その後に通信装置10から送られて来る図2(a)
に示すクロック信号CKに同期して1ビットずつ順次入
力データを通信装置10に送る(図2(d))。通信装
置10では通信装置20から送られてくる入力データが
32ビット受信されると、RAM14に記憶する。この
ように本実施例では簡単な通信方式でデータの伝送を行
うことができるので、通信装置10を4ビットマイコン
で構成することができ、しかも通信装置20側にマイコ
ンなどを搭載する必要がない。
The communication method between the communication devices 10 and 20 of this embodiment will be explained below. The communication device 10 has a RAM1
By reading the output data stored in 4, the output data is transmitted bit by bit (FIG. 2(c)). This output data is sequentially stored in the shift register 22 on the communication device 20 side in synchronization with the clock signal CK shown in FIG. 2(a). Then, when the microcomputer 11 of the communication device 10 transmits 32 bits (8 words) of output data, it sends a strobe signal STB as shown in FIG. 2(b). In the communication device 20 that receives the strobe signal STB, the buffer 23 reads the output data stored in the shift register 22 all at once in synchronization with the rise of the strobe signal STB. In the communication device 20 receiving the strobe signal STB as described above, the shift register 25 reads the input data stored in the buffer 24 all at once in synchronization with the fall of the strobe signal STB. 2(a) sent from the communication device 10 after that.
The input data is sequentially sent bit by bit to the communication device 10 in synchronization with the clock signal CK shown in (FIG. 2(d)). When the communication device 10 receives 32 bits of input data sent from the communication device 20, it stores it in the RAM 14. In this way, in this embodiment, data can be transmitted using a simple communication method, so the communication device 10 can be configured with a 4-bit microcomputer, and there is no need to install a microcomputer or the like on the communication device 20 side. .

【0012】0012

【発明の効果】本発明は上述のように、プログラムに応
じて機器の動作を制御する制御装置が装備された制御盤
が第1の通信装置を備えると共に、制御装置から制御を
受ける機器側に設けられる操作盤が第2の通信装置を備
え、第1の通信装置から第2の通信装置にデータを伝送
する第1の信号線と、第2の通信装置から第1の通信装
置にデータを伝送する第2の信号線と、第1の通信装置
側から第2の通信装置にクロック信号及びストローブ信
号を夫々送信するクロック線及びストローブ線とで上記
通信装置間を接続し、第1の通信装置に設けられたCP
Uなどで構成された制御部によるクロック信号に応じて
第1及び第2の通信装置からデータを1ビットずつ伝送
させると共に、ストローブ信号によりデータ伝送方向の
切換指令を行っているので、第2の通信装置の通信動作
は第1の通信装置が備えるCPUなどで構成された制御
部から制御の下で行え、第2の通信装置側には上記制御
部のような高価な構成を必要とせず、安価に構成でき、
しかも各通信装置間の配線が2本の信号線とクロック線
及びストローブ線だけで済み、配線の本数を削減できる
利点がある。
Effects of the Invention As described above, the present invention has a control panel equipped with a control device that controls the operation of devices according to a program, and a first communication device that is connected to the device that receives control from the control device. The operation panel provided includes a second communication device, a first signal line for transmitting data from the first communication device to the second communication device, and a first signal line for transmitting data from the second communication device to the first communication device. The communication devices are connected by a second signal line for transmission, and a clock line and a strobe line for respectively transmitting a clock signal and a strobe signal from the first communication device side to the second communication device. CP installed in the device
Data is transmitted one bit at a time from the first and second communication devices in accordance with a clock signal from a control unit composed of a U, etc., and a strobe signal is used to issue a command to switch the data transmission direction. The communication operation of the communication device can be performed under the control of a control unit including a CPU included in the first communication device, and an expensive configuration such as the control unit described above is not required on the second communication device side. Can be configured inexpensively,
Furthermore, the wiring between each communication device requires only two signal lines, a clock line, and a strobe line, which has the advantage of reducing the number of wiring lines.

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

【図1】本発明の一実施例の通信装置の構成図である。FIG. 1 is a configuration diagram of a communication device according to an embodiment of the present invention.

【図2】同上の動作説明図である。FIG. 2 is an explanatory diagram of the same operation as above.

【図3】従来の制御装置と操作盤との接続状態を示す説
明図である。
FIG. 3 is an explanatory diagram showing a connection state between a conventional control device and an operation panel.

【図4】従来の信号線を本数を削減した通信方式の説明
図である。
FIG. 4 is an explanatory diagram of a conventional communication system in which the number of signal lines is reduced.

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

A  制御盤 B  操作盤 L1 ,L2   信号線 L3   クロック線 L4   ストローブ線 1  制御装置 10,20  通信装置 11  マイクロコンピュータ A  制御盤 B  操作盤 L1 ,L2   信号線 L3   クロック線 L4   ストローブ線 1  制御装置 10,20  通信装置 11  マイクロコンピュータ A Control panel B Operation panel L1, L2 signal line L3 Clock line L4 Strobe wire 1 Control device 10, 20 Communication device 11 Microcomputer A Control panel B Operation panel L1, L2 signal line L3 Clock line L4 Strobe wire 1 Control device 10, 20 Communication device 11 Microcomputer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  プログラムに応じて機器の動作を制御
する制御装置が装備された制御盤が第1の通信装置を備
えると共に、制御装置から制御を受ける機器側に設けら
れる操作盤が第2の通信装置を備え、第1の通信装置か
ら第2の通信装置にデータを伝送する第1の信号線と、
第2の通信装置から第1の通信装置にデータを伝送する
第2の信号線と、第1の通信装置側から第2の通信装置
にクロック信号及びストローブ信号を夫々送信するクロ
ック線及びストローブ線とで上記通信装置間を接続し、
第1の通信装置に設けられたCPUなどで構成された制
御部によるクロック信号に応じて第1及び第2の通信装
置からデータを1ビットずつ伝送させると共に、ストロ
ーブ信号によりデータ伝送方向の切換指令を行って成る
ことを特徴とするデータ伝送方式。
Claim 1: A control panel equipped with a control device that controls the operation of the device according to a program is provided with a first communication device, and an operation panel provided on the device side that receives control from the control device is a second communication device. a first signal line that includes a communication device and transmits data from the first communication device to the second communication device;
A second signal line that transmits data from the second communication device to the first communication device, and a clock line and a strobe line that transmit the clock signal and strobe signal from the first communication device to the second communication device, respectively. Connect the above communication devices with
Transmits data one bit at a time from the first and second communication devices in response to a clock signal by a control unit including a CPU or the like provided in the first communication device, and instructs switching of the data transmission direction using a strobe signal. A data transmission method characterized by performing the following.
JP3008696A 1991-01-28 1991-01-28 Data transmission system Withdrawn JPH04252599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3008696A JPH04252599A (en) 1991-01-28 1991-01-28 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3008696A JPH04252599A (en) 1991-01-28 1991-01-28 Data transmission system

Publications (1)

Publication Number Publication Date
JPH04252599A true JPH04252599A (en) 1992-09-08

Family

ID=11700088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3008696A Withdrawn JPH04252599A (en) 1991-01-28 1991-01-28 Data transmission system

Country Status (1)

Country Link
JP (1) JPH04252599A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141963A (en) * 2006-12-06 2008-06-26 Matsuyama Plow Mfg Co Ltd Agricultural work vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008141963A (en) * 2006-12-06 2008-06-26 Matsuyama Plow Mfg Co Ltd Agricultural work vehicle

Similar Documents

Publication Publication Date Title
KR940017437A (en) Transmission method, reception method, communication method and two-way bus system
JPH0651881A (en) Communication unit
US5752184A (en) Remote control signal receiving circuit capable of processing a signal from a plurality of kinds of remote control transmitter
JPH04252599A (en) Data transmission system
US4803411A (en) Industrial sewing machine
US5892459A (en) Processing circuit for input signal from key or remote-controller
US5623515A (en) Data communication system for reducing a risk of transmission errors
JPH07200010A (en) Programmable controller and communication method of exclusive control therefor
JPH0916517A (en) Bus interface
JP3472891B2 (en) Control communication system
JPH10290268A (en) Synchronous serial communication circuit and communicating method
JPH0323706A (en) Signal termination circuit
KR900001998B1 (en) Parallel connector circuit of i/o module for programmable controller
JPH08298513A (en) Control communication system
KR960009912B1 (en) Serial communication apparatus
KR20020097355A (en) A network system for a vehicle using power line
JPH0738399A (en) Bidirectional buffer circuit
JP2601188B2 (en) Communication device of flag synchronous line
JP2002215566A (en) Data transmission bus system
JPH11232208A (en) Connection device for external connection equipment
JPH01114133A (en) Signal transmission circuit
JPH06291766A (en) Control communication system
JPH04336726A (en) Data transmitter
JPH04223513A (en) Terminal card
JPH0496103A (en) Electronic control wiring device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514