JPH05274012A - Input/output allocation variable programmable controller - Google Patents

Input/output allocation variable programmable controller

Info

Publication number
JPH05274012A
JPH05274012A JP6679892A JP6679892A JPH05274012A JP H05274012 A JPH05274012 A JP H05274012A JP 6679892 A JP6679892 A JP 6679892A JP 6679892 A JP6679892 A JP 6679892A JP H05274012 A JPH05274012 A JP H05274012A
Authority
JP
Japan
Prior art keywords
input
output
memory
data
analog
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.)
Granted
Application number
JP6679892A
Other languages
Japanese (ja)
Other versions
JP3011814B2 (en
Inventor
Norio Hayashi
則夫 林
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
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP4066798A priority Critical patent/JP3011814B2/en
Publication of JPH05274012A publication Critical patent/JPH05274012A/en
Application granted granted Critical
Publication of JP3011814B2 publication Critical patent/JP3011814B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide an input/output allocation variable programmable controller which can occasionally change and set the allocation of an input/output memory to an input/output device. CONSTITUTION:A value setting part 107 of a CPU part 100 inputs the memory conditions set by the screen display to a display part 140. A memory condition setting part 103 sets the head address and the boundary value of the inputted digital input/output data at the storage parts DT and DB and the head address and the boundary value of the analog input/output data at the storage parts AT and AB respectively. A data table part 104 calculates an address AD from a numerical expression DT+DBXPN=AD or AT+ABXPN=AD based on the set memory conditions DT, DB, AT and AB and the device number PN of each of input/output devices 120-i (i=1, 2n) of an input/output part 120. Then the addresses AD are allocated to 100 device numbers (0-99) so that a data input/output table is obtained. The part 100 performs the input/output of data between the devices 120-i and the addresses of an input/output memory which are allocated to the device numbers based on the data input/output table.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラマブルコント
ローラに関し、さらに詳しくは、入出力装置に対するメ
モリ入出力領域のアドレス割付が変更可能な入出力割付
可変プログラマブルコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller, and more particularly, to an input / output assignment variable programmable controller capable of changing the address assignment of a memory input / output area to an input / output device.

【0002】[0002]

【従来の技術】一般に、プログラマブルコントローラ
(以下、PCと称する)の構成は、図6に示すように、
演算及び制御を行うCPU(Central Processing Unit)
部401と、そのCPU部401の制御に基づいて複数
の被制御装置に対して入出力データを入出力するI/O
部420とに分かれている。そのI/O部420とCP
U部401とはバス410を介して接続されている。
2. Description of the Related Art Generally, a programmable controller (hereinafter referred to as a PC) has a configuration as shown in FIG.
CPU (Central Processing Unit) for calculation and control
I / O for inputting / outputting input / output data to / from a plurality of controlled devices under the control of the unit 401 and its CPU unit 401.
It is divided into a part 420. The I / O unit 420 and CP
The U section 401 is connected via a bus 410.

【0003】CPU部401は、ユーザプログラムによ
り動作する演算部404、その演算部404とI/O部
420間で入出力されるデータを記憶するI/Oメモリ
402、及びそのI/Oメモリ402が入出力するデー
タを一時的に蓄えるI/Oバッファ403から成ってい
る。
The CPU section 401 is an arithmetic section 404 operated by a user program, an I / O memory 402 for storing data input / output between the arithmetic section 404 and the I / O section 420, and its I / O memory 402. Is composed of an I / O buffer 403 that temporarily stores data to be input / output.

【0004】I/O部420は、複数の被制御装置に対
して入出力データを入出力するI/O装置(インタフェ
ース)420−1、420−2・・・420−nから成
る。それらのI/O装置420−i(i=1、2・・・
n)は、それぞれ局番設定器430−i(i=1、2・
・・n)を備え、その局番設定器430−iには各I/
O装置430−iに付与される2桁の装置番号(局番)
が設定される。
The I / O unit 420 comprises I / O devices (interfaces) 420-1, 420-2, ... 420-n for inputting / outputting input / output data to / from a plurality of controlled devices. Those I / O devices 420-i (i = 1, 2, ...
n) are station number setters 430-i (i = 1, 2 ...
..N), and the station number setter 430-i has each I / O
Two-digit device number (station number) assigned to O device 430-i
Is set.

【0005】上記CPU部401は、バス410を介し
てI/O部420の各I/O装置420−iから入力す
るデータを、I/Oバッファ403及びI/Oメモリ4
02を介して演算部404に入力し、その入力データを
用いて演算をなし、その演算結果をI/Oメモリ40
2、I/Oバッファ403、及びバス410を介してI
/O部420のI/O装置420−iに出力することに
より、それらのI/O装置420−iに接続される被制
御装置を制御するようになっている。
The CPU section 401 receives data input from each I / O device 420-i of the I / O section 420 via the bus 410, and outputs data to the I / O buffer 403 and the I / O memory 4.
02 to the arithmetic unit 404, the arithmetic operation is performed using the input data, and the arithmetic result is input to the I / O memory 40.
2, I / O buffer 403, and I via the bus 410
By outputting to the I / O device 420-i of the I / O unit 420, the controlled device connected to the I / O device 420-i is controlled.

【0006】上記のデータ入出力においては、I/Oメ
モリ402のアドレスが予め上記各I/O装置430−
iに付与される局番に対応するように設定されており、
その設定に基づいて、I/Oメモリ402のアドレス
と、そのアドレスに対応するI/O装置430−i間で
データの入出力が行われる。
In the above-mentioned data input / output, the address of the I / O memory 402 is previously set in each of the I / O devices 430-.
It is set to correspond to the station number assigned to i,
Based on the setting, data is input / output between the address of the I / O memory 402 and the I / O device 430-i corresponding to the address.

【0007】上記I/O装置420−i(i=1、2・
・・n)は、PCの運用分野に応じて、分野毎に異なる
被制御装置に対応して、様々に異なる組合せをもって構
成される。したがって、I/O装置420−iに対して
I/Oメモリ402のアドレスを対応付けるI/O割付
の仕様も、PCの運用分野により様々に異なったものと
なる。
The I / O device 420-i (i = 1, 2 ...
..N) are configured with various different combinations corresponding to the controlled devices that differ depending on the field of operation of the PC. Therefore, the specification of I / O allocation for associating the address of the I / O memory 402 with the I / O device 420-i also varies depending on the field of operation of the PC.

【0008】図7は、従来のI/O割付の仕様の一例で
ある。同図に示すI/Oメモリ402′には、「00」
〜「99」の2桁で表わされる合計100個のメモリ局
番が設定されている。1つのメモリ局番のデータ境界
(バウンダリ)は1ワードに設定され、アドレスはI/
Oメモリ402′の先頭から1ワード毎に昇順して対応
する。
FIG. 7 shows an example of a conventional I / O allocation specification. The I / O memory 402 'shown in FIG.
Up to a total of 100 memory station numbers represented by two digits of "99" are set. The data boundary (boundary) of one memory station number is set to 1 word, and the address is I /
Corresponding in ascending order for each word from the beginning of the O memory 402 '.

【0009】同図において、I/O装置420−1は、
入出力データが2ワードであり、装置局番が「00」に
設定されている。I/O装置420−1には、その装置
局番「00」に対応するI/Oメモリ402′のメモリ
局番「00」と、それに続くメモリ局番「01」の2つ
のメモリ局番(2ワード分)が割付けられている。
In the figure, the I / O device 420-1 is
The input / output data is 2 words and the device station number is set to "00". The I / O device 420-1 has two memory station numbers (two words) of a memory station number "00" of the I / O memory 402 'corresponding to the device station number "00" and a subsequent memory station number "01". Is assigned.

【0010】次のI/O装置420−2には、上記のよ
うにメモリ局番「01」がメモリ局番「00」と共にI
/O装置420−1に割付け済みであるため、次のメモ
リ局番「02」に対応する装置局番「02」が付与され
ている。そしてI/O装置420−2の入出力データが
1ワードであるので、メモリ局番「02」(1ワード
分)のみが割付けられている。
In the next I / O device 420-2, the memory station number "01" and the memory station number "00" together with the I
Since it has been assigned to the / O device 420-1, the device station number “02” corresponding to the next memory station number “02” is assigned. Since the input / output data of the I / O device 420-2 is one word, only the memory station number “02” (for one word) is assigned.

【0011】また、I/O装置420−nは、装置局番
が「31」に設定され、入出力データが8ワードとなっ
ている。してがって、その装置局番「31」に対応する
I/Oメモリ402′のメモリ局番「31」から「3
8」までの8つのメモリ局番(8ワード分)が割付けら
れている。
In the I / O device 420-n, the device station number is set to "31" and the input / output data is 8 words. Therefore, the memory station numbers "31" to "3" of the I / O memory 402 'corresponding to the device station number "31" are changed.
8 memory station numbers (8 words) up to 8 "are assigned.

【0012】同図の割付け例では、例えば全てのI/O
装置420−iの入出力データが16ワードであれば、
上記I/Oメモリ402′に割付け可能なI/O装置の
個数は、100メモリ局番(=100ワード)÷16ワ
ード=6.25、即ち6個である。また、全てのI/O
装置420−iの入出力データが1ワードであるとすれ
ば、上記I/Oメモリ402′に割付け可能なI/O装
置の個数は、100メモリ局番(=100ワード)÷1
ワード=100、即ち100個である。
In the allocation example shown in the figure, for example, all I / O
If the input / output data of the device 420-i is 16 words,
The number of I / O devices that can be assigned to the I / O memory 402 'is 100 memory station number (= 100 words) ÷ 16 words = 6.25, that is, six. Also, all I / O
If the input / output data of the device 420-i is 1 word, the number of I / O devices that can be assigned to the I / O memory 402 'is 100 memory station number (= 100 words) / 1.
Word = 100, that is, 100 words.

【0013】次に、図8は、従来のI/O割付仕様の他
の例である。I/Oメモリ402″の記憶領域は、例え
ば製品個数の仕分け等を制御するディジタルI/Oメモ
リ領域402″−Dと、例えば動力用の電圧等を制御す
るアナログI/Oメモリ領域402″−Aに2分割され
ている。その2分割された記憶領域はそれぞれ「00」
から「31」まで32のメモリ局番が設定されている。
ディジタルI/Oメモリ領域402″−Dのメモリ局番
のデータ境界(バウンダリ)はそれぞれ4ワード、アナ
ログI/Oメモリ領域402″−Aのメモリ局番のバウ
ンダリはそれぞれ16ワードに設定されている。この場
合も、アドレスはI/Oメモリ402″の先頭から1ワ
ード毎に昇順して対応する。
Next, FIG. 8 shows another example of the conventional I / O allocation specification. The storage area of the I / O memory 402 ″ includes, for example, a digital I / O memory area 402 ″ -D that controls sorting of product numbers and the like, and an analog I / O memory area 402 ″-that controls, for example, power voltage. It is divided into two A. The divided storage areas are each "00".
From 32 to "31", 32 memory station numbers are set.
The data boundary (boundary) of the memory station number of the digital I / O memory area 402 ″ -D is set to 4 words, and the boundary of the memory station number of the analog I / O memory area 402 ″ -A is set to 16 words. In this case also, the addresses correspond in ascending order word by word from the beginning of the I / O memory 402 ″.

【0014】同図において、I/O装置420−1はデ
ィジタルI/O装置であり、前述同様に装置局番が「0
0」に設定され、入出力データが2ワードとなってい
る。その装置局番「00」に対応してI/Oメモリ40
2″のディジタルI/Oメモリ領域402″−Dのメモ
リ局番「00」が割付けられている。
In the figure, the I / O device 420-1 is a digital I / O device, and the device station number is "0" as described above.
It is set to "0" and the input / output data is 2 words. The I / O memory 40 corresponding to the device station number "00"
The memory station number "00" of the 2 "digital I / O memory area 402" -D is allocated.

【0015】また、I/O装置420−2もディジタル
I/O装置であり、やはり前述同様に装置局番が「0
2」に設定され、入出力データが1ワードとなってれ
ば、その装置局番「02」に対応してI/Oメモリ40
2″のディジタルI/Oメモリ領域402″−Dのメモ
リ局番「02」が割付られる。この例では、ディジタル
I/Oメモリ領域402″−Dのメモリ局番「01」が
未使用となる。もちろん、I/O装置420−2の装置
局番を「01」に設定して、メモリ局番「01」を割付
けることもできる。
The I / O device 420-2 is also a digital I / O device, and the device station number is "0" as described above.
If "2" is set and the input / output data is 1 word, the I / O memory 40 corresponding to the device station number "02"
The memory station number “02” of the 2 ″ digital I / O memory area 402 ″ -D is allocated. In this example, the memory station number "01" of the digital I / O memory area 402 "-D is unused. Of course, the device station number of the I / O device 420-2 can be set to "01" and the memory station number "01" can be assigned.

【0016】そして、I/O装置420−nはアナログ
I/O装置であり、これも前述同様に装置局番が「3
1」に設定され、入出力データが8ワードとなってい
る。この場合は、I/Oメモリ402″のアナログI/
Oメモリ領域402″−Aのメモリ局番「31」に割付
けられる。
The I / O device 420-n is an analog I / O device, and the device station number is "3" as described above.
It is set to "1" and the input / output data is 8 words. In this case, the analog I / O of the I / O memory 402 ″ is
It is assigned to the memory station number “31” of the O memory area 402 ″ -A.

【0017】なお、ディジタルI/O装置とアナログI
/O装置に同一の装置局番を設定することはできないの
で、上記の場合、ディジタルI/O装置とアナログI/
O装置合わせて最大32個のI/O装置が割付け可能と
なる。
A digital I / O device and an analog I / O device
Since the same device station number cannot be set for the I / O device, in the above case, the digital I / O device and the analog I / O device
Up to 32 I / O devices can be allocated for the O devices in total.

【0018】図6のCPU部401とI/O部420間
のデータの入出力は、I/O装置420−iがディジタ
ルI/O装置であるか又はアナログI/O装置であるか
を示す区分データ、先頭アドレス、バウンダリ値、及び
装置局番に基づいてI/Oメモリ402′(又は40
2″)のアドレスを算出することにより当該I/O装置
に割付けられたメモリ局番を対応させて、データ入出力
を行う。
Input / output of data between the CPU unit 401 and the I / O unit 420 shown in FIG. 6 indicates whether the I / O device 420-i is a digital I / O device or an analog I / O device. The I / O memory 402 '(or 40) is based on the division data, the start address, the boundary value, and the device station number.
2 ") is calculated to correspond to the memory station number assigned to the I / O device, and data input / output is performed.

【0019】このように、従来は、それぞれのPCの用
途に合わせて異なるI/O割付が設定されて運用されて
いた。
As described above, conventionally, different I / O allocations have been set and operated according to the use of each PC.

【0020】[0020]

【発明が解決しようとする課題】ところで、上記図7に
示した1番目のメモリ割付の例では、I/O装置の入出
力データのワード数が大きくなると、図8に示した2番
目のメモリ割付の例に比較して、I/O装置の接続可能
個数が極端に少なくなるという問題が発生する。例え
ば、全てのI/O装置の入出力データが16ワードにな
った場合、2番目のメモリ割付の例では、16ワードの
メモリ領域が32局設定されているのでI/O装置32
個が接続可能であるのに対して、1番目のメモリ割付の
例では、100メモリ局番(=100ワード)÷16ワ
ード=6.25、即ち接続可能なI/O装置は6個のみ
である。したがって、ワード数の大きなI/O装置を6
個より多数接続する必要が生じた場合は当該PCの運用
ができないという欠点がある。
In the example of the first memory allocation shown in FIG. 7, when the number of words of input / output data of the I / O device becomes large, the second memory shown in FIG. There is a problem that the number of connectable I / O devices is extremely small compared to the allocation example. For example, if the input / output data of all I / O devices is 16 words, in the second memory allocation example, 32 words of 16-word memory area are set.
Whereas, in the first memory allocation example, 100 memory station numbers (= 100 words) / 16 words = 6.25, that is, only six I / O devices can be connected. .. Therefore, an I / O device with a large number of words must be
There is a disadvantage that the PC cannot be operated when it is necessary to connect more than the number of the PCs.

【0021】一方、上記2番目のメモリ割付の例では、
I/O装置の入出力ワード数の多少にかかわらず、I/
O装置の接続可能個数が限定されるという問題が生ず
る。例えば、全てのI/O装置の入出力データが1ワー
ドになった場合、1番目のメモリ割付の例では、100
メモリ局番(=100ワード)÷1ワード=100であ
って、接続可能なI/O装置は100個となるのに対し
て、2番目のメモリ割付の例では、4ワード32局及び
16ワード32局の中のいずれかの局へ局番が重複しな
いように割り付けるので接続可能なI/O装置は32個
のみとなる。したがって、この場合は、32個より多数
のI/O装置を接続する必要が生ずると、やはり当該P
Cの運用が不可能になるという不都合が生じ、種々問題
があった。
On the other hand, in the second example of memory allocation,
I / O device, regardless of the number of input / output words
There is a problem that the number of connectable O devices is limited. For example, when the input / output data of all the I / O devices becomes 1 word, 100 is set in the first memory allocation example.
Memory station number (= 100 words) ÷ 1 word = 100, and the number of connectable I / O devices is 100, whereas in the second memory allocation example, 4 words 32 stations and 16 words 32 Since only one of the stations is assigned so that the station number does not overlap, only 32 I / O devices can be connected. Therefore, in this case, when it becomes necessary to connect more than 32 I / O devices, the P
There was a problem that C could not be operated, and there were various problems.

【0022】本発明の目的は、I/O装置に対するI/
Oメモリの入出力割付を随時変更して設定できる入出力
割付可変プログラマブルコントローラを提供することで
ある。
An object of the present invention is to provide I / O for I / O devices.
An object of the present invention is to provide an input / output assignment variable programmable controller in which the input / output assignment of O memory can be changed and set at any time.

【0023】[0023]

【課題を解決するための手段および作用】本発明の手段
および作用は次の通りである。請求項1記載の発明で
は、ディジタル境界値設定手段1は、それぞれが装置番
号を有する複数のディジタル入出力装置に対して入出力
されるデータのメモリ入出力領域における境界値を設定
する。
Means and Actions for Solving the Problems Means and actions of the present invention are as follows. According to the first aspect of the invention, the digital boundary value setting means 1 sets a boundary value in the memory input / output area of data input / output to / from a plurality of digital input / output devices each having a device number.

【0024】ディジタルアドレス設定手段2は、上記複
数のディジタル入出力装置に対する入出力データの先頭
アドレスを設定する。ディジタルテーブル生成手段3
は、上記複数のディジタル入出力装置のそれぞれの装置
番号と、ディジタル境界値設定手段1により設定される
境界値と、ディジタルアドレス設定手段2により設定さ
れる先頭アドレスとに基づいて、上記複数のディジタル
入出力装置のそれぞれの装置番号とメモリ入出力領域の
アドレスとが対応するディジタル入出力データ割付テー
ブルを生成する。
The digital address setting means 2 sets the start address of the input / output data for the plurality of digital input / output devices. Digital table generating means 3
Is based on the device number of each of the plurality of digital input / output devices, the boundary value set by the digital boundary value setting means 1, and the start address set by the digital address setting means 2. A digital input / output data allocation table in which the device numbers of the input / output devices correspond to the addresses of the memory input / output area is generated.

【0025】ディジタル入出力手段4は、ディジタルテ
ーブル生成手段3により生成されたディジタル入出力デ
ータ割付テーブルに基づいて上記複数のディジタル入出
力装置に対するデータの入出力を行う。
The digital input / output means 4 inputs / outputs data to / from the plurality of digital input / output devices based on the digital input / output data allocation table generated by the digital table generating means 3.

【0026】これにより、それぞれのディジタル入出力
装置に対する入出力メモリの割付けを随時変更でき、そ
の変更した入出力割付によりディジタル入出力データの
入出力を行うことができるようになる。
As a result, the allocation of the input / output memory for each digital input / output device can be changed at any time, and digital input / output data can be input / output by the changed input / output allocation.

【0027】請求項2記載の発明では、アナログ境界値
設定手段5は、それぞれが装置番号を有するアナログ入
出力装置に対して入出力されるデータのメモリ入出力領
域における境界値を設定する。
According to the second aspect of the present invention, the analog boundary value setting means 5 sets the boundary value in the memory input / output area of the data input / output to / from the analog input / output device each having the device number.

【0028】アナログアドレス設定手段6は、上記複数
のアナログ入出力装置に対する入出力データの先頭アド
レスを設定する。アナログテーブル生成手段7は、上記
複数のアナログ入出力装置のそれぞれの装置番号と、ア
ナログ境界値設定手段7により設定される境界値と、ア
ナログアドレス設定手段6により設定される先頭アドレ
スとに基づいて、上記複数のアナログ入出力装置のそれ
ぞれの装置番号とメモリ入出力領域のアドレスとが対応
するアナログ入出力データ割付テーブルを生成する。
The analog address setting means 6 sets the start address of the input / output data for the plurality of analog input / output devices. The analog table generating means 7 is based on the device number of each of the plurality of analog input / output devices, the boundary value set by the analog boundary value setting means 7, and the start address set by the analog address setting means 6. An analog input / output data allocation table in which the device numbers of the plurality of analog input / output devices correspond to the addresses of the memory input / output area is generated.

【0029】アナログ入出力手段8は、アナログテーブ
ル生成手段7により生成されたアナログ入出力データ割
付テーブルに基づいて上記複数のアナログ入出力装置に
対するデータの入出力を行う。
The analog input / output means 8 inputs / outputs data to / from the plurality of analog input / output devices based on the analog input / output data allocation table generated by the analog table generating means 7.

【0030】これにより、それぞれのアナログ入出力装
置に対する入出力メモリの割付けを随時変更でき、その
変更した入出力割付によりアナログ入出力データの入出
力を行うことができるようになる。
As a result, the allocation of the input / output memory for each analog input / output device can be changed at any time, and analog input / output data can be input / output by the changed input / output allocation.

【0031】[0031]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて説明する。図2は、第1の実施例に係わるプログ
ラマブルコントローラの構成を示すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram showing the configuration of the programmable controller according to the first embodiment.

【0032】同図において、プログラマブルコントロー
ラ10は、演算及び制御を行うCPU(Central Process
ing Unit) 100と、そのCPU部100の制御に基づ
いて複数の入出力被制御装置に対してデータを入出力す
るI/O部120とに分かれている。そのI/O部12
0とCPU部100とはバス110を介して接続されて
いる。
In the figure, a programmable controller 10 is a CPU (Central Process) that performs calculation and control.
ing unit) 100 and an I / O unit 120 for inputting / outputting data to / from a plurality of input / output controlled devices under the control of the CPU unit 100. The I / O section 12
0 and the CPU unit 100 are connected via a bus 110.

【0033】CPU部100は、ユーザプログラムによ
り動作する演算部101、システムのセットアップ時に
オン又はオフに設定されるフラグレジスタ部102、そ
のフラグレジスタ部102のオン/オフの状態に対応し
て所定のメモリ条件を設定するメモリ条件設定部10
3、そのメモリ条件設定部103に設定されるメモリ条
件に基づいてデータ入出力テーブルを作成して記憶する
データテーブル部104、そのデータテーブル部104
に記憶されるデータ入出力テーブルに基づいて上記演算
部101とI/O部120間で入出力されるデータを、
I/O装置とそのI/O装置に割付けられたメモリ記憶
領域に対応付けて記憶するI/Oメモリ105、及びそ
の入出力データを一時的に蓄え、バス110を介してI
/O部120とデータの入出力を行うI/Oバッファ1
06からなっている。
The CPU section 100 has a predetermined operation section 101 that operates according to a user program, a flag register section 102 that is set to ON or OFF when the system is set up, and an ON / OFF state of the flag register section 102. Memory condition setting unit 10 for setting memory conditions
3, a data table unit 104 that creates and stores a data input / output table based on the memory condition set in the memory condition setting unit 103, and the data table unit 104
The data input / output between the arithmetic unit 101 and the I / O unit 120 based on the data input / output table stored in
The I / O device and the I / O memory 105 that stores the I / O device in association with the memory storage area allocated to the I / O device and the input / output data thereof are temporarily stored, and the I / O memory 105
I / O buffer 1 for inputting / outputting data to / from the I / O unit 120
It consists of 06.

【0034】I/O部120は、複数の入出力被制御装
置とデータを入出力するI/O装置(インタフェース)
120−1、120−2・・・120−nから成る。そ
れらのI/O装置120−i(i=1、2・・・n)
は、それぞれ装置局番設定器130−i(i=1、2・
・・n)を有しており、それらの装置局番設定器130
−iには2桁の装置局番が設定される。
The I / O unit 120 is an I / O device (interface) for inputting / outputting data to / from a plurality of input / output controlled devices.
120-1, 120-2 ... 120-n. Those I / O devices 120-i (i = 1, 2, ... N)
Are device station number setting devices 130-i (i = 1, 2, ...
..N) and their device station number setting device 130
A 2-digit device station number is set in -i.

【0035】図3(a),(b),(c) に、上記CPU部100
のフラグレジスタ部102、メモリ条件設定部103、
及びデータテーブル部104のデータ構成を示す。ま
ず、同図(a) に示すフラグレジスタ部102は、システ
ムのセットアップ時に設定されるオン又はオフ情報を記
憶する。
3A, 3B and 3C, the CPU section 100 is shown.
Flag register unit 102, memory condition setting unit 103,
3 shows the data structure of the data table unit 104. First, the flag register unit 102 shown in FIG. 9A stores ON or OFF information set at the time of system setup.

【0036】つぎに、同図(b) に示すメモリ条件設定部
103は、メモリDB103−1、メモリDT103−
2、メモリAB103−3、及びメモリAT103−4
の4つのメモリ領域からなる。上記メモリDB103−
1はディジタルI/O入出力データのバウンダリ値を記
憶し、メモリDT103−2はディジタルI/O入出力
データの先頭アドレスを記憶する。また、メモリAB1
03−3はアナログI/O入出力データのバウンダリ値
を記憶し、メモリAT103−4はアナログI/O入出
力データの先頭アドレスを記憶する。
Next, the memory condition setting unit 103 shown in FIG. 7B is composed of a memory DB 103-1 and a memory DT 103-.
2, memory AB103-3, and memory AT103-4
4 memory areas. The memory DB 103-
1 stores the boundary value of the digital I / O input / output data, and the memory DT103-2 stores the start address of the digital I / O input / output data. Also, the memory AB1
03-3 stores the boundary value of the analog I / O input / output data, and the memory AT 103-4 stores the start address of the analog I / O input / output data.

【0037】上記バウンダリ値は、ハーフワードやダブ
ルワード等固定長フィールドに対応して主記憶装置(I
/Oメモリ105)の中で与えられる情報単位のメモリ
規定境界を表し、例えば、従来例における図7の場合で
あれば、データバウンダリ値は「1」である。また、従
来例の図8の場合においては、ディジタル入出力データ
領域のデータバウンダリ値は「4」であり、アナログ入
出力データ領域のデータのバウンダリ値は「16」であ
る。
The boundary value corresponds to a fixed length field such as a halfword or a doubleword, and is stored in the main memory (I
/ O memory 105) represents a memory definition boundary of an information unit given, for example, in the case of FIG. 7 in the conventional example, the data boundary value is “1”. In the case of FIG. 8 of the conventional example, the data boundary value of the digital input / output data area is “4”, and the boundary value of the data of the analog input / output data area is “16”.

【0038】本実施例においては、上記フラグレジスタ
部102がオンの時は、メモリDB103−1には
「1」、メモリDT103−2には「0」、メモリAB
103−3には「1」、及びメモリAT103−4には
「0」が記憶される。一方、フラグレジスタ部102が
オフの時は、メモリDB103−1には「4」、メモリ
DT103−2には「0」、メモリAB103−3には
「16」、そしてメモリAT103−4には「128」
が記憶される。
In this embodiment, when the flag register unit 102 is on, the memory DB 103-1 is "1", the memory DT103-2 is "0", and the memory AB is "1".
“1” is stored in 103-3, and “0” is stored in the memory AT 103-4. On the other hand, when the flag register unit 102 is off, “4” is stored in the memory DB 103-1, “0” is stored in the memory DT103-2, “16” is stored in the memory AB103-3, and “4” is stored in the memory AT103-4. 128 "
Is memorized.

【0039】続いて、図3(c) に示すデータテーブル部
104について説明する。データテーブル部104は、
「0」から「99」まで100個の装置局番とその装置
局番に割付けられるI/Oメモリのアドレスとで構成さ
れるデータ入出力テーブルを有する。このデータ入出力
テーブルを構成するI/Oメモリのアドレスは、次に説
明する演算により算出され、それぞれの装置局番に対応
して割付けられる。
Next, the data table section 104 shown in FIG. 3C will be described. The data table section 104 is
It has a data input / output table composed of 100 device station numbers from "0" to "99" and the addresses of the I / O memory assigned to the device station numbers. The address of the I / O memory that constitutes this data input / output table is calculated by the operation described below, and is assigned corresponding to each device station number.

【0040】すなわち、ディジタルI/O装置について
は、数式DT+DB×PN=AD、アナログI/O装置
については、数式AT+AB×PN=ADにより、それ
ぞれの装置局番に対応するメモリアドレスが算出され
る。ここで、DTはメモリDT103−2に設定される
ディジタル入出力データ領域の先頭アドレス、DBはメ
モリDB103−1に設定されるディジタル入出力デー
タのバウンダリ値、PNはI/O装置120−iの装置
局番設定器130−iに設定される局番、ATはメモリ
AT103−3に設定されるアナログ入出力データ領域
の先頭アドレス、ABはメモリAB103−4に設定さ
れるアナログ入出力データのバウンダリ値、及びADは
演算により算出されるメモリアドレスである。
That is, the memory address corresponding to each device station number is calculated by the mathematical expression DT + DB × PN = AD for the digital I / O device and the mathematical expression AT + AB × PN = AD for the analog I / O device. Here, DT is the start address of the digital input / output data area set in the memory DT103-2, DB is the boundary value of the digital input / output data set in the memory DB103-1, and PN is the I / O device 120-i. The station number set in the device station number setter 130-i, AT is the start address of the analog input / output data area set in the memory AT103-3, AB is the boundary value of the analog input / output data set in the memory AB103-4, And AD are memory addresses calculated by calculation.

【0041】次に、上記構成の実施例の動作について、
説明する。まず、システム立ち上がり時において、フラ
グレジスタ部102がオンに設定された場合について説
明する。フラグレジスタ部102がオンの時には、メモ
リDB103−1は「1」(以下、DB=1のごとくに
記載)、DT=0、AB=1及びAT=0に設定され
る。
Next, regarding the operation of the embodiment having the above configuration,
explain. First, the case where the flag register unit 102 is set to ON when the system starts up will be described. When the flag register unit 102 is on, the memory DB 103-1 is set to "1" (hereinafter, described as DB = 1), DT = 0, AB = 1 and AT = 0.

【0042】したがって、例えばI/O装置120−1
がディジタルI/O装置であり、装置局番が「00」で
あるとすれば、上記数式DT+DB×PN=ADによ
り、0(DT)+1(DB)×00(PN)=0が算出
される。すなわち、装置局番「00」のI/O装置12
0−1に割付けられるメモリアドレスADは「00」と
算出され、図3(c) に示すデータ入出力テーブルの装置
局番「00」に対応してアドレス「00」が設定され
る。
Therefore, for example, the I / O device 120-1
Is a digital I / O device and the device station number is “00”, 0 (DT) +1 (DB) × 00 (PN) = 0 is calculated by the above formula DT + DB × PN = AD. That is, the I / O device 12 with the device station number "00"
The memory address AD assigned to 0-1 is calculated as "00", and the address "00" is set corresponding to the device station number "00" in the data input / output table shown in FIG. 3 (c).

【0043】また、I/O装置120−2もディジタル
I/O装置であり、装置局番が「02」であるとすれ
ば、同じく数式DT+DB×PN=ADにより、0(D
T)+1(DB)×02(PN)=2が算出される。す
なわち、装置局番「02」のI/O装置120−2に割
付けられるメモリアドレスADは「02」と算出され
る。そして、データ入出力テーブルには、装置局番「0
2」に対応してアドレス「02」が設定される。
If the I / O device 120-2 is also a digital I / O device and the device station number is "02", the formula DT + DB × PN = AD also gives 0 (D
T) +1 (DB) × 02 (PN) = 2 is calculated. That is, the memory address AD assigned to the I / O device 120-2 having the device station number “02” is calculated as “02”. Then, in the data input / output table, the device station number "0
The address "02" is set in correspondence with "2".

【0044】さらに、I/O装置120−nがアナログ
I/O装置であり、装置局番が「31」であるとすれ
ば、この場合は上記数式AT+AB×PN=ADが用い
られる。そして、0(AT)+1(AB)×31(P
N)=31が算出され、装置局番「31」のI/O装置
120−nに割付けられるメモリアドレスADは「3
1」となって、データ入出力テーブルの装置局番「3
1」に対応してアドレス「31」が設定される。
Further, assuming that the I / O device 120-n is an analog I / O device and the device station number is "31", the above formula AT + AB * PN = AD is used in this case. Then, 0 (AT) +1 (AB) × 31 (P
N) = 31 is calculated, and the memory address AD assigned to the I / O device 120-n having the device station number “31” is “3”.
1 ", and the device station number" 3 "in the data input / output table
The address "31" is set in correspondence with "1".

【0045】図2に示すCPU部100が、データを入
出力する毎に上記設定されたデータテーブル部104の
データ入出力テーブルが参照され、入出力データが格納
されるメモリ領域がデータ入出力テーブル上のアドレス
と当該I/O装置のワード数により判別され、そのアド
レスと対応するI/O装置120−iが同じくデータ入
出力テーブルの装置局番により判別されて、I/O装置
とメモリ領域との割付けが行われる。すなわち、上述し
たように、アドレス「00」にはI/O装置局番「0
0」が、アドレス「02」にはI/O装置局番「02」
が、アドレス「31」にはI/O装置局番「31」が、
それぞれ割り付けられる。
Each time the CPU unit 100 shown in FIG. 2 inputs / outputs data, the data input / output table of the set data table unit 104 is referred to, and the memory area for storing the input / output data is the data input / output table. It is determined by the address above and the number of words of the I / O device, and the I / O device 120-i corresponding to the address is also determined by the device station number of the data input / output table to determine the I / O device and the memory area. Will be assigned. That is, as described above, the address "00" is assigned to the I / O device station number "0".
0 ”, but the address“ 02 ”is the I / O device station number“ 02 ”
However, the address "31" is the I / O device station number "31",
Each is assigned.

【0046】このように、本実施例においては、図7の
従来例と同様に、バウンダリ値が「1」で且つディジタ
ル、アナログ共に入出力データのメモリ先頭アドレスが
「00」のときは、I/O装置120−iに対して、図
7の従来例と全く同様なI/O割付けが実現できる。
As described above, in this embodiment, as in the conventional example of FIG. 7, when the boundary value is "1" and the memory start address of the input / output data for both digital and analog is "00", I It is possible to realize the same I / O allocation to the I / O device 120-i as in the conventional example of FIG.

【0047】次に、システム立ち上がり時において、フ
ラグレジスタ部102がオフに設定された場合の動作を
説明する。フラグレジスタ部102がオフの時には、D
B=4、DT=0、AB=16及びAT=128に設定
される。
Next, the operation when the flag register unit 102 is set to OFF when the system starts up will be described. When the flag register unit 102 is off, D
B = 4, DT = 0, AB = 16 and AT = 128 are set.

【0048】この場合も、I/O装置120−1がディ
ジタルI/O装置であり、装置局番が「00」であると
すれば、数式DT+DB×PN=ADにより、0(D
T)+4(DB)×00(PN)=0が算出される。す
なわち、装置局番「00」のI/O装置120−1に割
付けられるメモリアドレスADは「00」と算出され
る。そして、図3(c) に示すデータ入出力テーブルの装
置局番「00」に対応してアドレス「00」が設定され
る。
Also in this case, assuming that the I / O device 120-1 is a digital I / O device and the device station number is "00", the formula DT + DB × PN = AD gives 0 (D
T) +4 (DB) × 00 (PN) = 0 is calculated. That is, the memory address AD assigned to the I / O device 120-1 having the device station number “00” is calculated as “00”. Then, the address "00" is set corresponding to the device station number "00" in the data input / output table shown in FIG. 3 (c).

【0049】また、I/O装置120−2もディジタル
I/O装置であり、装置局番が「02」であるとすれ
ば、同じく数式DT+DB×PN=ADにより、0(D
T)+4(DB)×02(PN)=8が算出される。す
なわち、装置局番「02」のI/O装置120−2に割
付けられるメモリアドレスADは「08」と算出され、
データ入出力テーブルの装置局番「02」に対応してア
ドレス「08」が設定される。
If the I / O device 120-2 is also a digital I / O device and the device station number is "02", then 0 (D
T) +4 (DB) × 02 (PN) = 8 is calculated. That is, the memory address AD assigned to the I / O device 120-2 having the device station number “02” is calculated as “08”,
The address "08" is set corresponding to the device station number "02" in the data input / output table.

【0050】さらに、I/O装置120−nがアナログ
I/O装置であり、装置局番が「31」であるとすれ
ば、この場合は数式AT+AB×PN=ADにより、1
28(AT)+16(AB)×31(PN)=624が
算出される。すなわち、装置局番「31」のI/O装置
120−nに割付けられるメモリアドレスADは「62
4」と算出され、データ入出力テーブルの装置局番「3
1」に対応してアドレス「624」が設定される。
Further, assuming that the I / O device 120-n is an analog I / O device and the device station number is "31", in this case, the formula AT + AB × PN = AD gives 1
28 (AT) +16 (AB) × 31 (PN) = 624 is calculated. That is, the memory address AD assigned to the I / O device 120-n having the device station number “31” is “62”.
4 ”, and the device station number“ 3 ”in the data input / output table
The address "624" is set in correspondence with "1".

【0051】したがって、この場合は、CPU部100
がデータを入出力する毎に、上記データ入出力テーブル
に基づいて、I/O装置局番「00」にはアドレス「0
0」が、I/O装置局番「02」にはアドレス「08」
が、I/O装置局番「31」にはアドレス「128」
が、それぞれ割付けられる。
Therefore, in this case, the CPU section 100
Each time data is input or output by the I / O device, the I / O device station number “00” is assigned the address “0” based on the data input / output table.
0 ”is the address“ 08 ”for the I / O device station number“ 02 ”
However, the address "128" is assigned to the I / O device station number "31".
Are assigned respectively.

【0052】このように、本実施例においては、図8の
従来例のように、バウンダリ値がディジタル入出力デー
タについては「4」、アナログ入出力データについては
「16」、ディジタル入出力データのメモリ先頭アドレ
スが「00」、アナログ入出力データのメモリ先頭アド
レスが「128」の場合にも、I/O装置120−iに
対して、図8の従来例と全く同様のI/O割付けが実現
できる。
As described above, in the present embodiment, the boundary value is "4" for digital input / output data, "16" for analog input / output data, and digital input / output data as in the conventional example of FIG. Even when the memory start address is "00" and the analog input / output data memory start address is "128", the same I / O allocation as in the conventional example of FIG. 8 is performed on the I / O device 120-i. realizable.

【0053】上記実施例においては、ディジタル入出力
データ及びアナログ入出力データのバウンダリ値及び先
頭アドレスについて、それぞれ2組の設定値を予め定め
ておき、フラグレジスタ102のオン/オフに基づいて
上記2組の設定値から1組の設定値を選択するようにし
ているが、設定値を予め決めることなく、任意に設定す
るようにしてもよい。これを、他の実施例として以下に
説明する。
In the above embodiment, two sets of set values are set in advance for the boundary value and the start address of the digital input / output data and the analog input / output data, respectively, and the above-mentioned 2 is set based on the ON / OFF state of the flag register 102. Although one set of set values is selected from the set of set values, the set values may be arbitrarily set without being determined in advance. This will be described below as another embodiment.

【0054】図4は、第2の実施例に係わるプログラマ
ブルコントローラの構成を示すブロック図である。同図
において、図2に示す第1の実施例と同一構成部分につ
いては同一番号を付与して示す。CPU部101には、
第1の実施例に示したフラグレジスタ部102が除か
れ、設定値設定部107が設けられる。その設定値設定
部107には、外部に設けられる例えば液晶パネルから
なる表示部140が接続される。その他の構成は、第1
の実施例と同一である。
FIG. 4 is a block diagram showing the configuration of the programmable controller according to the second embodiment. In the figure, the same components as those of the first embodiment shown in FIG. 2 are designated by the same reference numerals. In the CPU section 101,
The flag register unit 102 shown in the first embodiment is removed, and a set value setting unit 107 is provided. The set value setting unit 107 is connected to an externally provided display unit 140 including, for example, a liquid crystal panel. Other configurations are the first
Is the same as the embodiment described above.

【0055】図5に、上記表示部140に表示される表
示画面の一例を示す。この表示は、システム立ち上がり
時において、設定値設定部107により、例えばメモリ
105の他のデータ領域に予め記憶されている表示デー
タが読み出されて表示される。
FIG. 5 shows an example of a display screen displayed on the display section 140. This display is displayed by the set value setting unit 107, for example, by reading the display data stored in advance in another data area of the memory 105 when the system starts up.

【0056】同図において、表示部140の画面上方に
は、この表示がI/Oメモリの割り付け設定のための表
示画面であることを示す「I/O割付設定画面」が表示
され、その下方、1段目には、入力すべき設定値がなん
であるかを示す「ディジタルI/Oメモリバウンダリ設
定値」と、入力された設定値を表示するための囲い枠
と、設定値が記憶されるメモリ領域を示す「DB」が表
示されている。2段目には、同じく入力すべき設定値が
なんであるかを示す「ディジタルI/Oメモリ先頭アド
レス設定値」と、入力された設定値を表示するための囲
い枠と、設定値が記憶されるメモリ領域を示す「DT」
が表示されている。同様に、3段目には、「アナログI
/Oメモリバウンダリ設定値」、囲い枠、及び「AB」
が表示され、4段目には「アナログI/Oメモリ先頭ア
ドレス設定値」、囲い枠、及び「AT」が表示されてい
る。
In the figure, an "I / O allocation setting screen" indicating that this display is a display screen for I / O memory allocation setting is displayed above the screen of the display unit 140, and below it. In the first row, a "digital I / O memory boundary set value" indicating what the set value to be input is, an enclosure for displaying the input set value, and the set value are stored. “DB” indicating the memory area is displayed. In the second row, the "digital I / O memory start address set value" that also indicates what the set value should be input, an enclosure for displaying the input set value, and the set value are stored. "DT" indicating the memory area
Is displayed. Similarly, in the third row, "Analog I
/ O memory boundary set value ”, enclosure, and“ AB ”
Is displayed, and the "analog I / O memory start address set value", a surrounding frame, and "AT" are displayed in the fourth row.

【0057】設定値設定部107には、特には図示しな
いが、テンキー、カーソルキー等を有するキーボードが
接続されており、カーソルキーによって上記囲い枠の1
つが選択され、テンキーによってその選択された囲い枠
表示部分に対応する設定値が入力される。これらの入力
された設定値は、メモリ条件設定部103により各メモ
リ領域(メモリDB103−1、DT103−2、AB
103−3、及びAT103−4)に記憶されるように
なっている。
Although not particularly shown, the set value setting section 107 is connected to a keyboard having a ten-key pad, a cursor key, etc., and the cursor key is used to move one of the boxes in the enclosure.
One of them is selected, and the set value corresponding to the selected surrounding frame display portion is input by the ten keys. These input set values are stored in each memory area (memory DB 103-1, DT 103-2, AB) by the memory condition setting unit 103.
103-3 and AT 103-4).

【0058】これにより、ディジタル入出力データ及び
アナログ入出力データそれぞれについて任意のバウンダ
リ値及び先頭アドレスを設定することができる。これら
の設定されたバウンダリ値及び先頭アドレスに基づい
て、前述した演算により装置局番に対応するI/Oメモ
リのアドレスが算出され、それらの算出されたアドレス
がデータテーブル部104のデータ入出力テーブル上
で、それぞれの装置局番に対応して設定される。
As a result, it is possible to set arbitrary boundary values and start addresses for the digital input / output data and the analog input / output data. Based on these set boundary values and start addresses, the addresses of the I / O memory corresponding to the device station number are calculated by the above-described calculation, and these calculated addresses are stored in the data input / output table of the data table unit 104. Then, it is set corresponding to each device station number.

【0059】そして、第1の実施例と同様に、図2に示
すCPU部100が、データを入出力する毎に上記設定
されたデータテーブル部104のデータ入出力テーブル
が参照され、I/O装置に対するメモリ領域の割付けが
行われて、データの入出力が実行される。
Then, as in the first embodiment, every time the CPU section 100 shown in FIG. 2 inputs / outputs data, the data input / output table of the set data table section 104 is referred to, and the I / O A memory area is allocated to the device, and data input / output is executed.

【0060】このように、上記第2の実施例によれば、
随時にI/O割付を変更して運用することができる。
As described above, according to the second embodiment,
The I / O allocation can be changed at any time for operation.

【0061】[0061]

【発明の効果】本発明によれば、I/O装置に対するI
/Oメモリの入出力割付を随時変更して設定できるの
で、接続されるI/O装置のワード数に変更があった
り、I/O装置の個数に変更があっても、それらの変更
に応じて随意に入出力割付を変更できるため、PCの用
途によってメモリの設計を変更する必要がなくPCの運
用効率が向上する。
According to the present invention, the I / O device is connected to the I / O device.
The I / O memory I / O allocation can be changed and set at any time, so even if the number of words in the connected I / O device changes or the number of I / O devices changes, the changes are made accordingly. Since the input / output allocation can be changed at will, it is not necessary to change the memory design depending on the use of the PC, and the operation efficiency of the PC is improved.

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

【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.

【図2】第1の実施例のプログラマブルコントローラの
構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a programmable controller according to the first embodiment.

【図3】(a) はフラグレジスタ部のデータ構成、(b) は
メモリ条件設定部のデータ構成、(c) はデータテーブル
部のデータ構成を示す図である。
3A is a diagram showing a data configuration of a flag register unit, FIG. 3B is a data configuration of a memory condition setting unit, and FIG. 3C is a diagram showing a data configuration of a data table unit.

【図4】第2の実施例のプログラマブルコントローラの
構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a programmable controller according to a second embodiment.

【図5】表示画面により任意に入力される設定値につい
て説明する図である。
FIG. 5 is a diagram illustrating setting values arbitrarily input on a display screen.

【図6】従来のプログラマブルコントローラの構成を示
す図である。
FIG. 6 is a diagram showing a configuration of a conventional programmable controller.

【図7】従来のI/O割付の一例を示す図である。FIG. 7 is a diagram showing an example of conventional I / O allocation.

【図8】従来のI/O割付の他の例を示す図である。FIG. 8 is a diagram showing another example of conventional I / O allocation.

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

1 ディジタル境界値設定手段 2 ディジタルアドレス設定手段 3 ディジタルテーブル生成手段 4 ディジタル入出力手段 5 アナログ境界値設定手段 6 アナログアドレス設定手段 7 アナログテーブル生成手段 8 アナログ入出力手段 1 digital boundary value setting means 2 digital address setting means 3 digital table generating means 4 digital input / output means 5 analog boundary value setting means 6 analog address setting means 7 analog table generating means 8 analog input / output means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれが装置番号を有する複数のディ
ジタル入出力装置に対して入出力されるデータのメモリ
入出力領域における境界値を設定するディジタル境界値
設定手段(1) と、 前記複数のディジタル入出力装置に対する入出力データ
の先頭アドレスを設定するディジタルアドレス設定手段
(2) と、 前記複数のディジタル入出力装置のそれぞれの装置番号
と、前記ディジタル境界値設定手段(1) により設定され
る境界値と、前記ディジタルアドレス設定手段(2) によ
り設定される先頭アドレスとに基づいて、前記複数のデ
ィジタル入出力装置のそれぞれの装置番号とメモリ入出
力領域のアドレスとが対応するディジタル入出力データ
割付テーブルを生成するディジタルテーブル生成手段
(3) と、 該ディジタルテーブル生成手段(3) により生成されたデ
ィジタル入出力データ割付テーブルに基づいて前記複数
のディジタル入出力装置に対するデータの入出力を行う
ディジタル入出力手段(4) とを有することを特徴とする
入出力割付可変プログラマブルコントローラ。
1. A digital boundary value setting means (1) for setting a boundary value in a memory input / output area of data input / output to / from a plurality of digital input / output devices each having a device number; Digital address setting means for setting the start address of the input / output data for the input / output device
(2), the device number of each of the plurality of digital input / output devices, the boundary value set by the digital boundary value setting means (1), and the start address set by the digital address setting means (2) A digital table generating means for generating a digital input / output data allocation table in which the device numbers of the plurality of digital input / output devices correspond to the addresses of the memory input / output area based on
(3) and digital input / output means (4) for inputting / outputting data to / from the plurality of digital input / output devices based on the digital input / output data allocation table generated by the digital table generating means (3) Variable programmable controller with I / O assignment.
【請求項2】 それぞれが装置番号を有するアナログ入
出力装置に対して入出力されるデータのメモリ入出力領
域における境界値を設定するアナログ境界値設定手段
(5) と、 前記複数のアナログ入出力装置に対する入出力データの
先頭アドレスを設定するアナログアドレス設定手段(6)
と、 前記複数のアナログ入出力装置のそれぞれの装置番号
と、前記アナログ境界値設定手段(5) により設定される
境界値と、前記アナログアドレス設定手段(6) により設
定される先頭アドレスとに基づいて、前記複数のアナロ
グ入出力装置のそれぞれの装置番号とメモリ入出力領域
のアドレスとが対応するアナログ入出力データ割付テー
ブルを生成するアナログテーブル生成手段(7) と、 該アナログテーブル生成手段(7) により生成されたアナ
ログ入出力データ割付テーブルに基づいて前記複数のア
ナログ入出力装置に対するデータの入出力を行うアナロ
グ入出力手段(8) とを有することを特徴とする入出力割
付可変プログラマブルコントローラ。
2. An analog boundary value setting means for setting a boundary value in a memory input / output area of data input / output to / from an analog input / output device each having a device number.
(5) and analog address setting means (6) for setting the start address of the input / output data for the plurality of analog input / output devices
Based on a device number of each of the plurality of analog input / output devices, a boundary value set by the analog boundary value setting means (5), and a start address set by the analog address setting means (6). An analog table generating means (7) for generating an analog input / output data allocation table in which the device numbers of the plurality of analog input / output devices correspond to the addresses of the memory input / output area, and the analog table generating means (7). And an analog input / output unit (8) for inputting / outputting data to / from the plurality of analog input / output devices based on the analog input / output data allocation table generated by (1).
JP4066798A 1992-03-25 1992-03-25 Variable I / O assignment programmable controller Expired - Fee Related JP3011814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4066798A JP3011814B2 (en) 1992-03-25 1992-03-25 Variable I / O assignment programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4066798A JP3011814B2 (en) 1992-03-25 1992-03-25 Variable I / O assignment programmable controller

Publications (2)

Publication Number Publication Date
JPH05274012A true JPH05274012A (en) 1993-10-22
JP3011814B2 JP3011814B2 (en) 2000-02-21

Family

ID=13326255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4066798A Expired - Fee Related JP3011814B2 (en) 1992-03-25 1992-03-25 Variable I / O assignment programmable controller

Country Status (1)

Country Link
JP (1) JP3011814B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725283B2 (en) 2001-11-30 2004-04-20 Mitsubishi Denki Kabushiki Kaisha Programmable controller
JP2006074724A (en) * 2004-08-03 2006-03-16 Jfe Engineering Kk Remote input/output device, autonomous distributed remote system, and wireless transmission system
KR100769867B1 (en) * 2005-03-18 2007-10-25 후지쯔 가부시끼가이샤 Partition allocation method and cpmputer system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725283B2 (en) 2001-11-30 2004-04-20 Mitsubishi Denki Kabushiki Kaisha Programmable controller
DE10229887B4 (en) * 2001-11-30 2014-09-18 Mitsubishi Denki K.K. Programmable control device
JP2006074724A (en) * 2004-08-03 2006-03-16 Jfe Engineering Kk Remote input/output device, autonomous distributed remote system, and wireless transmission system
JP4613681B2 (en) * 2004-08-03 2011-01-19 Jfeエンジニアリング株式会社 Remote input / output device, distributed independent remote system and wireless transmission system
KR100769867B1 (en) * 2005-03-18 2007-10-25 후지쯔 가부시끼가이샤 Partition allocation method and cpmputer system

Also Published As

Publication number Publication date
JP3011814B2 (en) 2000-02-21

Similar Documents

Publication Publication Date Title
JP2797435B2 (en) Display controller
JP3011814B2 (en) Variable I / O assignment programmable controller
JP3680400B2 (en) Graph display device and graph display control method
JPS63228314A (en) Menu arranging method for soft key device
JP2615552B2 (en) Data storage device
US4651295A (en) Electronic desk-top calculator
JPS63138391A (en) Character processor
JPH02144593A (en) Picture switching system for information processor
JPH04139571A (en) Document processor
KR100247036B1 (en) Menu item selecting method of electronic appliances
JPS60100211A (en) Programmable controller
JPH02189582A (en) Cursor control system for display screen
JPH08221412A (en) Data processor
JPH0362170A (en) Comment input method in cad system
JPH09179991A (en) Graph display device
JPH02138653A (en) Electronic desk calculator
JPH0256597A (en) Scroll input device
JPH04355859A (en) Input/output controller
JPS6197740A (en) Picture selection system
JPH03118624A (en) Electronic equipment
JPH03176716A (en) Electronic apparatus
JPH08180023A (en) Electronic computer
JPH09231005A (en) Liquid crystal touch panel device
JPH02118711A (en) Data input system
JPS62106568A (en) Character processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991130

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees