JPH02299004A - Monitor system for programmable controller - Google Patents

Monitor system for programmable controller

Info

Publication number
JPH02299004A
JPH02299004A JP11948889A JP11948889A JPH02299004A JP H02299004 A JPH02299004 A JP H02299004A JP 11948889 A JP11948889 A JP 11948889A JP 11948889 A JP11948889 A JP 11948889A JP H02299004 A JPH02299004 A JP H02299004A
Authority
JP
Japan
Prior art keywords
monitor
module
input
data
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
JP11948889A
Other languages
Japanese (ja)
Inventor
Koji Furuno
浩二 古野
Masahiro Suetake
末武 昌弘
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP11948889A priority Critical patent/JPH02299004A/en
Publication of JPH02299004A publication Critical patent/JPH02299004A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To improve the processing speed by performing monitor processing irrelevantly to the CPU of a programmable controller. CONSTITUTION:A monitor module 7 is provided between a CPU rack 1 and an I/O rack 2 through I/O buses 3 and 3, I/O service data that a CPU module 3 handles are all stored in the module 7 temporarily, and I/O data that a monitor device 6 requires is outputted. Therefore, the I/O service processing of the module 4 is performed for the input module 21 and output module 22 of the rack 2 through the module 7. Further, a monitor request from the device 6 is made for the module 7. Consequently, the CPU need not perform the monitor processing and the processing speed is increased.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプログラマブルコントローラ(以下PCと称す
る)のモニタ方式に関するもので、とくにPCとモニタ
装置との通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for monitoring a programmable controller (hereinafter referred to as a PC), and particularly to a method for communicating between a PC and a monitor device.

[従来の技術] 従来、PCとモニタ装置との間で通信を行ない、PCの
動作状態をモニタする場合、第3図に示すように、中央
処理装置(以下CPUと称する)ラック1と入出力(以
下I10と称する)ラック2とをI10バス3により接
続し、CPUラックlにCPUモジュール4と、通信モ
ジュール5とを設け、モニタ装置6と通信用モンユール
5との間で通信を行なっていた(例えば特開昭62−2
45308号公報)。
[Prior Art] Conventionally, when communicating between a PC and a monitor device to monitor the operating status of the PC, as shown in FIG. (hereinafter referred to as I10) is connected to rack 2 by I10 bus 3, CPU module 4 and communication module 5 are provided in CPU rack l, and communication is performed between monitor device 6 and communication module 5. (For example, JP-A-62-2
45308).

[発明が解決しようとする課題] ところが、上記のような構成では、モニタ装置との通信
はPCのCPUが直接操作しているため、CPUがラダ
ー解読処理などの他の処理を行なう間の空き時間に行な
うため、他の処理をしている間はモニタ処理はされず、
モニタ装置の要求に速やかに応答できないという欠点が
あった。
[Problems to be Solved by the Invention] However, in the above configuration, communication with the monitor device is directly controlled by the CPU of the PC, so there is no idle time while the CPU performs other processing such as ladder decoding processing. Because it is done at the same time, monitoring processing is not performed while other processing is being performed.
There was a drawback that it was not possible to respond quickly to requests from the monitor device.

本発明は、モニタ処理をPCのCPUとは無関係に行な
うようにして処理速度を向上させることを目的とするも
のである。
An object of the present invention is to improve processing speed by performing monitor processing independently of the CPU of a PC.

[課題を解決するための手段] 本発明は、中央処理装置モジュールを備えた中央処理装
置ラックと、入出力ランクと、モニタ装置とを備え、前
記中央処理装置ラックと入出力ラックとを入出力バスに
よって接続したプログラマブルコントローラのモニタ装
置において、前記入出力バスに入出力データをモニタす
るモニタモジュールを接続するとともに、モニタモジュ
ールとモニタ装置とを接続し、モニタモジュールとモニ
タ装置との間で通信を行なうことを特徴とするプログラ
マブルコントローラのモニタ方式である。
[Means for Solving the Problems] The present invention includes a central processing unit rack including a central processing unit module, an input/output rank, and a monitor device, and the central processing unit rack and the input/output rack are connected to each other for input/output. In the monitor device of a programmable controller connected by a bus, a monitor module that monitors input/output data on the input/output bus is connected, the monitor module and the monitor device are connected, and communication is established between the monitor module and the monitor device. This is a programmable controller monitoring method characterized by:

[作用] CPUの入出力データはいずれもモニタモジュールに一
旦格納され、そのデータがモニタ装置にモニタ要求が出
され次第送られるので、CPUはモニタ処理を行なわず
に済み、CPUのラダー解読処理などの処理速度が向上
し、モニタ通信もCPUの空き時間を待つ必要がなく、
処理速度が向上する。
[Operation] All input and output data of the CPU is temporarily stored in the monitor module, and the data is sent to the monitor device as soon as a monitor request is issued, so the CPU does not need to perform any monitor processing, and the CPU does not need to perform any processing such as ladder decoding processing. The processing speed has been improved, and there is no need to wait for CPU free time for monitor communication.
Processing speed is improved.

[実施例コ 本発明を図に示す実施例について説明する。[Example code] The present invention will be described with reference to embodiments shown in the drawings.

第1図は本発明の実施例を示すブロック図で、CPUラ
ック1とI10ラック2との間にI10バス3.3′を
介してモニタモジュール7が設けられており、CPUモ
ジュール4が行なうI10サービスデータを全てモニタ
モジュール7に一旦蓄え、モニタ装置6の要求するI1
0データを出力する。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which a monitor module 7 is provided between a CPU rack 1 and an I10 rack 2 via an I10 bus 3.3', and a monitor module 7 is provided between a CPU rack 1 and an I10 rack 2. All service data is temporarily stored in the monitor module 7, and the I1 requested by the monitor device 6 is
Outputs 0 data.

したがって、CPUラックlのCPUモジュール4のI
10サービス処理は、モニタモジュール7を介してI1
0ラック2の入力モジュール21および出力モジュール
22に対して行なわれる。
Therefore, I of CPU module 4 of CPU rack l
10 service processing is performed by I1 via monitor module 7.
This is performed for the input module 21 and output module 22 of rack 2.

また、モニタ装置6からのモニタ要求は、モニタモジュ
ール7に対して行なわれる。
Further, a monitor request from the monitor device 6 is made to the monitor module 7.

つぎに、モニタモジュール7の構成例を第2図に示す。Next, an example of the configuration of the monitor module 7 is shown in FIG.

I10バス3はコネクタ8を介し、データバス9にデー
タとI10選択信号を送るようにしである。データバス
9はコネクタIOを介し、I10バス3′に接続されて
いるとともに、入力データ用のFiFoメモリ11およ
び出力データ用のFiF。
I10 bus 3 is configured to send data and an I10 selection signal to data bus 9 via connector 8. The data bus 9 is connected to the I10 bus 3' via a connector IO, and also includes a FiFo memory 11 for input data and a FiF for output data.

メモリ12に接続されている。入力データ用FiF。It is connected to memory 12. FiF for input data.

メモリ11および出力データ用FiFoメモリ12から
アドレス・データバス13が出ており、汎用マイクロプ
ロセッサ(以下MPUと称する)14と通信用の集積回
路(以下LSIと称する)15とを結ぶアドレス・デー
タバス16と接続されている。アドレス・データバス1
6には定期的にMPU14が入力データ用FiFoメモ
リ11および出力データ用FiFoメモリ12のデータ
を読み出すプログラム用のROM17とMPU14が読
み出したデータを格納するワーク用のRAM18が接続
されている。通信用LS115はコネクタ19を介しモ
ニタ装置6に接続されている。
An address/data bus 13 comes out from the memory 11 and the output data FiFo memory 12, and connects a general-purpose microprocessor (hereinafter referred to as MPU) 14 and a communication integrated circuit (hereinafter referred to as LSI) 15. 16. Address/data bus 1
6 is connected to a ROM 17 for a program from which the MPU 14 periodically reads data from the FiFo memory 11 for input data and the FiFo memory 12 for output data, and a work RAM 18 for storing data read by the MPU 14. The communication LS 115 is connected to the monitor device 6 via a connector 19.

ここで動作を説明すると、まず、CPUモ/ニール4か
らI10ラック2の出力モジュール22に対してデータ
を出力する場合、出力データはI10バス3を介してモ
ニタモジュール7に入り、そのままモニタモジュール7
を通過して■10バス3°を通り、I10ラック2の出
力モジュールに書き込まれる。同時に、I10バス3上
のライト信号WRによりモニタモジュール7内のFiF
To explain the operation here, first, when data is output from the CPU monitor 4 to the output module 22 of the I10 rack 2, the output data enters the monitor module 7 via the I10 bus 3, and is sent directly to the monitor module 7.
It passes through ■10 bus 3° and is written to the output module of I10 rack 2. At the same time, the write signal WR on the I10 bus 3 causes the FiF in the monitor module 7 to
.

メモリ12にも書き込まれる。It is also written to the memory 12.

I10ラック2の入力モジュール21からCPUモジュ
ール4ヘデータを入力する場合、このデ−夕は出力デー
タの場合と同様にI10バス3°を介し、モニタモジュ
ール7を通過してI10バス3を介し、CPUモジュー
ル4に読み込まれる。
When inputting data from the input module 21 of the I10 rack 2 to the CPU module 4, this data is transmitted via the I10 bus 3°, through the monitor module 7, via the I10 bus 3, and sent to the CPU as in the case of output data. Loaded into module 4.

同時にこのデータはI10バス3上のリード信号RDに
より、モニタモジュール7内のFiFoメモリ11にも
書き込まれる。
At the same time, this data is also written to the FiFo memory 11 in the monitor module 7 by the read signal RD on the I10 bus 3.

このようにしてFiFoメモリItおよび12に書き込
まれたデータは、定期的にMPU l 4がFiFoメ
モリ11へのリード信号RDにより読み出し、モニタモ
ジュール7のRAM18に格納される。そして、モニタ
装置6からのモニタ要求が出されると、MPU+4はR
AM18からFiF。
The data written in the FiFo memories It and 12 in this manner is periodically read out by the MPU I 4 in response to a read signal RD to the FiFo memory 11, and is stored in the RAM 18 of the monitor module 7. Then, when a monitor request is issued from the monitor device 6, the MPU+4
FiF from AM18.

メモリ12へのリード信号RDによりデータを読み出し
、通信用LSI15を経由してモニタ装置6に伝送する
Data is read by the read signal RD to the memory 12 and transmitted to the monitor device 6 via the communication LSI 15.

このように、CPUの入出力データはいずれもモニタモ
ジュール内に一旦格納され、そのデータがモニタ要求が
出され次第、モニタ装置に送られるので、CPUはモニ
タ処理を行なわずに済む。
In this way, all input/output data of the CPU is temporarily stored in the monitor module, and the data is sent to the monitor device as soon as a monitor request is issued, so the CPU does not need to perform any monitor processing.

[発明の効果コ 以上のように、本発明によれば、PCのCPUはモニタ
処理を行なわずに済み、CPUのラダー解読処理などの
処理速度が速くなるとともに、モニタ処理はモニタ装置
とモニタモジュールとの間で独立して行なわれるため、
モニタ装置がモニタ要求を出してからの応答が早(なる
などの効果がある。
[Effects of the Invention] As described above, according to the present invention, the CPU of the PC does not need to perform monitor processing, the processing speed of the CPU such as ladder decoding processing becomes faster, and the monitor processing is performed by the monitor device and the monitor module. Because it is carried out independently between
This has the effect of making the response faster after the monitor device issues a monitor request.

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

第1図は本発明の実施例を示すブロック図、第2図はモ
ニタモジュールの構成を示すブロック図、第3図は従来
例を示すブロック図である。 1・・・CPUラック、2・・・I10ラック、3.3
゜・・・I10バス、4・・・CPUモジュール、5・
・・通信モジュール、6・・・モニタ装置、7・・・モ
ニタモジュール、9・・・データバス、11・・・入力
用FiFoメモリ、12・・・出力用FiFoメモリ、
13.16・・・アドレス・データバス、14・・汎用
マイクロプロセッサ(MPU) 、l 5・・・通信用
LSI、+7・・プログラム用ROM、18・・・ワー
ク用RAM、21・・・入力モジュール、22・・出力
モジュール第1図 第3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a monitor module, and FIG. 3 is a block diagram showing a conventional example. 1...CPU rack, 2...I10 rack, 3.3
゜...I10 bus, 4...CPU module, 5.
... Communication module, 6... Monitor device, 7... Monitor module, 9... Data bus, 11... FiFo memory for input, 12... FiFo memory for output,
13.16... Address/data bus, 14... General-purpose microprocessor (MPU), l 5... LSI for communication, +7... ROM for program, 18... RAM for work, 21... Input Module, 22... Output module Figure 1 Figure 3

Claims (1)

【特許請求の範囲】 1、中央処理装置モジュールを備えた中央処理装置ラッ
クと、入出力ラックと、モニタ装置とを備え、前記中央
処理装置ラックと入出力ラックとを入出力バスによって
接続したプログラマブルコントローラのモニタ方式にお
いて、前記入出力バスに入出力データをモニタするモニ
タモジュールを接続するとともに、モニタモジュールと
モニタ装置とを接続し、モニタモジュールとモニタ装置
との間で通信を行なうことを特徴とするプログラマブル
コントローラのモニタ方式。 2、前記モニタモジュールが、前記入出力バスのライト
信号によりデータを読み込む出力データ用のメモリと、
前記入出力バスのリード信号によりデータを読み込む入
力データ用のメモリと、前記入力データ用メモリおよび
出力データ用メモリのデータをそれぞれ読み込む汎用マ
イクロプロセッサと、プログラム用ROMと、前記プロ
グラム用ROMのプログラムにしたがって前記汎用マイ
クロプロセッサが読み出したデータを格納するワーク用
RAMと、前記ワーク用RAMに接続されるとともに前
記モニタ装置に接続された通信用集積回路とを備え、前
記モニタ装置からのモニタ要求により、前記汎用マイク
ロプロセッサが前記ワーク用RAMからデータを前記通
信用集積回路に伝達するようにした請求項1記載のプロ
グラマブルコントローラのモニタ方式。
[Claims] 1. A programmable device comprising a central processing unit rack equipped with a central processing unit module, an input/output rack, and a monitor device, and the central processing unit rack and the input/output rack are connected by an input/output bus. The controller monitor method is characterized in that a monitor module for monitoring input/output data is connected to the input/output bus, and a monitor module and a monitor device are connected, and communication is performed between the monitor module and the monitor device. Monitoring method for programmable controllers. 2. An output data memory into which the monitor module reads data in response to a write signal of the input/output bus;
an input data memory that reads data in response to a read signal from the input/output bus, a general-purpose microprocessor that reads data from the input data memory and output data memory, respectively, a program ROM, and a program for the program ROM. Therefore, it is provided with a work RAM for storing data read by the general-purpose microprocessor, and a communication integrated circuit connected to the work RAM and also connected to the monitor device, and in response to a monitor request from the monitor device, 2. The programmable controller monitoring system according to claim 1, wherein said general-purpose microprocessor transmits data from said work RAM to said communication integrated circuit.
JP11948889A 1989-05-12 1989-05-12 Monitor system for programmable controller Pending JPH02299004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11948889A JPH02299004A (en) 1989-05-12 1989-05-12 Monitor system for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11948889A JPH02299004A (en) 1989-05-12 1989-05-12 Monitor system for programmable controller

Publications (1)

Publication Number Publication Date
JPH02299004A true JPH02299004A (en) 1990-12-11

Family

ID=14762513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11948889A Pending JPH02299004A (en) 1989-05-12 1989-05-12 Monitor system for programmable controller

Country Status (1)

Country Link
JP (1) JPH02299004A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019020822A (en) * 2017-07-12 2019-02-07 株式会社日立産機システム Programmable controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019020822A (en) * 2017-07-12 2019-02-07 株式会社日立産機システム Programmable controller

Similar Documents

Publication Publication Date Title
JPH01295355A (en) Interruption control circuit for multi-master bus
JPH06222810A (en) Central processing unit for process control system
JPH02299004A (en) Monitor system for programmable controller
KR100949168B1 (en) Controller
JPH0254362A (en) Parallel process computer
KR100253790B1 (en) Method of interface for controller board in medium and large computer
JP2584903B2 (en) External device control method
JP3350699B2 (en) Programmable controller
JPH01126749A (en) Data control device for peripheral equipment
JP2543887B2 (en) Line control device
JPH0625932U (en) CPU board for parallel processing
JPS63163952A (en) Data transfer system
JPH01184569A (en) Data transmission equipment
JPH03225551A (en) Input and output device access control system
JPS62190544A (en) Higher link unit for programmable controller
JPS62266639A (en) Interface device for input/output device
JP2000099412A (en) Device and method for controlling memory
JPH02278452A (en) Method for controlling buffer memory for transmission
JPH04111149A (en) Circuit system for dma device
JPH01114959A (en) Memory data transfer system
JPS6168665A (en) Input/output controlling device of computer
JPH05233526A (en) Dma control system
JPS62140156A (en) Polling system
JPH03189802A (en) Host link unit for programmable controller
JPH0215749A (en) System for setting line controlling information for communication control processor