JPS63180120A - Cyclic processor in computer system - Google Patents

Cyclic processor in computer system

Info

Publication number
JPS63180120A
JPS63180120A JP62012126A JP1212687A JPS63180120A JP S63180120 A JPS63180120 A JP S63180120A JP 62012126 A JP62012126 A JP 62012126A JP 1212687 A JP1212687 A JP 1212687A JP S63180120 A JPS63180120 A JP S63180120A
Authority
JP
Japan
Prior art keywords
timer
execution
interval
processing
output
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
JP62012126A
Other languages
Japanese (ja)
Inventor
Atsushi Maejima
淳 前島
Toshimitsu Muramatsu
村松 年光
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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP62012126A priority Critical patent/JPS63180120A/en
Publication of JPS63180120A publication Critical patent/JPS63180120A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of a computer system and also to ensure its general usefulness by using an execution managing device and outputting an AND between the managing information output and the execution timing output to process plural objects. CONSTITUTION:An execution managing device 3 supplies the greatest common measure of plural intervals obtained by an interval timer 2 as the timer value and divides the maximum interval value of a computer system by said timer value. Then the interruptions are applied to the device 3 from the timer 2 at every timer value in the form of the bit field having a size equivalent to the value obtained from said division. The AND is obtained at the time of the interruption between the control information output 121 given from an execution managing information table part 4 and the execution timing output 122 given from a bit pointer part 5. Then the processing parts 6-9 perform their processing actions only when the AND output 123 is equal to 1. Thus the control is possible just with a single timer 2 and the smooth processing is ensured within the device 3. Then the reliability of a computer system is improved together with its general usefulness.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、コンピュータシステムにおけるサイクリック
処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a cyclic processing device in a computer system.

30発明の概要 本発明はコンピュータシステムにおけるサイクリック処
理装置において、 複数のインターバルの最大公約数を求め、これをタイマ
値とするインターバルタイマと、前記タイマ値で前記イ
ンターバルの最長値を割算し、この割算して得た値に相
当するビットフィールドでインターバルを実行及び管理
する実行管理装(直と一前記実行管理装電に命令を指示
する実行管理清報テーブル部及びビットポインタ部から
成るものであって、 装置の信頼性を向上させると共に汎用性をもたせるよう
にしたものである。
30 Summary of the Invention The present invention provides a cyclic processing device in a computer system, which includes: determining the greatest common divisor of a plurality of intervals; using this as a timer value; and dividing the longest value of the interval by the timer value; An execution management unit that executes and manages an interval using a bit field corresponding to the value obtained by this division (consisting of an execution management information table unit that instructs the execution management unit to command commands, and a bit pointer unit) This is intended to improve the reliability of the device and provide versatility.

C9従来の技術 従来、コンピュータシステムにおけるサイクリック処理
装置においては、異なったインターバルで処理すべき複
数の処理対象がある場合に、それぞれのインターバル毎
に作動する複数個のインターバルタイマが備えられてい
た。
C9 Prior Art Conventionally, in a cyclic processing device in a computer system, when there are a plurality of processing objects to be processed at different intervals, a plurality of interval timers have been provided which operate at each interval.

第4図は、かかるサイクリック処理装置のブロック図を
示すものである。この図において、インターバルタイマ
50〜53はタイマ管理部54を介して各処理部55〜
58に接崎されている。インターバルタイマ50〜53
はタイマ管理部54ヘタイマ出力100〜103 を供
給し、またタイマ管理部54は処理部55〜58へ管理
情報出力104〜107を供給する。
FIG. 4 shows a block diagram of such a cyclic processing device. In this figure, interval timers 50 to 53 are connected to respective processing units 55 to 53 via a timer management unit 54.
It is attached to 58. Interval timer 50-53
supplies timer outputs 100-103 to the timer management unit 54, and the timer management unit 54 supplies management information outputs 104-107 to processing units 55-58.

D0発明が解決しようとする間1点 しかし、かかる従来のサイクリック処理装置においては
、処理部の数が増加すると、増加した処理部の管理をタ
イマ管理部54でしなければならない。それ故に5本処
理装置では、各インターバルタイマ50〜53の作動時
にタイマ管理部54に各タイマ出力100〜103が入
力するので、タイマ管理8(154での処理を複雑化し
、装置の信頼性を低下させていた。また、従来のサイク
リック処理装置では、各処理部に供給する管理情報出力
104〜107に相当するビットフィールドの大きさが
インターバルタイマ50〜53の出力する各々のタイマ
出力100〜103によって一義的に決められてしまっ
ていたため、汎用性に欠けていた。
However, in such a conventional cyclic processing device, when the number of processing units increases, the timer management unit 54 must manage the increased number of processing units. Therefore, in the five-processing device, each timer output 100 to 103 is input to the timer management section 54 when each interval timer 50 to 53 is activated, which complicates the processing in the timer management section 8 (154) and reduces the reliability of the device. Furthermore, in the conventional cyclic processing device, the size of the bit field corresponding to the management information outputs 104 to 107 supplied to each processing section is smaller than the size of each timer output 100 to 107 output by the interval timers 50 to 53. Since it was uniquely determined by 103, it lacked versatility.

本発明の目的は、装置の信頼性を向上させると共に汎用
性のあるコンピュータシステムにおけるサイクリック装
置を提倶することにある。
An object of the present invention is to provide a cyclic device in a computer system that improves the reliability of the device and is versatile.

E6問題点を解決するための手段 上記問題点を解決するための手段として本発明は、複数
のインターバルで処理すべき対象をインターバルタイマ
にて管理するコンピュータシステムにおけるサイクリッ
ク処理装置であって、前記インターバルの最大公約数を
求め、この最大公約数をタイマ値とするインターバルタ
イマと、前記インターバルタイマの前記タイマ値で前記
インターバルの最長インターバル値を割算し、この割算
して得た値に相当するビットフィールドで前記インター
バルを実行及び管理する実行管理装置と、前記実行管理
装置へ管理情報出力を供給する実行管理情報テーブル部
と、前記実行管理装置へ実行タイミング出力を供給する
ビットポインタ部とから成り、前記実行管理装置は前記
管理情報出力と前記実行タイミング出力との論理積を出
力して複数の処理対象を処理することを特徴とTる。
E6 Means for Solving Problems As a means for solving the above problems, the present invention provides a cyclic processing device for a computer system that uses an interval timer to manage objects to be processed at a plurality of intervals. Find the greatest common divisor of the intervals, divide the longest interval value of the interval by the timer value of the interval timer and the timer value of the interval timer, and correspond to the value obtained by this division. an execution management device that executes and manages the interval using a bit field to be executed, an execution management information table section that supplies management information output to the execution management device, and a bit pointer section that supplies execution timing output to the execution management device. The execution management device is characterized in that it processes a plurality of processing targets by outputting a logical product of the management information output and the execution timing output.

21作用 本すイクリツ、り処理装置では、複数の処理対象を1台
のインターバルタイマによって管理し、実行管理装置の
処理を平易にさせ、処理が円滑に行なわれるようにする
。更に、本装置ではピットフイールドの大きさを変更し
、汎用性をもたせることができる。
21 Functions In the digital processing device, a plurality of processing targets are managed by one interval timer, thereby simplifying the processing of the execution management device and ensuring that the processing is carried out smoothly. Furthermore, in this device, the size of the pit field can be changed to provide versatility.

G、実施例 次に、本発明をmt図乃至第3図に示す実施例に基づい
て詳細に説明する。
G. Example Next, the present invention will be explained in detail based on the example shown in mt diagrams to FIG.

第1図は本発明のサイクリック処理装置の一実施例を示
すブロック図で、この図において符号lはサイクリック
処理装置で、このサイクリック処理特賞1はインターバ
ルタイマ2を設定することにより動作し、このインター
バルタイマ2は、複数のインターバル(たとえば、5秒
、10秒、30秒。
FIG. 1 is a block diagram showing an embodiment of the cyclic processing device of the present invention. In this figure, reference numeral l is the cyclic processing device, and this cyclic processing special prize 1 operates by setting an interval timer 2. , this interval timer 2 has multiple intervals (for example, 5 seconds, 10 seconds, 30 seconds).

60秒)の最大公約数(この場合5)を求め、これをタ
イマ値(5秒)とするもので、実行管理装置に接続され
ている。実行管理装置3はタイマ値(5秒)でコンピュ
ータシステムに2けるインク−パルの最長インターバル
値(60秒)を割算し。
60 seconds) is found, and this is set as the timer value (5 seconds), which is connected to the execution management device. The execution management device 3 divides the longest ink-pulse interval value (60 seconds) in the computer system 2 by the timer value (5 seconds).

この割算して得た値に相当する大きさのピッl−フィー
ルドにする装置である。また、実行管理装置3には実行
管理情報テーブルFAA及びビットポインタ部5が接続
されている。このうち、実行管理情報テーブル部4は、
例えば、第2図に示すデータ配列から成るメモリである
。実行管理清報テーブル4から実行管理装置13へ供給
される実行管理清報が管理情報出力121である。また
ビットポインタ部5は、例えば第3図に示すアキュムレ
ータの内容からなるレジスタであって、同一ビットフィ
ールドの大きさで実行管理装置3へ実行タイミング出力
122を供給するものである。また、本実施例のサイク
リック処理装置では、実行管理装置3にインターバルタ
イマ2より割込みが゛かけられたとき、実行管理清報テ
ーブル4から出力する管理情報出力121とビットポイ
ンタ部5から出力する実行タイミング出力との論理積(
AND)を求め。
This device generates a pill field of a size corresponding to the value obtained by this division. Further, an execution management information table FAA and a bit pointer unit 5 are connected to the execution management device 3. Among these, the execution management information table section 4 is
For example, a memory consisting of the data array shown in FIG. The execution management information supplied from the execution management information table 4 to the execution management device 13 is the management information output 121. Further, the bit pointer unit 5 is a register consisting of the contents of the accumulator shown in FIG. 3, for example, and supplies an execution timing output 122 to the execution management device 3 with the same bit field size. In addition, in the cyclic processing device of this embodiment, when an interrupt is applied to the execution management device 3 by the interval timer 2, the management information output 121 output from the execution management report table 4 and the output from the bit pointer unit 5 are output. Logical AND with execution timing output (
AND).

その論理積が1のときのみ処理部6〜9の処理(5,1
0,3(J、60秒処理)を実行するようになっている
Only when the logical product is 1, the processing of processing units 6 to 9 (5, 1
0,3 (J, 60 seconds processing) is executed.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

先ず、ビットポインタ部5の最下位桁のアキュムレータ
を1とし、他のアキュムレータをOに初期設定する。
First, the least significant digit accumulator of the bit pointer section 5 is set to 1, and the other accumulators are initialized to O.

次に、インターバルタイマ2を作動する。インターバル
タイマ2では、複数のインターバル(たとえば、5秒、
10秒、30秒、60秒)の最大公約数(この場合には
5〕を求め、これをタ、イマ値(5秒)とする。また、
実行管理装置3では”インターバルタイマ2のタイマ[
(5秒〕で最長インターバル値(60秒)を割算し、こ
の割算して得た値に相当するビットフィールドの大きさ
く60÷5=12ビツト)にする。そして、実行管理装
置3では、インターバルタイマ2よりタイマ値(5秒)
毎に割り込みをかけ、この割込みをかけたときに実行管
理テーブルF!!A4からのW理消報出力121とビッ
トポインタ8is5からの実行タイミング出力122の
論理積(AND)を求める。そして、実行管理装置3の
論理積出力123が「1」のときには、本サイクリック
処理を実行し、Mll横積出力123rOJのときには
、プログラムシーケンスを一つ跳ばして先に進める。す
なわち、本実施例では命令がn番地目のアキュムレータ
に入っている場合には論理積出力123が「1」のとき
n+1番地を実行し、#@理積出力123が「0」のと
きn+2番地を実行する。従って、例えば処理部6の処
理を実行する場合には、管理情報出力121(第2図に
示す処理部6の命令〕と実行タイミング出力122(第
3図に示す命令)の論理積を求め、(001)+a(1
6進のとき)となるとき、実行対象と判断し、処理部6
の処理を実行する(5秒処理〕。以下同様に処理部6〜
9の処理をする。処理部9の処理(60秒処理)を終え
ると、アキュムレータの内容を左にシフトし、(002
)、、  にする。そして、実行管理装@3では、5秒
後に再びインターバルタイマー2より割り込みがかかり
、前記と同様管理情報出力121と実行タイミング出力
122の論理積を求めると、(002)II  となり
、実行対象であると判断され、処理部6の処理を実行す
る。次に、管理情報出力121(第2図に示す処理s7
の命令)と実行タイミング出力122(第3図に示す命
令)の論理積を求めると、(000)、s  となり、
実行対象外であると判断し、処理部7の処理(10秒処
理)をせずにスキップする。以下同様に処理部8.9で
の処理をスキップする。処理部9の処理をスキップした
後には、ビットポインタ部5のアキュムレータの内容を
シフトする。本処理装置では、ビットポインタ部5のア
キュムレータの内容をシフトしてサイクリックに使用す
ることができる。
Next, interval timer 2 is activated. Interval timer 2 uses multiple intervals (for example, 5 seconds,
Find the greatest common divisor (5 in this case) of 10 seconds, 30 seconds, 60 seconds) and use this as the Ta, Imma value (5 seconds).Also,
In the execution management device 3, the “interval timer 2 timer [
Divide the longest interval value (60 seconds) by (5 seconds), and make the bit field size corresponding to the value obtained by this division (60÷5=12 bits). Then, in the execution management device 3, the timer value (5 seconds) is set from the interval timer 2.
An interrupt is generated every time, and when this interrupt is generated, the execution management table F! ! The logical product (AND) of the W processing information output 121 from A4 and the execution timing output 122 from the bit pointer 8is5 is determined. Then, when the logical product output 123 of the execution management device 3 is "1", this cyclic processing is executed, and when the Mll horizontal product output 123rOJ, the program sequence is skipped by one and the program is advanced. That is, in this embodiment, if the instruction is in the n-th accumulator, the n+1 address is executed when the logical product output 123 is "1", and the n+2 address is executed when the logical product output 123 is "0". Execute. Therefore, for example, when executing the processing of the processing unit 6, calculate the AND of the management information output 121 (instruction of the processing unit 6 shown in FIG. 2) and the execution timing output 122 (instruction shown in FIG. 3), (001)+a(1
(in hexadecimal), it is determined that it is to be executed, and the processing unit 6
(5 seconds processing). Similarly, the processing unit 6 to
Perform step 9. When the processing of the processing unit 9 (60 seconds processing) is completed, the contents of the accumulator are shifted to the left and the contents of the accumulator are shifted to the left (002
),, to . Then, in the execution management device @3, an interrupt occurs again from the interval timer 2 after 5 seconds, and when the logical product of the management information output 121 and the execution timing output 122 is calculated in the same manner as above, it becomes (002)II, which is the execution target. It is determined that this is the case, and the processing of the processing unit 6 is executed. Next, the management information output 121 (processing s7 shown in FIG.
The logical AND of the execution timing output 122 (instruction shown in FIG. 3) is (000), s,
It is determined that it is not to be executed, and the process is skipped without being processed by the processing unit 7 (10 second process). Thereafter, the processing in the processing unit 8.9 is similarly skipped. After skipping the processing of the processing section 9, the contents of the accumulator of the bit pointer section 5 are shifted. In this processing device, the contents of the accumulator of the bit pointer section 5 can be shifted and used cyclically.

従って、本実施例のサイクリック処理装置によれば、検
数の処理対象(インターバル)を1台のインターバルタ
イマ2によって管理することができるので、実行管理情
報3内での処理がスムースとなり、装置の信頼性を低下
させることをなくすことができる。また、本実施例では
、タイマ値と実行管理情報のビットフィールドの大きさ
を変更すること415できるので、汎用性をもたせるこ
とができると共に実行管理情報をスライドさせることに
より、各実行タイミングにおいて各処理部間での同期を
とることが容易になる。
Therefore, according to the cyclic processing device of this embodiment, the processing target (interval) of the count can be managed by one interval timer 2, so that the processing in the execution management information 3 becomes smooth, and the device It is possible to avoid deterioration of reliability. Furthermore, in this embodiment, the size of the timer value and the bit field of the execution management information can be changed 415, so it is possible to provide versatility, and by sliding the execution management information, each process can be executed at each execution timing. It becomes easier to synchronize between departments.

H6発明の効果 上記のように、本発明によれば、今数の実行対象を1台
のインターバルタイマによって管理することができるの
で、実行管理装置内での処理がスムースになり装置の信
頼性を低下させることをなくすことができる。また、本
発明では、タイマ値と実行管f@情報のビットフィール
ドの大きさを変更することができるので、汎用性をもた
せることができる。
H6 Effects of the Invention As described above, according to the present invention, a large number of execution targets can be managed by one interval timer, so processing within the execution management device becomes smooth and reliability of the device is improved. It is possible to eliminate deterioration. Further, in the present invention, the size of the bit field of the timer value and the execution pipe f@ information can be changed, so that versatility can be provided.

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

第1図乃至第3図は本発明のコンピュータシステムにお
けるサイクリック処理装置の一実施例を示す図、第4図
は従来のサイクリック処理装置の例を示すブロック図で
ある。 2・・・インターバルタイマ、3・・・実行管理情報、
4・・・実行管理清報テーブル部、5・・・ビットポイ
ンタ部。
1 to 3 are diagrams showing an embodiment of a cyclic processing device in a computer system of the present invention, and FIG. 4 is a block diagram showing an example of a conventional cyclic processing device. 2...Interval timer, 3...Execution management information,
4... Execution management report table section, 5... Bit pointer section.

Claims (1)

【特許請求の範囲】[Claims] 複数の実行対象をインターバルタイマにて管理するコン
ピュータシステムにおけるサイクリツク処理装置におい
て、前記インターバルの最大公約数を求め、この最大公
約数をタイマ値とするインターバルタイマと、前記イン
ターバルタイマの前記タイマ値で前記インターバルの最
長値を割算し、この割算して得た値に相当する大きさの
ビツトフイールドで前記インターバルを実行及び管理す
る実行管理装置と、前記実行管理装置へ管理情報出力を
供給する実行管理情報テーブル部と、前記実行管理装置
へ実行タイミング出力を供給するビツトポインタ部とか
ら成り、前記実行管理装置は前記管理情報出力と前記実
行タイミング出力との論理積を出力して処理することを
特徴とするコンピユータシステムにおけるサイクリツク
処理装置。
In a cyclic processing device in a computer system in which a plurality of execution targets are managed by an interval timer, the greatest common divisor of the intervals is determined, an interval timer whose timer value is this greatest common divisor, and an interval timer whose timer value is the timer value of the interval timer are calculated. an execution management device that divides the longest value of the interval and executes and manages the interval using a bit field of a size corresponding to the value obtained by this division; and an execution management device that supplies management information output to the execution management device. It consists of a management information table section and a bit pointer section that supplies an execution timing output to the execution management device, and the execution management device outputs and processes a logical product of the management information output and the execution timing output. A cyclic processing device in a computer system characterized by:
JP62012126A 1987-01-21 1987-01-21 Cyclic processor in computer system Pending JPS63180120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62012126A JPS63180120A (en) 1987-01-21 1987-01-21 Cyclic processor in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62012126A JPS63180120A (en) 1987-01-21 1987-01-21 Cyclic processor in computer system

Publications (1)

Publication Number Publication Date
JPS63180120A true JPS63180120A (en) 1988-07-25

Family

ID=11796843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62012126A Pending JPS63180120A (en) 1987-01-21 1987-01-21 Cyclic processor in computer system

Country Status (1)

Country Link
JP (1) JPS63180120A (en)

Similar Documents

Publication Publication Date Title
KR950012256A (en) Computer system for processing vector data and method thereof
GB892433A (en) Improvements in and relating to program controlled electronic data processing machines
US3109162A (en) Data boundary cross-over and/or advance data access system
US20060004980A1 (en) Address creator and arithmetic circuit
JPS6141027B2 (en)
US3939452A (en) Desk-top electronic computer with MOS circuit logic
JPH04121085A (en) Digital pulse processor
CN101025730A (en) Reconfigurable circuit
JP3144842B2 (en) Microprocessor
JPS63180120A (en) Cyclic processor in computer system
US4685077A (en) Data processing apparatus having binary multiplication capability
US5546592A (en) System and method for incrementing memory addresses in a computer system
JPH07182145A (en) Generating device for initial value of random number
SU1405051A1 (en) Device for converting coordinates
SU1471189A2 (en) Square difference computer
JP2923869B2 (en) Event input circuit
JPH03246603A (en) Rapid counter
JPH0477349B2 (en)
JPH0580690B2 (en)
JPS61255422A (en) Timer controlling circuit
JPH0474799B2 (en)
JPH07210371A (en) Pipeline type division processor
JPS6143736B2 (en)
JPH01208040A (en) Timer for controlling plural channels
JPS62168235A (en) Data processor