JPH05108119A - Communication processing method using serial transmission line - Google Patents

Communication processing method using serial transmission line

Info

Publication number
JPH05108119A
JPH05108119A JP3272574A JP27257491A JPH05108119A JP H05108119 A JPH05108119 A JP H05108119A JP 3272574 A JP3272574 A JP 3272574A JP 27257491 A JP27257491 A JP 27257491A JP H05108119 A JPH05108119 A JP H05108119A
Authority
JP
Japan
Prior art keywords
units
remote
unit
transmission
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3272574A
Other languages
Japanese (ja)
Inventor
Shigenobu Omori
重信 大森
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP3272574A priority Critical patent/JPH05108119A/en
Publication of JPH05108119A publication Critical patent/JPH05108119A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To make the high speed of transmission by transmitting all units to require the speed for each transmission cycle out of remote I/O units and transmitting the unit which may be late, for each prescribed number of units. CONSTITUTION:In a PC(programmable controller) having a remote I/O function, for example, seven pieces of remote I/O units 4-16 are connected through a serial transmission line to a PC main body 2. That is, three increasing units 4, 6 and 8 to require the speed for the input and output response time and four special units 10, 12, 14 and 16 for which the input output data quantity is comparatively large and the response time also may be late more or less are connected. Concerning the units 4, 6 and 8, the transmission is wholy performed for each transmission cycle, and concerning the units 10, 12, 14 and 16, the transmission is performed for each prescribed number of units for each transmission cycle. Thus, the transmission cycle of the unit in which the input and output response time must be fast is shortened and the input output response time is minimized.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラ本体と、シリアル伝送ラインを介して該本体に接
続された複数のリモートI/Oユニットとの間で入出力
データの伝送を行う通信処理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing method for transmitting input / output data between a programmable controller main body and a plurality of remote I / O units connected to the main body via a serial transmission line. It is a thing.

【0002】さらに詳述すれば、本発明は、シリアル伝
送で結ばれるリモートI/O機能を備えたプログラマブ
ルコントローラ(以下、PCと略す)における通信処理
方法に関するものである。
More specifically, the present invention relates to a communication processing method in a programmable controller (hereinafter abbreviated as PC) having a remote I / O function connected by serial transmission.

【0003】[0003]

【従来の技術】シリアル伝送ラインで結ばれたリモート
I/O機能を持つPCにおいて、この伝送ラインに接続
される複数のリモートI/OユニットとPC本体との間
で入出力データの通信を行うにあたり、各リモートI/
OユニットとPC本体との間の入出力データ伝送を1台
分ずつ行い、接続台数分が終わると、また最初のユニッ
トから順に1台ずつ行うという通信処理方法がとられて
いる。
2. Description of the Related Art In a PC having a remote I / O function connected by a serial transmission line, input / output data is communicated between a plurality of remote I / O units connected to the transmission line and the PC body. Each remote I /
A communication processing method is adopted in which input / output data transmission between the O unit and the PC main body is performed one by one, and when the number of connected units is completed, one unit is sequentially performed from the first unit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら術来の方
法では、伝送速度が比較的遅く且つ接続されるリモート
I/Oユニットの数が多い場合、あるいは各リモートI
/Oユニットの入出力データ量が多量である場合には、
最初のユニットから最後のユニットまでの伝送時間が長
くなってしまうので、入出力応答スピードが要求される
リモートI/Oユニットに対しては速度が遅くて実用に
ならないといった問題があった。
However, according to the conventional method, when the transmission speed is relatively slow and the number of connected remote I / O units is large, or when each remote I / O unit is connected.
If the input / output data volume of the / O unit is large,
Since the transmission time from the first unit to the last unit becomes long, there is a problem that the remote I / O unit, which requires an input / output response speed, is too slow to be used practically.

【0005】そこで本発明の目的は、前述した従来装置
の欠点を除去し、入出力応答速度の異なるリモートI/
Oユニットが混在する場合にも伝送速度の高速化が可能
な通信処理方法を提供することにある。
Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks of the conventional device and to provide a remote I / O device having different input / output response speeds.
An object of the present invention is to provide a communication processing method capable of increasing the transmission speed even when O units are mixed.

【0006】[0006]

【課題を解決するための手段】本発明では、上述の課題
を解決するために、プログラマブルコントローラ本体
と、シリアル伝送ラインを介して該本体に接続された複
数のリモートI/Oユニットとの間で入出力データの伝
送を行うにあたり、複数の前記リモートI/Oユニット
を、入出力応答スピードが要求される第1群のユニット
と、その他の第2群のユニットに分け、前記第1群のユ
ニットについては各伝送サイクル毎に全て伝送を行い、
前記第2群のユニットについては各伝送サイクル毎に所
定ユニット数分ずつ伝送を行うものである。
According to the present invention, in order to solve the above-mentioned problems, a programmable controller main body and a plurality of remote I / O units connected to the main body via a serial transmission line are provided. When transmitting input / output data, the plurality of remote I / O units are divided into a first group unit that requires an input / output response speed and another second group unit, and the first group unit is divided into units. Is transmitted every transmission cycle,
With respect to the units of the second group, a predetermined number of units are transmitted for each transmission cycle.

【0007】[0007]

【作用】本発明によれば、伝送ラインに接続されるリモ
ートI/Oユニットを、入出力応答スピードが要求され
るユニットと、入出力応答時間が比較的かかってもかま
わないユニットに分け、スピードが要求されるユニット
については毎伝送サイクル全て伝送を行い、遅くてもか
まわないユニットについては各伝送サイクルで所定台数
(例えば1台)分ずつ伝送を行うことにより、伝送サイ
クルが大きくなりすぎないようにしている。
According to the present invention, the remote I / O unit connected to the transmission line is divided into a unit that requires an I / O response speed and a unit that requires a relatively long I / O response time. The transmission cycle is not too large by transmitting all the transmission cycles for the required units, and by transmitting a predetermined number (for example, one unit) in each transmission cycle for the units that may be delayed. I have to.

【0008】[0008]

【実施例】以下、本発明の実施例を説明する。EXAMPLES Examples of the present invention will be described below.

【0009】図1は、リモートI/O機能を持ったPC
の本実施例におけるシステム構成を示す。図1におい
て、PC本体2には、シリアル伝送ラインを介して、リ
モートI/Oユニットが7台接続されている。すなわ
ち、入出力応答時間にスピードが要求される3台の増設
ユニット4,6,8と、比較的入出力データ量が大き
く、また応答時間も多少遅くてもかまわない4台の特殊
ユニット10,12,14,16が接続されている。
FIG. 1 shows a PC having a remote I / O function.
2 shows a system configuration in this embodiment. In FIG. 1, seven remote I / O units are connected to the PC body 2 via a serial transmission line. That is, three expansion units 4, 6 and 8 which require a high speed input / output response time, and four special units 10 which have a relatively large input / output data amount and may have a slightly slower response time. 12, 14, 16 are connected.

【0010】図2は、本実施例におけるリモートI/O
通信のタイミングを示す。本実施例では、1つの伝送サ
イクルで増設ユニット3台全部と特殊ユニット1台の入
出力データの伝送が行われ、4回の伝送サイクルにより
特殊ユニット全ての入出力データの伝送が行われる。
FIG. 2 shows the remote I / O in this embodiment.
The communication timing is shown. In this embodiment, input / output data of all three expansion units and one special unit is transmitted in one transmission cycle, and input / output data of all special units is transmitted in four transmission cycles.

【0011】よって、リモートI/Oユニット7台全て
と各伝送サイクル毎に通信する従来例に比べて、増設ユ
ニット側から見た場合には、より短い伝送サイクルで通
信を行うことができるようになる。
Therefore, as compared with the conventional example in which communication is performed with all seven remote I / O units in each transmission cycle, when viewed from the extension unit side, communication can be performed in a shorter transmission cycle. Become.

【0012】[0012]

【発明の効果】以上説明したとおり本発明によれば、リ
モートI/O機能を持ったPCにおいて、接続されるリ
モートI/Oユニットを入出力応答時間が速くなければ
ならないものと、遅くてもかまわないものとに分け、遅
くてもかまわないユニット(例えば、人間が操作した
り、表示を見たりするもの)については1つの伝送サイ
クルで所定台分(例えば1台分)しか入出力データ伝送
を行わないようにすることができるので、入出力応答時
間の速くなければならないユニットの伝送サイクルを短
くし、入出力応答時間を小さくすることが可能となる。
As described above, according to the present invention, in the PC having the remote I / O function, the connected remote I / O unit must have a fast input / output response time, and even if it is late, Input / output data transmission for only a predetermined number of units (for example, one unit) in one transmission cycle for units that do not matter, such as units that can be operated late (for example, those that are operated by humans or see the display) Therefore, it is possible to shorten the transmission cycle of the unit, which must have a fast input / output response time, and shorten the input / output response time.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すシステム構成図であ
る。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】本実施例におけるリモートI/O通信タイミン
グを示す図である。
FIG. 2 is a diagram showing a remote I / O communication timing in this embodiment.

【符号の説明】 2 PC(プログラマブルコントローラ)本体 4,6,8 増設ユニット 10,12,14,16 特殊ユニット[Explanation of symbols] 2 PC (programmable controller) main unit 4, 6, 8 Expansion unit 10, 12, 14, 16 Special unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラ本体と、シ
リアル伝送ラインを介して該本体に接続された複数のリ
モートI/Oユニットとの間で入出力データの伝送を行
うにあたり、 複数の前記リモートI/Oユニットを、入出力応答スピ
ードが要求される第1群のユニットと、その他の第2群
のユニットに分け、 前記第1群のユニットについては各伝送サイクル毎に全
て伝送を行い、前記第2群のユニットについては各伝送
サイクル毎に所定ユニット数分ずつ伝送を行うことを特
徴とする通信処理方法。
1. When transmitting input / output data between a programmable controller main body and a plurality of remote I / O units connected to the main body via a serial transmission line, a plurality of the remote I / O units are provided. Is divided into a unit of the first group for which an input / output response speed is required and a unit of the other second group, all the units of the first group are transmitted in each transmission cycle, and the units of the second group are The communication processing method is characterized in that a predetermined number of units are transmitted for each transmission cycle.
JP3272574A 1991-10-21 1991-10-21 Communication processing method using serial transmission line Pending JPH05108119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3272574A JPH05108119A (en) 1991-10-21 1991-10-21 Communication processing method using serial transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3272574A JPH05108119A (en) 1991-10-21 1991-10-21 Communication processing method using serial transmission line

Publications (1)

Publication Number Publication Date
JPH05108119A true JPH05108119A (en) 1993-04-30

Family

ID=17515812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3272574A Pending JPH05108119A (en) 1991-10-21 1991-10-21 Communication processing method using serial transmission line

Country Status (1)

Country Link
JP (1) JPH05108119A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998035296A1 (en) * 1997-02-07 1998-08-13 Mitsubishi Denki Kabushiki Kaisha Bus controller and bus control system
JP2010003041A (en) * 2008-06-19 2010-01-07 Koyo Electronics Ind Co Ltd Programmable controller system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998035296A1 (en) * 1997-02-07 1998-08-13 Mitsubishi Denki Kabushiki Kaisha Bus controller and bus control system
US6430634B1 (en) 1997-02-07 2002-08-06 Mitsubishi Denki Kabushiki Kaisha Bus controller and bus control system
JP2010003041A (en) * 2008-06-19 2010-01-07 Koyo Electronics Ind Co Ltd Programmable controller system

Similar Documents

Publication Publication Date Title
RU95104887A (en) Video memory and method for serial data output
JPH05108119A (en) Communication processing method using serial transmission line
JPH02210685A (en) Dram controller
KR970028966A (en) Integrated Circuit Input / Output Processor with Improved Timer Performance
JPH05342172A (en) Multiprocessor system
JPH0363863A (en) Microcomputer
KR0171848B1 (en) Digital interface circuit
JP2504615B2 (en) Signal transmission timing control system
JP2001005742A (en) Data transfer system
JPH0282342A (en) Data communication equipment
JPH04274547A (en) Data transfer system
KR930011483A (en) Multiple serial communication method
JPH03292698A (en) Shift register circuit
JPS60143046A (en) Cyclic transmission system
JPS63170759A (en) Data process system
JPH03141450A (en) Peripheral equipment
JPH0328937A (en) Peripheral controller
JPH0354647A (en) Memory access system
JPH0514972A (en) State change data transmission system
JPS63299519A (en) Companding processor
JPS60117844A (en) Data transmission system between processors
JPS62249256A (en) Data transfer control processing system
JPH04319718A (en) Lsi setting system
JPH07271831A (en) Logic simulation device
JPH0410043A (en) Bus transfer system and information processing system