[go: up one dir, main page]

JPH10340109A - Multiprogram display of programmable controller - Google Patents

Multiprogram display of programmable controller

Info

Publication number
JPH10340109A
JPH10340109A JP14802497A JP14802497A JPH10340109A JP H10340109 A JPH10340109 A JP H10340109A JP 14802497 A JP14802497 A JP 14802497A JP 14802497 A JP14802497 A JP 14802497A JP H10340109 A JPH10340109 A JP H10340109A
Authority
JP
Japan
Prior art keywords
program
motion
data
module
display
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
JP14802497A
Other languages
Japanese (ja)
Inventor
Harunori Sato
晴紀 佐藤
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 Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP14802497A priority Critical patent/JPH10340109A/en
Publication of JPH10340109A publication Critical patent/JPH10340109A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To perform the supervision of an execution state of each program and the confirmation of an operation timing in real time and to facilitate program production, editing, etc., by displaying a ladder program and a motion program on the same screen of a programming device. SOLUTION: A dedicated instruction which simultaneously shows a ladder program and a motion program is sent to a CPU module 2 by performing key inputting of a multi-display instruction key that is previously prepared on the side of a system. The module 2 receiving it adds necessary information to the execution state display of the ladder program, a motion module 3 inputs necessary information to the execution state display of the motion program, and it is sent as one-dimensional data to a programming device 1. After the device 1 converts the one-dimensional data into bitmap data, it is simultaneously shown on a monitor.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラのラダープログラムおよびモーションプログ
ラムの実行状態を同一画面にリアルタイムに表示するマ
ルチプログラム表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-program display device for displaying the execution states of a ladder program and a motion program of a programmable controller on the same screen in real time.

【0002】[0002]

【従来の技術】従来のプログラマブルコントローラ(以
下、PCと略す)においてモーション制御を行う場合、
ラダープログラム(PCのメインプログラム)の実行状
態、及びモーションプログラム(サーボモータ等の制御
用専用プログラム)の実行状態は、プログラミング装置
によってその表示装置に表示させている。しかしなが
ら、それぞれのプログラムの実行状態は表示装置の同一
画面上には表示できないので、別々の画面で表示するし
かなかった。これは、それぞれの実行状態を表示するた
めのデータが、ラダープログラムはCPUモジュール内
で、モーションプログラムはモーションモジュール内で
別々に管理されているためである。加えて、それぞれの
データを入手するためには、それぞれの専用命令を使用
しなければならないからである。図4に、CPUモジュ
ールとモーションモジュールのプログラム実行概念図が
示されている。CPUモジュール2とモーションモジュ
ール3との関係は、CPUモジュール2がモーション制
御のクライアント、モーションモジュール3がモーショ
ン制御のサーバという関係にあり、CPUモジュール2
のスキャン処理の影響を最小限にするため、モーション
制御を記述するモーションプログラム104はモーショ
ンモジュール3に格納されている。ラダープログラム1
03で実行するモーションプログラム104を選択し、
モーションモジュール3のモードを設定してからプログ
ラム運転を実行する命令を起動すると、例えば図示のよ
うなX−Yテーブルの動作を行なうモーションプログラ
ム104が実行される。このような実行状態はプログラ
ミング装置1の表示装置にそのモーションプログラム1
04を表示することができる。ところが、この場合、C
PUモジュール2中のラダープログラム103を同時に
見たい場合があるが、この時は別々の画面で表示するし
かなかった。また、別々の画面で表示せずに同時に表示
しようとした場合には、先の命令を交互に実行する必要
があり、各実行状態のデータ更新間隔が長くなってしま
って、実際の処理に表示が追いつかずリアルタイムの同
時表示は実現できなかった。従って、同時に表示しよう
とした場合には、各プログラム毎の状態表示しか行うこ
とができなかった。
2. Description of the Related Art When performing motion control in a conventional programmable controller (hereinafter abbreviated as PC),
The execution state of the ladder program (main program of the PC) and the execution state of the motion program (dedicated control program for servomotors and the like) are displayed on a display device by a programming device. However, since the execution states of the respective programs cannot be displayed on the same screen of the display device, they have to be displayed on separate screens. This is because the data for displaying each execution state is managed separately in the CPU module for the ladder program and separately in the motion module for the motion program. In addition, in order to obtain each data, each dedicated instruction must be used. FIG. 4 shows a conceptual diagram of program execution of the CPU module and the motion module. The relationship between the CPU module 2 and the motion module 3 is that the CPU module 2 is a client for motion control and the motion module 3 is a server for motion control.
A motion program 104 describing motion control is stored in the motion module 3 in order to minimize the influence of the scanning process. Ladder program 1
03, select the motion program 104 to be executed,
When a command for executing the program operation is started after setting the mode of the motion module 3, a motion program 104 for operating the XY table as shown in the figure is executed. Such an execution state is displayed on the display device of the programming device 1 by the motion program 1.
04 can be displayed. However, in this case, C
There is a case where the user wants to view the ladder program 103 in the PU module 2 at the same time. Also, if you try to display them simultaneously without displaying them on separate screens, it is necessary to execute the previous instruction alternately, and the data update interval of each execution state will be longer, and it will be displayed in the actual processing. But could not catch up with real-time simultaneous display. Therefore, when trying to display simultaneously, only the status display for each program could be performed.

【0003】[0003]

【発明が解決しようとする課題】以上のように、上述し
たような従来のものにおいては、モーションプログラム
104はラダープログラム103により起動されるが、
それぞれのプログラム自体はCPUモジュール2とモー
ションモジュール3において並行して処理されているこ
とに問題点があった。また、モーションプログラム10
4とラダープログラム103は互いにデータの受渡しが
でき、そのデータの状態および内容によってそれぞれの
プログラム実行が制御されている。このように並行して
処理されるプログラムが各々どのような状態にあるか
を、逐次画面を切換えて表示させることは面倒であり、
時々刻々変化する状態を同時に監視することは不可能で
ある。本発明は、上述したような従来の技術が有する問
題点に鑑みてなされたものであって、PCのラダープロ
グラムとモーションプログラムの実行状態を同時にリア
ルタイムにプログラミング装置上の表示装置に表示でき
るようにして、プログラム作成・編集・および保守を容
易にするプログラマブルコントローラのマルチプログラ
ム表示装置を提供することを課題とする。
As described above, in the conventional apparatus as described above, the motion program 104 is started by the ladder program 103.
There is a problem in that each program itself is processed in the CPU module 2 and the motion module 3 in parallel. In addition, motion program 10
4 and the ladder program 103 can exchange data with each other, and the execution of each program is controlled by the state and content of the data. It is troublesome to sequentially switch the screen and display the state of each of the programs processed in parallel in this way,
It is impossible to simultaneously monitor ever-changing conditions. SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the conventional technology, and has been made in order to be able to simultaneously display the execution states of a ladder program and a motion program of a PC on a display device on a programming device in real time. It is another object of the present invention to provide a multi-program display device for a programmable controller which facilitates program creation, editing, and maintenance.

【0004】[0004]

【課題を解決するための手段】上記課題を達成するた
め、本発明によれば、ラダープログラムを解読し処理す
る論理解読部と、該ラダープログラムを格納するラダー
プログラムメモリと、各種情報を記憶するデータメモリ
と、通信によりプログラミング装置とデータ授受を行う
ための通信装置と、を有するCPUモジュールと、モー
ションプログラムを解読し処理する演算部と、該モーシ
ョンプログラムを格納するモーションプログラムメモリ
と、各種情報を記憶するデータメモリと、前記CPUモ
ジュールとデータ授受を行うための共有メモリと、を有
するモーションモジュールと、前記ラダープログラムお
よびモーションプログラムを表示装置上に同時に表示さ
せるマルチプログラム表示手段と、を有することを特徴
としている。すなわち、PCのプログラミング装置上に
ラダープログラムおよびモーションプログラムの実行状
態を同時に表示させる際に、それぞれのプログラム個別
に専用命令を用いて別々にデータ収集をしなくてもよい
ように、1つの命令にてラダープログラムとモーション
プログラムの実行状態を同時に獲得できる専用命令とな
るマルチプログラム表示手段の指令用にマルチ表示命令
を準備して、専用キーよりマルチ表示命令を入力すれ
ば、ラダープログラム側とモーションプログラム側とも
に同時に同一時点の実行状態のデータを準備し、マルチ
プログラム表示手段を有するプログラミング装置がラダ
ープログラムおよびモーションプログラムの実行状態を
同時に表示する表示枠を準備するようにしたものであ
る。CPUモジュールは、表示用のデータとして、モー
ションモジュールの管理データのうちモーションモジュ
ールがマルチ表示命令キー入力時に準備した表示用のデ
ータを、共有メモリを介してモーションモジュール側か
ら表示タイミングに合わせて逐次取り寄せ、プログラミ
ング装置のモニター上に一元的に出力できるように、ラ
ダープログラムの実行状態の表示用データと共に一元管
理する。管理場所はデータメモリ内等に管理する。CP
Uモジュールから一元的に管理する2つのプログラムの
実行状態の表示用データをプログラミング装置へ同時に
出力し、プログラミング装置は入力データを画像表示デ
ータに変換してそれぞれの表示位置に表示することによ
って、PCにおけるラダープログラムとモーションプロ
グラムの実行状態を同一画面でリアルタイムに監視でき
るようにする。このように、ラダープログラムおよびモ
ーションプログラムを同一画面上に表示し、その実行状
態を同時に監視できるようにすることにより、ラダープ
ログラムおよびモーションプログラムの設計、編集およ
び保守が容易になる。
According to the present invention, there is provided a logic decoding unit for decoding and processing a ladder program, a ladder program memory for storing the ladder program, and storing various information. A CPU module having a data memory, a communication device for transmitting and receiving data to and from a programming device by communication, an operation unit for decoding and processing a motion program, a motion program memory for storing the motion program, and various types of information. A motion module having a data memory for storing, a shared memory for exchanging data with the CPU module, and multi-program display means for simultaneously displaying the ladder program and the motion program on a display device. Features. That is, when the execution states of the ladder program and the motion program are simultaneously displayed on the programming device of the PC, it is not necessary to collect data separately by using a dedicated instruction for each program. Prepare a multi-display command for the multi-program display means, which is a dedicated command that can simultaneously acquire the execution status of the ladder program and the motion program, and input the multi-display command from the dedicated key. Both sides simultaneously prepare execution state data at the same time, and the programming device having the multi-program display means prepares a display frame for simultaneously displaying the execution states of the ladder program and the motion program. The CPU module sequentially obtains the display data prepared by the motion module at the time of inputting the multi-display command key from the motion module management data as the display data from the motion module through the shared memory in accordance with the display timing. , So that the data can be centrally managed together with the display data of the execution state of the ladder program so that the data can be centrally output on the monitor of the programming device. The management place is managed in a data memory or the like. CP
The U module simultaneously outputs the display data of the execution states of the two programs that are centrally managed to the programming device, and the programming device converts the input data into image display data and displays the data at the respective display positions. To monitor the execution state of the ladder program and the motion program in real time on the same screen. As described above, the ladder program and the motion program are displayed on the same screen and their execution states can be monitored at the same time, thereby facilitating the design, editing and maintenance of the ladder program and the motion program.

【0005】[0005]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照して説明する。図1は本発明の実施の形
態に係るプログラマブルコントローラのシステム構成図
であり、図2は図1のプログラミング装置とCPUモジ
ュールとモーションモジュールの構成図であり、図3は
図1に示すプログラマブルコントローラのマルチプログ
ラム表示画面を示す図である。図1・図2において、プ
ログラミング装置1は、CPU11、ROM12、RA
M13、通信インタフェース15、CRT表示装置16
1、CRTコントローラ162、ビットマップメモリ1
63で構成されている。CPU11は、CPUモジュー
ル2との通信によるデータの処理、RAM13内のデー
タの解読処理、ビットマップメモリ163の制御を行な
う。ROM12は、CPU11の演算処理手順を記憶す
る。ビットマップメモリ163は、CPU11がCPU
モジュール2から授受したデータのうち、表示に関する
データ(ビットマップデータ)を格納する。RAM13
は、前記ビットマップデータ以外のデータを格納する。
また、CPUモジュール2とのデータ授受におけるデー
タもここに格納される。外部記憶装置インタフェース1
4は、フロッピーデイスクなどの外部記憶装置とのデー
タ通信をインターフェースする。通信インタフェース1
5は、CPUモジュール2とのデータ通信をインターフ
ェースする。CRTコントローラ162は、ビットマッ
プメモリ163内のビットマップデータをCRT表示装
置161に表示するよう制御する。CRT表示装置16
1は、ビットマップメモリ163内のビットマップデー
タを表示する。キーボード17は、各種プログラムの書
き込み・読み出し・作成・変更・モニタ・保存等の際に
使用する。このような構成からなるプログラミング装置
1で表示動作をさせる場合、プログラミング装置1はC
PUモジュール2のラダープログラムとモーションモジ
ュール3のモーションプログラム及びそれらに関する情
報をCPUモジュール2の通信インターフェース15を
介して入力し、ビットマップメモリ163に格納し、C
RTコントローラ162によってビットマップメモリ1
63内のデータをCRT表示装置161に表示する。C
PUモジュール2は、CPU21、ROM22、ラダー
プログラムメモリ23、データメモリ24、バスインタ
フェース25、通信インタフェース26で構成されてい
る。CPU21は、プログラミング装置1との通信によ
るデータの処理、およびラダープログラムメモリ23に
格納されているラダープログラムの解読処理を行なう。
ROM22はCPU21の演算処理手順(制御プログラ
ム)を記憶する。 ラダープログラムメモリ23は、C
PU21によって解読されるラダープログラムを格納す
る。データメモリ24は、ラダープログラム以外のデー
タを格納する。また、モーションモジュール3とのデー
タ授受におけるデータもここに格納される。バスインタ
フェース25は、マウントベースを介してモーションモ
ジュール3とのデータ伝送をインターフェースする。通
信インタフェース26は、プログラミング装置1等との
データ通信をインターフェースする。以上のようなCP
Uモジュール2により、ラダープログラムを解読して処
理するとき入出力モジュール6からマウントベース5を
介して、入力データを取り込み、処理して解読結果を出
力モジュール6に出力する。また、モーションモジュー
ル3とマウントベース5を介して定期的にデータの受け
渡しを行う。このデータの中には、ラダープログラムか
らモーションプログラムを制御するための情報や、モー
ションモジュール3からの実行状態やアラーム等の情報
が含まれる。モーションモジュール3は、CPU31、
ROM32、モーションプログラムメモリ33、データ
メモリ34、バスインタフェース35、共有メモリ3
6、サーボインタフェース37で構成されている。CP
U31は、CPUモジュール2とのデータ伝送によるデ
ータの処理、およびモーションプログラムメモリ33に
格納されているモーションプログラムの解読処理を行な
う。ROM32は、CPU31の演算処理手順(制御プ
ログラム)を記憶する。モーションプログラムメモリ3
3は、CPU31によって解読されるモーションプログ
ラムを格納する。データメモリ34は、モーションプロ
グラム以外のデータを格納する。また、CPUモジュー
ル2とのデータ授受におけるデータもここに格納され
る。バスインタフェース35は、マウントベース5を介
してCPUモジュール2とのデータ伝送をインターフェ
ースする。共有メモリ36は、CPUモジュール2とバ
スインタフェース25、35を介して授受されるデータ
を保持する。サーボインタフェース37は、サーボアン
プ7・8・9の制御を行なう。以上のようなモーション
モジュール3は、モーションプロクラムを解読してサー
ボアンプ7・8・9へ位置制御の指令を行う。サーボア
ンプ7・8・9はモーションモジュール3より位置制御
の指令を受けて、モータ100・110・120を制御
する。電源モジュール4はマウントベース5を介してC
PUモジュール2、モーションモジュール3、入出力モ
ジュール6へ電源を供給する。マウントベース5は電源
を各モジュールへ供給すると共に、データバスを有して
CPUモジュール2、モーションモジュール3、入出力
モジュール6間のデータ受け渡しを補助する。入出力
(I/O)モジュール6は外部とのデータの受け渡しを
行う。プログラミング装置1のCRT161にラダープ
ログラムとモーションプログラムの実行状態を同時に表
示するための動作は、次のとおりである。モーションモ
ジュール3は、常時、共有メモリ36に制御情報・実行
状態(プログラム番号や行番号)、さらに現在位置等の
情報を準備する。プログラミング装置1のキーボード1
7を用いて専用キーよりマルチ表示命令を入力すれば、
CPUモジュール2は、プログラミング装置1より「マ
ルチ表示命令」を受け取り、ラダー実行状態と共ににデ
ータメモリ24に保存されている情報より必要な情報を
付加し、プログラミング装置1のビットマップメモリ1
63へ応答を返す。プログラミング装置1では、CRT
コントローラ162がそのビットマップメモリ163内
の送られてきた応答データによりラダーの実行状態及び
モーションプログラムの実行状態をCRT表示装置16
1上へ同時に表示する。このように、本発明によれば、
先ず、プログラミング装置1にはラダープログラムが表
示され、この段階では表示装置上にはラダープログラム
の実行状態のみを表示している。ここで、モーションプ
ログラムの実行状態を同一画面に表示させるには、シス
テム側で予め準備する「マルチ表示命令キー」を入力す
る。キー入力を受け付けたプログラミング装置1はCP
Uモジュール2に対し、ラダープログラム及びモーショ
ンプログラムの実行状態・同時表示用の専用命令“マル
チ表示命令”を送信すればよい。CPUモジュール2は
受信した“マルチ表示命令”を認識すると、ラダープロ
グラムの実行状態表示に必要な情報に加えて、モーショ
ンプログラムの実行状態を表示するための情報も、モー
ションモジュール3側から入力して一元的な形式のデー
タとして同時にプログラミング装置1へ返送する。ここ
でCPUモジュール2が付加するモーションプログラム
の実行状態を表示するための情報は、CPUモジュール
2とモーションモジュール3が共有メモリを介し定期的
に行っている制御情報の受け渡しの際に、モーションモ
ジュール3側から得られるモーションプログラムの実行
状態のリアルタイムな表示データであって、常に最新の
情報に更新されている。このようにして、本実施の形態
の場合は従来の回路に比較すれば、実行状態のデータを
リアルタイムに高速に転送するので、データの伝送速度
とメモリ容量は増加する。プログラミング装置1は返送
されたラダープログラムの実行状態と、モーションプロ
グラムの実行状態の一元的なデータをビットマップデー
タに変換して、モニター上にリアルタイムの画像として
各指定位置に、図3に示すように、上下に(上:ラダー
プログラム、下:モーションプログラム)夫々表示す
る。勿論、上下順序は逆でも良く、画面上にモーション
プログラムを表示中に、下側にラダープログラムを表示
することも可能である。また、本実施の形態ではここま
で、ライン監視用モニターとしてプログラミング装置1
のCRT表示装置を用いたが他の表示装置(たとえば、
液晶表示装置)でもよく、さらにプログラミング装置1
に限定するものではなく、分散システムにおける現場で
の他の装置のモニター、あるいは通信機能を備えたハン
ディ・タイプのツール・ボックス等の表示方式にも適用
可能である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a system configuration diagram of a programmable controller according to an embodiment of the present invention. FIG. 2 is a configuration diagram of a programming device, a CPU module, and a motion module of FIG. 1, and FIG. It is a figure showing a multi-program display screen. 1 and 2, a programming device 1 includes a CPU 11, a ROM 12, a RA
M13, communication interface 15, CRT display device 16
1, CRT controller 162, bitmap memory 1
63. The CPU 11 performs data processing by communication with the CPU module 2, decodes data in the RAM 13, and controls the bitmap memory 163. The ROM 12 stores an arithmetic processing procedure of the CPU 11. The bitmap memory 163 stores the CPU 11
It stores display-related data (bitmap data) among the data transmitted and received from the module 2. RAM 13
Stores data other than the bitmap data.
Further, data in data exchange with the CPU module 2 is also stored here. External storage device interface 1
Reference numeral 4 interfaces data communication with an external storage device such as a floppy disk. Communication interface 1
Reference numeral 5 interfaces data communication with the CPU module 2. The CRT controller 162 controls the bit map data in the bit map memory 163 to be displayed on the CRT display device 161. CRT display device 16
1 indicates the bitmap data in the bitmap memory 163. The keyboard 17 is used for writing, reading, creating, changing, monitoring, saving, and the like of various programs. When the display operation is performed by the programming device 1 having such a configuration, the programming device 1
The ladder program of the PU module 2 and the motion program of the motion module 3 and information relating to them are input via the communication interface 15 of the CPU module 2 and stored in the bitmap memory 163.
Bitmap memory 1 by RT controller 162
The data in 63 is displayed on the CRT display device 161. C
The PU module 2 includes a CPU 21, a ROM 22, a ladder program memory 23, a data memory 24, a bus interface 25, and a communication interface 26. The CPU 21 performs data processing through communication with the programming device 1 and decodes a ladder program stored in the ladder program memory 23.
The ROM 22 stores an arithmetic processing procedure (control program) of the CPU 21. The ladder program memory 23 stores C
The ladder program decoded by the PU 21 is stored. The data memory 24 stores data other than the ladder program. Further, data in data exchange with the motion module 3 is also stored here. The bus interface 25 interfaces data transmission with the motion module 3 via the mount base. The communication interface 26 interfaces data communication with the programming device 1 or the like. CP like above
When the ladder program is decoded and processed by the U module 2, input data is fetched from the input / output module 6 via the mount base 5, processed, and the decoded result is output to the output module 6. In addition, data is periodically transferred via the motion module 3 and the mount base 5. The data includes information for controlling the motion program from the ladder program, and information such as an execution state and an alarm from the motion module 3. The motion module 3 includes a CPU 31,
ROM 32, motion program memory 33, data memory 34, bus interface 35, shared memory 3
6. The servo interface 37. CP
The U 31 performs data processing by data transmission with the CPU module 2, and decodes a motion program stored in the motion program memory 33. The ROM 32 stores an arithmetic processing procedure (control program) of the CPU 31. Motion program memory 3
3 stores a motion program decoded by the CPU 31. The data memory 34 stores data other than the motion program. Further, data in data exchange with the CPU module 2 is also stored here. The bus interface 35 interfaces data transmission with the CPU module 2 via the mount base 5. The shared memory 36 holds data exchanged with the CPU module 2 via the bus interfaces 25 and 35. The servo interface 37 controls the servo amplifiers 7, 8, and 9. The motion module 3 described above decodes the motion program and issues a position control command to the servo amplifiers 7, 8, and 9. The servo amplifiers 7, 8, 9 receive the position control command from the motion module 3 and control the motors 100, 110, 120. The power supply module 4 is connected to the C
Power is supplied to the PU module 2, the motion module 3, and the input / output module 6. The mount base 5 supplies power to each module and has a data bus to assist in data transfer between the CPU module 2, the motion module 3, and the input / output module 6. The input / output (I / O) module 6 exchanges data with the outside. The operation for simultaneously displaying the execution states of the ladder program and the motion program on the CRT 161 of the programming device 1 is as follows. The motion module 3 always prepares control information, an execution state (a program number and a line number), and information such as a current position in the shared memory 36. Keyboard 1 of programming device 1
If you enter a multi-display command from the dedicated key using 7
The CPU module 2 receives the “multi-display command” from the programming device 1 and adds necessary information from the information stored in the data memory 24 together with the ladder execution state, and the bit map memory 1 of the programming device 1
A response is returned to 63. In the programming device 1, the CRT
The controller 162 determines the execution state of the ladder and the execution state of the motion program based on the response data sent from the bit map memory 163 to the CRT display device 16.
1 are displayed simultaneously. Thus, according to the present invention,
First, the ladder program is displayed on the programming device 1, and only the execution state of the ladder program is displayed on the display device at this stage. Here, in order to display the execution state of the motion program on the same screen, a "multi-display instruction key" prepared in advance by the system is input. The programming device 1 that has accepted the key input is a CP
What is necessary is just to transmit to the U module 2 a dedicated instruction “multi-display instruction” for displaying the execution state and simultaneous display of the ladder program and the motion program. When recognizing the received “multi-display command”, the CPU module 2 inputs information for displaying the execution status of the motion program from the motion module 3 side in addition to the information necessary for displaying the execution status of the ladder program. The data is returned to the programming device 1 at the same time as data in a unified format. Here, information for displaying the execution state of the motion program added by the CPU module 2 is stored in the motion module 3 when the CPU module 2 and the motion module 3 periodically exchange control information via the shared memory. This is real-time display data of the execution state of the motion program obtained from the side, and is constantly updated to the latest information. Thus, in the case of the present embodiment, the data in the execution state is transferred at high speed in real time as compared with the conventional circuit, so that the data transmission speed and the memory capacity are increased. The programming device 1 converts the unified data of the execution state of the returned ladder program and the unified data of the execution state of the motion program into bitmap data, and displays them as real-time images on the monitor at each designated position as shown in FIG. And upper and lower (upper: ladder program, lower: motion program). Of course, the order may be reversed, and the ladder program can be displayed on the lower side while the motion program is being displayed on the screen. In this embodiment, the programming device 1 has been described as a line monitoring monitor.
Used a CRT display device, but other display devices (for example,
Liquid crystal display device) and a programming device 1
However, the present invention is not limited to this, and can be applied to a display system such as a monitor of another device at a site in a distributed system, or a handy type tool box having a communication function.

【0006】[0006]

【発明の効果】以上説明したように、本発明は、ラダー
プログラム及びモーションプログラムを、プログラミン
グ装置の同一画面上に表示させることにより、ラダープ
ログラム及びモーションプログラムの実行状態の監視、
各プログラムの動作タイミングの確認がリアリタイムで
可能になり、プログラム作成、編集および保守を容易に
する効果がある。
As described above, according to the present invention, the execution state of the ladder program and the motion program can be monitored by displaying the ladder program and the motion program on the same screen of the programming device.
The operation timing of each program can be confirmed in real time, which has the effect of facilitating program creation, editing and maintenance.

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

【図1】本発明の実施の形態に係るプログラマブルコン
トローラのシステム構成図である。
FIG. 1 is a system configuration diagram of a programmable controller according to an embodiment of the present invention.

【図2】図1のプログラミング装置とCPUモジュール
とモーションモジュールの構成図である。
FIG. 2 is a configuration diagram of a programming device, a CPU module, and a motion module of FIG. 1;

【図3】図1に示すプログラマブルコントローラのマル
チプログラム表示画面を示す図である。
FIG. 3 is a diagram showing a multi-program display screen of the programmable controller shown in FIG. 1;

【図4】従来のプログラマブルコントローラのプログラ
ム制御の説明図である。
FIG. 4 is an explanatory diagram of program control of a conventional programmable controller.

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

1 プログラミング装置 11 CPU 12 ROM 13 RAM 14 外部インタフェース 15 通信インタフェース 161 CRT表示装置 162 CRTコントローラ 163 ビットマップメモリ 17 キーボード 2 CPUモジュール 21 CPU 22 ROM 23 ラダープログラムメモリ 24 データメモリ 25 バスインタフェース 26 通信インタフェース 3 モーションモジュール 31 CPU 32 ROM 33 モーションプログラムメモリ 34 データメモリ 35 バスインタフェース 36 共有メモリ 37 サーボインタフェース 4 電源モジュール 5 マウントベース 6 入出力モジュール 7、8、9 サーボアンプ 100、110、120 モータ Reference Signs List 1 programming device 11 CPU 12 ROM 13 RAM 14 external interface 15 communication interface 161 CRT display device 162 CRT controller 163 bitmap memory 17 keyboard 2 CPU module 21 CPU 22 ROM 23 ladder program memory 24 data memory 25 bus interface 26 communication interface 3 motion Module 31 CPU 32 ROM 33 Motion program memory 34 Data memory 35 Bus interface 36 Shared memory 37 Servo interface 4 Power supply module 5 Mount base 6 Input / output module 7, 8, 9 Servo amplifier 100, 110, 120 Motor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ラダープログラムを解読し処理する論理
解読部と、該ラダープログラムを格納するラダープログ
ラムメモリと、各種情報を記憶するデータメモリと、通
信によりプログラミング装置とデータ授受を行うための
通信装置と、を有するCPUモジュールと、 モーションプログラムを解読し処理する演算部と、該モ
ーションプログラムを格納するモーションプログラムメ
モリと、各種情報を記憶するデータメモリと、前記CP
Uモジュールとデータ授受を行うための共有メモリと、
を有するモーションモジュールと、 前記ラダープログラムおよびモーションプログラムを表
示装置上に同時に表示させるマルチプログラム表示手段
と、 を有することを特徴とするプログラマブルコントローラ
のマルチプログラム表示装置。
1. A logic decoding unit for decoding and processing a ladder program, a ladder program memory for storing the ladder program, a data memory for storing various information, and a communication device for exchanging data with a programming device by communication. A processing module for decoding and processing a motion program; a motion program memory for storing the motion program; a data memory for storing various information;
A shared memory for exchanging data with the U module,
And a multi-program display unit for simultaneously displaying the ladder program and the motion program on a display device.
JP14802497A 1997-06-05 1997-06-05 Multiprogram display of programmable controller Pending JPH10340109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14802497A JPH10340109A (en) 1997-06-05 1997-06-05 Multiprogram display of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14802497A JPH10340109A (en) 1997-06-05 1997-06-05 Multiprogram display of programmable controller

Publications (1)

Publication Number Publication Date
JPH10340109A true JPH10340109A (en) 1998-12-22

Family

ID=15443410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14802497A Pending JPH10340109A (en) 1997-06-05 1997-06-05 Multiprogram display of programmable controller

Country Status (1)

Country Link
JP (1) JPH10340109A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001023970A1 (en) * 1999-09-30 2001-04-05 Matsushita Electric Works, Ltd. System for designing visual information to be displayed on monitor unit used in combination with programmable controller
EP1231527A3 (en) * 2001-02-09 2008-02-06 Jtekt Corporation Control system of machine tool
JP6854982B1 (en) * 2020-03-26 2021-04-07 三菱電機株式会社 Programming support program, programming support device and programming support method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001023970A1 (en) * 1999-09-30 2001-04-05 Matsushita Electric Works, Ltd. System for designing visual information to be displayed on monitor unit used in combination with programmable controller
US7015932B1 (en) 1999-09-30 2006-03-21 Matsushita Electric Works, Ltd. System for designing visual information to be displayed on monitor unit used in combination with programmable controller
JP4265132B2 (en) * 1999-09-30 2009-05-20 パナソニック電工株式会社 System for designing visual information displayed on a monitor unit used in combination with a programmable controller for controlling the operation of a connected device
EP1231527A3 (en) * 2001-02-09 2008-02-06 Jtekt Corporation Control system of machine tool
JP6854982B1 (en) * 2020-03-26 2021-04-07 三菱電機株式会社 Programming support program, programming support device and programming support method
CN115335782A (en) * 2020-03-26 2022-11-11 三菱电机株式会社 Programming support program, programming support device, and programming support method
US12032937B2 (en) 2020-03-26 2024-07-09 Mitsubishi Electric Corporation Programming support program for preventing work efficiency from lowering as a result of conversion

Similar Documents

Publication Publication Date Title
JPS61100807A (en) Picture image displaying method of fa system
JPH06318110A (en) Mmc unit
JPH10340109A (en) Multiprogram display of programmable controller
JP2004164150A (en) Apparatus for supporting plant operation
CN114424175B (en) Equipment management device and software generation method
JP3669014B2 (en) Display device
JPS60156178A (en) Picture processing unit
JPH04317101A (en) Input/output control system of numerical controller
JP2003036103A (en) Process control system
JP2000112507A (en) Monitor device
JP4327711B2 (en) Programmable display
JPS61183711A (en) Plant monitor device
JP3831132B2 (en) Plant monitoring system
JPH09231038A (en) Screen data preparation device for display device
JPH03136093A (en) Alarm display device
CN117692688A (en) Multi-display-screen lifting control system and method
JPH10105214A (en) Download system for programmable display device
JP2002267508A (en) Measuring system
CN113987438A (en) A remote management system for security robots
JP2000347709A (en) Plant monitoring computer system
JPH0442305A (en) Time limit operating device for programmable controller
JPH1011132A (en) Monitor and control system
JPH02109101A (en) Monitoring device
KR19990025056A (en) Monitoring device
JPH09288632A (en) Communication processing device