JPS63240298A - Rearrangement system for analog input data - Google Patents

Rearrangement system for analog input data

Info

Publication number
JPS63240298A
JPS63240298A JP7506387A JP7506387A JPS63240298A JP S63240298 A JPS63240298 A JP S63240298A JP 7506387 A JP7506387 A JP 7506387A JP 7506387 A JP7506387 A JP 7506387A JP S63240298 A JPS63240298 A JP S63240298A
Authority
JP
Japan
Prior art keywords
buffer
data
order
sampling
measurement data
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
JP7506387A
Other languages
Japanese (ja)
Other versions
JPH0787617B2 (en
Inventor
Masato Suzuki
眞人 鈴木
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 Facom Corp
Original Assignee
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 Facom Corp filed Critical Fuji Facom Corp
Priority to JP7506387A priority Critical patent/JPH0787617B2/en
Publication of JPS63240298A publication Critical patent/JPS63240298A/en
Publication of JPH0787617B2 publication Critical patent/JPH0787617B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To save man-hours for generating a program by providing a sampling buffer storing digital measured data in a prescribed order by a process adaptor, a control table designating changes in the storage order of the measured data and a channel controlling means for storing the data into a buffer while changing the order according to a command. CONSTITUTION:A channel controlling means 14 accesses a process adaptor 2 by the channel control mode to drive a multiplexer 20. The measurement data is selected in the order shown in a figure (b), the data is converted into a digital quantity by an A-D converter 21 and stored sequentially in a sampling buffer 15. Then a control table 12 is read sequentially from the top and the address data in the buffer 15 represented by the address data of the sampling buffer 15 is transferred to the address represented by the address data of the buffer to change the order of the measured data and the result is stored in the buffer 13. Thus, the arrangement of the measured data transferred in the memory 11 in this way is a desired order by an application task 171.

Description

【発明の詳細な説明】 〔概要〕 プロセス用アダプタにより計測データをディジタル信号
に変換して受信する処理装置に、プロセス用アダプタが
所定の順序でディジタル化した該計測データを格納する
サンプリングバッファ、サンプリングバッファに格納さ
れた計測データの格納順序の変更を指定する制御テーブ
ル、制御テーブルの指示に従い順序を変更してバッファ
に格納するチャンネル制御手段を設けた。
[Detailed Description of the Invention] [Summary] A processing device that converts measurement data into a digital signal and receives it using a process adapter includes a sampling buffer that stores the measurement data that has been digitized in a predetermined order by the process adapter; A control table for specifying a change in the storage order of measurement data stored in the buffer, and a channel control means for changing the order and storing the measurement data in the buffer according to the instructions of the control table are provided.

〔産業上の利用分野〕[Industrial application field]

本発明はプロセス用アダプタを介してアナログ信号をデ
ィジタル形プロセッサに入力する場合に於けるチャンネ
ル制御モードのアナログ入力デー夕の並替え方式に関す
るものである。
The present invention relates to a system for rearranging analog input data in a channel control mode when analog signals are input to a digital processor via a process adapter.

〔従来の技術〕[Conventional technology]

第3図(alは従来のアナログ信号の入力方式の一例を
示す図である。
FIG. 3 (al is a diagram showing an example of a conventional analog signal input method.

第3図(blは従来のアナログ信号の入力方式の説明図
である。
FIG. 3 (bl is an explanatory diagram of a conventional analog signal input method.

図中、■は処理装置、10はプロセッサ、11はメモリ
、2はプロセス用アダプタ、20はマルチプレクサ、2
1はA−D変換器、3.〜3..は夫々計測器、16は
チャンネル部、17.〜17..は夫々アプリケーショ
ンタスク、181〜18.l は夫々サンプリングサブ
ルーチンである。尚以下全図を通じ同一記号は同一対象
物を表す。
In the figure, ■ is a processing device, 10 is a processor, 11 is a memory, 2 is a process adapter, 20 is a multiplexer, 2
1 is an A-D converter; 3. ~3. .. are measuring instruments, 16 is a channel section, and 17. ~17. .. are application tasks, 181 to 18., respectively. l are each sampling subroutines. The same symbols represent the same objects throughout all the figures below.

多数の計測器31〜3.、はプロセス用アダプタ2を介
して処理装置1に接続される。
A large number of measuring instruments 31-3. , are connected to the processing device 1 via the process adapter 2.

計測器3I〜3、により採取された測定データはプロセ
ス用アダプタ2内に於いて、マルチプレクサ20により
順次選択され、次ぎにA−D変換器21によりディジタ
ル量に変換された後、処理装置1に送られる。
The measurement data collected by the measuring instruments 3I to 3 are sequentially selected by the multiplexer 20 in the process adapter 2, and then converted into digital quantities by the A-D converter 21, and then sent to the processing device 1. Sent.

処理装置1がプロセス用アダプタ2を介して測定データ
を収集する場合、処理装置1のプロセッサ10の負担を
軽くするため、チャンネル制御モードにより測定データ
の収集を行う。
When the processing device 1 collects measurement data via the process adapter 2, the measurement data is collected in channel control mode in order to reduce the burden on the processor 10 of the processing device 1.

此のチャンネル制御モードはダイレクトメモリアクセス
DMAと同様な処理で、プロセッサ10が関与すること
なく、チャンネル部16に設けられたダイレクトメモリ
アクセス回路がプロセス用アダプタ2にアクセスし、得
られた測定データをメモIJIIにDMA転送して格納
する。
This channel control mode is a process similar to direct memory access DMA, in which the direct memory access circuit provided in the channel section 16 accesses the process adapter 2 and the obtained measurement data is processed without the processor 10 being involved. DMA transfer and store in Memo IJII.

此の様な計測システムを実際に動作させる場合、プロセ
ッサ10はアプリケーションタスク17.の指示に従い
動作する。即ち、アプリケーションタスク17.のサン
プリングサブルーチン1B、がチャンネル制御モードで
動作しくチャンネル部16を駆動して)プロセス用アダ
プタ2にアクセスし、プロセス用アダプタ2はマルチプ
レクサ20を動作させて、各測定器31〜3□の測定デ
ータを採取し、A−D変換器21によりディジタル量に
変換した後、メモリ11に転送する。
When actually operating such a measurement system, the processor 10 performs application tasks 17. Operate according to the instructions. That is, application task 17. The sampling subroutine 1B operates in the channel control mode and drives the channel unit 16 to access the process adapter 2, and the process adapter 2 operates the multiplexer 20 to transfer the measurement data of each measuring device 31 to 3□. is sampled, converted into a digital quantity by the A-D converter 21, and then transferred to the memory 11.

此の時、マルチプレクサ20により各測定器3゜〜3ゎ
の測定データを採取する順番は、第3図(blに示す様
に、一番目は測定器3I、二番目は測定器32、三番目
は測定器33、・・・n番目は測定器3.、の順序をと
るのが普通である。
At this time, the order in which the multiplexer 20 collects the measurement data of each measuring device 3° to 3° is as shown in Figure 3 (bl), the first is the measuring device 3I, the second is the measuring device 32, and the third is Normally, the order is as follows: measuring device 33, . . ., measuring device 3, and so on.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

然しなから此の様な計測システムを実際に動作させる為
に、各種のアプリケーションタスク171〜17.l、
従って各種のサンプリングサブルーチン18、〜18.
.が作成される。此の場合、使用される測定器は略同じ
であるが、プロセス用アダプタ2のマルチプレクサ20
の入力端子に接続される順番が異なると異なる順序で測
定器のデータをサンプリングするため、新しいアプリケ
ーションタスク、従ってサンプリングサブルーチンを作
成・用意する必要があり、計測システムの運用上煩わし
いと云う問題点があった。
However, in order to actually operate such a measurement system, various application tasks 171 to 17. l,
Therefore, various sampling subroutines 18, -18.
.. is created. In this case, the measuring instruments used are almost the same, but the multiplexer 20 of the process adapter 2
Since data from the measuring instruments is sampled in a different order if the input terminals are connected in a different order, it is necessary to create and prepare a new application task and therefore a sampling subroutine, which poses the problem of cumbersome operation of the measurement system. there were.

本発明の目的は板金マルチプレクサ20の入力端子に接
続される測定器3.〜37の順番が変わった場合で入力
速度、即ち、サンプリング速度を変えることなく対応出
来る方式を提供することである。
The purpose of the present invention is to provide measuring instruments 3. connected to the input terminals of the sheet metal multiplexer 20. It is an object of the present invention to provide a method that can cope with the case where the order of . . . 37 changes without changing the input speed, that is, the sampling speed.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は第1図の原理図に示す様に、プロセス用ア
ダプタ2により計測データをディジタル信号に変換して
受信する処理装置1であって、プロセス用アダプタ2が
所定の順序で出力するディジタル化された計測データを
順次格納するサンプリングバッファ15、サンプリング
バッファ15に格納されている計測データの格納順序の
変更を指定する制御テーブル12、計測データを格納す
るバッファ13、及びチャンネル制御手段14を設ける
ことにより解決される。
As shown in the principle diagram of FIG. 1, the above problem lies in the processing device 1 that converts measurement data into digital signals and receives them using the process adapter 2, and the process adapter 2 outputs digital signals in a predetermined order. A sampling buffer 15 for sequentially storing converted measurement data, a control table 12 for specifying a change in the storage order of measurement data stored in the sampling buffer 15, a buffer 13 for storing measurement data, and a channel control means 14 are provided. This is solved by

〔作用〕[Effect]

本発明に依ると処理装置1がプロセス用アダプタ2から
計測データを受信する場合、チャンネル制御手段14が
チャンネル制御モードでプロセス用アダプタ2にアクセ
スし、プロセス用アダプタ2が所定の順序でディジタル
化した計測データをサンプリングバッファ15に格納す
る。次ぎにサンプリングバッファ15に格納されている
計測データの格納順序を、制御テーブル12の指示に従
って変更し、バッファ13に格納するのでデータ採取が
均一化されると云う効果が生まれる。
According to the present invention, when the processing device 1 receives measurement data from the process adapter 2, the channel control means 14 accesses the process adapter 2 in channel control mode, and the process adapter 2 digitizes the data in a predetermined order. The measurement data is stored in the sampling buffer 15. Next, the storage order of the measurement data stored in the sampling buffer 15 is changed according to the instructions of the control table 12 and stored in the buffer 13, resulting in the effect that data collection is made uniform.

〔実施例〕〔Example〕

第2図(alは本発明に依るアナログ入力データの並替
え方式の一実施例を示す図である。
FIG. 2 (al is a diagram showing an embodiment of the analog input data rearrangement method according to the present invention.

第2図(blは制御テーブルの説明図である。FIG. 2 (bl is an explanatory diagram of the control table.

図中、12は制御テーブル、13はバッファ、14はチ
ャンネル制御手段、15はサンプリングバッファである
In the figure, 12 is a control table, 13 is a buffer, 14 is a channel control means, and 15 is a sampling buffer.

本発明に於いて、処理装置1に制御テーブル12、バッ
ファ13、チャンネル制御手段14、及びサンプリング
バッファ15を設ける。
In the present invention, the processing device 1 is provided with a control table 12, a buffer 13, a channel control means 14, and a sampling buffer 15.

チャンネル制御手段14はチャンネル制御モードで、即
ち、チャンネル部16を駆動してプロセス用アダプタ2
にアクセスし、マルチプレクサ20を駆動して第3図(
blに示す様に、一番目は測定器3゜、二番目は測定器
3□、三番目は測定器33、・・・n番目は測定器3゜
の順序で測定データを選択し、A−D変換器21により
ディジタル量に変換した後、サンプリングバッファ15
に順次格納し、次に制御テーブル12の指示に従い、測
定データの格納順序を変更してバッファ13に格納する
タスクである。
The channel control means 14 is in a channel control mode, that is, it drives the channel section 16 to control the process adapter 2.
is accessed and drives the multiplexer 20, as shown in Fig. 3 (
As shown in bl, the measurement data is selected in the order of measuring instrument 3° for the first one, measuring instrument 3□ for the second, measuring instrument 33 for the third, ... and measuring instrument 3° for the nth, and then After being converted into a digital quantity by the D converter 21, the sampling buffer 15
This task is to sequentially store the measured data in the buffer 13, then change the storage order of the measured data according to the instructions from the control table 12, and then store the measured data in the buffer 13.

制御テーブル12は第2図(blに示す様にアプリケー
ションタスク17.がプロセス用アダプタ2から入力さ
れた測定データをメモリ11へ格納する時の格納順序を
指定するテーブルであり、バッファの格納アドレスデー
タとサンプリングバッファ15の格納アドレスデータと
が対になって格納されている。
The control table 12 is a table that specifies the storage order when the application task 17. stores the measurement data input from the process adapter 2 into the memory 11, as shown in FIG. and the storage address data of the sampling buffer 15 are stored in pairs.

本発明では、■アプリケーションタスク17.は制御テ
ーブル12に、測定データをメモリ11に格納する順序
をセントする。
In the present invention, ■Application task 17. specifies in the control table 12 the order in which measured data is stored in the memory 11.

■アプリケーションタスク17.が測定器31〜37の
測定データを採取する時は、先づチャンネル制御手段1
4を起動する。
■Application task 17. When collecting measurement data from the measuring instruments 31 to 37, first the channel control means 1
Start 4.

チャンネル制御手段14は前述した様にチャンネル制御
モードでプロセス用アダプタ2にアクセスし、マルチプ
レクサ20を駆動して第3図(b)に示す順序で測定デ
ータを選択し、A−D変換器21によリデイジタル量に
変換した後、サンプリングバッファ15に順次格納する
As described above, the channel control means 14 accesses the process adapter 2 in the channel control mode, drives the multiplexer 20, selects the measurement data in the order shown in FIG. After converting it into a re-digital quantity, it is sequentially stored in the sampling buffer 15.

次にチャンネル制御手段14は制御テーブル12を頭か
ら順に読み出し、バッファのアドレスデータの示すアド
レスにサンプリングバッファ15のアドレスデータの示
すアドレスデータを転送することで、測定データの順番
を変更してバッファ13に格納する。
Next, the channel control means 14 sequentially reads the control table 12 from the beginning and transfers the address data indicated by the address data of the sampling buffer 15 to the address indicated by the address data of the buffer, thereby changing the order of the measurement data and Store in.

■次にバッファ13に格納されている測定データをメモ
リ11へ転送する。
(2) Next, the measurement data stored in the buffer 13 is transferred to the memory 11.

此の様にしてメモリ11へ転送された測定データの配置
はアプリケーションタスク171 の希望する順序とな
る。
The measurement data transferred to the memory 11 in this manner is arranged in the order desired by the application task 171.

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

以上詳細に説明した様に本発明によれば、サンプリング
するチャンネルに名前、又は番号を付けておけば、異な
る計測システムにも同じアプリケーションタスクで処理
を行うことが可能になり、プログラム作成の手間が省け
ると云う大きい効果がある。
As explained in detail above, according to the present invention, by assigning names or numbers to sampling channels, it becomes possible to process different measurement systems with the same application task, reducing the effort of creating programs. There is a big effect that it can be saved.

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

第1図は本発明の原理図である。 第2図(alは本発明に依るアナログ入力データの並べ
替え方式の一実施例を示す図である。 第2図(blは制御テーブルの説明図である。 第3図(a)は従来のアナログ信号の入力方式の一例を
示す図である。 第3図(b)は従来のアナログ信号の入力方式の説明図
である。 図中、1は処理装置、2はプロセス用アダプタ、31〜
3□は夫々計測器、10はプロセッサ、11はメモリ、
12は制御テニブル、13はバッファ、14はチャンネ
ル制御タスク、15はサンプリングバッファ、16はチ
ャンネル部、17.〜17.lは夫々アプリケーション
タスク、18.〜18nは夫々サンプリングサブルーチ
ン、20はマルチプレクサ、21はA−D変換器である
。 、4発明り4月り図 劣し表つアゲE7.フイU入カオへQL□7じ1シjヲ
Lヌづrbノ 刀后
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 (al is a diagram showing an example of the analog input data sorting method according to the present invention. FIG. 2 (bl is an explanatory diagram of a control table. FIG. It is a figure which shows an example of the input method of an analog signal. FIG.3(b) is an explanatory diagram of the conventional input method of an analog signal. In the figure, 1 is a processing device, 2 is a process adapter, 31-
3□ are measuring instruments, 10 is a processor, 11 is a memory,
12 is a control table, 13 is a buffer, 14 is a channel control task, 15 is a sampling buffer, 16 is a channel section, 17. ~17. l is an application task, 18. -18n are sampling subroutines, 20 is a multiplexer, and 21 is an A/D converter. , Age E7. After entering QL□7ji1shijwoLnuzurb

Claims (1)

【特許請求の範囲】 プロセス用アダプタ(2)により計測データをデイジタ
ル信号に変換して受信する処理装置(1)であって、 該プロセス用アダプタ(2)が所定の順序で出力するデ
イジタル化された該計測データを順次格納するサンプリ
ングバッファ(15)、 該サンプリングバッファ(15)に格納されている該計
測データの格納順序の変更を指定する制御テーブル(1
2)、 該計測データを格納するバッファ(13)、及びチャン
ネル制御モードで該プロセス用アダプタ(2)にアクセ
スし、該プロセス用アダプタ(2)が所定の順序でデイ
ジタル化した該計測データをサンプリングバッファ(1
5)に格納し、 且つ該サンプリングバッファ(15)に格納されている
該計測データの格納順序を該制御テーブル(12)の指
示に従って変更し、該バッファ(13)に格納するチャ
ンネル制御手段(14)を設けたことを特徴とするアナ
ログ入力データの並べ替え方式。
[Claims] A processing device (1) that converts measurement data into digital signals and receives them using a process adapter (2), the process adapter (2) outputting digital signals in a predetermined order. a sampling buffer (15) that sequentially stores the measured data, and a control table (15) that specifies a change in the storage order of the measured data stored in the sampling buffer (15).
2) A buffer (13) for storing the measurement data and accessing the process adapter (2) in channel control mode, and sampling the measurement data digitized by the process adapter (2) in a predetermined order. Buffer (1
channel control means (14) for changing the storage order of the measurement data stored in the sampling buffer (15) according to instructions of the control table (12) and storing the measured data in the buffer (13); ) is provided.
JP7506387A 1987-03-27 1987-03-27 Rearrangement method of analog input data Expired - Lifetime JPH0787617B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7506387A JPH0787617B2 (en) 1987-03-27 1987-03-27 Rearrangement method of analog input data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7506387A JPH0787617B2 (en) 1987-03-27 1987-03-27 Rearrangement method of analog input data

Publications (2)

Publication Number Publication Date
JPS63240298A true JPS63240298A (en) 1988-10-05
JPH0787617B2 JPH0787617B2 (en) 1995-09-20

Family

ID=13565372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7506387A Expired - Lifetime JPH0787617B2 (en) 1987-03-27 1987-03-27 Rearrangement method of analog input data

Country Status (1)

Country Link
JP (1) JPH0787617B2 (en)

Also Published As

Publication number Publication date
JPH0787617B2 (en) 1995-09-20

Similar Documents

Publication Publication Date Title
JPS63108270A (en) Selector for state of operation
JPS6261170A (en) Image processing system
JPS63240298A (en) Rearrangement system for analog input data
JPH053524B2 (en)
JP4420542B2 (en) Waveform recorder
JPS5953565B2 (en) Direct memory access control device
JPS62119639A (en) Program transfer device
JP2002374167A (en) Analog input device for monitor control
JPS63146139A (en) Memory dumping system
JPH0526966Y2 (en)
JPH08178962A (en) Waveform measurement system
JPH01128174A (en) Analog data collection system
JPH0254373A (en) Control system for graphic processor
JPH04160384A (en) Radar echo display coordinate converter
JP3099696B2 (en) Waveform analyzer
JP2563671B2 (en) Data monitoring device
JPS60134322A (en) Coordinate reader
JPH0295268A (en) Digital memory device
Marlow et al. PC/VAX or standalone PC-based general purpose biological data collection system
JPS62107349A (en) File converting system
JPH03134744A (en) Sensor information collecting system
JPS6145267B2 (en)
JPH01188959A (en) Information history memory
JPS62195851U (en)
JPH04160625A (en) Dma transfer system for a/d converter output

Legal Events

Date Code Title Description
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

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070920

Year of fee payment: 12