JPS61190603A - Multiprogrammable control device - Google Patents

Multiprogrammable control device

Info

Publication number
JPS61190603A
JPS61190603A JP2943685A JP2943685A JPS61190603A JP S61190603 A JPS61190603 A JP S61190603A JP 2943685 A JP2943685 A JP 2943685A JP 2943685 A JP2943685 A JP 2943685A JP S61190603 A JPS61190603 A JP S61190603A
Authority
JP
Japan
Prior art keywords
address
output
block
input
memory
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
JP2943685A
Other languages
Japanese (ja)
Inventor
Wataru Sasaki
亘 笹木
Tadashi Okamoto
正 岡本
Hiromasa Yamaoka
弘昌 山岡
Kazuhiko Shimoyama
和彦 下山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2943685A priority Critical patent/JPS61190603A/en
Publication of JPS61190603A publication Critical patent/JPS61190603A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's

Abstract

PURPOSE:To rationalize the capacity of a memory by providing the memory of a data link device with an address conversion mechanism for addressing of this memory. CONSTITUTION:A programmable controller (PC) 210 is constituted with an essential PC consisting of CPU211, a main memory 211A, an I/O 212, and a common bus 213, a bus interface 214, and the data link device consisting of a connecting circuit 215 and a link data storage part 218. This link data storage part 218 is provided with a memory 216 for buffer and an address conversion mechanism 217. The address conversion mechanism 217 performs the address conversion for correspondence between addresses on a bus 219 and addresses of the main memory 216. In this address conversion, a block to which a given input/output address belongs is discriminated, and an address of the main memory 216 to which this block corresponds is calculated.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、プログラマブルコントロー−7(以下、PC
と称する)、特に、分散設置され次マルチプログラマブ
ルコントロール装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention provides a programmable controller 7 (hereinafter referred to as a PC).
In particular, it relates to distributed multi-programmable control devices.

〔発明の背景〕[Background of the invention]

従来の分散設置形のマルチP C1cid、特開昭58
−92006号がある。複数台のPCを設け、各PCK
H、データリンク装置を設置する。このデータリンク装
置に、データリンクケーブルを介して相互に接続される
。従って、各データリンク装置に、対応するPCと結合
してなると共に、データリンクケーブルとも結合する構
成となる。
Conventional distributed multi-PC C1cid, JP-A-58
There is No.-92006. Install multiple PCs, each PCK
H. Install data link equipment. These data link devices are interconnected via data link cables. Therefore, each data link device is connected not only to a corresponding PC but also to a data link cable.

各データリンク装置に、メモリを持ち、このメモリに、
自己の対応するPCにとってはデータを一時的に記憶す
るバッファの役割を持つ。メモリa1自己の対応するP
Cでの入出力機器との応答で取込んだ入出力データを記
憶するエリアの他に、自己以外のPC用のエリアを個別
に割当てておく。
Each data link device has a memory, and this memory contains
For its corresponding PC, it serves as a buffer for temporarily storing data. Corresponding P of memory a1 self
In addition to the area for storing input/output data captured in response to input/output equipment in C, an area for PCs other than the own is individually allocated.

この自己以外のPC用のエリアにに、個別に割当て次P
Cからの入出力データをPC対応に記憶する。この自己
以外のPC用のエリアに格納する入出力データに、自己
のPCにとって必要とするデータである。即ち、PCを
分散設置し次結果、各PCH自己PCに独自に結合する
入出力機器との間で入出力制御を行うことになる。然る
に、他のPCの入出力機器との間で、データを必要とす
る場合が生ずる。いわゆる他PC用入出力データの自己
PCでの利用である。そこで、他PCの入出力データを
、自己のデータリンク装置内のメモリに格納させ友上で
、自己のPCが利用しようとしたのである。
Individually assign the next page to the area for PCs other than this one.
Stores input/output data from C in a PC-compatible manner. The input/output data stored in this area for PCs other than the own PC is data necessary for the own PC. That is, the PCs are installed in a distributed manner, and as a result, input/output control is performed between each PCH and the input/output devices independently connected to its own PC. However, there may be cases where data is required between input/output devices of other PCs. This is the so-called use of input/output data for other PCs on the own PC. Therefore, I tried to store the input/output data of other PCs in the memory of my own data link device and use it on my friend's PC.

この従来装置によれば、データリンク装置を設け、且つ
バッファ用のメモIJ tその内部に設け、且つこのメ
モリ内に自己PC以外の他PCでの入出力データを格納
させ、自己PCiこのバッファ用メモリを自由にアクセ
スすることによって、分散設置の欠点を独自に解決でき
次。
According to this conventional device, a data link device is provided, a memory for a buffer is provided inside the device, input/output data from other PCs other than the own PC is stored in this memory, and the data link device for the buffer is stored in this memory. By freely accessing memory, the disadvantages of distributed installation can be uniquely solved.

然るに、データリンク装置内でのバッファ用メモリの容
量の問題がある。
However, there is a problem with the capacity of the buffer memory within the data link device.

第1にPCの数の増加に従ってメモリ容量が増大するこ
とである。第2にPC対応に個別に設ける容量を限定す
ることによっである程度以上の容量の増加を防止できる
が、本来、PCに必要な容量がどれだけであるかげ一義
的に決まらない。従って、不用な容量を持つことが多い
First, memory capacity increases as the number of PCs increases. Second, by limiting the capacity that is provided individually for PCs, it is possible to prevent the capacity from increasing beyond a certain level, but originally the capacity required for a PC cannot be unambiguously determined. Therefore, it often has unnecessary capacity.

〔発明の目的〕[Purpose of the invention]

本発明の目的に、データリンク装置内のメモリの容量の
適正化をばかってなるマルチプログラマブルコントロー
ル装置を提供するものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a multi-programmable control device that allows optimization of memory capacity within a data link device.

〔発明の概要〕[Summary of the invention]

本発明に、データリンク装置のメモリのアトVス指定の
次めにアドレス変換機構を設けtものである。
In the present invention, an address conversion mechanism is provided next to the address specification of the memory of the data link device.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明のマルチPCの実施例図である。 FIG. 1 is a diagram showing an embodiment of a multi-PC according to the present invention.

PC210,220,・・・・・・、230ぼ、便宜上
、前記従来例での本来のPCとデータリンク装置とを含
むこととした。各PC210,220,・・・・・・。
For convenience, the PCs 210, 220, . . . , 230 are shown to include the original PC and data link device in the conventional example. Each PC210, 220,...

230は同一内部構成より成る。各PC210゜220
、・・・・・・、230Uデータリンクケーブル201
で相互に結合する。
230 has the same internal configuration. Each PC210°220
,...,230U data link cable 201
are mutually connected.

PC210を代置して説明する。The explanation will be made using the PC 210 instead.

PC210にCPU211、主メ゛モリ (MEM)2
11A、l10212、共通バス213より成る本来の
PCと、バスインターフェースCBIP)214と、結
合回路(CE)215、リンクデータ記憶部218より
成るデータリンク装置とより成る。
PC210 with CPU211 and main memory (MEM)2
11A, 110212, and a common bus 213, a bus interface (CBIP) 214, a data link device consisting of a coupling circuit (CE) 215, and a link data storage section 218.

リンクデータ記憶部218iバツフア用メモリ216と
アドレス変換機構(AC)217より成る。AC217
かないものとして先ず動作説明す ゛る。
The link data storage section 218i consists of a buffer memory 216 and an address conversion mechanism (AC) 217. AC217
First, I will explain the operation as a temporary one.

本来のPCとしての機能if、MEM211 Aに格納
されているプログラムに従ってCPU211がMEM2
11A内のデータの処理を行い、必要によりl1021
2に介して外部の制御系へデータ出力を行い、必要によ
りl10212を介してデータ入力を行う。且つ、その
CPU211にょ゛る処理からシーケンスコントロール
を遂行する。
If the original PC function, CPU211 performs MEM2 according to the program stored in MEM211
Process the data in 11A and update l1021 as necessary.
Data is output to an external control system via 2, and data is input via 110212 if necessary. In addition, sequence control is performed from processing by the CPU 211.

以上が分散設置し念PCとしての本来の機能である。−
一方、データリンク装置のMEM216[、他のPC対
応に決まつtPC対応エリアを持ち、このエリア内のデ
ータを、CPU211がアクセスし、自己のシーケンス
処理に利用する。更に、MEM216i自己のPC用の
データバッファエリアを持つことは云うまでもない。
The above are the original functions of a distributed PC. −
On the other hand, the MEM 216 of the data link device has a tPC compatible area that is determined to be compatible with other PCs, and the CPU 211 accesses the data in this area and uses it for its own sequence processing. Furthermore, it goes without saying that the MEM 216i has its own data buffer area for the PC.

MEM216への他PC220,・・・・・・、230
からのデータの格納に、各PC220,・・・・・・。
Other PCs 220, 230 to MEM 216
Each PC 220, . . .

230が必要に応じて任意に送ることによってなしても
よい。この場合、例えば、PC220にあってi、l1
0222から取込んだデータの全部又は一部をBIF2
24→CE225→ケーブル201→CE215→ME
M216を介して格納してもよく、又はCPU221が
一定の判断をしその結果を上記糸路を介して送出格納さ
せてもよく、又iMEM211Aに記憶し念後、同様に
送ってもよく、又[MEM226に格納し次後、CE2
25を介して同様に送ってもよい。
230 may be sent arbitrarily as necessary. In this case, for example, i, l1 on the PC 220
All or part of the data imported from 0222 to BIF2
24→CE225→Cable 201→CE215→ME
It may be stored via the M216, or the CPU 221 may make a certain judgment and send and store the result via the thread path, or it may be stored in the iMEM 211A and sent in the same way afterward. [Stored in MEM226, then CE2
It may also be sent via 25.

他の方法としてi、pc毎に送出順位を決めておき、そ
の順位に従って送ってもよい。例えば、PC210→P
C220→・・・→PC230の順にケーブル201に
送出する順位を決めておき、先ずPC210がケーブル
201に自己のI10データをCF215を介して送出
する。他P C220゜・・・・・・、230でi、P
C210からの送出データの中で自己のPCにとって必
要なデータを選び、内部のMBM226.・・・・・・
に格納することになる。
As another method, a transmission order may be determined for each i and pc, and the data may be sent according to that order. For example, PC210→P
The order of sending to the cable 201 is determined in the order of C220→...→PC230, and first, the PC210 sends its own I10 data to the cable 201 via the CF215. Other P C220゜..., 230, i, P
Select the data necessary for your PC from among the data sent from the C210 and send it to the internal MBM226.・・・・・・
It will be stored in.

この処理が終了すると、PC220が送出する立場とな
り、CE225を介してケーブル201に送出する。他
PC1例えばPC210H1自己に必要なデータtME
M216に格納する。PC230でも同様である。
When this process is completed, the PC 220 becomes the sender and sends the data to the cable 201 via the CE 225. Data tME necessary for other PC1, for example, PC210H1 itself
Store in M216. The same applies to the PC 230.

以下、PC220以下のPCについても同様な処理とな
り、MEM216に框、全pcのデータが対応エリア毎
に格納される。
Thereafter, similar processing is performed for the PCs below PC 220, and the data of the frame and all PCs is stored in the MEM 216 for each corresponding area.

以上に、アドレス変換機構217t−省略し次説明であ
る。
As above, the address translation mechanism 217t will be omitted and the following explanation will be given.

アドレス変換機構217は、パス219上のアドレスと
MEM216のアドレスとの対応づけの友めのアドレス
変換を行う。MEM216の全アドレス空間をMlとし
、バス219上で扱う全アドレス空間をM2とするとき
、Ml<M2、特にMl<<M2にあるものとする。
The address translation mechanism 217 performs address translation for associating the address on the path 219 with the address of the MEM 216. When the total address space of the MEM 216 is M1 and the total address space handled on the bus 219 is M2, it is assumed that M1<M2, particularly M1<<M2.

第2図ぼ、PC210t−自PCとしてメモリ216に
関し3てのIloの入出力番地とMEM216の番地と
の対応表である。今、PCの数を全部で128個に設定
したとする。この128個のPC用の入出力番地を図の
ように割当てる。即ち、工10の入出力番地の全アドレ
ス空間を、PC対応に割当てる。図では、下記の如き番
地の割当てを行う。
FIG. 2 is a correspondence table between the input/output addresses of Ilo and the addresses of MEM 216 for the memory 216 of the PC 210t-own PC. Now assume that the total number of PCs is set to 128. The input/output addresses for these 128 PCs are allocated as shown in the figure. That is, the entire address space of the input/output addresses of the device 10 is allocated to correspond to the PC. In the figure, addresses are allocated as follows.

自PC・・・ooooo〜0OF1’FPCI・・・0
1000〜0IFFF PC2・・・02000〜02FF’FPC3・・・0
3000〜03FFF PC127・・・7F’OOO〜7FFFFこのアドレ
スの中で、斜線部分を実際に使う領域とすると、自己P
Cにとってh、oooo〜0OFFFのすべてを使用し
、他PCにあっては、斜線で示す如くその一部を使用す
る。PC2〜PCI27での斜線部をそれぞれブロック
と称することとする。
Own PC...ooooo~0OF1'FPCI...0
1000~0IFFF PC2...02000~02FF'FPC3...0
3000~03FFF PC127...7F'OOO~7FFFF If the shaded area in this address is the area that is actually used, the self-P
For C, all of h, oooo to 0OFF are used, and for other PCs, a part of them is used as shown by diagonal lines. The shaded portions of PC2 to PCI27 are respectively referred to as blocks.

各ブロック内は、連続アドレスをなす。メモリ216μ
各ブロツクの割当て領域を持つ。かかるメモリ216の
アドレスとブロックとの対応づけ及びブロック内のアド
レスとの対応付けを行うのがAC217である。例えば
、PC2からのデータをブロックB2とすると、このブ
ロックB2Hメモリ216にブロックMB2として格納
される。
Each block contains consecutive addresses. Memory 216μ
Each block has an allocated area. The AC 217 associates addresses in the memory 216 with blocks and addresses within blocks. For example, if the data from PC2 is block B2, it is stored in block B2H memory 216 as block MB2.

このブロックB2とブロックMB2とのアトVス対応付
けをAC217が行う。
The AC 217 performs the atto-VS correspondence between the block B2 and the block MB2.

伺、第2図で、OOOOO−00FFFまでのアドレス
領域にアドレス変換を必要としない部分である。
In FIG. 2, the address area from OOOOO to 00FFF is a part that does not require address translation.

この理由a1自PCにとってi、ooooo〜001’
FF H1I10212との間TCPU211が直接ア
クセスできるためである。
This reason for a1's own PC is i, oooooo ~ 001'
This is because the TCPU 211 can directly access the FF H1I 10212.

次にアドレス変換の方法を述べる。Next, the address translation method will be described.

アドレス変換に、与えられた入出力番地がどのブロック
に属するか判定し、そのブロックが対応するMEM21
6の番地を算出することによってなす。
For address conversion, it is determined which block a given input/output address belongs to, and the MEM 21 to which the block corresponds
This is done by calculating the address of 6.

ブロックの判定に各ブロックの先頭入出力番地と最終入
出力番地を登録しておき、これと比較することにより判
定する。入出力番地に対応するMEM216の番地の算
出に、ブロックの先頭入出力番地tA1、それに対応す
るMEM216の番地t−A2とすると、各ブロックに
ついて、A3=A2−AtとなるA3の値を登録してお
き、該当するブロックの入出力番地A4に対して、A4
十λ3を計算することにより、MEM216のA4に対
応する番地を求める。
For block determination, the first input/output address and the final input/output address of each block are registered and compared with these for determination. To calculate the address of the MEM 216 corresponding to the input/output address, if the first input/output address of the block is tA1 and the corresponding address of the MEM 216 is t-A2, for each block, register the value of A3 such that A3 = A2 - At. Then, for the input/output address A4 of the corresponding block,
By calculating λ3, the address corresponding to A4 of the MEM 216 is obtained.

8g3図にアドレス変換テーブル構成図である。Figure 8g3 shows the configuration of the address conversion table.

テーブル104に框ブロックの先頭番地BTAI。The table 104 contains the starting address BTAI of the frame block.

BTA2.BTA3.・・・・・・を格納する。B’r
A1にブロック番号1のブロックの先頭アドレス(第2
図でHB2の先頭アドレス)、BTA2rcブロック番
号2のブロックの先頭アドレス(第2図でiB3の先頭
アドレス)を示す。他の指示内容も同様な役割を持つ。
BTA2. BTA3. ...... is stored. B'r
A1 is the start address of the block with block number 1 (second
The first address of the block with BTA2rc block number 2 (the first address of iB3 in FIG. 2) is shown. Other instruction contents have similar roles.

テーブル105にa1ブロックの最終番地BEAI。Table 105 shows the final address BEAI of block a1.

BEA2.BEλ3.・・・・・・を格納する。BEA
lは、ブロックB2の最終アドレス、BEA2i、ブロ
ックB3の最終アドレス、・・・・・・を示す。
BEA2. BEλ3. ...... is stored. BEA
l indicates the final address of block B2, BEA2i, the final address of block B3, etc.

テーブル106にa1各ブロック対応の加算値(第2図
で示したA 3 ) BDATAI、 BDATA2.
・・・を格納する。尚、第3図の左端の数字はブロック
対応番号としている。従って、ブロック番号が指定され
ると、該当番号(番地)が即座にアクセスできる。以下
でに、簡単のため、ブロック番号は0.1.2・・・・
・・の如く指定できるものとする。
Table 106 shows the addition values corresponding to each block a1 (A 3 shown in FIG. 2) BDATAI, BDATA2.
... is stored. Note that the numbers at the left end of FIG. 3 are block corresponding numbers. Therefore, when a block number is designated, the corresponding number (address) can be accessed immediately. In the following, for simplicity, the block numbers are 0.1.2...
It shall be possible to specify as follows.

第4図に、アドレス変換のフローチャートである。実際
のアドレス変換器の動作に並列処理なので@4図のとう
りでにないが、!4図で框その考え方を示す。501で
入出力番地を与えられると、502でブロック番号をO
とし、503でブロック番号とブロック数をチェックし
、ブロック番号がブロック数未満ならば、504でブロ
ック番号でアクセスされる104,105の値、すなわ
ちブロックの先頭入出力番地と最終入出力番地の2つに
ついて、与えられた入出力番地を比較し、ブロックの先
頭入出力番地以上、最終入出力番地以下ならば、そのブ
ロックの範囲内であるので、505で、ブロック番号で
アクセスされる106の値を、与えられた入出力番地に
加算することにより、与えられ友人出力番地に対応する
MEMの番地を算出し、506で算出したMEMの番地
を用いてMEMをアクセスする。もし、504で、範囲
外の場合H1507でインデックスを更新し、次のブロ
ックについて503から繰り返す。もし、503にてブ
ロック番号がブロック数以上ならば、与えられ友人出力
番地に対応するブロックげないので、508でアトVス
エラーとする。以上がアドレス変換のフローである。
FIG. 4 is a flowchart of address conversion. It is not as shown in Figure @4 because it is parallel processing to the operation of the actual address converter, but! Figure 4 shows the concept of the frame. When the input/output address is given in 501, the block number is set to O in 502.
Then, in 503, the block number and block number are checked, and if the block number is less than the block number, in 504, the values 104 and 105 accessed by the block number, that is, 2 of the first input/output address and the last input/output address of the block. Compare the given input/output addresses for each one, and if it is greater than or equal to the first input/output address of the block and less than or equal to the last input/output address, it is within the range of that block, so 505 is the value of 106 accessed by the block number. is added to the given input/output address to calculate the MEM address corresponding to the given friend output address, and the MEM address calculated in step 506 is used to access the MEM. If it is outside the range in step 504, the index is updated in step H1507, and the process is repeated from step 503 for the next block. If the block number is greater than or equal to the block number in step 503, there is no block corresponding to the given friend output address, so in step 508, an at-V error is determined. The above is the flow of address conversion.

8@5図ぼ、アドレス変換器のブロック図である。Figure 8@5 is a block diagram of an address converter.

219にバス、217はAC,216にMEMである。219 is a bus, 217 is an AC, and 216 is an MEM.

l0LH与えられ友人出力番地をラッチするレジスタ(
L7V’rCH)、102ぼブロック番号を与えるカウ
ンタ(COUNT)、112iカウンタ102へ与える
クロック信号CLKの発生源、107#−!クロック発
生源112とカウンタ102の間のアンドゲートで、ノ
アゲート113の出力が′1”の時クロック源112の
信号はカウンタ102へ伝わり、ノアゲート113の出
力が10”の時クロック源112の信号げカウンタ10
2へ伝わらず、カウンタ102にカウントアツプしなく
なる。108にブロック番号の上限比較器(GEICO
M)で、カウンタ102からの入力が、制限値設定レジ
スタ103 (L、IME、EG)からの入力以上なら
ば、出力t t 7a’ t”となり、アトVスエラー
を表わす。109μ、下限比較器で、レジスタ104 
(TOP ADDRREG)からの人力(ブロックの先
頭の入出力番地)とラッチレジスタ101からの入力(
与えられた入出力番地)を比較し、後者が前者以上なら
ば出力a″1”、後者が前者未満ならば出力に101と
なる。110げ上限比較器でレジスタ105 (END
 ADDR。
l0LH A register (
L7V'rCH), a counter (COUNT) giving the 102 block number, a source of the clock signal CLK given to the 112i counter 102, 107#-! In the AND gate between the clock generation source 112 and the counter 102, when the output of the NOR gate 113 is '1'', the signal of the clock source 112 is transmitted to the counter 102, and when the output of the NOR gate 113 is 10'', the signal of the clock source 112 is transmitted to the counter 102. counter 10
2, and the counter 102 no longer counts up. 108 is a block number upper limit comparator (GEICO
M), if the input from the counter 102 is greater than or equal to the input from the limit value setting register 103 (L, IME, EG), the output is t t 7a't'', representing an atto V error. 109μ, lower limit comparator So, register 104
(TOP ADDRREG) (starting input/output address of block) and input from latch register 101 (
If the latter is greater than or equal to the former, the output is a ``1'', and if the latter is less than the former, the output is 101. Register 105 (END
ADDR.

REG)からの入力(ブロックの最終の入出力番地)と
レジスタ101からの入力を比較し、後者が前者以下な
らば出力げ′″1”、後者が前者を越えるならば出力に
″O”となる。アンドゲート114は、範囲判定器で、
比較器109 (GE CMP)からの入力と、比較器
(LE CMP) L 10からの人力が共に@l”な
らば、出力118に@1”となり、アドレス変換ができ
たことを表わす。そうでなければ出力118は′O#で
ある。ノアゲート113112、出力117と118か
ら入力しており、どちらかが@1”ならば、出力に@0
”となり、共にIO”ならば出力ぼ“1”となる。ノア
ゲート113の出力10”にアドレス変換中を表わし、
”1”はアドレス変換の終了(アトVスエラーを含む)
を表わす。クロック112の周期に、1ブロツクの比較
に要する時間であり、1ブロツクの範囲判定後、カウン
タ102でのブロック番号B!を更新させる周期である
。111は加算器(ADD)で、レジスタ(ADD D
ATA BEG)106からの入力(変換用加算データ
)と加算器101からの入力を加算することにより、M
EM216の番地を出力115に出す。出力118が@
1”となつ念時、出力115の値が有効であり、出力1
18が″0′の間、出力115の値に無効である。制御
回路(CTRL)116に信号117と118に従い、
MEM216への制御信号を制御するものである。
Compare the input from register 101 (final input/output address of the block) and the input from register 101, and if the latter is less than the former, output ``1'', and if the latter exceeds the former, output ``O''. Become. AND gate 114 is a range determiner,
If the input from the comparator 109 (GE CMP) and the input from the comparator (LE CMP) L10 are both @l'', the output 118 becomes @1'', indicating that address conversion has been completed. Otherwise, output 118 is 'O#. It is input from NOR gate 113112, outputs 117 and 118, and if either one is @1", the output is @0
”, and if both are IO”, the output will be “1”. The output 10” of the NOR gate 113 indicates that the address is being converted,
"1" indicates the end of address translation (including atto V error)
represents. This is the time required to compare one block in the period of the clock 112, and after determining the range of one block, the block number B! at the counter 102 is calculated. This is the period for updating. 111 is an adder (ADD) and a register (ADD
By adding the input from ATA BEG) 106 (conversion addition data) and the input from adder 101, M
The address of EM216 is sent to output 115. Output 118 is @
1”, the value of output 115 is valid, and output 1
18 is "0", the value of the output 115 is invalid.According to the signals 117 and 118 in the control circuit (CTRL) 116,
It controls the control signal to MEM216.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、リンクデータ記憶部で入出力番地のア
ドレス変換を行なうことができるので、広範囲に分布す
る入出力装置のデータを効率良くリンクデータ記憶部へ
格納できるすなわちメモリの節約ができる。また、主演
算処理装置にアドレス変換の処理をする必要がないので
高速でかつ単純に動作できる。ま友、他のPCの入出力
装置に対して一元的に入出力番地を割り付け、広いアト
Vス空間を自由に利用できるので、プログラム作成およ
び保守が容易であるという効果がある。
According to the present invention, since address conversion of input/output addresses can be performed in the link data storage section, data from widely distributed input/output devices can be efficiently stored in the link data storage section, that is, memory can be saved. Further, since there is no need for the main processing unit to perform address conversion processing, it can operate at high speed and simply. Friend, since input/output addresses can be centrally assigned to the input/output devices of other PCs and a wide space can be freely used, program creation and maintenance are easy.

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

第1図a本発明の実施例図、第2図はアドレス変換の説
明図、第3図はアドレス変換テーブルを示す図、第4図
はアドレス変換の処理フロー図、第5図はアトVス変換
機構の実施例図である。 201・・・リンケージケーブル(伝送線路)、210
゜220.230・・・プロクラマプルコントローラ、
217.227・・・アトVス変換機構、216゜22
6・・・バッファ用メモリ。
Figure 1a is an embodiment of the present invention, Figure 2 is an explanatory diagram of address conversion, Figure 3 is a diagram showing an address conversion table, Figure 4 is a processing flow diagram of address conversion, and Figure 5 is an illustration of the address conversion process. It is an example figure of a conversion mechanism. 201...Linkage cable (transmission line), 210
゜220.230...Program pull controller,
217.227...Ato Vs conversion mechanism, 216°22
6...Buffer memory.

Claims (1)

【特許請求の範囲】 1、複数個のプログラマブルコントローラと、該複数個
のプログラマブルコントローラ相互を接続するリンケー
ジ伝送線路とより成り、 各プログラマブルコントローラは、CPUと主メモリと
I/Oとより成るプログラマブルコントローラ本体部と
、他プログラマブルコントローラからの入出力データを
リンケージ伝送路を介して取込み格納するバッファ用メ
モリとを具えると共に、 該バッファメモリのアドレスと自己のプログラマブルコ
ントローラ本体部及びリンケージ伝送路を介してのアド
レスとの対応づけを行うアドレス変換機構を、各プログ
ラマブルコントローラのバッファ用メモリ対応に設けて
なるマルチプログラマブルコントロール装置。
[Claims] 1. A programmable controller consisting of a plurality of programmable controllers and a linkage transmission line interconnecting the plurality of programmable controllers, each programmable controller consisting of a CPU, main memory, and I/O. It includes a main body and a buffer memory that captures and stores input/output data from other programmable controllers via a linkage transmission line, and also communicates the address of the buffer memory with the own programmable controller's main body and via the linkage transmission line. A multi-programmable control device in which an address conversion mechanism for associating the address with the buffer memory of each programmable controller is provided.
JP2943685A 1985-02-19 1985-02-19 Multiprogrammable control device Pending JPS61190603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2943685A JPS61190603A (en) 1985-02-19 1985-02-19 Multiprogrammable control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2943685A JPS61190603A (en) 1985-02-19 1985-02-19 Multiprogrammable control device

Publications (1)

Publication Number Publication Date
JPS61190603A true JPS61190603A (en) 1986-08-25

Family

ID=12276082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2943685A Pending JPS61190603A (en) 1985-02-19 1985-02-19 Multiprogrammable control device

Country Status (1)

Country Link
JP (1) JPS61190603A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104283A (en) * 2007-10-22 2009-05-14 Koyo Electronics Ind Co Ltd System for transmitting/receiving data by modbus and control equipment such as programmable controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104283A (en) * 2007-10-22 2009-05-14 Koyo Electronics Ind Co Ltd System for transmitting/receiving data by modbus and control equipment such as programmable controller

Similar Documents

Publication Publication Date Title
EP0451516B1 (en) Improved SCSI device in a small computer system
US6772237B2 (en) Host controller interface descriptor fetching unit
US6985977B2 (en) System and method for transferring data over a communication medium using double-buffering
JP3181515B2 (en) Data transfer method and data transfer device using the method
US4583163A (en) Data prefetch apparatus
JPH04246745A (en) Memory access system
US6687763B2 (en) ATAPI command receiving method
JPS61190603A (en) Multiprogrammable control device
JPS61123970A (en) Data transmission control system
JP4431492B2 (en) Data transfer unit that supports multiple coherency granules
JPS59173828A (en) Data processing system
JPS6324508Y2 (en)
JP3293838B2 (en) Data transfer method
JP2585852B2 (en) Buffer control method
US20220237132A1 (en) Data transmission method and ping-pong dma architecture
JP2000132451A (en) Memory control circuit
JP3265026B2 (en) I / O data exchange method
JPH01133108A (en) Programmable controller
JPH0520780B2 (en)
JPS6325758A (en) Slave processor
JPS59189462A (en) Information processing system of system constitution state reading method
JPH0395652A (en) Storage device for duplex system
JPS6118032A (en) External memory controller
JP2000305878A (en) Function extension system and data transfer method used for the same
JPS60134364A (en) Bus interface control system