JPS60205635A - Computer control system - Google Patents
Computer control systemInfo
- Publication number
- JPS60205635A JPS60205635A JP6161284A JP6161284A JPS60205635A JP S60205635 A JPS60205635 A JP S60205635A JP 6161284 A JP6161284 A JP 6161284A JP 6161284 A JP6161284 A JP 6161284A JP S60205635 A JPS60205635 A JP S60205635A
- Authority
- JP
- Japan
- Prior art keywords
- access
- intervention
- programmable controller
- command signal
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Bus Control (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明はコンピュータ制御システム、特にプログラマブ
ルコントローラに対するアクセス介入手段に関するもの
である。TECHNICAL FIELD OF THE INVENTION The present invention relates to computer control systems, and in particular to access intervention means for programmable controllers.
従来、コンピュータ制御システムにおいてシーケンス処
理中のプロマブルコントローラに対するアクセス介入は
第1図に示すフローチャートに従って行われていた。同
図に示すようにアクセス介入はステップ1において一定
時間経過したかどうかが判定され、経過していなければ
ステップ2に進み時間待ちをする。ステップ1において
一定時間が経過してはじめてステップ3に進みアクセス
介入が1回行われる。このように従来のアクセス処理に
おいてはプログラマブルコントローラに対して一定の介
入時間間隔が経過してはじめてアクセス可能となり、一
定時間間隔が経過しないうちは時間が経過するまで待た
なければならなかった。Conventionally, access intervention to a programmable controller during sequence processing in a computer control system has been performed according to the flowchart shown in FIG. As shown in the figure, in access intervention, it is determined in step 1 whether a certain period of time has elapsed, and if it has not elapsed, the process proceeds to step 2 and waits for the time. Only after a certain period of time has elapsed in step 1 does the process proceed to step 3, where one access intervention is performed. As described above, in conventional access processing, the programmable controller can only be accessed after a predetermined intervention time interval has elapsed, and unless the predetermined time interval has elapsed, the programmable controller has to wait until the time elapses.
従ってプログラマブルコントローラに対するアクセス介
入は、固定された介入時間間隔内に1回程度に制限され
る。しかしながらプログラマブルコントローラの処理能
力に比べてシーケンスプログラムが短かくてシーケンス
処理の稼動状態に余裕があり、もつと顧繁にアクセス介
入できる場合でも介入回数は一定時間内に1回程度に制
限されてしまい、アクセス処理をより高速にできないと
いう欠点があった。Access interventions to the programmable controller are therefore limited to about one time within a fixed intervention time interval. However, compared to the processing capacity of a programmable controller, the sequence program is short and there is plenty of leeway in the operating state of sequence processing, and even if access can be accessed frequently, the number of interventions is limited to about once within a certain period of time. However, the disadvantage was that access processing could not be made faster.
〔発明の概要〕。[Summary of the invention].
本発明はプログラマブルコントローラの稼動状態に応じ
てアクセス介入指令信号を出力するアクセス介入指示手
段を設けることにより上記欠点を除去するものであり、
以下実施例を用いて詳細に説明する。The present invention eliminates the above drawbacks by providing an access intervention instruction means that outputs an access intervention command signal depending on the operating state of the programmable controller.
This will be explained in detail below using examples.
第2図は本発明によるコンピュータ制御システムの一実
施例を示すブロック図である。同図において、1はプロ
グラマブルコントローラ、2は上記プログラマブルコン
トローラ1により制御される周辺ユニットである。プロ
グラマブルコントローラ1のメモリ3には第3図に示す
プログラム内容が記憶され、このメモリ内容にもとづき
アクセス介入指示手段4が動作してアクセス介入指令信
号Aを出力し、これに応答して周辺ユニット2が作動し
てアクセス信号Bが出力され、アクセスの介入が実行さ
れる。このプログラムの内容は介入間隔設定器5により
自由に改変し得るもので、この操作によりアクセス介入
指令信号Aが変化し、介入回数が変化し得る。上記プロ
グラムはプログラマブルコントローラ1の稼動率が小さ
いとき、アクセス介入指令信号Aを出力するように指示
するためのもので、具体的には第3図(al、 (bi
、 (C)に示す。同図のプログラムにつき、以下説明
する。FIG. 2 is a block diagram showing one embodiment of a computer control system according to the present invention. In the figure, 1 is a programmable controller, and 2 is a peripheral unit controlled by the programmable controller 1. The program contents shown in FIG. 3 are stored in the memory 3 of the programmable controller 1, and the access intervention instruction means 4 operates based on the memory contents and outputs the access intervention instruction signal A. is activated, access signal B is output, and access intervention is executed. The contents of this program can be freely modified using the intervention interval setter 5, and this operation changes the access intervention command signal A and the number of times of intervention. The above program is for instructing to output the access intervention command signal A when the operating rate of the programmable controller 1 is low.
, shown in (C). The program shown in the figure will be explained below.
第3図(a)はユーザが使用するシステムサブルーチン
であり、第3図(blは10m5ecごとにががる割込
み処理プログラム、第3図(C)はプログラマブルコン
トローラに対するアクセス処理プログラムである。なお
、第3 r (a)のXは第2図に示した介入間隔設定
器5によりユーザが定義したプログラマブルコントロー
ラへの介入時間間隔(単位はm5ec)である。プログ
ラマブルコントローラ1に対するアクセス処理は第3図
(C1に示されるように介入カウンタが0でないときの
み可能であり(ステップ1→2→3)、介入カウンタが
0の場合にはOでなくなるまで待つ(ステップ1→4)
。FIG. 3(a) shows a system subroutine used by the user, FIG. 3(bl) is an interrupt processing program that is executed every 10m5ec, and FIG. 3(C) is an access processing program for the programmable controller. 3. X in r(a) is the intervention time interval (unit: m5ec) to the programmable controller defined by the user using the intervention interval setter 5 shown in FIG. 2.The access process to the programmable controller 1 is shown in FIG. (As shown in C1, this is possible only when the intervention counter is not 0 (steps 1 → 2 → 3), and if the intervention counter is 0, wait until it is no longer 0 (steps 1 → 4)
.
この介入カウンタの値は第3図(blで示される10m
s e c割込処理プログラム内でX×10m s
e cに1回10に更新される(ステップi −2)。The value of this intervention counter is
x x 10m s in the s e c interrupt processing program
It is updated to 10 once every e c (step i-2).
Xとは第3図(alで示されるシステムサブルーチン内
で定義される時間XでありこのXの値はユーザにより決
められる(ステップ1)。このように第3図のフローチ
ャートに従ったアクセス介入によれば、プログラマブル
コントローラに対しXX10m5e、cに10回程度、
すなわちX m secに1程度度のアクセス介入を行
うことができる。X is the time X defined in the system subroutine shown in FIG. According to the programmable controller, about 10 times on XX10m5e and c.
That is, access intervention can be performed approximately once every X m sec.
また、第4図は本発明によるコンピュータ制御システム
の他の実施例を示すブロック図であり、これはプログラ
マブルコントローラ1の外部にアクセス介入指示手段4
が設けられる。これはプログラマブルコントローラ1の
機械制御用プログラムの内容を判読し、プログラマブル
コントローラ1の稼動状態を判定し、アクセス介入の余
地があると判定したときアクセス介入指令信号Aを出力
する。この場合、アクセス介入指令信号Aは介入間隔設
定器5の操作量に見合って調整され、これで介入回数が
設定される。FIG. 4 is a block diagram showing another embodiment of the computer control system according to the present invention.
is provided. This reads the contents of the machine control program of the programmable controller 1, determines the operating state of the programmable controller 1, and outputs the access intervention command signal A when it is determined that there is room for access intervention. In this case, the access intervention command signal A is adjusted according to the amount of operation of the intervention interval setting device 5, and the number of interventions is thereby set.
このように、プログラマブルコントローラにアクセス介
入余地があるときアクセスするので、アクセス回数を増
加でき、しかも介入間隔設定器5で介入回数を調整でき
るので、ユーザの要求に応じてアクセス介入回数を増加
することができる。In this way, since the programmable controller is accessed when there is room for access intervention, the number of accesses can be increased, and since the number of interventions can be adjusted with the intervention interval setting device 5, the number of access interventions can be increased according to the user's request. I can do it.
以上説明したように本発明によるコンピュータ制御シス
テムによれば、プログラマブルコントローラの稼動状態
に応じてアクセス介入指令信号を出力するアクセス介入
指示手段を設けたことにより、アクセス介入回数を増加
できるので、アクセス処理をより高速にできるという効
果がある。As explained above, according to the computer control system according to the present invention, the number of access interventions can be increased by providing the access intervention instruction means that outputs the access intervention command signal according to the operating state of the programmable controller. This has the effect of making it faster.
第1図は従来のコンピュータ制御システムの一例を示す
フローチャート、第2図は本発明による同システムの一
実施例を示すプロ、り図、第3図は同じくフローチャー
ト、第4図は本発明による他の実施例を示すブロック図
である。
1・・・プログラマブルコントローラ、2・・・周辺ユ
ニット、3・・・メモリ、4・・・アクセス介入指示手
段、5・・・介入間隔設定器。
なお、図中間−又は相当部分には同一符号を用いている
。
代理人 大 岩 増 雄(ばか2名)
第1図
第2図
第3図(a) (b)
(C)FIG. 1 is a flowchart showing an example of a conventional computer control system, FIG. 2 is a flowchart showing an embodiment of the same system according to the present invention, FIG. 3 is a flowchart as well, and FIG. It is a block diagram showing an example of. DESCRIPTION OF SYMBOLS 1... Programmable controller, 2... Peripheral unit, 3... Memory, 4... Access intervention instruction means, 5... Intervention interval setter. Note that the same reference numerals are used for the middle part of the figure or corresponding parts. Agent Masuo Oiwa (2 idiots) Figure 1 Figure 2 Figure 3 (a) (b) (C)
Claims (1)
アクセスする周辺ユニットを備えたコンピュータ制御シ
ステムにおいて、プログラマブルコントローラの稼動状
態に応じてアクセス介入指令信号を周辺ユニットに出力
するアクセス介入指示手段を設け、周辺ユニットは上記
アクセス介入指令信号にもとづいてプログラマブルコン
トローラをアクセスするようにしたことを特徴とするコ
ンピュータ制御システム。In a computer control system equipped with a peripheral unit that outputs an access signal to the programmable controller to access the programmable controller, an access intervention instruction means is provided that outputs an access intervention command signal to the peripheral unit according to the operating state of the programmable controller, and the peripheral unit A computer control system characterized in that a programmable controller is accessed based on an access intervention command signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6161284A JPS60205635A (en) | 1984-03-29 | 1984-03-29 | Computer control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6161284A JPS60205635A (en) | 1984-03-29 | 1984-03-29 | Computer control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60205635A true JPS60205635A (en) | 1985-10-17 |
Family
ID=13176159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6161284A Pending JPS60205635A (en) | 1984-03-29 | 1984-03-29 | Computer control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60205635A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01126728A (en) * | 1987-11-12 | 1989-05-18 | Mitsubishi Electric Corp | Executing speed decision system for data processor |
-
1984
- 1984-03-29 JP JP6161284A patent/JPS60205635A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01126728A (en) * | 1987-11-12 | 1989-05-18 | Mitsubishi Electric Corp | Executing speed decision system for data processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02235156A (en) | Information processor | |
JPS60205635A (en) | Computer control system | |
JPH0934518A (en) | Control processor | |
JP3647481B2 (en) | Microcontroller | |
JPS616704A (en) | Programmable controller | |
JPH0357053A (en) | Down load control system for communication processing device | |
JPH0683652A (en) | Microcomputer system | |
JPH05197577A (en) | Virtual computer execution priority control system in virtual computer system | |
JP2565923B2 (en) | Data transfer method | |
JPH04148439A (en) | Tracing system for information processor | |
JPH01248264A (en) | System for controlling contention of system bus | |
JPH0279128A (en) | Shared interruption control system | |
JPS5995651A (en) | Altering method of memory data | |
JPH02310729A (en) | Processing mode change control system for information processor | |
JP2522047B2 (en) | Programmable controller for device control | |
JPH047739A (en) | Controlling system for instruction executing time | |
JPH0462093B2 (en) | ||
JPH0934516A (en) | Programmable controller for sequence control | |
JPH0481939A (en) | Control system for microcomputer | |
JPS59188702A (en) | Programmable controller | |
JPH0543247U (en) | ROM access control device | |
JPH06348581A (en) | Memory access controller | |
JPH0363227U (en) | ||
JPS63305403A (en) | Process control computer | |
JPH01102648A (en) | Single-chip microcomputer |