JPS5884306A - Programming device of programmable controller - Google Patents

Programming device of programmable controller

Info

Publication number
JPS5884306A
JPS5884306A JP18187981A JP18187981A JPS5884306A JP S5884306 A JPS5884306 A JP S5884306A JP 18187981 A JP18187981 A JP 18187981A JP 18187981 A JP18187981 A JP 18187981A JP S5884306 A JPS5884306 A JP S5884306A
Authority
JP
Japan
Prior art keywords
symbol
program
operation instruction
display
circuit
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
JP18187981A
Other languages
Japanese (ja)
Inventor
Kiyoto Hirase
平瀬 清人
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.)
Omron Corp
Original Assignee
Tateisi Electronics Co
Omron Tateisi Electronics Co
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 Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP18187981A priority Critical patent/JPS5884306A/en
Publication of JPS5884306A publication Critical patent/JPS5884306A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To enable the setting of no-operation instruction even to the programming of the circuit diagram type, by displaying a circuit symbol in a sequence circuit diagram of a display in response to the operation of a symbol key for the no-operation instruction. CONSTITUTION:A circuit symbol is defined in accordance with a no-operation instruction, and a symbol key is provided to an input device 12 for the no- operation instruction. A programming device 2 of a programmable controller 1 treats the no-operation instruction equivalently to a circuit element. This instruction is contained in a display of a sequence circuit diagram of a display 14 to obtain a source program. This program is made accentable to an object program. As a result, the no-operation instruction is inserted into a step corresponding to a display of the display symbol of the no-operation instruction. Thus the no-operation instruction can be treated even with the programming of a circuit diagram type.

Description

【発明の詳細な説明】 この発明はプログラマブル・コントローラのプログラミ
ング装置に関し、特に、CRT表示装置等によりシーケ
ンス回路図の形でユーザプログラムを作成できるように
したものの改良に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a programming device for a programmable controller, and more particularly to an improvement in a device that allows a user program to be created in the form of a sequence circuit diagram using a CRT display device or the like.

周知のように、一般に利用されているラダーダイヤグラ
ム式のプログラマブル・コントローラ(以下PCと称す
)においては、ユーザプログラム(シーケンス制御プロ
グラム)は継電器ラダーダイヤグラムの形で作成され、
それが所定のプログラミング形式に則った単位命令の集
合の形に変換(自動または手動)されてユーザプログラ
ムメモリに格納される。最近の中規模以上のPCの多く
は、ユーザプログラムをラダーダイヤグラム式のシーケ
ンス回路図の形のまま直接プログラミングできるように
、CRT表示装置等を用いたプログラミング装置(プロ
グラミングパネル)を備えている。この種のプログラミ
ング装置では、接点やリレー等の各回路素子およびそれ
らの接続関係を含んだ複数の回路シンボルが定義されて
いて、各回路シンボルに対応した複数のシンボルキーや
回路素子番号を入力するためのテンキーを有するキー人
力装置を操作することにより、CRT表示装置の画面に
各回路シンボルの組合せでもって構成される任意のラダ
ーダイヤグラム式のシーケンス回路図を表示させる機能
と、この表示m1llにて作成されたシーケンス回路図
の表示データをソースプログラムとし、これをオブジェ
クトプログラムに変換してPC本体のユーザプログラム
メモリに書込むアセンブル手段を基本的に備えて(%る
As is well known, in commonly used ladder diagram programmable controllers (hereinafter referred to as PCs), the user program (sequence control program) is created in the form of a relay ladder diagram.
It is converted (automatically or manually) into a set of unit instructions according to a predetermined programming format and stored in the user program memory. Many of the recent medium-sized or larger PCs are equipped with a programming device (programming panel) using a CRT display device or the like so that a user program can be directly programmed in the form of a ladder diagram sequence circuit diagram. In this type of programming device, multiple circuit symbols including circuit elements such as contacts and relays and their connection relationships are defined, and multiple symbol keys and circuit element numbers corresponding to each circuit symbol must be input. The ability to display any ladder diagram type sequence circuit diagram consisting of a combination of circuit symbols on the screen of a CRT display device by operating a key-powered device with a numeric keypad for It basically includes an assembling means for converting the display data of the created sequence circuit diagram into a source program, converting it into an object program, and writing it into the user program memory of the PC main body.

また、一般のプログラミング装置では、上記の機能に加
え、オブジェクト言語によるユーザ命令に1 対1 ニ
対応した二−モニツクによるユーザ命令が定義されてい
て、キー人力装置における二一モニツクキーおよびテン
キー等を操作することにより、直接オブジェクト言語で
もってユーザプログラムを組めるようにもなっている。
In addition to the above-mentioned functions, in general programming devices, user commands are defined in two-monics that have a one-to-one correspondence with user commands in an object language. By doing this, it is now possible to write user programs directly using the object language.

更に、この種のプログラミング装置は、ユーザプログラ
ムメモリにオブジェクト言語にて記憶されているユーザ
プログ、ラムを、ソースプログラムであるラダーダイヤ
グラム式のシーケンス回路図の形に逆アセンブルしてC
R7画面上に表示する機能を備えている。
Furthermore, this type of programming device disassembles a user program or program stored in an object language in a user program memory into a sequence circuit diagram in the form of a ladder diagram, which is a source program.
It has a function to display on the R7 screen.

第1図Aは上述の如きPCのソースプログラムであるラ
ダーダイヤグラムの一例を示し、第1図Bは上記ラダー
ダイヤグラムをオブジェクト言語と1対1に対応した二
−モニツク形式で現したプログラムリストである。以下
の説明では、上記プログラミング装置の表示装置を用い
て第1図Aのようなラダーダイヤグラムの形でプログラ
ミングする方式を回路図形式のプログラミングと称し、
これに対しオブジェクトプログラムと直接対応する二一
モニツクによって第1図Bのようなプログラムリストを
直接入力する形式を二−モニツク形式のプログラミング
と称する。
Figure 1A shows an example of a ladder diagram which is a PC source program as described above, and Figure 1B is a program list representing the ladder diagram in a two-monics format that has a one-to-one correspondence with an object language. . In the following explanation, the method of programming in the form of a ladder diagram as shown in FIG. 1A using the display device of the programming device will be referred to as circuit diagram-style programming.
On the other hand, a format in which a program list as shown in FIG. 1B is directly input using a 2-monique that directly corresponds to an object program is called 2-monique programming.

ところで、第1図への回路例において、入力接点105
がオンしてから、リレー007がオンするまでの間に遅
延時間を設けたい場合、その遅延時間があるPi!1[
大きければ周知のタイマ命令を使うことによってその遅
延動作を実現することができる。しかし、タイマ命令に
よる最小設定時開はPCのハードウェアによって決定付
けられていて、比較的大きいものである。従って、接点
105とリレー007との間の入出力遅延時開を極く僅
かな時間に設定したい場合には、タイマ命令では処理で
きない。このような場合、一般にノーオペレーション命
令が使われる。周知のように、ノーオペレーション命令
というのはニー、ザ命令の一種で、ユーザプログラムの
論理制御には関与せず、単にプログラムステップを1だ
け歩進させる命令である。以下このノーオペレーション
命令をNOP命令と称す。ユーザプログラム中にこのN
OP命令が挿入されていると、PCがこれを実行する際
に、NOP命令のフェッチからプログラムステップを1
だけ進めるまでの処理に極く僅かの時間を要する訳で、
実質的に何もしないNOP命令の処理時間を利用して上
述した入出力間のタイミング調整を行なうことができる
。第1図Cは同図Bに示した二−モニツク形式のプログ
ラムにおいて、接点105とリレー0゛07との間のタ
イミングをN。
By the way, in the circuit example shown in FIG.
If you want to set a delay time between when the relay 007 turns on and when the relay 007 turns on, the delay time is set for the Pi! 1[
If it is large, the delay operation can be realized by using a well-known timer instruction. However, the minimum set opening time by the timer instruction is determined by the PC hardware and is relatively large. Therefore, if it is desired to set the input/output delay opening between contact 105 and relay 007 to a very short time, the timer instruction cannot be used. In such cases, no-operation instructions are generally used. As is well known, a no-operation instruction is a type of knee-the-knee instruction, and is an instruction that does not involve logic control of a user program and simply advances a program step by one. Hereinafter, this no-operation instruction will be referred to as a NOP instruction. This N in the user program
If an OP instruction is inserted, when the PC executes it, it will skip one program step from fetching the NOP instruction.
It takes a very short amount of time to proceed with the process.
The above-described timing adjustment between input and output can be performed using the processing time of the NOP instruction, which does virtually nothing. FIG. 1C shows the two-monic program shown in FIG.

P命令によって調整したプログラム例を示している。つ
まり、LD(105)命令とOUT (007)命令と
の間に、この例では、NOP命令を2回挿入し、NOP
命令の処理時間をΔTとすると、接点105が変化して
からリレー007が変化するまでの間に2ΔTだけの遅
延時間を持たせるようにしている。
An example of a program adjusted using the P command is shown. That is, in this example, the NOP instruction is inserted twice between the LD (105) instruction and the OUT (007) instruction, and the NOP
When the processing time of a command is ΔT, a delay time of 2ΔT is provided between when the contact 105 changes and when the relay 007 changes.

従来、′第1図Cに示したようなNOP命令によるタイ
ミング調整をユーザプログラム中に含めたい場合、この
NOP命令の書込みあるいは挿入を二−モニツク形式の
プログラミングによってしか行なえず、回路図形式のプ
ログラミングではN。
Conventionally, when a user wants to include timing adjustment using a NOP instruction as shown in Figure 1C in a user program, writing or inserting this NOP instruction can only be done by bimonic format programming, and circuit diagram format programming. Then N.

P命令の書込みおよび挿入が行なえなかった。その理由
は、従来のPCにおいてはNOP命令そのものがシーケ
ンス回路図と結び付けて考えられておらず、シーケンス
制御動作とは直接係わらないPC内部の処理動作に係わ
る命令として位置付けられていたためで、そのためプロ
グラミング装置における上記表示装置はソースプログラ
ムとして1のシーケンス回路図中にNOP命令に対応し
た回路表示を行なうようには構成されていなかった。
Writing and inserting the P instruction could not be performed. The reason for this is that in conventional PCs, the NOP instruction itself was not considered in connection with the sequence circuit diagram, and was positioned as an instruction related to processing operations inside the PC that were not directly related to sequence control operations. The display device in the device was not configured to display a circuit corresponding to a NOP command in one sequence circuit diagram as a source program.

従うてNOP命令を書込む場合には、二−モニツク形式
のプログラミングによらなければならず、非常に不便で
あった。また従来のプログラミング装置では上述のよう
にソースプログラムとしてのNOP命令は存在しないの
でそのアセンブル手段ではNOP命令は対象外であるし
、また逆アセンブル手段でもNOP命令が対象外となっ
ており、ニーザブ0グラムメモリに格納されているプロ
グラム中にNOP命令が実際に存在しても、そのプログ
ラムを逆アセンブルして画面に表示した時、NOP命令
の存在は表示回路図中には全く現れないという問題があ
った。
Therefore, when writing a NOP instruction, bimonic programming must be used, which is very inconvenient. In addition, in conventional programming devices, as mentioned above, there is no NOP instruction as a source program, so the assembling means does not handle NOP instructions, and the disassembling means also does not handle NOP instructions. Even if a NOP instruction actually exists in the program stored in the program memory, when the program is disassembled and displayed on the screen, the existence of the NOP instruction will not appear in the displayed circuit diagram at all. there were.

この発明は上述した従来の問題点に鑑みなされたもので
あり、その目的は、回路図形式のプログラミングにても
NOP命令゛を1つの回路要素として取扱ってNOP命
令の設定が行なえるようにしたプログラマブル・コント
ローラのプログラム装置を提供することにある。
This invention was made in view of the above-mentioned conventional problems, and its purpose is to make it possible to handle the NOP instruction as one circuit element and to set the NOP instruction even in circuit diagram format programming. An object of the present invention is to provide a programming device for a programmable controller.

上記の目的を達成するために、この発明は、NOP命令
に対応した回路シンボルを定義して表示制御用キー人力
装置にNOP命令のシンボルキーを設けるとともに、こ
のNOP命令のシンボルキーの操作に応答して表示装置
におけるシーケンス回路図中にその回路シンボルを表示
するように構成し、かつこの表示@置にて作成されたシ
ーケンス回路図の表示データをソースプログラムとして
これをオブジェクトプログラムに変換するアセンブル手
段にNOP命令の変換手段を持たせたことを特徴とする
In order to achieve the above object, the present invention defines a circuit symbol corresponding to the NOP command, provides a symbol key for the NOP command on a display control key human power device, and responds to the operation of the symbol key for the NOP command. assembling means configured to display the circuit symbol in a sequence circuit diagram on a display device, and converting the display data of the sequence circuit diagram created in this display into an object program as a source program. It is characterized in that it has a NOP instruction conversion means.

以下、この発明の実施例を図面に基づいて詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図はこの発明に係るプログラミング装置を備えるプ
ログラマブル・コントローラのデータの構成を示すブロ
ック図である。同図において1はプログラマブル・コン
トローラ本体であり、2はプログラミング装置である。
FIG. 2 is a block diagram showing the data structure of a programmable controller equipped with a programming device according to the present invention. In the figure, 1 is a programmable controller main body, and 2 is a programming device.

PC本体1は、基本的に、ユーザプログラムが格納され
るユーザプログラムメモリ3と、内部入力信号が与えら
れるとともに外部出力信号を送出する入出力回路4と、
この入出力回路4に対応した各入出力番号の入出力デー
タ等を一時記憶する入出カメモリ5と、ユーザプログラ
ムメモリ1の各命令を順次高速に実行し、上記入出カメ
モリ5のデータおよび入出力回路4のデータに基づいて
演算処理をし、その処理結果で入出力回路4および入出
カメモリ−5の出力データ等を書換える命令実行手段等
を備える。
The PC main body 1 basically includes a user program memory 3 in which user programs are stored, an input/output circuit 4 that receives internal input signals and sends out external output signals.
The input/output memory 5 temporarily stores the input/output data of each input/output number corresponding to the input/output circuit 4, and each instruction in the user program memory 1 is sequentially executed at high speed. It is provided with an instruction execution means, etc., which performs arithmetic processing based on the data of the circuit 4 and rewrites the output data of the input/output circuit 4 and the input/output memory 5 with the processing results.

この命令実行手段はCPU6およびその動作を規定した
システムプログラムを格納するとともにシステムワーキ
ングエリアとして使われるシステムメモリ7によって構
成される。またPC本体1とプログラミング装置2とは
、それぞれインターフェイス回路8および9を介して接
続される。
This instruction execution means is constituted by a CPU 6 and a system memory 7 which stores a system program defining its operation and is used as a system working area. Further, the PC main body 1 and the programming device 2 are connected via interface circuits 8 and 9, respectively.

プログラムコンソール2は、全体の制御を司どるCPU
 10と、このCPU10によって実行されるシステム
プログラム−を格納したROMおよびシステムワーキン
グメモリとして使われるROMを含むシステムメモリ1
1と、当該プログラミング装[2に対して各種の動作指
令(表示$1111入力を含む)を与えるキー人力装置
12と、上記ユーザプログラムメモリ3と同一のユーザ
プログラムを格納tSRAM13と、CRT表示装[1
4とを備える。
The program console 2 is a CPU that manages the overall control.
10, a system memory 1 including a ROM storing a system program executed by the CPU 10 and a ROM used as a system working memory.
1, a key manual device 12 for giving various operation commands (including display $1111 input) to the programming device [2], a tSRAM 13 storing the same user program as the user program memory 3, and a CRT display device [2]. 1
4.

第3図は上記キー人力装置12におけるキー配列例を示
すもので、この発明の要旨である回路図形式のプログラ
ミングに関する部分のみを示している。同図においてに
1で示す4個のキーは表示装置14に表示される表示位
1指定用のカーソルを移動させるためのカーソル移動キ
ーである。K2は各回路シンボルに対応したシンボルキ
ーであって、K21はA接点のシンボルキー、K22は
B接点のシンボルキー、K2Sはリレーのシンボルキー
、K24は横接続のシンボルキー、K25は縦接続のシ
ンボルキー、K26のこの発明の要旨であるNOP命令
に対応したシンボルキーである。図のように、NOP命
令では、信号線を表す横線に対してその中央に短い縦線
を一本クロスさせた回路シンボルを対応させており、キ
ー26のキートップにこのシンボルが表記されている。
FIG. 3 shows an example of the key arrangement in the key-operated device 12, and only shows the part related to programming in circuit diagram form, which is the gist of the present invention. In the figure, four keys indicated by 1 are cursor movement keys for moving a cursor for specifying display position 1 displayed on the display device 14. K2 is a symbol key corresponding to each circuit symbol, K21 is the A contact symbol key, K22 is the B contact symbol key, K2S is the relay symbol key, K24 is the horizontal connection symbol key, and K25 is the vertical connection symbol key. This symbol key corresponds to the NOP command of K26, which is the gist of this invention. As shown in the figure, the NOP command has a circuit symbol in which a horizontal line representing a signal line is crossed with a short vertical line in the center, and this symbol is written on the top of the key 26. .

また、K3は回路素子番号等を入力するためのキ一群で
あってテンキーとアルファベットキーA−Fからなる。
Further, K3 is a group of keys for inputting circuit element numbers, etc., and consists of a numeric keypad and alphabet keys A to F.

その他、表示をクリアするクリアキー。In addition, there is a clear key to clear the display.

プログラム書込みを指令する書込キー、およびプログラ
ム挿入を指示する挿入キー等が設けられている。
A write key for instructing program writing, an insert key for instructing program insertion, etc. are provided.

第4図は第3図に示したキー人力装置!12の操作に応
答して表示装置f14にシーケンス回路図を表示するた
めの表示13111プログラムの70チヤートである。
Figure 4 is the key human-powered device shown in Figure 3! This is chart 70 of the display 13111 program for displaying a sequence circuit diagram on the display device f14 in response to the operation of step 12.

また第5図は表示装[14のCRTにおける表示画面の
構成をシーケンス回路図例ととも′に示している。第5
図のように表示画面は横軸(X軸)が5区画で縦軸(Y
輪)が4区画の20の区画に分割されていて、各区画に
1つの回路シンボルが表示されるようになっている。シ
ステムメモリ11には表示装置!14の表示データが格
納されるエリアが設定されている。その表示データエリ
アも横が5で縦が4の20区画にの表示画面に対応して
各区画毎に1群のデータが入るようになっている。第6
図は1区画分の表示データエリアの構成を示している。
Further, FIG. 5 shows the configuration of the display screen in the CRT of the display device [14] along with an example of a sequence circuit diagram. Fifth
As shown in the figure, the display screen has five sections on the horizontal axis (X-axis) and five sections on the vertical axis (Y-axis).
The ring) is divided into 20 sections of 4 sections, and one circuit symbol is displayed in each section. There is a display device in the system memory 11! Areas in which 14 display data are stored are set. The display data area also corresponds to the display screen having 20 sections, 5 horizontally and 4 vertically, so that one group of data can be entered in each section. 6th
The figure shows the configuration of one section of display data area.

ここにおいてシリアルチェーンというのは複数の回路シ
ンボルが横方向に繋がるチェーンを意味する。また、イ
ンプットターミナルというのは1つ回路シンボルの左端
を指し、アウトプットターミナルというのは1つの回路
シンボルの右端を指す。そしてインプットターミナルコ
モンチェーンというのはX軸座標が共通の複数の回路シ
ンボルのインプットターミナルが縦接続されているチェ
ーンを指し、同様にアウトプットターミナルコモンチェ
ーンというのはX座標が共通の複数の回路シンボルのア
ウトプットターミナルが縦接続されているチェーンを指
す。フラグF1は、インプットターミナルコモンチェー
ンの終りを示すものであり、フラグF2はアウトプット
ターミナルコモンチェーンの終りを示すものである。M
7図A−Dのフロチャートは、キー人力装置12の装置
によって表示装置14に表示されたシーケンス回路図の
表示データから各区画の回路シンボル名の相互の接続関
係を求め、第6図に示した表示データ中の接続関係のデ
ータD4〜D7を得るための70チヤートである。これ
らの接続関係を求めるのは、シーケンス回路図の表示デ
ータからオブジェクトプログラムを得るアセンブル手段
の中間段階である。
Here, a serial chain means a chain in which a plurality of circuit symbols are connected in the horizontal direction. Furthermore, an input terminal refers to the left end of one circuit symbol, and an output terminal refers to the right end of one circuit symbol. An input terminal common chain refers to a chain in which input terminals of multiple circuit symbols with a common X-axis coordinate are connected vertically, and an output terminal common chain refers to a chain in which input terminals of multiple circuit symbols with a common X-axis coordinate are connected vertically. refers to a chain in which output terminals are connected vertically. Flag F1 indicates the end of the input terminal common chain, and flag F2 indicates the end of the output terminal common chain. M
The flowcharts in FIGS. 7A to 7D calculate the mutual connection relationship between the circuit symbol names of each section from the display data of the sequence circuit diagram displayed on the display device 14 by the key human power device 12, and calculate the relationship shown in FIG. This is 70 charts for obtaining connection-related data D4 to D7 in the displayed data. Determining these connection relationships is an intermediate step of the assembling means for obtaining the object program from the display data of the sequence circuit diagram.

第8図は表示されたシーケンス回路図の各回路シンボル
間の接続関係を示すデータが得られた後に、これら接続
関係データに基づいてオブジェクトプログラム(オブジ
ェクト列)を作成する変換プログラムの70チヤートで
ある。
FIG. 8 is chart 70 of a conversion program that creates an object program (object string) based on connection relationship data after data indicating the connection relationships between each circuit symbol of the displayed sequence circuit diagram is obtained. .

本発明のプログラミング装置では、キー人力装置f12
にNOP命令のシンボルキーに26が設けられていて、
シーケンス回路図の作成段階でこのキーに26を操作゛
することによりその時の表示カーソルの位置にNOP命
令の回路シンボルが表示される。第5図の表示例におい
て、A接点105j、:MいT、X−2,Y−3の位置
に表示されているのはNOP命令の表示シンボルであり
、更にそ(7)右1のX=3.Y−3の位置に表示され
ているのもNOP命令の回路シンボルである。このよう
にY=’3の表示位置にはA接点105がオンした時リ
レー007がオンするという回路が表示されているだけ
でなく、A接点105の命令処理とリレー007の命令
処理との闇に2つのNOP命令が挿入されていることを
回路図の形で表示できるようになっている。
In the programming device of the present invention, the key human power device f12
26 is provided in the symbol key of the NOP command,
By operating this key 26 at the stage of creating a sequence circuit diagram, the circuit symbol of the NOP command is displayed at the position of the display cursor at that time. In the display example of FIG. 5, the display symbol displayed at the A contact 105j, :MT, X-2, Y-3 is the display symbol of the NOP command, =3. The circuit symbol of the NOP instruction is also displayed at the Y-3 position. In this way, at the display position of Y='3, not only is a circuit that turns on relay 007 when A contact 105 turns on displayed, but also a difference between the command processing of A contact 105 and the command processing of relay 007. The fact that two NOP instructions have been inserted can be displayed in the form of a circuit diagram.

そして、第8図のオブジェクト列作成プログラムにおい
てルーチン806で入力シンボルの表示データが検出さ
れ、その入力シンボルがA接点でもなくまたB接点でも
ない場合、ルーチン8o7でNOと判断されかつルーチ
ン809でもNo判断されルーチン810に進む。この
ルーチン810ではNOP命令をオブジェクト言語に変
換し、RAM13に格納する。その結果、第5図に示し
たシーケンス回路図の表示例が第8図のプログラムによ
ってオブジェクトプログラムにアセンブルされると、第
1図Cに示したようにLD (105)命令と0LJT
 (007)命令との間に、2つのNOP命令が挿入さ
れた命令となる。
In the object string creation program shown in FIG. 8, display data of an input symbol is detected in routine 806, and if the input symbol is neither an A contact nor a B contact, it is determined NO in routine 8o7 and NO in routine 809. The determination is made and the process proceeds to routine 810. This routine 810 converts the NOP instruction into an object language and stores it in the RAM 13. As a result, when the display example of the sequence circuit diagram shown in FIG. 5 is assembled into an object program by the program shown in FIG.
The instruction has two NOP instructions inserted between it and the (007) instruction.

以上詳細に説明したように、この発明に係るプログラマ
ブル・コントローラのプログラミング装置によればノー
オペレーション命令をも1つの回路素子と同等に取扱い
、これを表示装置におけるシーケンス回路図の表示中に
含ませたソースプログラムを作成し、そのプログラムを
オブジェクトプログラムにアセンブルすることによって
、ノーオペレーション命令の表示シンボルの表示位置に
対応したステップにノーオペレーション命令が挿入され
ることとなる。すなわち、従来二−モニツタ形式のプロ
グラミングでしか取扱えなかったノーオペレーション命
令を回路図形式のプログラミングにおいても取扱え、こ
の種プログラミング装置の使い勝手は大幅に向上するこ
ととなる。
As explained in detail above, according to the programming device for a programmable controller according to the present invention, a no-operation instruction is treated equally as one circuit element, and this is included in the display of a sequence circuit diagram on a display device. By creating a source program and assembling the program into an object program, the no-operation instruction is inserted into the step corresponding to the display position of the no-operation instruction display symbol. That is, no-operation instructions, which could conventionally only be handled in two-monitor programming, can also be handled in circuit diagram programming, greatly improving the usability of this type of programming device.

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

第1図は従来の問題点を説明するためのプログラム例を
示す図、第2図はこの発明に係るプログラミング装置を
備えるプログラマブル・コント0′ −ラの全体の概略
構成を示すブロック図、第3図は第2図におけるキー人
力装置12のキー配列を示す図、第4図はキー人力装置
の操作に応答してシーケンス回路図を画面に表示するプ
ログラムのフローチャート、第5図は表示装置14の画
面の構成を示す図、第6図は同上表示画面の1区画に相
当する表示データの構成を示す図、第7図はシーケンス
回路図の表示における各回路シンボル間の接続関係を求
めるためのプログラムの70チヤート、第8図は表示さ
れたシーケンス回路図の互いの接続関係のデータに基づ
いてオブジェクトプログラムを作成するプログラムの7
0チヤートである。 1・・・・・・・・・プログラマブル・コントローラ本
体2・・・・・・・・・プログラミング装置3・・・・
・・・・・ユーザプログラムメモリ12・・・・・・キ
ー人力装置 14・・・・・・表示装置 に26・・・ノーオペレーション命令のシンボルキー特
許出願人 立石電機株式会社 第7図A 第7図B 第7 WC 第7図D
FIG. 1 is a diagram showing an example of a program for explaining conventional problems, FIG. 2 is a block diagram showing the overall schematic configuration of a programmable controller equipped with a programming device according to the present invention, and FIG. The figure shows the key arrangement of the key human power device 12 in FIG. 2, FIG. Figure 6 is a diagram showing the configuration of the screen; Figure 6 is a diagram showing the configuration of display data corresponding to one section of the display screen; Figure 7 is a program for determining the connection relationship between each circuit symbol in the display of a sequence circuit diagram. 70 Chart, Figure 8 shows the program 7 for creating an object program based on the mutual connection relationship data of the displayed sequence circuit diagrams.
It is 0 charts. 1... Programmable controller body 2... Programming device 3...
...User program memory 12...Key Human power device 14...Display device 26...Symbol key for no-operation command Patent applicant Tateishi Electric Co., Ltd. Figure 7A Figure 7B Figure 7 WC Figure 7D

Claims (1)

【特許請求の範囲】[Claims] (1) 所定の回路シンボルに対、応した複数のシンボ
ルキーや回路素子番号を入力するためのキー等を有する
キー人力装置の操作に応答し、各回路シンボルの組合せ
でもって構成される任意のシーケンス回路図を画面に表
示する表示装置と、この表示装置にて作成されたシーケ
ンス回路図の表示データをソースプログラムとし、これ
をオブジェクトプログラムに変換してユーザプログラム
メモリに書込むアセンブル手段を備えるプログラマブル
・コントローラのプログラミング装置において、実質的
にプログラムステップを歩進させるだけのノーオペレー
ション命令に対応した回路シンボルが定義され、上記キ
ー人力装置にノーオペレーション命令のシンボルキーが
設けられるとともに、上記表示装置は上記・ノーオペレ
ーション命令のシンボルキーの操作に応答してシーケン
ス回路中にその回路シンボルを表示する手段を有し、か
つ上記アセンブル手段は上記表示データ中のノーオペレ
ーション命令をオブジェクト言語のノーオペレーション
命令に変換する手段を有することを特徴とするプログラ
マブル・コントローラのプログラミング装置。    
(1) In response to the operation of a key human device having multiple symbol keys corresponding to a predetermined circuit symbol, keys for inputting circuit element numbers, etc., an arbitrary key consisting of a combination of each circuit symbol A programmable device that includes a display device that displays a sequence circuit diagram on a screen, and an assembler that uses the display data of the sequence circuit diagram created on this display device as a source program, converts it into an object program, and writes it into the user program memory. - In the programming device of the controller, a circuit symbol corresponding to a no-operation instruction that essentially only advances the program step is defined, and a symbol key for the no-operation instruction is provided on the key manual device, and the display device is provided with a symbol key for the no-operation instruction. The above-mentioned assembling means has means for displaying the circuit symbol in the sequence circuit in response to the operation of the symbol key of the no-operation instruction, and the above-mentioned assembling means converts the no-operation instruction in the display data into a no-operation instruction of an object language. A programming device for a programmable controller, comprising means for converting.
JP18187981A 1981-11-13 1981-11-13 Programming device of programmable controller Pending JPS5884306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18187981A JPS5884306A (en) 1981-11-13 1981-11-13 Programming device of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18187981A JPS5884306A (en) 1981-11-13 1981-11-13 Programming device of programmable controller

Publications (1)

Publication Number Publication Date
JPS5884306A true JPS5884306A (en) 1983-05-20

Family

ID=16108458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18187981A Pending JPS5884306A (en) 1981-11-13 1981-11-13 Programming device of programmable controller

Country Status (1)

Country Link
JP (1) JPS5884306A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6087032U (en) * 1983-11-14 1985-06-15 オムロン株式会社 programming console device
JP2009180123A (en) * 2008-01-30 2009-08-13 Otics Corp Lash adjuster
US8261710B2 (en) 2007-10-03 2012-09-11 Toyota Jidosha Kabushiki Kaisha Sealed lash adjuster and seal structure between first and second parts

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6087032U (en) * 1983-11-14 1985-06-15 オムロン株式会社 programming console device
US8261710B2 (en) 2007-10-03 2012-09-11 Toyota Jidosha Kabushiki Kaisha Sealed lash adjuster and seal structure between first and second parts
JP2009180123A (en) * 2008-01-30 2009-08-13 Otics Corp Lash adjuster

Similar Documents

Publication Publication Date Title
US7954082B2 (en) Automatically analyzing and modifying a graphical program
US7543281B2 (en) Disabling and conditionally compiling graphical code in a graphical program
JP3461400B2 (en) Sequence control program creation device
JPS60262204A (en) Programmable controller
JP3442963B2 (en) Programmable display
JPS5884306A (en) Programming device of programmable controller
JPH01177609A (en) Simulation system for pc
JP2008165324A (en) Program creation support device
JP2816269B2 (en) Robot operation program execution method
JPH03109603A (en) Programming device for programmable controller
JPH06187015A (en) Program converter for sequencer
JP3167245B2 (en) Programmable controller operating state monitoring device
JP2875135B2 (en) Program device for programmable controller
JP2653409B2 (en) Programmable controller program development equipment
JPS63100503A (en) Programmable controller
JPH06138925A (en) Numerical controller
JPH10283006A (en) Programmable display device
JPS58105302A (en) Illustrating programming device of programmable controller
JP3123720B2 (en) Programming method and programming device for programmable controller
JP2000132697A (en) Graph display device and storage medium
JP2522839B2 (en) Programmable controller programming device
JPS581207A (en) Programmable programming device
JPH0472244B2 (en)
JPS609843Y2 (en) Progressive programmable controller
JPS5856121B2 (en) sequence programmer