JPS6295640A - Device maintenance system - Google Patents

Device maintenance system

Info

Publication number
JPS6295640A
JPS6295640A JP60234579A JP23457985A JPS6295640A JP S6295640 A JPS6295640 A JP S6295640A JP 60234579 A JP60234579 A JP 60234579A JP 23457985 A JP23457985 A JP 23457985A JP S6295640 A JPS6295640 A JP S6295640A
Authority
JP
Japan
Prior art keywords
maintenance
data
command
cce
read
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
JP60234579A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Koide
小出 勝義
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60234579A priority Critical patent/JPS6295640A/en
Publication of JPS6295640A publication Critical patent/JPS6295640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To read and write the CM data stored in a device, to facilitate easy access to the CM via a maintenance device even in an active mode of the device and to maintain a control program with no intervention of a CPU, by using a maintenance device that contains the data transferring, filing and displaying functions and transmits a command for maintenance. CONSTITUTION:A switch signal is turned on by means of a switch of an operating part 16 and the operating action is switched to a PC 24 from the part 16 in the order of 32 21 25. Then the PC 24 transfers a command to a microprocessor 28 in the order of 39 23 31 30. Thus the processor 28 performs the prescribed maintenance actions according to the command. A maintenance device has the data transfer, file and display functions and supplies or stores the write data in a storing means which stores the data on a control program, etc. Then the maintenance device also transmits a command for maintenance and at the same time forms a maintenance circuit together with the processor 28.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、たとえばデータ通信システムのような複数の
装置が接続されて成るシステムにおいて装置内にマイク
ロプロセッサ(以下CPという)とその動作を制御する
制御プログラムを格納する制御メモリ(以下CMという
)を備える装置の保守方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention is directed to a system in which a plurality of devices are connected, such as a data communication system, in which a microprocessor (hereinafter referred to as CP) is installed in the device and its operation is controlled. The present invention relates to a maintenance method for a device equipped with a control memory (hereinafter referred to as CM) that stores a control program to perform a control program.

(従来の技術) 第3図にデータ通信システムの一構成例を示す。(Conventional technology) FIG. 3 shows an example of the configuration of a data communication system.

このデータ通信システムは複数の装置、すなわち中央処
理装置(以下CPUという)1、主記憶メモリ(以下M
Mという)2及び通信制御装置(以下CCEという)3
がシステムバス4を介して相互接続され構成されている
。このようなシステムにおいて、CCE 3は、運用開
始時に、CPU 1からの起動指示【IPLコマンド)
を受け、MMZ内に格納されているCCE制御プログラ
ムをMM2とCCE 3間でチャネル機構を用いて、C
CEa内のCMにダイレクトメモリアクセス(DMA 
)転送を行うといった形態をとるものである。
This data communication system consists of multiple devices, namely a central processing unit (hereinafter referred to as CPU) 1, a main memory (hereinafter referred to as M
(hereinafter referred to as CCE) 2 and communication control equipment (hereinafter referred to as CCE) 3
are interconnected via a system bus 4. In such a system, CCE 3 receives a startup instruction [IPL command] from CPU 1 at the start of operation.
Then, the CCE control program stored in MMZ is transferred between MM2 and CCE 3 using a channel mechanism.
Direct memory access (DMA) to CM in CEa
) transfer.

従来の保守方式が使用されるCCE 3の構成を第4図
に示す。同図に示すように、CCE3は回線制御機構(
CCU)と回線接続機構(LU)から成り、回線制御機
構(CCU)は水平型CPIIと0M12を有しており
、またCCE 3の保守・調整のためにCPIIと0M
12とを接続する内部バス13上に保守回路14が設け
られている。保守回路14は特にCCE 3内のCMI
 2に格納された制御プログラム等の保守・調整を行な
うもので、保守制御部15及び操作部16から成る。操
作部16は、データ兼アドレス設定用スイッチ、CPス
ストップスイッチ、リードスイッチ、ライトスイッチ等
を含むスイッチ群17と、読み出したデータを表示する
表示部18を有している。なお、第4図において、19
はCPストクプ信号線、20は保守制御部−操作部間イ
ンタフェースパスである。
The configuration of CCE 3 in which the conventional maintenance method is used is shown in FIG. As shown in the figure, CCE3 is a line control mechanism (
The line control unit (CCU) has a horizontal CPII and 0M12, and also has a CPII and 0M for maintenance and adjustment of CCE 3.
A maintenance circuit 14 is provided on the internal bus 13 that connects the 12. The maintenance circuit 14 is specifically connected to the CMI within the CCE 3.
2, and consists of a maintenance control section 15 and an operation section 16. The operation section 16 has a switch group 17 including a data/address setting switch, a CP stop switch, a read switch, a write switch, etc., and a display section 18 for displaying read data. In addition, in Figure 4, 19
2 is a CP stock signal line, and 20 is an interface path between the maintenance control unit and the operation unit.

保守回路14は、MM2(第3図)から制御プログラム
がCCE 3内の0M12に転送された後、保守・調整
を行なう。
The maintenance circuit 14 performs maintenance and adjustment after the control program is transferred from MM2 (FIG. 3) to 0M12 in CCE 3.

例えば、0M12の内容(例えば制御プログラム等)を
読み出す場合、従来方式では、先ず、操作部16のスイ
ッチ群17中のアドレス設定用スイッチで0M12の読
み出しアドレスを設定して、CPスストップスイッチを
オンにする。保守制御部15は、これにより、CPスト
ップ信号線19を介してCPIIの動作を仮停止状態に
した後、スイッチ群17中のアドレスロードスイッチを
オンにし、保守制御部15に対して0M12の読み出し
アドレスをセットする。次に、スイッチ群17中のリー
ドスイッチにより、保守制御部15にCMI 2の読み
出し動作の起動をかけ、保守制御部15はCMI 2の
内容を読み込み、表示部18にて表示させる。
For example, when reading the contents of 0M12 (for example, a control program, etc.), in the conventional method, first, the read address of 0M12 is set with the address setting switch in the switch group 17 of the operation unit 16, and the CP stop switch is turned on. Make it. The maintenance control unit 15 thereby temporarily stops the operation of the CPII via the CP stop signal line 19, turns on the address load switch in the switch group 17, and causes the maintenance control unit 15 to read 0M12. Set address. Next, the reed switch in the switch group 17 activates the maintenance control unit 15 to read out the CMI 2, and the maintenance control unit 15 reads the contents of the CMI 2 and displays it on the display unit 18.

連続読み出しの場合は、読み出しアドレス値を更新し、
スイッチ群17中のリードスイッチを押下する毎に、C
MI 2の内容が1語ずつ、順次、表示部18に表示さ
れる。この動作中、CPIIは仮停止状態である。
For continuous reading, update the read address value,
Each time a reed switch in switch group 17 is pressed, C
The contents of MI 2 are displayed on the display unit 18 one word at a time. During this operation, CPII is in a temporary halt state.

0M12へのデータ書き込みの場合も、CPllの動作
停止、0M12の書き込みアドレス設定、書き込みデー
タ設定、0M12のデータライト起動という順で総てス
イッチ群17の操作によシ、1語ずつ書き込みを行って
いた。
When writing data to 0M12, the operation of the switch group 17 is performed in the order of stopping the operation of CPll, setting the write address of 0M12, setting the write data, and starting the data write of 0M12, one word at a time. Ta.

(発明が解決しようとする問題点) しかしながら、上記のような従来の装置保守方式では次
のような問題点があった。
(Problems to be Solved by the Invention) However, the conventional device maintenance method as described above has the following problems.

(1)  CCE B内のCMI 2の内容を、1語ず
つマニュアル操作で読み書きするため、大量データを扱
う場合、例えば、CMI 2の内容確認、修正等を行う
場合に多大な時間を要する。
(1) Since the contents of CMI 2 in CCE B are manually read and written word by word, it takes a lot of time when handling a large amount of data, for example, when checking and correcting the contents of CMI 2.

(2)  CCE 3内のCMI 2 、CPI 1を
マニュアル操作でアクセスするため、1操作に時間を要
し、保守時にはCCE 3を停止状態知する必要がある
ため、CCE3の動作中にアクセスすることが実質的に
不可能であった。
(2) Since CMI 2 and CPI 1 in CCE 3 are manually accessed, each operation takes time, and during maintenance it is necessary to know the stopped state of CCE 3, so access should not be made while CCE 3 is operating. was virtually impossible.

(3)  CCE 3の制御プログラムはCCE 3の
運用開始時にチャネル機構を用いてMM2から転送され
るため、制御プログラムの保守を行うには必ずCPUI
、MM2の助けが必要で、更にこれらの装置とCCEa
内のチャネル機構の正常動作が前提条件であった。即ち
、CCE3のチャネル機構の障害時等は、 CCE 3
単体での制御プログラムの保守が不可能である。
(3) Since the CCE 3 control program is transferred from MM2 using the channel mechanism when CCE 3 starts operating, maintenance of the control program must be performed using the CPU
, MM2's help is required, and these devices and CCEa
The normal operation of the channel mechanism within was a prerequisite. In other words, when there is a failure in the CCE3 channel mechanism, CCE3
It is impossible to maintain the control program by itself.

本発明は、以上述べてきたような従来技術の問題点を解
決するためになされたものであって、(1)  装置内
のCMの内容を大量にかつ短時間に読み書き可能とし、 (2)装置の動作中にCMの読み書きを可能とし、(3
)装置単体での制御プログラムの保守を可能とし、 かつ、操作性の優れた装置保守方式を提供することを目
的とする。
The present invention has been made to solve the problems of the prior art as described above, and includes: (1) making it possible to read and write a large amount of CM content in a device in a short time; and (2) It is possible to read and write CM while the device is operating, (3
) The purpose is to provide a device maintenance method that allows maintenance of the control program for a single device and has excellent operability.

(問題点を解決するだめの手段) 本発明は、たとえば通信制御装置のように複数の装置が
接続されて成るシステムにおける装置であって、制御プ
ロセッサとその動作を制御する制御プログラム等のデー
タを格納する格納手段とを有する装置(たとえばCCE
 )の保守方式を対象とする。そして前記従来技術の問
題点を解決するため、データの転送機能、ファイル機能
及び表示機能を有し、前記格納手段への書き込みデータ
が入力又は格納され、保守のためのコマンドを送出する
保守装置と、該保守装置からのコマンドにしたかって前
記格納手段にアクセスし、所定の保守動作を行なうマイ
クロプロセッサとを設けたものである。
(Means for Solving the Problems) The present invention relates to a device in a system in which a plurality of devices are connected, such as a communication control device, which stores data such as a control processor and a control program that controls its operation. A device (e.g. CCE) having storage means for storing
) maintenance methods. In order to solve the problems of the prior art, a maintenance device is provided which has a data transfer function, a file function, and a display function, inputs or stores write data into the storage means, and sends commands for maintenance. , and a microprocessor that accesses the storage means in response to commands from the maintenance device and performs predetermined maintenance operations.

(作用) 本発明によれば上記のように装置保守方式を構成したの
で、各技術手段は次のように作用する。
(Function) According to the present invention, since the device maintenance system is configured as described above, each technical means functions as follows.

格納手段のデータの読み出し時には、保守装置は読み出
しコマンドをマイクロゾロセッサに送出スル。マイクロ
プロセッサはこれを受けて格納手段にアクセスし、デー
タの読み出しを行なう。読み出されたデータは保守装置
に転送され、表示又はファイルされる。
When reading data from the storage means, the maintenance device sends a read command to the microprocessor. Upon receiving this, the microprocessor accesses the storage means and reads the data. The read data is transferred to the maintenance device and displayed or filed.

格納手段へのデータの書き込み時には、保守装置は書き
込みコマンド及び書き込みデータをマイクロプロセッサ
に送出する。マイクロプロセッサはコマンドを受取って
格納手段にアクセスし、同じく受取った書き込みデータ
を格納手段に書き込む。
When writing data to the storage means, the maintenance device sends a write command and write data to the microprocessor. The microprocessor receives the command, accesses the storage means, and writes the received write data to the storage means.

(実施例) 以下本発明の一実施例を第1図及び第2図を参照して詳
細に説明する。
(Example) An example of the present invention will be described in detail below with reference to FIGS. 1 and 2.

第1図は本発明の実施例の装置保守方式を適用したCC
Eの構成を示すプロ12図である。同図において第4図
と同じ要素には同一符号を付し詳細説明は省略する。第
1図から分かるように、この実施例に係るCCEは、C
CE停止時にCCE内のCMを1語ずつスイッチ群のマ
ニュアル操作にて読み書きを行う従来方式の保守回路の
制御部−操作部インタフェースパス19において、第1
図の点線で囲った回路を介して保守装置を設けたことに
ある。点線で囲まれた回路は、切替部21、シリアとし
て/4’−ンナルコンピュータ24(以下PCという)
が接続されている。切替部21はセレクタ25−、ラッ
チ素子26及びバッファ素子27よシ構成される。シリ
アルインタフェース制御部22はマイクロプロセッサ2
8、メモリ29及び通信制御用LSI 30よシ構成さ
れる。シリアルインタフェース部23はドライバ/レシ
ーバ31で構成される。切換制御信号線32は操作部1
6のスイッチ群17と切替部21のセレクタ25を接続
する。
FIG. 1 shows a CC to which the device maintenance method of the embodiment of the present invention is applied.
FIG. 12 is a professional diagram showing the configuration of E. In this figure, the same elements as in FIG. 4 are given the same reference numerals, and detailed explanations will be omitted. As can be seen from FIG. 1, the CCE according to this example is C
In the control unit-operation unit interface path 19 of the conventional maintenance circuit, the CM in the CCE is read and written one word at a time by manual operation of the switch group when the CE is stopped.
The reason is that a maintenance device is provided through the circuit surrounded by the dotted line in the figure. The circuit surrounded by the dotted line is the switching unit 21, serial/4'-internal computer 24 (hereinafter referred to as PC).
is connected. The switching unit 21 includes a selector 25-, a latch element 26, and a buffer element 27. The serial interface control unit 22 is the microprocessor 2
8. It is composed of a memory 29 and a communication control LSI 30. The serial interface section 23 is composed of a driver/receiver 31. The switching control signal line 32 is connected to the operating section 1
The switch group 17 of 6 and the selector 25 of the switching section 21 are connected.

読み出しデータ専用パス33は保守制御部15と、操作
部16の表示部18及び切替部21の・9クファ素子2
7t−接続する。各種設定信号線群34はスイッチ群1
7とセレクタ25を接続する。各種設定信号線群35は
セレクタ25と保守制御部15を接続する。各種設定信
号線群36はラッチ素子26とセレクタ25を接続する
。信号線・ぐス37はシリアルインタフェース部22の
マイクロゾロセッサ28、メモリ29及び通信制御用L
SI 30と、切替部210ラッチ素子26及びバッフ
ァ素子27を接続する。またノ々ス38はシリアルイン
タフェース制御部22とシリアルインタフェース部23
を接続し、シリアル信号線(例えばR8232C規格で
構成)39はシリアルインタフェース部23とPC24
を接続する。
The read data only path 33 is connected to the maintenance control section 15, the display section 18 of the operation section 16, and the 9 cufa elements 2 of the switching section 21.
7t-Connect. Various setting signal line group 34 is switch group 1
7 and selector 25 are connected. A group of various setting signal lines 35 connects the selector 25 and the maintenance control unit 15. A group of various setting signal lines 36 connects the latch element 26 and the selector 25. The signal line/gas 37 is connected to the micro processor 28 of the serial interface section 22, the memory 29, and the L for communication control.
The SI 30 is connected to the switching unit 210, the latch element 26, and the buffer element 27. The node 38 also connects the serial interface control section 22 and the serial interface section 23.
The serial signal line (for example, made of R8232C standard) 39 connects the serial interface section 23 and the PC 24.
Connect.

次に動作について説明する。Next, the operation will be explained.

先ず、操作部16のスイッチ群17内のスイッチの1つ
を用いて、切替制御信号をオン状態とし、切替制御信号
線32を介して切替部21のセレクタ25に送出する。
First, one of the switches in the switch group 17 of the operating section 16 is used to turn on a switching control signal, and the switching control signal is sent to the selector 25 of the switching section 21 via the switching control signal line 32.

これによシセレクタ25が操作部を操作部16からラッ
チ素子26側つt、6pc24側に切替える。その後、
PC24より第2図にコマンドをシリアル信号線39を
介して発行する。
As a result, the selector 25 switches the operating section from the operating section 16 to the latch element 26 side and the 6pc24 side. after that,
The command shown in FIG. 2 is issued from the PC 24 via the serial signal line 39.

シリアルインタフェース部23のドライツク/レシーバ
31のレシーバRを介して転送されてきたコマンドは、
シリアルインタフェース制御部22の通信制御用LSI
 30で受信され、それをマイクロプロセッサ28が解
読し、ファンクションコードで指示された動作を実行す
る。
The command transferred via the receiver R of the drive/receiver 31 of the serial interface section 23 is
Communication control LSI of serial interface control unit 22
30, the microprocessor 28 decodes it and performs the operations indicated by the function code.

例えば、上述のコマンドファンクションがCCE内のC
M 12の内容を読み出すREADファンクションコー
ドである場合、コマンドを受信したマイクロプロセッサ
28はファンクションコードを解読し、メモリ読み出し
動作であることを判定した後、次に読み出されるメモリ
先頭アドレスを信号線パス37を介して、ラッチ素子2
6にセットする。
For example, if the above command function is
If it is a READ function code to read the contents of M12, the microprocessor 28 that received the command decodes the function code and determines that it is a memory read operation, and then transmits the memory start address to be read next to the signal line path 37. latch element 2 through
Set to 6.

セレクタ25はあらかじめラッチ素子26側に選択され
ているため、セットされたメモリアドレス値は、直接、
各種設定信号群35中のアドレス兼データバスを介して
、保守制御部15に出力される。マイクロプロセッサ2
8は、メモリ先頭アドレス送出後、CPストップ信号を
ラッチ素子26、セレクタ25を介して保守制御部15
に送出し、保守制御部15はcpストップ信号線19を
介してcpストップ信号をCP 11に送り、CP 1
1の動作を仮停止状態にする。マイクロプロセッサ28
は引き続きリード信号をラッチ素子26に送出して保守
制御部15に起動をかけ、CM 12内のデータを読み
出す。読み出されたデータは保守制御部15経由で読み
出しデータ専用バス33上に送出され、バッファ素子2
7を通してマイクロプロセッサ28に読み込まれる。マ
イクロプロセッサ28はデータの読み込みを完了すると
同時にcpストップ信号の送出を停止し、CP 11の
仮停止状態を解除する。
Since the selector 25 is pre-selected to the latch element 26 side, the set memory address value is directly
The various setting signals 35 are outputted to the maintenance control unit 15 via the address/data bus. microprocessor 2
8 sends the CP stop signal to the maintenance control unit 15 via the latch element 26 and selector 25 after sending the memory start address.
The maintenance control unit 15 sends a cp stop signal to CP 11 via the cp stop signal line 19, and
Put the operation in step 1 into a temporary stop state. microprocessor 28
continues to send a read signal to the latch element 26 to activate the maintenance control section 15 and read the data in the CM 12. The read data is sent onto the read data dedicated bus 33 via the maintenance control unit 15, and is sent to the buffer element 2.
7 into the microprocessor 28. As soon as the microprocessor 28 completes reading the data, it stops sending out the CP stop signal and releases the CP 11 from its temporary halt state.

ソノ後マイクロプロセッサ28は読み込んだデータをメ
モリ29に格納する。
After recording, the microprocessor 28 stores the read data in the memory 29.

次にCM 12の内容を大量に読み出す場合、っまシ、
コマンドのバイトカウントエリアで複数バイトの読み出
しが指示されている場合は、上記動作を実行した後、マ
イクロプロセッサ28はメモリアドレス値をインクリメ
ントしてラッチ素子26に送出する。そしてリード信号
、cpストップ信号の順に送出してCM 12の内容を
読み出す。次に読み出しが完了すると、cpストップ信
号の送出全停止し、CP 11の仮停止状態を解除する
。マイクロプロセッサ28は、この動作をバイトカウン
トエリアで指示されたバイト数分連続的に繰り返し実行
して、読み出しデータを順次メモリ29に格納する。メ
モリ29に格納されたデータはCM l 2の読み出し
動作が完了すると、マイクロプロセッサ28により通信
制御用LSI 30 、  ドライバ/レシーバ31の
ドライバD1シリアル信号線39を通してPC24へ転
送される。PC24では送られてきたデータを表示機能
を用いてディスプレイに表示するか又はファイル機能を
用いてファイルに蓄積する処理を行う。
Next, when reading a large amount of the contents of CM 12,
If reading multiple bytes is instructed in the byte count area of the command, after performing the above operations, the microprocessor 28 increments the memory address value and sends it to the latch element 26. Then, a read signal and a cp stop signal are sent in this order to read out the contents of CM 12. Next, when the reading is completed, the transmission of the CP stop signal is completely stopped, and the temporary stop state of the CP 11 is released. The microprocessor 28 continuously repeats this operation for the number of bytes specified in the byte count area, and sequentially stores the read data in the memory 29. When the read operation of the CM I 2 is completed, the data stored in the memory 29 is transferred to the PC 24 by the microprocessor 28 through the communication control LSI 30 and the driver D1 serial signal line 39 of the driver/receiver 31. The PC 24 performs a process of displaying the sent data on a display using a display function or storing it in a file using a file function.

0M12にデータを書き込む場合、PC24はデータ書
き込みのためのVl/RI TEファンクションコード
、メモリ先頭アドレス、バイトカウントに引き続き、書
き込みデータ(PC24上でのキーボードからの入力デ
ータ又はファイルに格納されているデータ)を転送する
。マイクロプロセッサ28は、通信制御用LSI 30
を経由して受信した前述の■ITEファ/クショ/コー
ド、メモリ先頭アドレス、バイトカウント、書き込みデ
ータを一旦メモリ29に格納し、データの格納後、ファ
ンクシジンコードを解読し、ラッチ素子26を介してメ
モリ先頭アドレスを設定する(2回目以降のアクセス時
はインクリメントされたアドレスを設定する)。
When writing data to 0M12, the PC 24 writes the Vl/RI TE function code for data writing, the memory start address, the byte count, and then writes the write data (input data from the keyboard on the PC 24 or data stored in a file). ). The microprocessor 28 is a communication control LSI 30
The above-mentioned ITE file/code/code, memory start address, byte count, and write data received via to set the memory start address (for the second and subsequent accesses, set the incremented address).

次にCP 11の動作を仮停止状態にするcpストップ
信号を送出し、ライトデータを設定し、ライト起動信号
を送出し、書き込み動作完了後cpストップ信号の送出
を停止する、という頴に制御を行い、CM 12への書
き込み動作を行う。次にマイクロプロセッサ28は0M
12のアドレスをインクリメントして上述の動作を繰り
返し、PC24がら送られてきたバイトカウント分だけ
CM 12へのデータの書き込みを行う。
Next, control is performed by sending out a cp stop signal that temporarily stops the operation of the CP 11, setting write data, sending out a write start signal, and stopping sending out the cp stop signal after the write operation is completed. and performs a write operation to the CM 12. Next, the microprocessor 28 is 0M
The above operation is repeated by incrementing the address of 12, and data is written to the CM 12 by the byte count sent from the PC 24.

以上のように本実施例では、CCE内のCM 12のア
クセスをマイクロプロセッサ28の制御の元で行うため
、CP 11の停止状態をサイクルスチール分のわずか
な時間内に抑えることが可能である。
As described above, in this embodiment, access to the CM 12 in the CCE is performed under the control of the microprocessor 28, so it is possible to suppress the halt state of the CP 11 within a short period of time corresponding to a cycle steal.

本実施例では、保守装置としてR8232Cをサポート
したPC24を用いたが、データ転送機能、ファイル機
能、表示機能を有するものであれば、他の機器でもよい
ことは言うまでもない。又、コマンドのファンクション
コードエリアに汎用性を持たせることで、CCE内のC
M 12の読み書き動作以外、例えばCCE内のハード
レジスタの読み書き等が行えることも言うまでもない。
In this embodiment, a PC 24 supporting R8232C is used as the maintenance device, but it goes without saying that other devices may be used as long as they have data transfer functions, file functions, and display functions. In addition, by making the function code area of the command more versatile, the CCE in the CCE
Needless to say, in addition to reading and writing operations of M12, for example, reading and writing of hard registers in the CCE can be performed.

更に、上記実施例ではPC24からの書き込みデータ又
はCM 12からの読み出しデータは一旦、メモリ29
に格納したが、メモリ29に格納せずそれぞれ直接PC
24へ又α12へ転送することも可能であることは言う
までもない。
Furthermore, in the above embodiment, write data from the PC 24 or read data from the CM 12 is temporarily stored in the memory 29.
However, they are stored directly on the PC without storing them in the memory 29.
It goes without saying that it is also possible to transfer the data to α12 or to α12.

本実施例では、従来の保守回路と本発明の保守回路を切
替部21を用いて切替えて使用する例について述べたが
、切替部21を有さす、本発明の保守回路のみの構成で
も可能であることは言うまでもない。
In this embodiment, an example has been described in which the conventional maintenance circuit and the maintenance circuit of the present invention are switched and used using the switching section 21, but it is also possible to use a configuration of only the maintenance circuit of the present invention having the switching section 21. It goes without saying that there is.

以上述べてきたように、本実施例によれば、従来の保守
回路をそのまま用い、そこにデータ転送機能等を有する
保守装置を接続し、従来のものと切替えて使用すること
によシ、保守装置からのCCE内メモリのアクセスを可
能としたので、本保守方式を用いて、CCEメモリ内の
データを大量にかつ高速で読み書きすることが可能とな
った。又、保守装置内のファイルにCCEの制御プログ
ラムを格納しておくことで保守装置からCCE内のαに
制御プログラムを転送することが可能となり、CCE単
体での制御プログラムの保守・調整が容易に実行できる
ようになった。更に、CCE内メモリのアクセスを本実
施例で新たに設けられた保守回路(第1図の点線で囲っ
た回路)内のマイクロプロセッサが行うため、保守回路
がCCE内メモリをアクセスする時間、つまりCPから
のCCE内メモリのアクセスを抑制する時間をcpの動
作に影響を与えない範囲に抑えることが可能となり、実
質的に保守回路からのCCE内メモリのアクセスがCC
E動作中に行うことが可能となった。
As described above, according to this embodiment, the conventional maintenance circuit can be used as is, a maintenance device having a data transfer function etc. is connected thereto, and the maintenance device can be used in place of the conventional one. Since the CCE memory can be accessed from the device, using this maintenance method, it has become possible to read and write a large amount of data in the CCE memory at high speed. In addition, by storing the CCE control program in a file in the maintenance device, it becomes possible to transfer the control program from the maintenance device to α in the CCE, making it easy to maintain and adjust the control program on the CCE alone. Now it can be executed. Furthermore, since the memory in the CCE is accessed by the microprocessor in the maintenance circuit newly provided in this embodiment (the circuit surrounded by the dotted line in FIG. 1), the time required for the maintenance circuit to access the memory in the CCE, that is, It is now possible to suppress the access to the CCE memory from the CP within a range that does not affect the operation of the CP, and in effect, the access to the CCE memory from the maintenance circuit is suppressed from the CC.
It is now possible to do this during E operation.

(発明の効果) 以上詳細に説明したように、本発明によれば次のような
利点がある。
(Effects of the Invention) As described above in detail, the present invention has the following advantages.

(1)装置内のCMのデータを大量にかつ高速に読み書
きが可能である。
(1) It is possible to read and write a large amount of CM data in the device at high speed.

(2)実質的に装置の動作中でも保守装置によるαへの
アクセスが可能である。
(2) The maintenance device can access α even when the device is in operation.

(3)装置単体で、すなわちCPUや麗によらないで、
制御プログラムの保守が可能である。
(3) As a standalone device, that is, without depending on the CPU or
Control program maintenance is possible.

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

第1図は、本発明における保守装置及び保守回路の主要
部の具体的な構成例を示す詳細ブロック図、第2図は、
保守装置から発行するコマンドの形式を示す図、第3図
はデータ通信システムを示すブロック図、第4図は、従
来方式の保守回路を示すブロック図である。 11・・・マイクロプロセッサ(cp)、 12・・・
制御メモリ(CM)、15・・・保守制御部、16・・
・操作部。 17・・・スイッチ群、18・・・表示部、21・・・
切替部22・・・シリアルインタフェース制御部、23
・・・シリアルインタフェース部、24・・・パーソナ
ルコンピュータ(pc)、25・・・セレクタ、26・
・・ラッチ素子、27・・・バッファ素子、28・・・
マイクロプロセッサ、。 29・・・メモリ、30・・・通信制御用LSI、31
・・・ドライバ/レシーバ。 特許出願人  沖電気工業株式会社 特許出願代理人   弁理士  山 本 恵 −5Iで
4ト イ1デ1灸1Lゴラ4ト3丁■ろツマ〉ドの斤カ〜福す
間第2図 白」五IjS”l/ステム−n*光、7り図第3図
FIG. 1 is a detailed block diagram showing a specific configuration example of the main parts of the maintenance device and maintenance circuit in the present invention, and FIG.
FIG. 3 is a block diagram showing a data communication system, and FIG. 4 is a block diagram showing a conventional maintenance circuit. 11... Microprocessor (cp), 12...
Control memory (CM), 15... Maintenance control unit, 16...
・Operation section. 17...Switch group, 18...Display section, 21...
Switching unit 22... serial interface control unit, 23
. . . serial interface section, 24 . . . personal computer (PC), 25 . . . selector, 26.
...Latch element, 27...Buffer element, 28...
microprocessor,. 29...Memory, 30...Communication control LSI, 31
...driver/receiver. Patent Applicant Oki Electric Industry Co., Ltd. Patent Application Agent Patent Attorney Megumi Yamamoto -5I with 4 Toys 1 De 1 L Moxibustion 4 Toss 3 Toys Rotsuma〉Do no Ka ~ Fukusumu Figure 2 White 5 IjS”l/Stem-n*Light, 7-grid Figure 3

Claims (1)

【特許請求の範囲】 複数の装置が接続されて成るシステムにおける装置であ
って、制御プロセッサとその動作を制御する制御プログ
ラム等のデータを格納する格納手段とを有する装置の保
守方式において、 データの転送機能、ファイル機能及び表示機能を有し、
前記格納手段への書き込みデータが入力又は格納され、
保守のためのコマンドを送出する保守装置と、 該保守装置からのコマンドにしたがって前記格納手段に
アクセスし、所定の保守動作を行なうマイクロプロセッ
サとを設けたことを特徴とする装置保守方式。
[Claims] In a maintenance method for a device in a system in which a plurality of devices are connected, the device has a control processor and a storage means for storing data such as a control program for controlling the operation of the device. Has transfer function, file function and display function,
Write data is input or stored in the storage means,
1. A system for maintaining equipment, comprising: a maintenance device that sends commands for maintenance; and a microprocessor that accesses the storage means and performs predetermined maintenance operations in accordance with commands from the maintenance device.
JP60234579A 1985-10-22 1985-10-22 Device maintenance system Pending JPS6295640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60234579A JPS6295640A (en) 1985-10-22 1985-10-22 Device maintenance system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60234579A JPS6295640A (en) 1985-10-22 1985-10-22 Device maintenance system

Publications (1)

Publication Number Publication Date
JPS6295640A true JPS6295640A (en) 1987-05-02

Family

ID=16973224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60234579A Pending JPS6295640A (en) 1985-10-22 1985-10-22 Device maintenance system

Country Status (1)

Country Link
JP (1) JPS6295640A (en)

Similar Documents

Publication Publication Date Title
CA2135505C (en) Dma emulation for non-dma capable interface cards
KR860009351A (en) I / O control system
JPH04363746A (en) Microcomputer system having dma function
EP0361434B1 (en) Display emulating system
JPS6295640A (en) Device maintenance system
KR890016475A (en) Direct Memory Access Control
JPH04323755A (en) Dma device
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPS60173631A (en) Control program switching system
JPS6162961A (en) Input/ouput device
JPS6120167A (en) Data storage device
JPH0145657B2 (en)
JPS6055459A (en) Control method of block data transfer and storage
JPS59112327A (en) Controlling method of ring buffer
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPS62190544A (en) Higher link unit for programmable controller
JPS60186955A (en) Dma control system
JPH0240752A (en) Device information transfer system
JPS63191258A (en) Channel device
JPH08161253A (en) Dma control method and dma controller
JPH02125303A (en) Programmable controller
JPS6336304A (en) Programmable controller system
JPS63292355A (en) Control system for dma transfer
JPS61166657A (en) Input and output control system
JPS6223341B2 (en)