JPH01277904A - Program display system for pc - Google Patents

Program display system for pc

Info

Publication number
JPH01277904A
JPH01277904A JP63107359A JP10735988A JPH01277904A JP H01277904 A JPH01277904 A JP H01277904A JP 63107359 A JP63107359 A JP 63107359A JP 10735988 A JP10735988 A JP 10735988A JP H01277904 A JPH01277904 A JP H01277904A
Authority
JP
Japan
Prior art keywords
signal
program
signals
display
displayed
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
JP63107359A
Other languages
Japanese (ja)
Inventor
Kunio Tanaka
久仁夫 田中
Toru Watanabe
徹 渡辺
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP63107359A priority Critical patent/JPH01277904A/en
Publication of JPH01277904A publication Critical patent/JPH01277904A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To display only a designated signal and to enable an operator to distinctly confirm the operation by displaying the designated signal out of signals transferred from a programmable controller PC to a programming device. CONSTITUTION:When the number of a specific signal to be displayed is designated at the time of operating function keys 3 and operation keys 4 on an automatic programming device 1 to input a monitor instruction, all signals are transferred from a PC 10 to the device 1. When partial display is designated, only the designated specific signal is displayed on a display screen and unnecessary signals are not displayed; and therefore, the operator can distinctly confirm the operation process.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はPC(プログラマブル・コントローラ)のシー
ケンスプログラムを表示するためのPCのプログラム表
示方式に関し、特に指定した信号を部分表示するPCの
プログラム表示方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a PC program display method for displaying a sequence program of a PC (programmable controller), and in particular to a PC program display method that partially displays specified signals. Regarding the method.

〔従来の技術〕[Conventional technology]

PC(プログラマブル・コントローラ)のラダープログ
ラム等のシーケンスプログラムを編集するためにPCの
入出力信号をプログラム作成装置上に表示する。
In order to edit a sequence program such as a ladder program of a PC (programmable controller), input/output signals of the PC are displayed on a program creation device.

これらの入出力信号は入力信号、出力信号、内部リレー
信号毎に専用の画面を有し、信号別に表示している。従
って、入力信号のみ、あるいは出力信号のみを確認した
いときは便利である。
These input/output signals have dedicated screens for each input signal, output signal, and internal relay signal, and are displayed for each signal. Therefore, it is convenient when you want to check only the input signal or only the output signal.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、一般にシーケンスプログラムをデバッグしたり
、動作を確認したいときは、入力信号のみでなく、同時
に内部リレーの信号、あるいは演算結果としての出力信
号も同時に確認する方が便利である。特に、入出力信号
の点数が多くなると、入出力信号の表示ページ数も増加
し、入力信号に対応する出力信号を見つけるまでに、オ
ペレータが入力信号の状態を忘れてしまう場合もある。
However, in general, when debugging a sequence program or checking its operation, it is more convenient to check not only the input signal but also the internal relay signal or the output signal as a calculation result at the same time. In particular, as the number of input/output signals increases, the number of pages displaying the input/output signals also increases, and the operator may forget the state of the input signal by the time he or she finds the output signal corresponding to the input signal.

本発明はこのような点に鑑みてなされたものであり、指
定した信号を部分表示するPCのプログラム表示方式を
提供することを目的とする。    □[課題を解決す
るための手段] 本発明では上記課題を解決するために、PC(プログラ
マブル・コントローラ)の入出力信号を表示するPCの
プログラム表示方式において、 表示すべき信号を指定し、 PCからプログラム作成装置に転送された信号から該指
定された信号を表示することを特徴とするPCのプログ
ラム表示方式が、 提供される。
The present invention has been made in view of these points, and it is an object of the present invention to provide a program display method for a PC that partially displays a designated signal. □ [Means for Solving the Problems] In order to solve the above problems, the present invention specifies the signals to be displayed in a PC program display method that displays input/output signals of a PC (programmable controller), and A program display method for a PC is provided, which is characterized in that a specified signal is displayed from a signal transferred from a computer to a program creation device.

〔作用〕[Effect]

入出力信号の表示を指定した信号を表示することにより
、オペレータは演算の過程を明確に確認することができ
る。
By displaying the designated input/output signal display, the operator can clearly confirm the calculation process.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第2図にラダープログラムの例を示す。図において、l
000は人力信号であり、MOloは内部リレーの信号
であり、Qo、0は出力信号を示す。このような、ラダ
ープログラムを確認する場合には、入力信号、内部信号
、出力信号を同時に表示する。
Figure 2 shows an example of a ladder program. In the figure, l
000 is a human input signal, MOlo is an internal relay signal, and Qo, 0 indicates an output signal. When checking such a ladder program, input signals, internal signals, and output signals are displayed simultaneously.

第1図に本発明のPCのプログラム表示方式の表示例を
示す。図において、2は表示画面、2aはアドレスであ
り、各入力信号、出力信号内部信号を表す。2bは各信
号の1バイト分の状態を示す。2cは1バイト分の信号
状態を16進数で表示したものである。
FIG. 1 shows a display example of a program display method of a PC according to the present invention. In the figure, 2 is a display screen, 2a is an address, and represents each input signal, output signal, and internal signal. 2b indicates the status of one byte of each signal. 2c is a hexadecimal representation of the signal status of one byte.

すなわち、第2図の10.0、QOlo、MO。That is, 10.0, QOlo, MO in FIG.

0はそれぞれ、第1図の1行目の1バイト分の右端のビ
ット、2行目の右端のビット、3行目の右端のビットに
対応する。
0 corresponds to the rightmost bit of one byte in the first row, the rightmost bit in the second row, and the rightmost bit in the third row in FIG. 1, respectively.

二の表示は次のような指令で実行される。The second display is executed by the following command.

オペレータはモニタ命令をキーボードから入力する際に
、特定の信号すなわち、第2図の10゜0、QOoo、
MO,Oを指定する。例えば、READ  10.QO
,MO と指令する。
When the operator inputs monitor commands from the keyboard, the operator selects specific signals such as 10°0, QOoo, and
Specify MO and O. For example, READ 10. QO
, MO.

この指令によって、自動プログラム作成装置はPCから
全信号を転送させる。
This command causes the automatic programming device to transfer all signals from the PC.

次に部分表示のI日令をすると、表示画面2には第1図
のような表示が現れる。勿論、部分表示の指令をしなけ
れば、従来の各信号の種類ごとの表示が行われる。
Next, when the partial display I date is selected, a display as shown in FIG. 1 appears on the display screen 2. Of course, unless a partial display command is given, the conventional display for each type of signal will be performed.

このように、第2図に示したラダー図に対応した入出力
信号を指定して、その関連した信号のみを信号の種類に
無関係に表示することにより、ラダープログラムのデバ
ッグ等に便利となる。
In this way, by specifying the input/output signals corresponding to the ladder diagram shown in FIG. 2 and displaying only the related signals regardless of the type of signal, it becomes convenient for debugging the ladder program.

第3図に本発明を実施するためのプログラム作成装置と
PC(プログラマブル・コントローラ)のハードウェア
のブロンク図を示す。図において、1はプログラム作成
装置、2は表示画面でありCRT、液晶表示装置等が使
用される。表示画面2には、第1図に示す表示画面が表
示される。3はファンクションキーであり、削除、複写
、変更等のファンクションを指令する。4は操作キーで
ある。
FIG. 3 shows a block diagram of the hardware of a program creation device and a PC (programmable controller) for implementing the present invention. In the figure, 1 is a program creation device, 2 is a display screen, and a CRT, liquid crystal display, etc. are used. On the display screen 2, a display screen shown in FIG. 1 is displayed. 3 is a function key, which commands functions such as deletion, copying, and modification. 4 is an operation key.

プログラム作成装置1はマイクロプロセッサ構成となっ
ており、上記に説明した表示処理はプログラム作成装置
1内のマイクロプロセッサによって処理される。
The program creation device 1 has a microprocessor configuration, and the display processing described above is processed by the microprocessor within the program creation device 1.

IOはPC(プログラマブル・コントローラ)、11は
PC全体を制御するプロセッサである。12は入力回路
であり、外部からの信号を受け、信号レベルを変換して
バスに転送する。13は出力回路であり、内部の出力信
号を外部へ出力する。
IO is a PC (programmable controller), and 11 is a processor that controls the entire PC. An input circuit 12 receives a signal from the outside, converts the signal level, and transfers it to the bus. 13 is an output circuit, which outputs an internal output signal to the outside.

20はROMであり、その内部にはラダープログラムの
実行を管理する管理プログラム21と工作機械等を制御
するためのラダー言語で作成されたラダープログラム2
2等が格納されている。30はRAMであり、各種のデ
ータが格納されており、入力信号、出力信号、補助リレ
ー信号、内部レジスタ信号もここに格納される。
20 is a ROM, which contains a management program 21 for managing the execution of ladder programs and a ladder program 2 written in a ladder language for controlling machine tools, etc.
2nd prize is stored. A RAM 30 stores various data, including input signals, output signals, auxiliary relay signals, and internal register signals.

40はプログラム作成装置用のインタフェースであり、
バスとプログラム作成装置を接続するためのインタフェ
ース回路である。
40 is an interface for the program creation device;
This is an interface circuit for connecting a bus and a program creation device.

上記の説明では、ラダープログラムを偏集する場合につ
いて述べたが、他の二−モニック形式のプログラムも同
様に処理することができる。
Although the above description deals with the case where ladder programs are concentrated, other monic type programs can be processed in the same way.

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

以上説明したように本発明では、特定の信号を指定して
、個々の信号を表示できるようにしたので、シーケンス
プログラムのデバッグ、保守等が簡単になる。
As explained above, according to the present invention, since a specific signal can be specified and each signal can be displayed, debugging, maintenance, etc. of a sequence program can be simplified.

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

第1図は本発明のPCのプログラム表示方式の表示例を
示す図、 第2図はラダープログラムの例を示す図、第3図は本発
明を実施するためのプログラム作成装置とPC(プログ
ラマブル・コントローラ)のハードウェアのブロック図
である。 1・・・・−・・−・・−・・−プログラム作成装置2
−・−・・−・・・・−表示画面 2a−一・−・・・−・・アドレス 2 b−−−−−−−−−・−ビット表示2 c−−−
−−・・−・−16進数表示3・・・−・−−−〜−−
−・ファンクションキー4−・−・−・・−・−−−−
一操作キー10・・−・・−−−−−−−−−・PC(
プログラマブル・コントローラ) 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖
FIG. 1 is a diagram showing a display example of the program display method of a PC of the present invention, FIG. 2 is a diagram showing an example of a ladder program, and FIG. 3 is a diagram showing a program creation device and a PC (programmable FIG. 2 is a hardware block diagram of the controller. 1・・・・−・・−・・−・・−Program creation device 2
−・−・・−・・−Display screen 2a-1・−・−・・Address 2 b−−−−−−−−−・−Bit display 2 c−−−
−−・・−・−Hexadecimal number display 3・・・−・−−−〜−−
−・Function key 4−・−・−・・−・−−−−
One operation key 10...----------PC (
(Programmable Controller) Patent Applicant Fanuc Co., Ltd. Agent Patent Attorney Takeshi Hattori

Claims (1)

【特許請求の範囲】[Claims] (1)PC(プログラマブル・コントローラ)の入出力
信号を表示するPCのプログラム表示方式において、 表示すべき信号を指定し、PCからプログラム作成装置
に転送された信号から該指定された信号を表示すること
を特徴とするPCのプログラム表示方式。
(1) In the PC program display method that displays input and output signals of a PC (programmable controller), a signal to be displayed is specified, and the specified signal is displayed from the signals transferred from the PC to the program creation device. A PC program display method characterized by:
JP63107359A 1988-04-28 1988-04-28 Program display system for pc Pending JPH01277904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63107359A JPH01277904A (en) 1988-04-28 1988-04-28 Program display system for pc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63107359A JPH01277904A (en) 1988-04-28 1988-04-28 Program display system for pc

Publications (1)

Publication Number Publication Date
JPH01277904A true JPH01277904A (en) 1989-11-08

Family

ID=14457075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63107359A Pending JPH01277904A (en) 1988-04-28 1988-04-28 Program display system for pc

Country Status (1)

Country Link
JP (1) JPH01277904A (en)

Similar Documents

Publication Publication Date Title
JPH01277904A (en) Program display system for pc
JPH09114517A (en) Monitor and control equipment
JP3167245B2 (en) Programmable controller operating state monitoring device
JPH05204582A (en) Display device
JPH01244502A (en) Pc program display system
JPS61210415A (en) Crt key input operating device
JP2579996B2 (en) Core state prediction device
JP2533373B2 (en) Control program creation method
JPH08286734A (en) Programmable display device
JP3134878B2 (en) Programmable controller
JP2522839B2 (en) Programmable controller programming device
JPS60245037A (en) Crt display system
JPS62281014A (en) Display system for descriptive data in numerical controller
JPH02236611A (en) Numeric value data setting device
JPH02253305A (en) Signal tracing system for programmable controller
JPH03109603A (en) Programming device for programmable controller
JPS5894011A (en) Programmable controller
JPH01258105A (en) Pc program displaying system
JPS62266604A (en) Remote programming console device
JPH02226307A (en) Numerical controller
JPH07110651A (en) Method for storing comment in programmable controller, and programmable controller
JP2653409B2 (en) Programmable controller program development equipment
JPH0447405A (en) Programing device for programmable controller
JPH06175798A (en) Variable picture display control system
JPH0128962B2 (en)