Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3038279B2 - Programmable controller system - Google Patents
[go: Go Back, main page]

JP3038279B2 - Programmable controller system - Google Patents

Programmable controller system

Info

Publication number
JP3038279B2
JP3038279B2 JP4240801A JP24080192A JP3038279B2 JP 3038279 B2 JP3038279 B2 JP 3038279B2 JP 4240801 A JP4240801 A JP 4240801A JP 24080192 A JP24080192 A JP 24080192A JP 3038279 B2 JP3038279 B2 JP 3038279B2
Authority
JP
Japan
Prior art keywords
cpu
program
block
code
processing
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.)
Expired - Fee Related
Application number
JP4240801A
Other languages
Japanese (ja)
Other versions
JPH0695719A (en
Inventor
昌久 前田
孝幸 押賀
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4240801A priority Critical patent/JP3038279B2/en
Publication of JPH0695719A publication Critical patent/JPH0695719A/en
Application granted granted Critical
Publication of JP3038279B2 publication Critical patent/JP3038279B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数台のプログラマブ
ルコントローラ(以下、PCと略す)からなるPCシステ
ムに係り、特に、搬送システム、プラント制御など、単
体のCPUだけでは処理しきれず、複数のCPUを用い
て処理しなければ制御出来ないような大規模なシステム
を処理する際、個々のCPUがインタロックなどを使用
し、相互に影響を及ぼしながら、全体として一つの大き
なシーケンスプログラムを処理するPCのCPUと、そ
のプログラミング装置を含めたPCシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PC system comprising a plurality of programmable controllers (hereinafter abbreviated as PC), and more particularly, to a transfer system, a plant control, etc., which cannot be processed by a single CPU alone. When processing a large-scale system that cannot be controlled without processing using a CPU, each CPU uses an interlock or the like to process one large sequence program as a whole while affecting each other. The present invention relates to a PC system including a CPU of a PC and its programming device.

【0002】[0002]

【従来の技術】複数のCPUを用いた従来のPCシステ
ムでは、主としてリンクを用いたシステム、いわゆるリ
ンクシステムが使用されている。このリンクシステム
は、プログラミング装置を複数のCPUと通信させるた
めのネットワークのことであるが、図9に、このネット
ワークにおけるリンク処理LINKのフローチャートを
示す。
2. Description of the Related Art In a conventional PC system using a plurality of CPUs, a system mainly using a link, that is, a so-called link system is used. This link system is a network for causing a programming device to communicate with a plurality of CPUs. FIG. 9 shows a flowchart of a link processing LINK in this network.

【0003】ブロック9-1でCPUリンク切り変え処
理が実行されると、動作がLINKへ移る。ブロック9
-2でプログラミング装置により、通信を行うCPUの
ネットワークアドレスを入力すると、ブロック9-3で
ネットワークアドレスが全CPUに転送される。ブロッ
ク9-4と9-5でそのネットワークアドレスを持つCP
Uとの接続処理が行われて通信可能状態となる。
When the CPU link switching process is executed in block 9-1, the operation shifts to LINK. Block 9
When the network address of the communicating CPU is input by the programming device in -2, the network address is transferred to all CPUs in block 9-3. Blocks 9-4 and 9-5 with CP with that network address
The connection process with U is performed, and the communication is enabled.

【0004】しかし、このようなリンクシステムでは、
一度に全体のCPUにアクセスすることはできず、あく
まで1対1の通信しか行えないため、複数個のCPUの
プログラムを一度にモニタすることは不可能であり、他
のCPUのプログラムをモニタする時には、或るCPU
にリンク処理を行うか、通信ケーブルを差し替えるか
し、新たにロードし直すという一連の操作をCPUの数
だけ繰り返さなければならなかった。
However, in such a link system,
Since it is not possible to access the entire CPU at one time and only one-to-one communication can be performed at the same time, it is impossible to monitor programs of a plurality of CPUs at once, and monitor programs of other CPUs. Sometimes a certain CPU
A series of operations, such as performing link processing, replacing a communication cable, and reloading, must be repeated by the number of CPUs.

【0005】なお、このような従来技術については、1
989年7月発行の「日立評論」(U.D.C.:658.
527.7'132)、P43〜P48に記載のプログラ
マブルコントローラ Hシリーズに開示されている。
[0005] Incidentally, regarding such a conventional technique, 1
"Hitachi Review" published in July 989 (UDC: 658.
527.7'132), and the programmable controller H series described on pages 43 to 48.

【0006】また、複数のCPUによるPCシステムで
は、個々のCPUはそれぞれ単独で動作するが、CPU
同士の相互間では主に外部配線によるI/O情報の受け
渡しにより相互に影響を及ぼしていた。しかし、このよ
うな場合、プログラミング装置によるモニタ画面では、
その相互関係について、予じめユーザが知識をもってい
なければ、それを表示するような機能はなく、あくまで
外部配線か、PCのI/Oの動作をチェックしなければ
わからなかった。
In a PC system using a plurality of CPUs, each individual CPU operates independently.
The transmission and reception of the I / O information via the external wiring affect each other. However, in such a case, the monitor screen by the programming device
Unless the user has knowledge of the interrelationships in advance, there is no function to display the information, and it is impossible to understand unless the external wiring or the operation of the PC I / O is checked.

【0007】[0007]

【発明が解決しようとする課題】前述したように、それ
ぞれ独立したプログラムを持つ複数のCPUがそれぞれ
影響を及ぼしながら一つの大規模な制御システムを形成
しているとき、リンクシステムによるネットワークで
は、CPU間の相互影響が判らないため、使い勝手が悪
く、また、それぞれのCPUのプログラムを同時にモニ
タすることも出来ないので、ユーザデバッグでの効率も
良くないという問題があった。
As described above, when a plurality of CPUs each having an independent program form one large-scale control system while exerting influence on each other, a network using a link system requires a CPU. Since the mutual influence between them is not known, there is a problem that the usability is poor, and the program of each CPU cannot be monitored at the same time, so that the efficiency of user debugging is not good.

【0008】すなわち、各CPUにより構成されている
全プログラムのデバッグは、他のCPUからのインタロ
ックの信号の状態が見えないので、異常動作の解析を行
うには逐次各CPUに周辺装置をつないでモニタしなが
らデバッグを行わなければならなかった。
In other words, when debugging all programs constituted by each CPU, the state of the interlock signal from the other CPUs cannot be seen. Therefore, in order to analyze abnormal operation, peripheral devices are sequentially connected to each CPU. I had to debug while monitoring with.

【0009】このことについて、具体例として各CPU
内のラダープログラムと、CPU間でのインタロック状
態を示した図3を用いて以下に説明すると、この図3の
プログラムをデバッグするためには、図3(a)、(b)及び
(c)のように、各CPU毎に分けてモニタ表示、及び回
路修正を行わなければならない。
In this regard, as a specific example, each CPU
Referring to FIG. 3 showing a ladder program in FIG. 3 and an interlock state between CPUs, in order to debug the program in FIG. 3, FIGS. 3 (a), (b) and
As shown in (c), monitor display and circuit correction must be performed separately for each CPU.

【0010】このように各CPU毎にプログラムをモニ
タしなければならないとき、CPUをモニタした場
合、図3(b)の信号X0は、CPUのコイルY0の信
号であることが直感的には判らない。しかも、このとき
のCPUのコイルY0のON/OFF条件は、プログ
ラミング装置との接続をCPUからCPUに切り替
えて、図3(a)をモニタしなければ見ることができな
い。
When the program must be monitored for each CPU as described above, when the CPU is monitored, it is intuitively understood that the signal X0 in FIG. 3B is the signal of the coil Y0 of the CPU. Absent. Moreover, the ON / OFF condition of the coil Y0 of the CPU at this time cannot be seen unless the connection with the programming device is switched from the CPU to the CPU and FIG. 3A is monitored.

【0011】同様に、CPUをモニタした場合、図3
(c)の信号X1は、CPUのコイルY1の信号である
ことが直感的には判らない。さらには、CPUのコイ
ルY1のON/OFF条件は、プログラミング装置との
接続をCPUからCPUに切り替えて、図3(b)を
モニタしなければ見ることができない。
Similarly, when the CPU is monitored, FIG.
It cannot be intuitively understood that the signal X1 of (c) is a signal of the coil Y1 of the CPU . Furthermore, ON / OFF condition of the coil Y1 of the CPU switches the connection between the programming device from the CPU to the CPU, it can not be seen unless the monitor to FIG 3 (b).

【0012】さらに、CPUをモニタした場合、図3
(a)の信号X2は、CPUのコイルY2の信号である
ことは、直感的には判らない。さらには、CPUのコ
イルY2のON/OFF条件は、プログラミング装置と
の接続をCPUからCPUに切り替えて、図3(c)
をモニタしなければ見ることができない。
Further, when the CPU is monitored, FIG.
It cannot be intuitively understood that the signal X2 in (a) is a signal of the coil Y2 of the CPU. Further, the ON / OFF condition of the coil Y2 of the CPU is determined by switching the connection with the programming device from the CPU to the CPU, as shown in FIG.
Can not be seen unless you monitor.

【0013】従って、従来技術では、複数個のラダープ
ログラムのモニタやデバッグを行う際に非常に時間がか
かり、使用するCPUの数が増えるほどその手間も増加
し、作業効率が大変悪い状態になっていた。
Therefore, in the prior art, monitoring and debugging a plurality of ladder programs takes a very long time, and as the number of CPUs used increases, the time and effort increases, and the work efficiency becomes very poor. I was

【0014】また、複数台、例えば3台のCPU内のラ
ダープログラムを組み合わせて動作させたときの全体の
動きを理解するには、ラダープログラムが図3(a)、
(b)、(c)のように分かれてしまうので、大変困難であっ
た。
In order to understand the overall operation when the ladder programs in a plurality of, for example, three CPUs are operated in combination, the ladder program is shown in FIG.
(b) and (c), it was very difficult.

【0015】本発明は、この問題点を解決するためにな
されたもので、その目的は、大規模な制御プログラムに
おいて、複数のCPU間の相互関係が判り易く、デバッ
グしやすい状態で容易に処理出来るようにしたPCシス
テムを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve this problem, and an object of the present invention is to provide a large-scale control program in which the mutual relationship between a plurality of CPUs can be easily understood and debugged easily. An object of the present invention is to provide a PC system which can be used.

【0016】[0016]

【課題を解決するための手段】上記目的は、各CPUが
IDコードを持ち、全体の制御システムのどの機能を担
っているかを個々のCPUに把握させ、それぞれのCP
U内のプログラムが相互に影響を及ぼしあって、全体の
制御システムを処理するようなシステムを作り上げるこ
とにより達成される。
SUMMARY OF THE INVENTION The object of the present invention is to make each CPU have an ID code and to know which function of the overall control system is responsible for each CPU.
This is achieved by creating a system in which the programs in U interact with each other and handle the entire control system.

【0017】さらに、単数または複数のCPUやプログ
ラミング装置などがデータテーブル内にインタロック信
号一覧を持つことにより、各CPU間のインタロック信
号状況をモニタ画面にて把握できるようにすることによ
り達成される。具体的には、本発明の目的は、シーケン
ス制御の内容をシーケンスプログラムとして記憶するユ
ーザプログラムメモリと、上記シーケンスプログラムを
ユーザプログラムメモリから読出して実行するCPU
と、このCPUとI/O及びユーザプログラムを統括し
て制御するプログラムを持つシステムメモリと、制御の
ための外部信号を入出力する入出力インタフェース部と
を有し、外部配線で結ばれた複数台のプログラマブルコ
ントローラと、シーケンスプログラムの作成及びモニタ
を行うプログラミング装置とを備えたプログラマブルコ
ントローラシステムにおいて、上記シーケンスプログラ
ムに含まれて上記各CPUのアドレスを表わすCPU識
別情報と、上記外部配線による各CPU間のI/Oの相
互関係を表わすインタロック情報と、各々のCPUが全
体のシステム構成の中の自分の位置付けを認識するため
のIDコードとを、上記各々のCPUに持たせ、上記C
PU情報と上記IDコードにより、複数個のCPUのシ
ーケンスプログラムを一本化して一系統のラダーシーケ
ンスプログラムとして表示し、上記インタロック情報に
より、上記ラダーシーケンスプログラムの表示に複数個
のCPUのシーケンスプログラム間でのインタロックに
よる相互関係を表わす表示が付加されるようにして、達
成される。
Further, the present invention is attained by allowing one or more CPUs or programming devices to have a list of interlock signals in a data table so that the status of interlock signals between the CPUs can be grasped on a monitor screen. You. Specifically, the object of the present invention is to
User that stores the contents of the
User program memory and the above sequence program
CPU to read from user program memory and execute
To control the CPU, I / O and user programs
System memory with a program to control
I / O interface to input and output external signals for
With multiple programmable controllers connected by external wiring
Controller and sequence program creation and monitoring
Programming device with a programming device for performing
In the controller system, the above sequence program
CPU identification that is included in the
Separate information and I / O phase between each CPU by the external wiring
The interlock information indicating the interrelationship and each CPU
To recognize your position in the body system configuration
ID code of each of the CPUs.
Based on the PU information and the ID code, the CPU
-Sequence program is integrated into one ladder sequence
Displayed as an interlock program, and
From the ladder sequence program
To interlock between CPU sequence programs
Display to show the interaction
Is done.

【0018】[0018]

【作用】複数のCPUが、それぞれインタロックによる
相互関係を持つプログラム処理を行うとき、各CPUが
IDコードを持っており、全体の制御システムの中の位
置づけを把握しているので、プログラミング装置による
モニタ機能により、複数個のプログラムを連結した形で
モニタでき、さらに単数または複数のCPUやプログラ
ミング装置などのデータテーブル内のインタロック信号
一覧により、インタロックの相互関係も同時にモニタで
きるようにしたので、プログラムの作成やモニタ、デバ
ッグを行う際に少ない手間で効率良く行うことができ
る。また、各CPUがIDコードを持っており、全体の
制御システムの中の位置づけを把握しているので、プロ
グラミング装置による1対複数の制御も容易に行うこと
ができる。
When a plurality of CPUs perform a program process having a mutual relationship by an interlock, each CPU has an ID code and knows its position in the entire control system. With the monitor function, a plurality of programs can be monitored in a linked form. In addition, the interlock relationship between the interlocks can be monitored simultaneously with the interlock signal list in the data table of one or more CPUs or programming devices. In addition, when creating, monitoring, and debugging a program, it can be performed efficiently with little effort. Also, since each CPU has an ID code and knows its position in the overall control system, one-to-many control by the programming device can be easily performed.

【0019】[0019]

【実施例】以下、本発明によるPCシステムについて、
図示の実施例により詳細に説明する。図1は、プログラ
ミング装置1-1と、複数のCPU1-4、1-5、1-6
をネットワークで結んだシステムからなる本発明の一実
施例で、各CPU1-4、1-5、1-6は、それぞれリ
ンク(リンクモジュール)1-13、1-14、1-15で
結ばれ、CPU間での通信が行えるようになっている。
そして、個々のCPU1-4、1-5、1-6にはそれぞ
れ独立したプログラムが存在し、それらのプログラムは
個々のCPUにより管理されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a PC system according to the present invention will be described.
This will be described in detail with reference to the illustrated embodiment. FIG. 1 shows a programming device 1-1 and a plurality of CPUs 1-4, 1-5, 1-6.
In this embodiment, the CPUs 1-4, 1-5, and 1-6 are connected by links (link modules) 1-13, 1-14, and 1-15, respectively. , Can communicate with each other.
Each of the CPUs 1-4, 1-5, and 1-6 has an independent program, and these programs are managed by the individual CPUs.

【0020】また、それぞれのCPU1-4、1-5、1
-6は個々にIDコードを持っており、そのため、独立
したプログラムで動作していても、全体の制御システム
の中での自分自身の位置づけが、各CPU自身で認識で
きるようになっている。一方、プログラミング装置1-
1は、内部のユーザプログラムメモリにより、プログラ
ムデータ1-2やモニタデータ1-3を管理するようにな
っている。
The CPUs 1-4, 1-5, 1-5
-6 each have an ID code, so that each CPU itself can recognize its own position in the entire control system even if it is operated by an independent program. On the other hand, programming device 1-
Numeral 1 manages program data 1-2 and monitor data 1-3 by an internal user program memory.

【0021】このプログラムデータ1-2は、各CPU
で処理すべきプログラムで、図2に示すように、オペラ
ンド部分2-1とオペコード部分2-2に別れており、オ
ペランド部分2-1にはI/O No.情報(各CPU間
のI/Oの相互関係を表わすインタロック情報)2-3
が、また、オペコード部分2-2には命令情報2-4が入
力されている。
The program data 1-2 is stored in each CPU.
As shown in FIG. 2, the program to be processed is divided into an operand part 2-1 and an operation code part 2-2, and the operand part 2-1 has an I / O No. Information (interlock information indicating I / O interrelationship between CPUs) 2-3
However, the instruction information 2-4 is input to the operation code portion 2-2.

【0022】さらに、オペコード部分2−2には、命令
情報と共に周辺機器情報2−5も入力されるが、この周
辺機器情報2−5の中にCPU識別情報2−6を持た
せ、このCPU識別情報の中に各CPUが個々に持って
いるIDコードがセットされている。ここで、CPU識
別情報とは、CPUのアドレスを表わす情報のことで、
IDコードとは、各々のCPUが全体のシステム構成の
中の自分の位置付けを確認するためのコードのことであ
る。
Further, the peripheral device information 2-5 is also input to the operation code portion 2-2 together with the instruction information. The peripheral device information 2-5 is provided with CPU identification information 2-6. The ID code which each CPU individually has is set in the identification information. Here, CPU knowledge
The separate information is information indicating the address of the CPU.
The ID code means that each CPU has the entire system configuration.
Code to confirm your position in
You.

【0023】図6は、図1の実施例におけるプログラミ
ング装置1-1と、CPU1-4のハードウェア構成を示
したもので、CPU1-5、1-6は省略してある。な
お、この図6から明らかなように、この実施例では、C
PU1-4、1-5、1-6は、実際にはCPU単体では
なく、その他のハードウェアも含むので、ここでは、C
PU単体と区別する場合にはCPUユニットと記載す
る。
FIG. 6 shows a hardware configuration of the programming device 1-1 and the CPU 1-4 in the embodiment of FIG. 1, and the CPUs 1-5 and 1-6 are omitted. As is apparent from FIG. 6, in this embodiment, C
The PUs 1-4, 1-5, and 1-6 are not actually a single CPU but also include other hardware.
When it is distinguished from a single PU, it is described as a CPU unit.

【0024】まず、プログラミング装置1-1のハード
ウェア構成は、ユーザプログラムが書き込まれるユーザ
プログラムメモリ6-3と、ユーザプログラムやシステ
ム情報を表示するための表示器6-4と、入力を行うた
めのキーボード6-5と、CPUユニットと情報交換を
行うための通信I/F6-6と、プログラミング装置の
制御用プログラムが書き込まれているシステムメモリ6
-7と、システムメモリに書き込まれたプログラムを実
行するためのCPU6-8と、プログラムやシステム情
報を記録して保存させるためのフロッピーディスク6-
9からなる。
First, the hardware configuration of the programming device 1-1 includes a user program memory 6-3 in which a user program is written, a display 6-4 for displaying the user program and system information, and an input device for inputting. Keyboard 6-5, a communication I / F 6-6 for exchanging information with the CPU unit, and a system memory 6 in which a program for controlling the programming device is written.
-7, a CPU 6-8 for executing the program written in the system memory, and a floppy disk 6- for recording and storing the program and system information.
Consists of nine.

【0025】次に、CPUユニット1-4のハードウェ
ア構成は、他のCPUユニットやプログラミング装置と
情報交換を行うための通信I/F6-10、6-11と、
入出力機器と接続するためのI/O6-12と、ユーザ
プログラムが書き込まれるユーザプログラムメモリ6-
13と、CPUの制御用プログラムが書き込まれている
システムメモリ6-14と、システムメモリに書き込ま
れたプログラムを実行するためのCPU6-15からな
る。なお、CPUユニット1-5、1-6も同様である。
Next, the hardware configuration of the CPU unit 1-4 includes communication I / Fs 6-10 and 6-11 for exchanging information with other CPU units and programming devices.
An I / O 6-12 for connecting to an input / output device, and a user program memory 6- in which a user program is written
13, a system memory 6-14 in which a control program for the CPU is written, and a CPU 6-15 for executing the program written in the system memory. The same applies to the CPU units 1-5 and 1-6.

【0026】次に、この実施例の動作について説明す
る。CPU識別情報を持ったプログラムデータ1-2
が、プログラミング装置1−1からCPU(1-4)へ
送信されると、この情報と、CPU自身が持つIDコ
ードとの比較により、CPU内で処理すべきプログラ
ムデータか否かが判断される。そして、CPU内で処
理すべきプログラムデータなら、CPU内のユーザメ
モリ1-7内で処理する。
Next, the operation of this embodiment will be described. Program data 1-2 with CPU identification information
Is transmitted from the programming device 1-1 to the CPU (1-4), by comparing this information with the ID code of the CPU itself, it is determined whether the data is program data to be processed in the CPU. . If the program data is to be processed in the CPU, it is processed in the user memory 1-7 in the CPU.

【0027】しかして、CPU内で処理すべきプログ
ラムデータでなかったときには、リンク1-13を介し
てCPU(1-5)へそのプログラムデータを送る。そ
こで、このCPUでは、CPUで行った処理と同じ
処理を行う。こうすることにより、各プログラムデータ
は処理されるべきCPUへ送られ、ユーザメモリにより
処理される。
If it is not the program data to be processed in the CPU, the program data is sent to the CPU (1-5) via the link 1-13. Therefore, this CPU performs the same processing as the processing performed by the CPU. By doing so, each program data is sent to the CPU to be processed and is processed by the user memory.

【0028】そして、このようにCPU識別情報を用い
ることにより、プログラミング装置から個々のCPUへ
ネットワークを介してプログラムデータを受け渡すこと
が可能となる。
The use of the CPU identification information makes it possible to transfer program data from the programming device to the individual CPUs via the network.

【0029】次に、リンクで結ばれた各CPU〜の
プログラムを、プログラミング装置1-1により同時に
モニタするための、この実施例による動作について説明
する。なお、ここでは、理解を容易にするため、従来技
術の場合と同様に、リンクでつながれたPCシステム
が、図3のようになっていた場合について説明する。
Next, a description will be given of the operation of this embodiment for simultaneously monitoring the programs of the CPUs connected by the link by the programming device 1-1. Here, in order to facilitate understanding, as in the case of the prior art, a case where the PC system connected by a link is as shown in FIG. 3 will be described.

【0030】図7は、このときのプログラミング装置1
-1内のメモリの状況を示したもので、メモリ7-1内に
はプログラム格納エリア指定CPU用テーブル7-2
と、プログラム格納テーブル7-3の二種のテーブルが
設けてある。そしてプログラム格納エリア指定CPU用
テーブル7-2はインタロック情報テーブル7-4と結ば
れ、これと対応したテーブルとなっている。
FIG. 7 shows the programming device 1 at this time.
Shows the status of the memory in the memory 7-1. The memory 7-1 has a program storage area designation CPU table 7-2.
And a program storage table 7-3. The program storage area designation CPU table 7-2 is linked to the interlock information table 7-4, and is a table corresponding thereto.

【0031】まずユーザは、プログラム格納エリア指定
CPU7-2の所定の欄に、一本化してモニタさせたい
と考えた、それぞれのプログラムを持つCPU名を書込
む。そのための入力画面と、CPU名の入力操作の一例
を図8に示す。
First, the user writes the names of the CPUs having the respective programs that the user wants to unify and monitor in a predetermined column of the program storage area designation CPU 7-2. FIG. 8 shows an input screen for that and an example of the input operation of the CPU name.

【0032】まず、画面では、プログラムを読み出すC
PU名を聞いてくる(8-1)。そこで、これに応じて必
要なCPU名(ここではCPU1)を入力すると、画面上
にCPU1を表示し、また次のCPU名を聞いてくる
(8-2)。そこで再びCPU名を入力する(ここではCP
U3)と、画面上にCPU1、CPU3を表示し、また
次のCPU名を聞いてくる(8-3)。
First, on the screen, C is read to read the program.
Ask the PU name (8-1). Therefore, when a necessary CPU name (here, CPU1) is input in response to this, the CPU1 is displayed on the screen, and the next CPU name is asked.
(8-2). Then, enter the CPU name again (here, CP
U3), CPU1 and CPU3 are displayed on the screen, and the next CPU name is asked (8-3).

【0033】ここで、CPU1とCPU3の間にCPU
2を挿入するためにカーソル「↑」をキーインする。そ
うすると、CPU1とCPU3の間にCPU2を挿入す
るための状態になる(8-4)ので、CPU2を入力する
と画面上にCPU1、CPU2、CPU3が表示される
(8-5)。そして、このとき、入力されたCPU名は、
同時に図7のプログラム格納エリア指定CPU7-2の
欄に書き込まれる。
Here, a CPU is provided between CPU 1 and CPU 3.
Key in the cursor "@" to insert 2. Then, the CPU 2 is inserted between the CPU 1 and the CPU 3 (8-4). When the CPU 2 is input, the CPU 1, the CPU 2, and the CPU 3 are displayed on the screen.
(8-5). At this time, the input CPU name is
At the same time, it is written in the column of the program storage area designation CPU 7-2 in FIG.

【0034】そうすると、書き込まれたCPU名のID
コードをプログラム格納テーブル7-3の中の各エリア
の先頭番地に書き込み、さらにそのIDコード情報と同
じIDコードを持つCPUを捜し出し、そこへアクセス
して、そこのプログラムをプログラム格納テーブル7-
3へロードする。ロードを終了した後、次のエリアの先
頭のIDコード情報をチェックし、あとは同様の処理を
行い、指定されたエリアのIDコード情報に対応するC
PU全てから、各プログラム格納テーブル7-3へプロ
グラムをロードするのである。
Then, the ID of the written CPU name
The code is written to the start address of each area in the program storage table 7-3, and a CPU having the same ID code as the ID code information is searched for, accessed there, and the program there is stored in the program storage table 7-3.
Load to 3. After the loading is completed, the ID code information at the head of the next area is checked, and the same processing is performed thereafter.
The program is loaded into each program storage table 7-3 from all the PUs.

【0035】このあとは、従来の技術と同様にして処理
を行なう。すなわち、格納テーブルの中のプログラムを
使用し、プログラミング装置の画面に表示している部分
のプログラムのモニタデータを、CPUから取り出して
モニタ画面を構成する。そして、複数のCPUのプログ
ラムが画面に表示された時には、それぞれ対応CPUを
切り替えながらモニタデータを取り出してモニタ画面を
構成するのである。
Thereafter, processing is performed in the same manner as in the prior art. That is, using the program in the storage table, the monitor data of the program of the portion displayed on the screen of the programming device is extracted from the CPU to form the monitor screen. When the programs of a plurality of CPUs are displayed on the screen, the monitor data is taken out while switching the corresponding CPU to construct a monitor screen.

【0036】この実施例によるPCのシステムの特徴
は、全体が一連の大きなプログラムであり、それぞれの
CPU内のプログラムが相互に影響を及ぼして動作して
いることであるが、それらのプログラムは個々のCPU
が管理しているために、或る一台のCPUがそのプログ
ラム処理を終え、次の処理を行うCPUへ処理を移行す
るとき、そのデータの受け渡しに問題が生じる。それ
は、CPUとCPU、及びCPUでは、それらの
プログラムは完全に独立しているので、プログラム中に
使用されているI/Oの中で、機能としては同じI/O
であっても、モニタしたときには全く別のI/O N
o.となるものが生じてしまうからである。
The feature of the PC system according to this embodiment is that the entire system is a series of large programs, and the programs in the respective CPUs operate while affecting each other. CPU
Therefore, when one CPU finishes the program processing and shifts the processing to the CPU that performs the next processing, a problem occurs in the transfer of the data. That is, since the CPU and the CPU and their programs are completely independent of each other, among the I / Os used in the program, the same I / O as the function is used.
However, when monitored, a completely different I / O N
o. This is because the following occurs.

【0037】そこで、各CPUのラダープログラム情報
を一度にモニタしても、全体の関係を理解できるように
した本発明の実施例について、以下に説明する。まず、
図4は、3台のCPU、CPU、CPUからなる
システムにおいて、それぞれのCPU毎に独立して有す
るプログラムを、一連のラダー図としてモニタ表示させ
たものであるが、ここには、CPUのプログラム処理
が終了したということを意味する出力データY0と、そ
のY0のセットによりCPUのプログラムを起動させ
る入力データX0、同様にCPUのプログラム処理が
終了したということを意味する出力データY1と、その
Y1のセットによりCPUのプログラムを起動させる
入力データX1がある。
An embodiment of the present invention will now be described in which the entire relationship can be understood even when the ladder program information of each CPU is monitored at one time. First,
FIG. 4 shows, in a system including three CPUs, a CPU and a CPU, a program independently provided for each CPU, which is displayed on a monitor as a series of ladder diagrams. Output data Y0 indicating that the processing has been completed, input data X0 for activating the CPU program by setting the Y0, similarly output data Y1 indicating that the CPU has completed the program processing, and Y1 There is input data X1 that activates the CPU program by the set.

【0038】そして、システムとしては、データY0が
ON(CPUのプログラム処理が終了)したとき、デー
タX0がON(CPUのプログラムを起動)し、同様に
データY1がON(CPUのプログラム処理が終了)し
たとき、データX1がON(CPUのプログラムを起
動)する。
Then, as a system, when the data Y0 is turned on (the program processing of the CPU is completed), the data X0 is turned on (starts the program of the CPU), and similarly, the data Y1 is turned on (the program processing of the CPU is completed). ), The data X1 turns ON (starts the CPU program).

【0039】ところで、このシステムは、インタロック
により制御され、個々のCPUは自分自身のプログラム
処理を終えてから次の処理を行わせるためのIDコード
を持つCPUヘ起動をかけた後、再び自分自身のプログ
ラム処理を開始する。しかし、この動作はあくまでI/
Oを結ぶインタロックによる外部配線により動作してい
るものであり、従って、プログラミング装置により全C
PUのプログラム(図4)をモニタしても、図4のモニタ
画面にはそれらの相互関係は表示されないため、それら
の相互関係は、外部配線をたどって調べるなどの確認操
作を行なわない限り、このままではユーザには判らない
ものとなっている。
By the way, this system is controlled by an interlock, and after each CPU finishes its own program processing, it activates a CPU having an ID code for performing the next processing, and then re-starts itself. Start own program processing. However, this operation is only I /
O is operated by external wiring by an interlock connecting O, and therefore, all C
Even if the PU program (FIG. 4) is monitored, the interrelationship is not displayed on the monitor screen of FIG. 4, so that the interrelationship is checked unless a confirmation operation such as checking the external wiring is performed. In this state, the user cannot understand.

【0040】つまり、このような場合には、各CPU間
のインタロックの関係が判るようなモニタ画面にする必
要がある。
That is, in such a case, it is necessary to provide a monitor screen on which the interlock relationship between the CPUs can be understood.

【0041】そこで、この実施例は、図4の表示に代え
て、図5に示すインタロック状態表示モードでのモニタ
ができるように構成したもので、この場合には、外部配
線上でそれぞれ対応しているCPUのプログラムのデ
ータY0とCPUのプログラムのデータX0、CPU
のプログラムのデータY1とCPUのプログラムの
データX1、それにCPUのプログラムのデータY2
とCPUのプログラムのデータX2が、それぞれ表示
面でも対応して描かれるようにしたもので、図示のよう
に、表示「X2」の下に表示「Y2 CPU」が、表
示「X0」の下には表示「Y0 CPU」が、そして
表示「X1」の下には表示「Y1 CPU」が、それ
ぞれ表示されることになる。
In this embodiment, the monitor in the interlock state display mode shown in FIG. 5 can be used in place of the display shown in FIG. 4. CPU program data Y0 and CPU program data X0, CPU
Data Y1 of the CPU program, data X1 of the CPU program, and data Y2 of the CPU program
And the data X2 of the program of the CPU are drawn correspondingly also on the display surface. As shown in the figure, the display “Y2 CPU” is displayed below the display “X2”, and the display “X0” is displayed below the display “X0”. Indicates the display "Y0 CPU", and the display "Y1 CPU" will be displayed below the display "X1".

【0042】すなわち、この実施例では、単数または複
数のCPUやプログラミング装置などのデータテーブル
内に設けたインタロック信号一覧を用いて、これらのイ
ンタロックによる相互関係を表示することにより、例え
ばCPUとCPU、それにCPUとが、一画面上
でインタロックの関係を表わすデータと共に、そのプロ
グラムをモニタすることができ、従って、この実施例に
よれば、関連する複数のプログラムを一連のプログラム
として表示し、しかもそれらの相互関係も含めて、全体
的に理解が容易で、且つユーザデバッグし易いプログラ
ムモニタが可能になる。
That is, in this embodiment, by using a list of interlock signals provided in a data table of one or more CPUs, programming devices, and the like, the interrelationship between these interlocks is displayed, for example, the CPU and the CPU. The CPU and the CPU can monitor the program together with the data indicating the interlocking relationship on one screen, and therefore, according to this embodiment, the related programs are displayed as a series of programs. In addition, a program monitor that is easy to understand as a whole, including their interrelationships, and that can be easily debugged by the user can be realized.

【0043】また、この実施例によれば、エラー発生時
でも、以下に説明するように、容易対応することができ
る。まず、理解を容易にするため、エラー発生時の例と
して、図3(b)のデータX0がONしないという現象が
発生したとき、その原因をソフト的なものとハード的な
ものとに分けて考えることにする。
According to this embodiment, even when an error occurs, it is possible to easily cope with the error as described below. First, in order to facilitate understanding, as an example at the time of occurrence of an error, when the phenomenon that the data X0 in FIG. 3B does not turn on occurs, the cause is divided into a software type and a hardware type. I will consider it.

【0044】いま、I/O No.入力時に、ユーザが
誤って図3(b)の接点X0をX100と入力してしま
い、インタロック信号がうまく動作しなかったときに
は、図5のインタロック状態表示モードにすると、誤入
力のX100の下にはY0 CPUが表示されないの
で、I/O No.入力ミスのような、ソフトバグも一
見しただけで容易に、しかも確実に発見することができ
る。
Now, the I / O No. At the time of input, when the user erroneously inputs the contact X0 of FIG. 3B as X100 and the interlock signal does not operate properly, the interlock state display mode of FIG. Since the Y0 CPU is not displayed below, the I / O No. Soft bugs such as typographical errors can be found easily and reliably at a glance.

【0045】また、図3(a)、(b)において、CPUと
CPUとの間で、リレーY0と接点X0を結ぶインタ
ロック線が切れており、これによる異常動作が発生した
とする。そして、このとき、図5に示すインタロック状
態表示モードにすれば、データY0がONしているとき
には、必ずデータX0(Y0 CPU)もONしなけれ
ばならないのに、これがONしていないことにより、ユ
ーザには一見しただけで容易に判り、この結果、インタ
ロック線に異常があると、これも容易に推察することが
できるのである。
3 (a) and 3 (b), it is assumed that an interlock line connecting the relay Y0 and the contact X0 is broken between the CPUs, thereby causing an abnormal operation. Then, at this time, if the interlock state display mode shown in FIG. 5 is used, the data X0 (Y0 CPU) must be always turned on when the data Y0 is turned on, but the data X0 (Y0 CPU) is not turned on. The user can easily understand at a glance, and as a result, if there is an abnormality in the interlock line, this can be easily inferred.

【0046】従って、この実施例によれば、従来のデバ
ッグのように、各CPU一台、一台毎に通信ケーブルを
つなぎ変えてプログラムをモニタし、I/Oの状態をチ
ェックするといった一連の手間が不要となり、断線のよ
うなハードバグも一目で容易に発見できるのである。
Therefore, according to this embodiment, as in the case of the conventional debugging, a series of processings such as monitoring the program and checking the state of the I / O by reconnecting the communication cable for each CPU and each CPU are performed. This saves time and makes it easy to find hard bugs such as disconnections at a glance.

【0047】次に、この実施例による、リンクで結ばれ
た複数のCPUのプログラムをプログラミング装置によ
りモニタするための手段と、インタロック状況をモニタ
画面に表示するための手段について、特にメモリマップ
とフローチャートを用いて説明する。
Next, the means for monitoring the programs of a plurality of CPUs linked by a link by a programming device and the means for displaying the interlock status on a monitor screen according to the present embodiment will be described. This will be described with reference to a flowchart.

【0048】図10、図11、図12は、それぞれ本発
明の一実施例におけるCPUのユーザプログラムメモリ
6-13と、プログラミング装置のユーザプログラムメ
モリ6-3、それにプログラミング装置のシステムメモ
リ6-7に格納されるデータを示したものである。ま
ず、図10に示すように、プログラムメモリ6-13に
は、IDコード10-1とユーザプログラム10-2(こ
こでは固定長)を、また、図11に示すように、プログ
ラムメモリ6-3には、IDコード11-1、11-3、
11-5と、ユーザプログラム11-2、11-4、11-
6(ここでも固定長)を、それぞれセットとしたプログラ
ム管理テーブルを設ける。すなわち、各CPUには1セ
ットずつ、プログラミング装置には外部メモリなどを使
用して必要なだけ設ける。
FIGS. 10, 11, and 12 show a user program memory 6-13 of the CPU, a user program memory 6-3 of the programming device, and a system memory 6-7 of the programming device, respectively, according to an embodiment of the present invention. Shows the data stored in the. First, as shown in FIG. 10, an ID code 10-1 and a user program 10-2 (here, fixed length) are stored in a program memory 6-13, and as shown in FIG. Has ID codes 11-1, 11-3,
11-5 and user programs 11-2, 11-4, 11-
6 (again, fixed length) is provided as a set of program management tables. That is, one set is provided for each CPU, and the programming device is provided as necessary using an external memory or the like.

【0049】次に、図12に示すように、プログラミン
グ装置1-1のシステムメモリ6-7には、プログラム管
理テーブルの使用数を記録しておくプログラム管理テー
ブル使用数記憶部12-1、プログラム読み出しのとき
その読み出し先CPUのIDコードを格納するテーブル
12-8、そのテーブルのポインタ12-2、及びそのポ
インタのカウンタ12-6、プログラム転送のときその
転送先CPUのIDコードを格納するテーブル12-
9、そのテーブルのポインタ12-3、及びそのポイン
タのカウンタ12-7、プログラミング装置のユーザプ
ログラムメモリのIDコード用ポインタ12-5、イン
タロック情報を調べるときの強制出力情報格納テーブル
12-10、及びそのポインタ12-4を設ける。
Next, as shown in FIG. 12, the system memory 6-7 of the programming device 1-1 stores a program management table use number storage unit 12-1 for recording the use number of the program management table. A table 12-8 for storing the ID code of the CPU to be read at the time of reading, a pointer 12-2 of the table, and a counter 12-6 for the pointer, and a table for storing the ID code of the transfer destination CPU at the time of program transfer. 12-
9, pointer 12-3 of the table, counter 12-7 of the pointer, pointer 12-5 for the ID code of the user program memory of the programming device, forced output information storage table 12-10 for checking interlock information, And its pointer 12-4.

【0050】図13は、本発明の一実施例における一本
化プログラム読み出し、転送、モニタ処理のフローチャ
ートを示したもので、プログラムMAINが起動される
と、まずブロック13-1でキーボードからの入力を読
み取る。ブロック13-2で入力を判断し、対応した処
理ルーチンへ処理を移す。入力は「TNYM」、「FK
YM」、「TNTN」、「FKTN」、「END」と
し、「TNYM」のときは単数CPUのプログラムの読
み出し処理へ、「FKYM」のときは複数CPUのプ
ログラムの読み出し処理へ、「TNTN」のときは単
数CPUのプログラムの転送処理へ、「FKTN」の
ときは複数CPUのプログラムの転送処理へ、そして
「END」のときはモニタ処理へ、それぞれ、その処理
を移す。
FIG. 13 is a flow chart of the unified program read, transfer and monitor processing in one embodiment of the present invention. When the program MAIN is started, first, at a block 13-1, input from the keyboard is performed. Read. At block 13-2, the input is determined, and the processing is shifted to the corresponding processing routine. Input is “TNYM”, “FK
“YM”, “TNTN”, “FKTN”, and “END”. If “TNNYM”, the program is read out by a single CPU. If “FKYM”, the program is read out by a plurality of CPUs. In this case, the processing is transferred to the transfer processing of the program of a single CPU, in the case of "FKTN", to the transfer processing of the program of a plurality of CPUs, and in the case of "END", to the monitor processing.

【0051】まず、単数CPUのプログラムの読み出し
処理のときは、ブロック13-3でプログラム読み出
し用テーブル設定TBLYを行い、ブロック13-4で
単数CPUプログラム読み出しTNYMを行う。複数C
PUのプログラムの読み出し処理のときは、ブロック
13-5でプログラム読み出し用テーブル設定TBLY
を行い、ブロック13-6で複数CPUプログラム読み
出しFKYMを行う。
First, in the case of a program reading process of a single CPU, a program reading table setting TBLY is performed in a block 13-3, and a single CPU program reading TNYM is performed in a block 13-4. Multiple C
In the case of the PU program read processing, the program read table setting TBLY is executed in block 13-5.
Is performed, and a multiple CPU program read FKYM is performed in block 13-6.

【0052】単数CPUのプログラムの転送処理のと
きは、ブロック13-7でプログラム転送用テーブル設
定TBLTを行い、ブロック13-8で単数CPUプロ
グラム転送TNTNを行う。
In the case of a program transfer process of a single CPU, a program transfer table setting TBLT is performed in block 13-7, and a single CPU program transfer TNTN is performed in block 13-8.

【0053】そして、複数CPUのプログラムの転送処
理のときは、ブロック13-9でプログラム転送用テ
ーブル設定TBLTを行い、ブロック13-10で複数
CPUプログラム転送FKTNを行う。一方、モニタ処
理へ移ったときは、ブロック13-11でモニタ処理を
行うか否かの判断をし、処理を行うならブロック13-
12でモニタ処理実行手段MNTを行なうのである。
Then, in the case of a program transfer process of a plurality of CPUs, a program transfer table setting TBLT is performed in block 13-9, and a plurality of CPU program transfer FKTN is performed in block 13-10. On the other hand, when the process proceeds to the monitor process, it is determined whether or not the monitor process is performed in block 13-11.
At 12, the monitor processing execution means MNT is performed.

【0054】図14は、ブロック13-3と13-5での
処理、すなわちプログラム読み出し用テーブル設定手段
TBLYのフローチャートで、この処理TBLYが起動
すると、まずブロック14-1で既に設定されているI
Dコードの変更を行うか否かの判断を行い、変更しない
ならTBLYの処理を終えるが、他方、変更するのなら
ブロック14-2でキーから読み込んだデータをチェッ
クし、それが「TNYM」ならブロック14-3でプロ
グラム管理テーブル記憶部12-1に1を書き込み、
「FKYM」なら、ユーザにより、使用テーブル数をプ
ログラム管理テーブル記憶部12-1に入力して貰う。
そしてブロック14-5で読み出しCPUIDコード入
力処理YMNYを実行するのである。
FIG. 14 is a flowchart of the processing in blocks 13-3 and 13-5, that is, the flowchart of the program reading table setting means TBLY. When this processing TBLY is started, first, the I which has already been set in the block 14-1 is set.
It is determined whether or not to change the D code. If the change is not to be made, the process of TBLY is finished. On the other hand, if it is to be changed, the data read from the key is checked in block 14-2, and if it is “TNYM”, In block 14-3, 1 is written to the program management table storage unit 12-1 and
In the case of "FKYM", the user inputs the number of used tables to the program management table storage unit 12-1.
Then, in a block 14-5, a read CPU ID code input process YMNY is executed.

【0055】図15は、ブロック14-5、すなわち読
み出しCPUIDコード入力処理YMNYを示すフロー
チャートで、この処理YMNYが起動すると、まずブロ
ック15-1で読み出しテーブルポインタ12-2と読み
出しポインタカウンタ12-6をイニシャライズし、ブ
ロック15-2でIDコードポインタ12-5をイニシャ
ライズする。
FIG. 15 is a flowchart showing block 14-5, that is, a read CPU ID code input process YMNY. When this process YMNY is started, first, in block 15-1, a read table pointer 12-2 and a read pointer counter 12-6 are read. Is initialized, and the block 15-2 initializes the ID code pointer 12-5.

【0056】ブロック15-3では読み出しCPUのI
Dコードをユーザに入力して貰い、ブロック15-4で
プログラムメモリに格納する。ブロック15-5で読み
出しテーブルポインタ12-2とIDコードポインタ1
2-5を更新し、ブロック15-6で読み出しポインタカ
ウンタ12-6を更新する。ブロック15-7で管理テー
ブル使用数12-1と読み出しポインタカウンタ12-6
が異なる値なら再びブロック15-3に戻って処理を続
け、同じなら処理を終えるのである。
In block 15-3, the read CPU I
The user inputs the D code and stores it in the program memory in block 15-4. In block 15-5, the read table pointer 12-2 and the ID code pointer 1
2-5 is updated, and the read pointer counter 12-6 is updated in block 15-6. In block 15-7, the management table usage number 12-1 and the read pointer counter 12-6
If are different values, the process returns to block 15-3 again to continue the process, and if the values are the same, the process ends.

【0057】図16は、ブロック13-7、13-9、す
なわちプログラム転送用テーブル設定手段TBLTでの
処理を示すフローチャートで、この処理TBLYが起動
すると、まずブロック16-1で既に設定されているI
Dコードの変更を行うか否かの判断を行い、変更しない
ならTBLTの処理を終える。一方、変更するのならブ
ロック16-2でキー読み込みデータをチェックし、そ
れが「TNTN」ならブロック16-3でプログラム管
理テーブル記憶部12-1に1を書き込み、「FKT
N」ならプログラム管理テーブル記憶部12-1に、使
用テーブル数をユーザに入力して貰う。そしてブロック
16-5で転送CPUのIDコード入力処理TNNYを
実行するのである。
FIG. 16 is a flowchart showing the processing in the blocks 13-7 and 13-9, that is, the processing in the program transfer table setting means TBLT. When this processing TBLY is started, first, the processing is already set in the block 16-1. I
It is determined whether or not to change the D code, and if not, the TBLT processing ends. On the other hand, if it is to be changed, the key read data is checked in block 16-2, and if it is "TNTN", 1 is written to the program management table storage unit 12-1 in block 16-3, and "FKT"
If "N", the user inputs the number of tables used in the program management table storage unit 12-1. Then, the block 16-5 executes the ID code input processing TNNY of the transfer CPU.

【0058】図17は、ブロック16-5、すなわち転
送CPUIDコード入力処理TNNYを示すフローチャ
ートで、この処理TNNYが起動すると、まずブロック
17-1で転送テーブルポインタ12-3と転送ポインタ
カウンタ12-7をイニシャライズし、ブロック17-2
ではIDコードポインタ12-5をイニシャライズす
る。ブロック17-3では、転送CPUのIDコード
を、ユーザにより入力して貰う。ブロック17-4で転
送テーブルポインタ12-3とIDコードポインタ12-
5を更新し、ブロック17-5で転送ポインタカウンタ
12-7を更新する。そしてブロック17-6で、管理テ
ーブル使用数12-1と転送ポインタカウンタ12-7が
異なる値なら再びブロック17-3に戻って処理を続
け、同じなら処理を終えるのである。
FIG. 17 is a flowchart showing block 16-5, that is, the transfer CPU ID code input process TNNY. When this process TNNY starts, first, in block 17-1, the transfer table pointer 12-3 and the transfer pointer counter 12-7 are started. Initialize and block 17-2
Then, the ID code pointer 12-5 is initialized. In block 17-3, the user inputs the ID code of the transfer CPU. In block 17-4, the transfer table pointer 12-3 and the ID code pointer 12-
5 and the transfer pointer counter 12-7 is updated at block 17-5. Then, in block 17-6, if the management table usage count 12-1 and the transfer pointer counter 12-7 have different values, the process returns to block 17-3 again to continue the processing, and if the values are the same, the processing is terminated.

【0059】図18は、ブロック13-4、すなわち単
数CPUプログラム読み出しTNYMを示すフローチャ
ートで、このTNYM処理が起動すると、まずブロック
18-1でメモリ割り付けを読み出し、ブロック18-2
で最終回路の検索を行う。そしてブロック18-3でプ
ログラムを読み出し、読み出した回路が最終回路か否か
を判断し、最終回路でなければ再びブロック18-3に
戻って処理を続け、最終回路なら処理を終えるのであ
る。
FIG. 18 is a flowchart showing the block 13-4, that is, the single CPU program reading TNYM. When the TNYM process is started, first, the memory allocation is read in the block 18-1, and the block 18-2 is read.
Search for the final circuit. Then, the program is read in block 18-3, and it is determined whether or not the read circuit is the final circuit. If the read circuit is not the final circuit, the process returns to block 18-3 to continue the processing.

【0060】図19は、ブロック13-8、すなわち単
数CPUプログラム転送TNTNを示すフローチャート
で、この処理TNTNが起動すると、まずブロック19
-1でメモリ割り付けを読み出し、ブロック19-2でC
PUプログラム管理テーブルをオールクリアする。そし
てブロック19-3でパラメータを書き込み、ブロック
19-4でラダープログラムの書き込みを行なって処理
を終えるのである。
FIG. 19 is a flowchart showing block 13-8, that is, a single CPU program transfer TNTN.
Reads memory allocation at -1 and returns C at block 19-2.
Clear all PU program management tables. Then, the parameters are written in block 19-3, the ladder program is written in block 19-4, and the process is completed.

【0061】図20は、ブロック13-6、すなわち複
数CPUプログラム読み出しFKYMを示すフローチャ
ートで、この処理FKYMが起動すると、まずブロック
20-1で読み出しテーブルポインタ12-2をイニシャ
ライズし、ブロック20-2でIDコードポインタ12-
5をイニシャライズする。ブロック20-3で読み出し
テーブルポインタ12-2とIDコードポインタ12-5
が双方とも同じIDコードを指し示しているか否かを判
断し、それらが異なるならブロック20-4でIDコー
ドポインタ12-5を更新し、再びブロック20-3より
処理を続ける。
FIG. 20 is a flowchart showing the block 13-6, that is, the multiple CPU program read FKYM. When this processing FKYM is started, first, the block 20-1 initializes the read table pointer 12-2, and then executes the block 20-2. With the ID code pointer 12-
5 is initialized. In block 20-3, the read table pointer 12-2 and the ID code pointer 12-5
It is determined whether both are pointing to the same ID code. If they are different, the ID code pointer 12-5 is updated in block 20-4, and the processing is continued from block 20-3 again.

【0062】一方、それらが同じならブロック20-5
でIDコードポインタ12-5の指し示すIDコードを
持つCPUを検索し、ブロック20-6で単数CPUプ
ログラム読み出しTNYMを実行する。そして、ブロッ
ク20-7で読み出しテーブルポインタ12-2を更新
し、ブロック20-8でその読み出しテーブルポインタ
12-2の位置にIDコードが存在するか否かを判断
し、存在したときにはブロック20-4に戻って再び処
理を続け、存在しなければ処理を終えるのである。
On the other hand, if they are the same, block 20-5
Retrieves the CPU having the ID code indicated by the ID code pointer 12-5, and reads out the single CPU program TNYM in block 20-6. Then, in block 20-7, the read table pointer 12-2 is updated. In block 20-8, it is determined whether or not the ID code exists at the position of the read table pointer 12-2. Then, the process returns to step 4 and the processing is continued again.

【0063】図21は、ブロック13-10、すなわち
複数CPUプログラム転送FKTNを示すフローチャー
トで、この処理FKTNが起動すると、まずブロック2
1-1で転送テーブルポインタ12-3をイニシャライズ
し、ブロック21-2でIDコードポインタ12-5をイ
ニシャライズする。ブロック21-3で読み出しテーブ
ルポインタ12-3とIDコードポインタ12-5が双方
とも同じIDコードを指し示しているか否かを判断し、
それらが異なるならブロック21-4でIDコードポイ
ンタ12-5を更新し、再びブロック21-3より処理を
続ける。
FIG. 21 is a flow chart showing block 13-10, that is, a multiple CPU program transfer FKTN.
At 1-1, the transfer table pointer 12-3 is initialized, and at block 21-2, the ID code pointer 12-5 is initialized. In block 21-3, it is determined whether the read table pointer 12-3 and the ID code pointer 12-5 both indicate the same ID code,
If they are different, the ID code pointer 12-5 is updated in block 21-4, and the processing is continued from block 21-3 again.

【0064】他方、それらが同じならブロック21-5
でIDコードポインタ12-5の指し示すIDコードを
持つCPUを検索し、ブロック21-6で単数CPUプ
ログラム転送TNTNを実行する。そしてブロック21
-7で転送テーブルポインタ12-3を更新し、ブロック
21-8でその転送テーブルポインタ12-3の位置にI
Dコードが存在するか否かを判断し、存在すればブロッ
ク21-4に戻って再び処理を続け、存在しなければ処
理を終えるのである。
On the other hand, if they are the same, block 21-5
Search for the CPU having the ID code indicated by the ID code pointer 12-5, and execute the single CPU program transfer TNTN at block 21-6. And block 21
-7, the transfer table pointer 12-3 is updated, and in block 21-8, the position of the transfer table pointer 12-3 is
It is determined whether or not the D code exists. If the D code exists, the process returns to block 21-4 to continue the process again. If the D code does not exist, the process ends.

【0065】図22は、ブロック13-12、すなわち
モニタ処理実行手段MNTを示すフローチャートで、こ
のMNT処理が起動すると、まずブロック22-1でプ
ログラム管理テーブル使用数記憶部12-1の値をチェ
ックし、それが1ならブロック22-2で単数プログラ
ムモニタ実行手段TNMNTを実行し、1でなければブ
ロック22-3で複数プログラムモニタ実行手段FKM
NTを実行する。ブロック22-2で単数プログラムモ
ニタ実行手段TNMNTの処理を終えると、ブロック2
2-4でモニタ処理を終えるか否かの判断をし、終えな
いなら再びブロック22-1より処理を始める。
FIG. 22 is a block 13-12, that is, a flowchart showing the monitor processing execution means MNT. When this MNT processing is started, first, in a block 22-1, the value of the program management table use number storage section 12-1 is checked. If it is 1, the single program monitor execution means TNMNT is executed in block 22-2, and if it is not 1, the plural program monitor execution means FKM is executed in block 22-3.
Execute NT. When the processing of the singular program monitor execution means TNMNT is finished in block 22-2, block 2
At 2-4, it is determined whether or not the monitoring process is to be completed. If not, the process is restarted from block 22-1.

【0066】一方、ブロック22-3で複数プログラム
モニタ実行手段FKMNTの処理を終えると、ブロック
22-5でインタロック情報を表示するか否かを判断
し、表示しないなら再びブロック22-4より処理を始
め、他方、表示するならブロック22-6でインタロッ
ク情報表示処理INTLを実行し、再びブロック22-
4より処理を始めるのである。
On the other hand, when the processing of the plural program monitor execution means FKMNT is completed in block 22-3, it is determined in block 22-5 whether or not interlock information is to be displayed. On the other hand, if it is to be displayed, the interlock information display processing INTL is executed in block 22-6, and the block 22-
The process starts from Step 4.

【0067】図23は、ブロック22-2、すなわち単
数プログラムモニタ実行手段TNMNTを示すフローチ
ャートで、この処理TNMNTが起動すると、まずブロ
ック23-1でモニタ開始アドレスを設定し、次にブロ
ック23-2でステップ数の設定を行い、ブロック23-
3でモニタデータの受信を行って処理を終えるのであ
る。
FIG. 23 is a flowchart showing the block 22-2, that is, the singular program monitor execution means TNMNT. When the processing TNMNT is started, first, a monitor start address is set in a block 23-1, and then a block 23-2 is set. Set the number of steps in block 23-
In step 3, the monitor data is received, and the process ends.

【0068】図24は、ブロック22-3、すなわち複
数プログラムモニタ実行手段FKMNTを示すフローチ
ャートで、この処理FKMNTが起動すると、まずブロ
ック24-1で画面上に表示されたプログラムが1CP
U分のプログラムであるか否かを判断し、1CPU分の
プログラムであればブロック24-2で表示中のプログ
ラムのIDコードをチェックし、ブロック24-3でチ
ェックしたIDコードを持つCPUを検索して、ブロッ
ク24-4で単数プログラムモニタ実行手段TNMNT
を実行し、ここで処理を終える。
FIG. 24 is a flowchart showing the block 22-3, that is, the plural program monitor execution means FKMNT. When the processing FKMNT is started, first, the program displayed on the screen in the block 24-1 is changed to 1CP.
It is determined whether or not the program is for U. If the program is for one CPU, the ID code of the program being displayed is checked in block 24-2, and the CPU having the checked ID code is searched in block 24-3. Then, in a block 24-4, a single program monitor execution means TNMNT
Is executed, and the process is ended here.

【0069】一方、1CPU分のプログラムでなけれ
ば、ブロック24-5で画面最上段部のプログラムのI
Dコードをチェックし、ブロック24-6でチェックし
たIDコードを持つCPUを検索し、ブロック24-7
で単数プログラムモニタ実行手段TNMNTを実行す
る。そしてブロック24-8でチェックしたプログラム
の下部に別のCPUのプログラムが存在するか否かを判
断し、存在しなければそのまま処理を終え、存在すれば
ブロック24-9でそのプログラムのIDコードをチェ
ックし、再びブロック24-6より処理を続けるのであ
る。
On the other hand, if the program is not a program for one CPU, the block I-5 of the program at the top of the screen is
The D code is checked, and the CPU having the ID code checked in block 24-6 is searched for, and the block 24-7 is searched.
Executes the single program monitor execution means TNMNT. Then, it is determined whether or not a program of another CPU exists below the program checked in block 24-8. If it does not exist, the process is terminated. If it exists, the ID code of the program is changed in block 24-9. The check is made, and the processing is continued from block 24-6.

【0070】図25は、ブロック22-6、すなわちイ
ンタロック情報表示処理INTLを示すフローチャート
で、この処理FKMNTが起動すると、まずブロック2
5-1でIDコードポインタ12-5をイニシャライズ
し、ブロック25-2でIDコードポインタ12-5の指
し示すIDコードを持つCPUを検索する。そしてブロ
ック25-3で検索したプログラムを回路順にチェック
し、その出力を検索する。ここでブロック25-4にて
強制出力実行手段KYSTを実行し、さらにブロック2
5-5でインタロックテーブルへのI/O情報格納処理
INTKKNを実行する。次にブロック25-6でプロ
グラム中のすべての出力を検出したか否かをチェックす
る。
FIG. 25 is a flowchart showing block 22-6, that is, the interlock information display processing INTL. When this processing FKMNT is started, first, block 2-6 is executed.
At 5-1, the ID code pointer 12-5 is initialized, and at block 25-2, the CPU having the ID code indicated by the ID code pointer 12-5 is searched. Then, the program searched in block 25-3 is checked in circuit order, and its output is searched. Here, the forced output execution means KYST is executed in block 25-4, and further, block 2 is executed.
In step 5-5, an I / O information storage process INTKKN in the interlock table is executed. Next, it is checked at block 25-6 whether all outputs in the program have been detected.

【0071】そして、まず全ての出力を検出していなけ
ればブロック25-7で次の出力を検出し、再びブロッ
ク25-4より処理を行う。他方、全ての出力を検出し
ていれば、ブロック25-8でIDコードポインタ12-
5を更新し、ブロック25-9で、そこにIDコードが
存在するか否かをチェックする。存在すれば再びブロッ
ク25-2より処理を行い、存在しなければブロック2
5-10でインタロック情報画面表示処理INTHYJ
を実行し、処理を終えるのである。
If all outputs have not been detected, the next output is detected in block 25-7, and the processing is performed again from block 25-4. On the other hand, if all the outputs have been detected, the ID code pointer 12-
5 is updated and a check is made at block 25-9 whether the ID code is present. If it exists, the processing is performed again from block 25-2, and if it does not exist, block 2 is executed.
5-10 Interlock information screen display processing INTHYJ
Is executed, and the process ends.

【0072】図26は、ブロック25-4、すなわち強
制出力実行手段KYSYを示すフローチャートで、この
処理KYSYが起動すると、まずブロック25-1でC
PUがSTOP状態か否かを判断し、STOP状態でな
ければそこで処理を終える。しかして、STOP状態で
あればブロック26-2でI/Oコードを設定し、ブロ
ック26-3でI/O No.を設定し、ブロック26-
4で強制出力データを設定し、ブロック26-5で強制
出力データセットを行い、処理を終えるのである。
FIG. 26 is a flowchart showing the block 25-4, that is, the forced output execution means KYSY. When the process KYSY is started, first, at a block 25-1, C
It is determined whether or not the PU is in the STOP state, and if not, the process is terminated. If it is in the STOP state, the I / O code is set in block 26-2, and the I / O No. is set in block 26-3. Is set, and block 26-
The forced output data is set in step 4, the forced output data set is performed in block 26-5, and the process is completed.

【0073】図27は、ブロック25-5、すなわちイ
ンタロックテーブルへのI/O情報格納処理INTKK
Nを示すフローチャートで、この処理INTKKNが起
動すると、まずブロック27-1では強制出力情報格納
テーブル12-10をリセットし、ブロック27-2で強
制出力テーブルポインタ12-4をイニシャライズし、
そしてブロック27-3で強制出力によりONしたI/
Oを強制出力情報格納テーブル12-10へ格納する。
ブロック27-4では強制出力テーブルポインタ12-4
の指し示すI/OのCPU識別情報2-6と、チェック
した出力のCPU識別情報2-6が同じか否かを判断
し、同じならブロック27-5でインタロック情報テー
ブル7-4に出力とONしたI/Oを格納し、ブロック
27-6で強制出力テーブルポインタ12-4を更新す
る。
FIG. 27 is a block 25-5, that is, a process of storing I / O information in an interlock table INTKK.
In the flowchart showing N, when this process INTKKN is activated, first, in block 27-1, the forced output information storage table 12-10 is reset, and in block 27-2, the forced output table pointer 12-4 is initialized.
Then, I / O turned ON by forced output in block 27-3
O is stored in the forced output information storage table 12-10.
In block 27-4, the forced output table pointer 12-4
It is determined whether or not the CPU identification information 2-6 of the I / O pointed to by the CPU is the same as the CPU identification information 2-6 of the checked output, and if they are the same, the block 27-5 outputs the information to the interlock information table 7-4. The I / O that has been turned on is stored, and the forced output table pointer 12-4 is updated in block 27-6.

【0074】一方、異なるならブロック27-5を迂回
し、次のブロック27-6から処理を行う。そしてブロ
ック27-7で更新したポインタの指し示すところにI
/Oが格納されているか否かを判断し、格納されていれ
ばブロック27-4より再び処理を行い、格納されてい
なければ、処理を終えるのである。
On the other hand, if they are different, the block 27-5 is bypassed, and the processing is performed from the next block 27-6. Then, at the point indicated by the pointer updated in block 27-7, I
It is determined whether or not / O is stored. If it is stored, the process is performed again from block 27-4, and if it is not stored, the process ends.

【0075】図28は、ブロック25-10、すなわち
インタロック情報画面表示処理INTHYJを示すフロ
ーチャートで、この処理INTHYJが起動すると、ま
ずブロック28-1でインタロック情報テーブル7-4の
指定CPUの先頭CPU名をチェックする。次にブロッ
ク28-2でI/Oに指定CPU名を付加して、そのI
/Oシンボルに表示する。そしてブロック28-3でイ
ンタロック情報テーブル7-4にまだI/Oが残ってい
るか否かを判断し、残っていれば再びブロック28-2
より処理を始める。残っていなければブロック28-4
でインタロック情報テーブル7-4にまだ指定CPUが
存在するか否かを判断し、残っていなければそのまま処
理を終え、残っていればブロック28-5で次の指定C
PUをチェックし、再びブロック28-2より処理を実
行するのである。
FIG. 28 is a flowchart showing block 25-10, that is, the interlock information screen display processing INTHYJ. When this processing INTHYJ is started, first, in block 28-1, the head of the designated CPU of the interlock information table 7-4 is started. Check the CPU name. Next, in block 28-2, the specified CPU name is added to the I / O,
Displayed on the / O symbol. Then, in block 28-3, it is determined whether or not I / O still remains in the interlock information table 7-4.
Start processing more. If not, block 28-4
To determine whether or not the designated CPU still exists in the interlock information table 7-4. If there is no remaining CPU, the process is terminated.
The PU is checked, and the processing is executed again from block 28-2.

【0076】この実施例によれば、1台のプログラミン
グ装置で個々のCPUのプログラム情報(動作タイミン
グ、インタロック等)を一元管理することができる。ま
た、この実施例によれば、数多くのCPUを用いたネッ
トワークシステムを1系統の制御システムとして管理で
きるので、ユーザによるプログラムの作成効率やデバッ
グ効率が向上する。
According to this embodiment, the program information (operation timing, interlock, etc.) of each CPU can be centrally managed by one programming device. Further, according to this embodiment, a network system using a large number of CPUs can be managed as a single control system, so that the efficiency of program creation and debugging by the user is improved.

【0077】ところで、以上の説明から明らかなよう
に、本発明は、以下の態様で実施することができる。
Incidentally, as apparent from the above description, the present invention can be implemented in the following modes.

【0078】実施態様1 請求項1の発明において、CPU識別情報を個々のシー
ケンスプログラムが持ち、インタロック情報及びIDコ
ードを単数又は複数のCPUが持つことを特徴とするP
Cシステム。
Embodiment 1 In the first aspect of the present invention, each sequence program has CPU identification information, and one or more CPUs have interlock information and ID codes.
C system.

【0079】実施態様2 請求項1の発明において、IDコードを単数又は複数の
CPUが持ち、CPU識別情報、及びインタロック情報
をプログラミング装置が持つことを特徴とするPCシス
テム。
Embodiment 2 The PC system according to claim 1, wherein one or more CPUs have an ID code, and a programming device has CPU identification information and interlock information.

【0080】実施態様3 請求項1において、インタロック情報及びIDコードを
単数又は複数のCPUが持ち、CPU識別情報を各シー
ケンスプログラムが持つことを特徴とするPCシステ
ム。
Embodiment 3 The PC system according to claim 1, wherein one or more CPUs have the interlock information and the ID code, and each sequence program has the CPU identification information.

【0081】実施態様4 請求項1の発明において、IDコードを単数又は複数の
CPUが持ち、インタロック情報をプログラミング装置
が持ち、CPU識別情報を各シーケンスプログラムが持
つことを特徴とするPCシステム。
Embodiment 4 The PC system according to claim 1, wherein one or more CPUs have an ID code, a programming device has interlock information, and each sequence program has CPU identification information.

【0082】[0082]

【発明の効果】本発明によれば、複数のCPUに対して
プログラミング装置より1対複数の通信制御が行えるた
め、個々のCPUに対する操作時でも、常に各CPUに
対して個々にアクセスしなければならないなどの手間が
なくなり、ユーザによる操作性向上の効果がある。
According to the present invention, one-to-many communication control can be performed for a plurality of CPUs by a programming device. Therefore, even when operating each CPU, it is necessary to always individually access each CPU. This eliminates the need for troublesome operations, and has the effect of improving operability by the user.

【0083】また、本発明によれば、それぞれのCPU
のプログラムを同時にプログラミング装置にモニタする
ことが可能となり、そのモニタ画面にインタロック状態
を表示させることも可能としたので、ユーザによるデバ
ッグ効率向上の効果がある。
According to the present invention, each CPU
Can be simultaneously monitored by the programming device, and the interlock state can be displayed on the monitor screen, thereby improving the debugging efficiency by the user.

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

【図1】本発明によるプログラマブルコントローラシス
テムの一実施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a programmable controller system according to the present invention.

【図2】本発明の一実施例におけるプログラムデータ情
報の詳細を示す説明図である。
FIG. 2 is an explanatory diagram showing details of program data information in one embodiment of the present invention.

【図3】従来技術における各CPUのラダープログラム
をそのままの状態でモニタした画面を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a screen in which a ladder program of each CPU is monitored as it is in the prior art.

【図4】本発明の一実施例により各CPUのラダープロ
グラムを一連のプログラムの状態でモニタした画面を示
す説明図である。
FIG. 4 is an explanatory diagram showing a screen in which a ladder program of each CPU is monitored in a state of a series of programs according to an embodiment of the present invention.

【図5】本発明の一実施例により各CPU間のインタロ
ックによる相互関係を表示した一連のラダープログラム
をモニタした画面を示す説明図である。
FIG. 5 is an explanatory diagram showing a screen that monitors a series of ladder programs displaying a mutual relationship between the CPUs according to an embodiment of the present invention.

【図6】本発明の一実施例におけるCPUとプログラミ
ング装置のハードウェア構成を示したブロック図であ
る。
FIG. 6 is a block diagram illustrating a hardware configuration of a CPU and a programming device according to an embodiment of the present invention.

【図7】本発明の一実施例におけるプログラミング装置
内のユーザプログラムメモリの使用状況を示す説明図で
ある。
FIG. 7 is an explanatory diagram showing a usage state of a user program memory in a programming device according to an embodiment of the present invention.

【図8】本発明の一実施例によるプログラム読み出しC
PU名入力画面の一例を示す説明図である。
FIG. 8 shows a program reading C according to an embodiment of the present invention.
It is an explanatory view showing an example of a PU name input screen.

【図9】従来技術におけるリンク処理を示すフローチャ
ートである。
FIG. 9 is a flowchart showing a link process in the related art.

【図10】本発明の一実施例におけるCPUのユーザプ
ログラムメモリの使用状況を示す説明図である。
FIG. 10 is an explanatory diagram showing a usage state of a user program memory of a CPU according to an embodiment of the present invention.

【図11】本発明の一実施例におけるプログラミング装
置のユーザプログラムメモリの使用状況を示す説明図で
ある。
FIG. 11 is an explanatory diagram showing a usage state of a user program memory of the programming device according to the embodiment of the present invention.

【図12】本発明の一実施例におけるプログラミング装
置のシステムメモリの使用状況を示す説明図である。
FIG. 12 is an explanatory diagram showing a usage state of a system memory of the programming device according to the embodiment of the present invention.

【図13】本発明の一実施例におけるメインとなる処理
プログラムを示すフローチャートである。
FIG. 13 is a flowchart showing a main processing program in one embodiment of the present invention.

【図14】本発明の一実施例におけるプログラム読み出
し用テーブル設定手段を示すフローチャートである。
FIG. 14 is a flowchart showing a program reading table setting means in one embodiment of the present invention.

【図15】本発明の一実施例における読み出しCPUI
Dコード入力処理を示すフローチャートである。
FIG. 15 shows a read CPUI in one embodiment of the present invention.
It is a flowchart which shows a D code input process.

【図16】本発明の一実施例におけるプログラム転送用
テーブル設定手段を示すフローチャートである。
FIG. 16 is a flowchart showing a program transfer table setting means in one embodiment of the present invention.

【図17】本発明の一実施例における転送CPUIDコ
ード入力処理を示すフローチャートである。
FIG. 17 is a flowchart showing a transfer CPU ID code input process in one embodiment of the present invention.

【図18】本発明の一実施例おける単数CPUプログラ
ム読み出しを示すフローチャートである。
FIG. 18 is a flowchart showing reading of a single CPU program in one embodiment of the present invention.

【図19】本発明の一実施例における単数CPUプログ
ラム転送を示すフローチャートである。
FIG. 19 is a flowchart showing a single CPU program transfer in one embodiment of the present invention.

【図20】本発明の一実施例おける複数CPUプログラ
ム読み出しを示すフローチャートである。
FIG. 20 is a flowchart showing reading of a multiple CPU program in one embodiment of the present invention.

【図21】本発明の一実施例における複数CPUプログ
ラム転送を示すフローチャートである。
FIG. 21 is a flowchart showing a multiple CPU program transfer in one embodiment of the present invention.

【図22】本発明の一実施例におけるモニタ処理実行手
段を示すフローチャートである。
FIG. 22 is a flowchart showing a monitor processing execution unit according to one embodiment of the present invention.

【図23】本発明の一実施例における単数プログラムモ
ニタ実行手段を示すフローチャートである。
FIG. 23 is a flowchart showing a singular program monitor executing means in one embodiment of the present invention.

【図24】本発明の一実施例における複数プログラムモ
ニタ実行手段を示すフローチャートである。
FIG. 24 is a flowchart showing a plurality of program monitor executing means in one embodiment of the present invention.

【図25】本発明の一実施例におけるインタロック情報
表示処理を示すフローチャートである。
FIG. 25 is a flowchart showing an interlock information display process in one embodiment of the present invention.

【図26】本発明の一実施例における強制出力実行手段
を示すフローチャートである。
FIG. 26 is a flowchart showing a forced output execution unit according to one embodiment of the present invention.

【図27】本発明の一実施例におけるインタロックテー
ブルへのI/O情報格納処理を示すフローチャートであ
る。
FIG. 27 is a flowchart showing processing for storing I / O information in an interlock table according to an embodiment of the present invention.

【図28】本発明の一実施例におけるインタロック情報
画面表示処理を示すフローチャートである。
FIG. 28 is a flowchart showing an interlock information screen display process in one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1-21 プログラミング装置 1-4〜1-6 CPU 1-2 メモリに格納されたプログラムデータ 1-3 メモリに格納されたモニタデータ 1-7〜1-9 ユーザメモリ 1-10〜1-12 I/O 1-21 Programming device 1-4 to 1-6 CPU 1-2 Program data stored in memory 1-3 Monitor data stored in memory 1-7 to 1-9 User memory 1-10 to 1-12 I / O

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−41102(JP,A) 特開 昭61−84707(JP,A) 特開 昭61−195408(JP,A) 特開 平3−167602(JP,A) 特開 昭58−8305(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 19/04 - 19/05 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-41102 (JP, A) JP-A-61-84707 (JP, A) JP-A-61-195408 (JP, A) 167602 (JP, A) JP-A-58-8305 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G05B 19/04-19/05

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 シーケンス制御の内容をシーケンスプロ
グラムとして記憶するユーザプログラムメモリと、上記
シーケンスプログラムをユーザプログラムメモリから読
出して実行するCPUと、このCPUとI/O及びユー
ザプログラムを統括して制御するプログラムを持つシス
テムメモリと、制御のための外部信号を入出力する入出
力インタフェース部とを有し、外部配線で結ばれた複数
台のプログラマブルコントローラと、シーケンスプログ
ラムの作成及びモニタを行うプログラミング装置とを備
えたプログラマブルコントローラシステムにおいて、上記シーケンスプログラムに含まれて 上記各CPUのア
ドレスを表わすCPU識別情報と、 上記外部配線による各CPU間のI/Oの相互関係を表
わすインタロック情報と、 各々のCPUが全体のシステム構成の中の自分の位置付
けを認識するためのIDコードとを、上記各々のCPU
に持たせ、 上記CPU情報と上記IDコードにより、 複数個のCP
Uのシーケンスプログラムを一本化して一系統のラダー
シーケンスプログラムとして表示し、 上記インタロック情報により、上記ラダーシーケンスプ
ログラムの表示に複数個のCPUのシーケンスプログラ
ム間でのインタロックによる相互関係を表わす表示が付
加される ように構成したことを特徴とするプログラマブ
ルコントローラシステム。
1. A user program memory for storing the contents of sequence control as a sequence program, a CPU for reading and executing the sequence program from the user program memory, and controlling the CPU, I / O, and the user program as a whole. A plurality of programmable controllers having a system memory having a program, an input / output interface unit for inputting / outputting an external signal for control and connected by external wiring, and a programming device for creating and monitoring a sequence program In a programmable controller system comprising: a CPU identification information that is included in the sequence program and indicates an address of each of the CPUs; CPU An ID code for recognizing their positioning within the overall system configuration, the respective CPU
, And a plurality of CPs are obtained by the CPU information and the ID code.
And unifying the U sequence program displayed as ladder sequence program one system, by the interlock information, the ladder sequence flop
Program display of multiple CPUs
Display indicating the interrelationship between
A programmable controller system, characterized in that the programmable controller system is configured to be added .
JP4240801A 1992-09-09 1992-09-09 Programmable controller system Expired - Fee Related JP3038279B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4240801A JP3038279B2 (en) 1992-09-09 1992-09-09 Programmable controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4240801A JP3038279B2 (en) 1992-09-09 1992-09-09 Programmable controller system

Publications (2)

Publication Number Publication Date
JPH0695719A JPH0695719A (en) 1994-04-08
JP3038279B2 true JP3038279B2 (en) 2000-05-08

Family

ID=17064893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4240801A Expired - Fee Related JP3038279B2 (en) 1992-09-09 1992-09-09 Programmable controller system

Country Status (1)

Country Link
JP (1) JP3038279B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10496062B2 (en) 2013-11-27 2019-12-03 Kabushiki Kaisha Toshiba Programmable controller for controlling automatic machines, having CPU to received control with respect to own apparatus, when external storage is authenticated based on authentication information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10496062B2 (en) 2013-11-27 2019-12-03 Kabushiki Kaisha Toshiba Programmable controller for controlling automatic machines, having CPU to received control with respect to own apparatus, when external storage is authenticated based on authentication information

Also Published As

Publication number Publication date
JPH0695719A (en) 1994-04-08

Similar Documents

Publication Publication Date Title
JP3407809B2 (en) Automated test system for computer application software
KR940002324B1 (en) Programmable controller
CN101876940B (en) Automatic test method and device
US8522079B2 (en) System and method for multi-core synchronous debugging of a multi-core platform
EP0586813B1 (en) Programmable controller with ladder diagram macro instructions
JP5039428B2 (en) Programmable controller and PLC system
WO1999009473A1 (en) Embedded graphical programming system
JP3990332B2 (en) Data processing system
JP3038279B2 (en) Programmable controller system
JP2000138726A (en) Data processor
JP2013084112A (en) Programmable controller system, programming device thereof, programmable controller, program and debug method
CN119829103A (en) BMC updating method of multi-board card computing device
JP4842541B2 (en) Display device for control, screen data generation device, and program and recording medium thereof
JP3781112B2 (en) Programmable controller system
JP3432728B2 (en) Programmable controller
CN114137854A (en) Multifunctional robot teaching simulation workstation
JPH03237502A (en) Programmable controller
JPH05241619A (en) Programmable controller programming device
JP4633073B2 (en) Data processing system
JP2002108731A (en) Network setting method for computer, recording medium recorded with program thereof, and computer capable of performing network setting by the method
JP4627899B2 (en) PLC configuration unit monitoring method and program thereof
JPS62219140A (en) Debugging control system for data processor
JPS63177231A (en) Debug system for parallel program
JPH08194506A (en) Control device
JPH03113666A (en) Operation control system for computer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees