JPS60205635A - Computer control system - Google Patents

Computer control system

Info

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
Application number
JP6161284A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Matsuoka
松岡 美幸
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6161284A priority Critical patent/JPS60205635A/en
Publication of JPS60205635A publication Critical patent/JPS60205635A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To increase the frequency of access intervention by providing an access intervention indicating means which outputs an access intervention command signal according to the operation state of a programmable controller. CONSTITUTION:The memory 3 of the programmable controller (PC) 1 is stored with system subroutines that a user uses, an interruption processing program which is initiated at intervals of 10msec, and an access program for the PC. The access intervention indicating means 4 operates on the basis of the memory contents to output the access intervention command signal A, and a peripheral unit 2 operates in response to the signal to output an access signal B, performing access intervention. The contents of this program are altered freely through an intervention interval setter 5, so the command signal A varies according to the operation and the frequency of intervention is varied.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はコンピュータ制御システム、特にプログラマブ
ルコントローラに対するアクセス介入手段に関するもの
である。
TECHNICAL FIELD OF THE INVENTION The present invention relates to computer control systems, and in particular to access intervention means for programmable controllers.

〔従来技術〕[Prior art]

従来、コンピュータ制御システムにおいてシーケンス処
理中のプロマブルコントローラに対するアクセス介入は
第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.

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

第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.

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

以上説明したように本発明によるコンピュータ制御シス
テムによれば、プログラマブルコントローラの稼動状態
に応じてアクセス介入指令信号を出力するアクセス介入
指示手段を設けたことにより、アクセス介入回数を増加
できるので、アクセス処理をより高速にできるという効
果がある。
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.

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

第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)

【特許請求の範囲】[Claims] プログラマブルコントローラにアクセス信号を出力して
アクセスする周辺ユニットを備えたコンピュータ制御シ
ステムにおいて、プログラマブルコントローラの稼動状
態に応じてアクセス介入指令信号を周辺ユニットに出力
するアクセス介入指示手段を設け、周辺ユニットは上記
アクセス介入指令信号にもとづいてプログラマブルコン
トローラをアクセスするようにしたことを特徴とするコ
ンピュータ制御システム。
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.
JP6161284A 1984-03-29 1984-03-29 Computer control system Pending JPS60205635A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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