JPH01147701A - Program display device - Google Patents
Program display deviceInfo
- Publication number
- JPH01147701A JPH01147701A JP62305678A JP30567887A JPH01147701A JP H01147701 A JPH01147701 A JP H01147701A JP 62305678 A JP62305678 A JP 62305678A JP 30567887 A JP30567887 A JP 30567887A JP H01147701 A JPH01147701 A JP H01147701A
- Authority
- JP
- Japan
- Prior art keywords
- program
- expression
- format
- conversion
- converting
- 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
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 27
- 238000004458 analytical method Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 26
- 238000000034 method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕 ゛
この発明は、プログラマブルコントロー:j(以下、単
にPCとも云う。)が実行するプログラムを図形形式で
表示するための表示装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a display device for displaying a program executed by a programmable controller (hereinafter also simply referred to as a PC) in a graphical format.
PCのプログラムはその処理の流れを理解し易くするた
めに、一般に図形形式で表現される。その代表的な例が
第3図に示すラダー図、および第4図のロジック図であ
る。なお、第3図の符号6および7は接点シンボル、8
はコイルシンボルを示し、また第4図の符号9は7アン
クシlコンブロツク゛を示す。つまり、第3図および第
4図とも同じ処理を表わしており、ビット信号ABCと
ビット信号DEFの論理積(アンド)をとり、ビット信
号GHIに出力すると云う処理を表わしている。PC programs are generally expressed in a graphical format to make the flow of processing easier to understand. Typical examples are the ladder diagram shown in FIG. 3 and the logic diagram shown in FIG. Note that numerals 6 and 7 in FIG. 3 are contact symbols, and 8
indicates a coil symbol, and numeral 9 in FIG. 4 indicates a 7-anxil combination block. In other words, both FIG. 3 and FIG. 4 show the same processing, in which the logical product (AND) of the bit signal ABC and the bit signal DEF is taken and the result is outputted as the bit signal GHI.
ところで、プ四グラムー設計者が1つの処理を図形で表
現する場合、使い慣れた表現形式または顧客からの要求
などに゛より、使用する表現形式を決定すると−もに、
作成済みのプログラム・を表゛示するのは、従来は作成
した時と同じ形式で表示するのが普通である。このため
、他のより理解し易い表現形式で表示したり、作成済み
のプログラムを他の表現形式で表示することができず、
融通性に乏しいと云う問題がある。By the way, when a four-gram designer expresses a process graphically, he or she decides which expression format to use based on familiar expression formats or customer requests.
Conventionally, a created program is usually displayed in the same format as when it was created. For this reason, it is not possible to display programs in other formats that are easier to understand, or to display programs that have already been created in other formats.
The problem is that it lacks flexibility.
したがって、この発明はプログラムを複数種の表現形式
で表示することができ、かつ他の表現形式に変更して表
示することが可能な表示装置を提供することを目的とす
る。Therefore, an object of the present invention is to provide a display device that can display a program in a plurality of types of expression formats, and can change the display format to other expression formats.
プログラマブルコントローラが実行するプログラムをそ
の表現形式を定義する命令語と\もに記憶するメモリと
、プログラムを表示するための図形表現形式を指定する
指定手段と、プログラムを前記命令語にて定義される図
形表現形式または前記指定手段にて指定される図形表現
形式のいずれかに変換する変換手段とを設ける。a memory for storing a program to be executed by the programmable controller together with a command word defining its representation format; a designation means for designating a graphic representation format for displaying the program; and converting means for converting into either a graphic representation format or a graphic representation format designated by the designation means.
〔作用〕
プログラムをその作成時と同じ形式で図形表示したり、
それとは無関係に成る指定された形式で図形表示したり
し得るようにし、表示に融通性をもたせる。[Operation] Displays a program graphically in the same format as when it was created,
To provide flexibility in display by allowing graphics to be displayed in a specified format that is unrelated to the above.
第1図はこの発明の実施例を示すもので、PCが実行す
るプログラムを記憶するためのプログラム記ta部1、
操作者が表現形式を指定するための表現形式指定部2、
プログラム記憶部1に記憶されているプログラムを図形
形式に変換する変換部3、変換部3で変換された図形を
記憶するための図形記憶部4および図形を表示コードに
変換して表示するための表示部5等から構成される。さ
らに、変換部3は、指示された表現形式を解析するため
の解析部31、プログラムをラダー図に夏侠するための
ラダー回度[l532、ロジック図に変換するためのp
シック回度候部33等より構成される。FIG. 1 shows an embodiment of the present invention, in which a program storage section 1 for storing programs to be executed by a PC;
an expression format specification section 2 for the operator to specify an expression format;
A conversion section 3 converts the program stored in the program storage section 1 into a graphic format, a graphics storage section 4 for storing the graphics converted by the conversion section 3, and a graphics storage section 4 for converting the graphics into display codes and displaying them. It is composed of a display section 5 and the like. Furthermore, the conversion unit 3 includes an analysis unit 31 for analyzing the designated expression format, a ladder conversion unit 31 for converting the program into a ladder diagram, and a ladder conversion unit 31 for converting the program into a ladder diagram, and a
It is composed of a thick circular winding section 33 and the like.
なお、プログラム記憶部1は例えば第2図の如く、表現
形式を定義するための表現形式定義命令11および13
、pcが実行する1つ以上の命令からなる実行命令12
および14等から構成される。こ\で、表現形式定義命
令11は実行命令12の、また表現形式定義命令13は
実行命令14の表現形式をそれぞれ定義する0なお、表
現形式定義命令は、PCにとっては無効命令(NOP命
令)である。Note that the program storage unit 1 stores expression format definition instructions 11 and 13 for defining an expression format, as shown in FIG. 2, for example.
, an execution instruction 12 consisting of one or more instructions to be executed by the PC.
and 14 mag. Here, the expression format definition instruction 11 defines the expression format of the execution instruction 12, and the expression format definition instruction 13 defines the expression format of the execution instruction 14. Note that the expression format definition instruction is an invalid instruction (NOP instruction) for the PC. It is.
□ 次に、プログラムを図形に変換する手順について説
明する。□ Next, we will explain the procedure for converting a program into graphics.
まず、操作者が表現形式指定部2を介して表現形式を指
定する。表現形式の指定には、と−ではプログラム中の
表現形式定義命令にしたがって変換する「無変換」、表
現形式定義命令によらずにラダー図に変換する「ラダー
図変換」、および表現形式定義命令によらずにロジック
図に変換する「ロジック図変換」の3通りを想定してい
る0次いで解析部31が表現形式を解析し、ラダー図衆
換都32またはロジック図変換部33を起動する。この
時、解析部31の動作は、表現形式の指定によって異な
る。すなわち、「無変換」の時は、プログラム記it!
[1に記憶されている表現形式定義命令の次にある実行
命令について、その表現形式定義命令が「ラダー図変換
」を定義している時はラダー図変換部32に、また、「
ロジック図変換」を定義している時はロジック図変換部
33に渡し、それぞれの形式に変換する。表現形式の指
定が「ラダー図変換」の時は、プログラム記憶部1に記
憶されている表現形式定義命令の次の実行命令を、その
表現形式定義命令によらずラダー回置換部32に渡して
ラダー図に変換する。−方、表現形式の指定が「ロジッ
ク図置換」の時は、「ラダー図変換」の場合と同様にし
て、ロジック図変換部33に渡し、ロジック図に変換す
る。最後に、ラダー図変換部32またはロジック図変換
部33が変換した結果を、図形記憶部4に格納するO
以上の手順により、プログラム記憶部IK記憶されてい
るプログラムを、表現形式指定部2で表現形式を指定す
ることKより、希望した表現形式に変換し、表示するこ
とができる。First, the operator specifies the expression format via the expression format designation section 2. To specify the representation format, ``no conversion'' converts according to the expression format definition command in the program, ``ladder diagram conversion'' converts to a ladder diagram without using the representation format definition command, and representation format definition command. Next, the analysis unit 31 analyzes the expression format and starts the ladder diagram conversion unit 32 or the logic diagram conversion unit 33. At this time, the operation of the analysis unit 31 differs depending on the designation of the expression format. In other words, when there is no conversion, the program is written it!
[For the execution command following the representation format definition command stored in [1], when the representation format definition command defines "ladder diagram conversion", the ladder diagram conversion unit 32 also sends "
When "logic diagram conversion" is defined, it is passed to the logic diagram conversion unit 33 and converted into the respective format. When the representation format is specified as "ladder diagram conversion", the execution command next to the representation format definition command stored in the program storage unit 1 is passed to the ladder conversion unit 32 regardless of the representation format definition command. Convert to ladder diagram. - On the other hand, when the expression format is specified as "logic diagram replacement", it is passed to the logic diagram conversion unit 33 and converted into a logic diagram in the same manner as in the case of "ladder diagram conversion". Finally, the results of the conversion by the ladder diagram converter 32 or the logic diagram converter 33 are stored in the graphic storage unit 4. Through the above steps, the program stored in the program storage unit IK is transferred to the representation format specifying unit 2. By specifying the expression format, it is possible to convert and display the desired expression format.
この発明によれば、表現形式を定義するための表現形式
定義命令、表現形式を指定するための表現形式指定部、
表現形式の指定およびプログラム記憶部内の表現形式定
義命令にしたがってプログラムを図形形式に変換する変
換部をもうけたことにより、プログラムを複数の表現形
式で表示したり、他の表現形式に変更して表示すること
が可能となり、融通性に富むプログラム表示装置を得る
ことができる。According to this invention, an expression format definition instruction for defining an expression format, an expression format specification section for specifying an expression format,
By providing a conversion unit that converts a program into a graphic format according to the expression format specification and expression format definition instructions in the program storage unit, it is possible to display a program in multiple expression formats or change it to another expression format. This makes it possible to obtain a highly flexible program display device.
第1図はこの発明の実施例を示すブロック図、第2図は
プログラムメモリの一例を示す構成図、第3図は図形形
式の表示方法の一例を示すラダー図、第4図は図形形式
の表示方法の他の例を示すロジック図である。
符号説明
1・・・・・・プログラム記憶部、2・・・・・・表現
形式指定部、3・・・・・・変換部、4・・・・・・図
形記憶部、5・・・・・・表示部、6,7・・・・・・
接点シンボル、8・・・・・・コイルシンボル、9・・
・・・・ファンクションブロック、11゜13・・・・
・・表現形式定義命令、12.14・・・・・・実行命
令、31・・・・・・解析部、32・・・・・・ラダー
回度換部、33・・・・・・ロジック図変換部。
第1 図Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a configuration diagram showing an example of a program memory, Fig. 3 is a ladder diagram showing an example of a graphic format display method, and Fig. 4 is a diagram showing an example of a graphic format display method. FIG. 7 is a logic diagram showing another example of a display method. Description of symbols 1...Program storage section, 2...Expression format specification section, 3...Conversion section, 4...Graphic storage section, 5... ...Display section, 6, 7...
Contact symbol, 8... Coil symbol, 9...
...Function block, 11゜13...
... Expression format definition command, 12.14 ... Execution command, 31 ... Analysis section, 32 ... Ladder conversion section, 33 ... Logic Diagram conversion section. Figure 1
Claims (1)
の表現形式を定義する命令語とゝもに記憶するメモリと
、 プログラムを表示するための図形表現形式を指定する指
定手段と、 プログラムを前記命令語にて定義される図形表現形式ま
たは前記指定手段にて指定される図形表現形式のいずれ
かに変換する変換手段と、 を備え、前記指定手段にて表現形式が指定されたときは
その表現形式によりプログラムを表示し、表現形式が特
に指定されないときは前記命令語が示す表現形式により
プログラムを表示することを特徴とするプログラム表示
装置。[Scope of Claims] A memory for storing a program to be executed by a programmable controller together with a command word defining its representation format; a designation means for designating a graphic representation format for displaying the program; a converting means for converting into either a graphic representation format defined by a word or a graphic representation format specified by the designation means, and when the representation format is designated by the designation means, the representation format; A program display device characterized in that the program is displayed by the expression format indicated by the instruction word when the expression format is not specified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62305678A JPH01147701A (en) | 1987-12-04 | 1987-12-04 | Program display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62305678A JPH01147701A (en) | 1987-12-04 | 1987-12-04 | Program display device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01147701A true JPH01147701A (en) | 1989-06-09 |
Family
ID=17948038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62305678A Pending JPH01147701A (en) | 1987-12-04 | 1987-12-04 | Program display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01147701A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03252801A (en) * | 1990-03-02 | 1991-11-12 | Mitsubishi Electric Corp | Programming method for programmable controller |
KR100773951B1 (en) * | 2005-08-17 | 2007-11-07 | 최명식 | booth for coating apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6190211A (en) * | 1984-10-11 | 1986-05-08 | Hitachi Ltd | Process monitor system for programmable controller |
-
1987
- 1987-12-04 JP JP62305678A patent/JPH01147701A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6190211A (en) * | 1984-10-11 | 1986-05-08 | Hitachi Ltd | Process monitor system for programmable controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03252801A (en) * | 1990-03-02 | 1991-11-12 | Mitsubishi Electric Corp | Programming method for programmable controller |
KR100773951B1 (en) * | 2005-08-17 | 2007-11-07 | 최명식 | booth for coating apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02123468A (en) | Plotting of computer-aided plotting system | |
US7015932B1 (en) | System for designing visual information to be displayed on monitor unit used in combination with programmable controller | |
JPS6145299A (en) | Waveform information processor | |
JPS6010644B2 (en) | Sequence display control method | |
JPH01147701A (en) | Program display device | |
JP2734259B2 (en) | Dialogue history creation device | |
JPH03109603A (en) | Programming device for programmable controller | |
JP2731245B2 (en) | Graphic display device | |
JP2971251B2 (en) | SFC programming device | |
JPH11175114A (en) | Programmable controller | |
JPH01244502A (en) | Pc program display system | |
JP2862369B2 (en) | Image display control device | |
JPH06324795A (en) | Display picture selection method | |
JPH0423102A (en) | Programming device for programmable controller | |
JPH01209501A (en) | Graphic forming system of programmable controller | |
JPS62231344A (en) | Program executing condition display system | |
JPS61114373A (en) | Pattern formation processing system | |
JPH05298045A (en) | Hypermedia help system | |
JPS6232537A (en) | Picture processing method in service processor of computer system | |
JPH0580958A (en) | Computer having help display function | |
JPS6142296B2 (en) | ||
JPS6290720A (en) | Menu displaying device | |
JPH01152506A (en) | Editing system for ladder program | |
JPH0764471A (en) | Programming device | |
JPS60245037A (en) | Crt display system |