JPS63289601A - Method for forming sequence program - Google Patents
Method for forming sequence programInfo
- Publication number
- JPS63289601A JPS63289601A JP12447987A JP12447987A JPS63289601A JP S63289601 A JPS63289601 A JP S63289601A JP 12447987 A JP12447987 A JP 12447987A JP 12447987 A JP12447987 A JP 12447987A JP S63289601 A JPS63289601 A JP S63289601A
- Authority
- JP
- Japan
- Prior art keywords
- input
- key
- sequence program
- symbol
- screen
- 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
- 238000000034 method Methods 0.000 title claims description 10
- 238000010586 diagram Methods 0.000 claims description 23
- 230000000994 depressogenic effect Effects 0.000 abstract 4
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明はシーケンスプログラム作成方法に係り、特にラ
ダー図上で使用するリレー接点記号、コイル記号を入力
する毎に各記号のアドレスとシンボルデータ、コメント
を付してラダー図を編集し、該ラダー図を用いてシーケ
ンスプログラムを作成するシーケンスプログラム作成方
法に関する。[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a sequence program creation method, and in particular, each time a relay contact symbol or coil symbol used on a ladder diagram is input, the address and symbol data of each symbol, The present invention relates to a sequence program creation method for editing a ladder diagram with comments and creating a sequence program using the ladder diagram.
〈従来技術〉
数値制御システムにおいてはNC装置からの指令に基づ
いて工作機械の各機械要素が制御される。<Prior Art> In a numerical control system, each mechanical element of a machine tool is controlled based on commands from an NC device.
そして、NC装置と工作機械間の信号の授受制御はシー
ケンスプログラムに基づいて行われる。The transmission and reception of signals between the NC device and the machine tool is controlled based on a sequence program.
このシーケンスプログラムはNC装置と工作機械間のデ
ータ授受を司る強電回路の機能を命令コードとオペラン
ドで論理的にプログラムしたもので、例えば第4図(C
)に示す強電回路の一部であるラダー図は
RD Ro、1
AND RIo、2
AND−NOT R1,7
OR−NOT X2.4
WRT R20,2
で示すように二一モニツクコードでプログラムされてい
る。尚、ラダー図中Oはリレーコイル、■はメークリレ
ー接点(A接点)、rはブレークリレー接点(B接点)
を示している。又、シーケンスプログラム中におけるR
D、AND、AND−NOT、OR,WRTはそれぞれ
命令コードで、RDは読み出し命令(リード命令)、
ANDは論理積演算命令、
AND −NOTは否定値との論理積演算命令、0R−
NOTは否定値との論理和演算命令、WRTは書き込み
命令(ライト命令)である。This sequence program is a logical program of the functions of the high-power circuit that controls data exchange between the NC device and the machine tool using instruction codes and operands.
The ladder diagram which is a part of the high voltage circuit shown in ) is programmed with the 21 Monik code as shown in RD Ro, 1 AND RIo, 2 AND-NOT R1,7 OR-NOT X2.4 WRT R20,2. In the ladder diagram, O is the relay coil, ■ is the make relay contact (A contact), and r is the break relay contact (B contact).
It shows. Also, R in the sequence program
D, AND, AND-NOT, OR, and WRT are instruction codes, respectively, RD is a read instruction, AND is an AND operation instruction, AND -NOT is an AND operation instruction with a negative value, 0R-
NOT is an OR operation instruction with a negative value, and WRT is a write instruction.
又、リレー接点及びリレーコイルの上に英数字MA、M
12.M8.JM、MRDYはシンボル(又はリレー名
称)であり、そのオン/オフを特定する論理値(1”ま
たは”0”)は各リレー接点及びリレーコイルの下に標
記したワークメモリのアドレスに記憶される。尚、アド
レスは小数点付きの数値により表わされ、ワークメモリ
の所定番地(小数点以上の数値)、所定ビット(小数点
以下の数値)を示している。Also, alphanumeric characters MA, M are placed on the relay contacts and relay coil.
12. M8. JM and MRDY are symbols (or relay names), and the logical value (1" or "0") that specifies their on/off status is stored in the work memory address marked under each relay contact and relay coil. Note that the address is represented by a numeric value with a decimal point, indicating a predetermined location in the work memory (a numeric value above the decimal point) and a predetermined bit (a numeric value below the decimal point).
〈発明が解決しようとしている問題点〉従来のシーケン
スプログラム作成方法では、まず、ラダー図を作成する
画面をディスプレイ画面に表示し、リレー接点記号、コ
イル記号及びアドレスを入力後(第4図C参照)、シン
ボル、コメントを入力する別画面を呼び出して(第4図
す参照)、入力されたアドレスに対応するシンボル、コ
メントを入力し、ラダー図(第4図C参照)として編集
していた。その為、ラダー図作成中に連続してシンボル
、コメントを入力することが出来なくてシーケンスプロ
グラム作成が非常に面倒であった。<Problems to be Solved by the Invention> In the conventional sequence program creation method, first, a screen for creating a ladder diagram is displayed on the display screen, and after inputting the relay contact symbol, coil symbol, and address (see Figure 4 C). ), symbols, and comments (see Figure 4), input the symbols and comments corresponding to the input address, and edit them as a ladder diagram (see Figure 4C). Therefore, it was not possible to input symbols and comments continuously while creating a ladder diagram, making it extremely troublesome to create a sequence program.
以上から本発明の目的は、ラダー図作成とシンボル、コ
メントの作成が連続して行なうことが8来、作成効率を
上げることが可能なシーケンスプログラム作成方法を提
供することである。From the foregoing, an object of the present invention is to provide a sequence program creation method that can increase creation efficiency by continuously creating ladder diagrams and creating symbols and comments.
く問題点を解決するための手段〉
第1図は、本発明のシーケンスプログラム作成方法を実
施する装置の概略説明図である。Means for Solving the Problems> FIG. 1 is a schematic explanatory diagram of an apparatus that implements the sequence program creation method of the present invention.
1はシーケンスプログラム作成装置である。シーケンス
プログラム作成装置1はCRT画面2、データ入力部3
等により構成され、データ入力部3にはアルファベット
キー12、数値キー13、インプットキー17が又CR
T画面2の下方にはソフトキー15等が付いている。1 is a sequence program creation device. The sequence program creation device 1 includes a CRT screen 2 and a data input section 3.
The data input section 3 includes alphabet keys 12, numerical keys 13, and input keys 17.
Soft keys 15 and the like are attached to the lower part of the T screen 2.
11はCRT画面2上のカーソル位置を示す。11 indicates the cursor position on the CRT screen 2.
〈作用〉
シーケンスプログラムの基になるラダー図作成画面をデ
ィスプレイ画面2に表示し、リレー接点記号、コイル記
号等を用いてラダー図を作成すると共に、これらリレー
接点記号、コイル記号を入力する毎に各記号のアドレス
とシンボルデータ、コメントを連続して入力することが
できる。<Operation> The ladder diagram creation screen that is the basis of the sequence program is displayed on the display screen 2, and the ladder diagram is created using relay contact symbols, coil symbols, etc., and each time these relay contact symbols and coil symbols are input, Addresses, symbol data, and comments for each symbol can be input continuously.
〈実施例〉
第1図は、本発明のシーケンスプログラム作成方法を実
施する装置の概略説明図である。<Embodiment> FIG. 1 is a schematic explanatory diagram of an apparatus that implements the sequence program creation method of the present invention.
1はシーケンスプログラム作成装置である。シーケンス
プログラム作成装置1はCRT画面2、データ入力部3
等により構成され、データ入力部3にはアルファベット
キー12、数値キー13、インプットキー17が又CR
T画面2の側にはリターンキー14、ソフトキー15、
ネキストキー16が付いている。1 is a sequence program creation device. The sequence program creation device 1 includes a CRT screen 2 and a data input section 3.
The data input section 3 includes alphabet keys 12, numerical keys 13, and input keys 17.
On the side of T screen 2, there are return key 14, soft key 15,
Comes with Next Key 16.
11はCRT画面2上のカーソル位置、18はCR1画
面2下方に表示されるソフトキーメニューを示す。Reference numeral 11 indicates a cursor position on the CRT screen 2, and reference numeral 18 indicates a soft key menu displayed at the bottom of the CR1 screen 2.
第2図は本発明のソフトキーメニューを図示したもので
ある。ソフトキーメニュー18はCRT画面2内のソフ
トキー15上に表示され、キーに意味付けが行われる。FIG. 2 illustrates the soft key menu of the present invention. The soft key menu 18 is displayed on the soft keys 15 on the CRT screen 2, and meanings are assigned to the keys.
また、リターンキー14やネキストキ−16を押すこと
によりメニューが交互に切り換わり必要なメニューを選
択できる構成になって′ いる。Furthermore, by pressing the return key 14 or the next key 16, the menus are alternately switched and the desired menu can be selected.
第3図は本発明の詳細な説明図である。FIG. 3 is a detailed explanatory diagram of the present invention.
第1図乃至第3図に従って本発明を説明する。The present invention will be explained according to FIGS. 1 to 3.
シーケンスプログラムの入力を行なうには、ラダー図作
成用の対話画面をCRT画面2に表示させる。最初、C
R1画面2下方には第2図(a)に示すメニューが表示
されているがら、ソフトキー国夏四担を押圧するとCR
T画面2にラダー図の左右縦線のみが表示され、ソフト
キーメニューは第2図(b)のA接点入力、B接点入力
等の命令コードのメニューになり、この画面の状態から
プログラムの入力を開始する。To input a sequence program, an interactive screen for creating a ladder diagram is displayed on the CRT screen 2. At first, C
While the menu shown in Figure 2 (a) is displayed at the bottom of the R1 screen 2, if you press the soft key Kunika 4dan, the CR
Only the left and right vertical lines of the ladder diagram are displayed on the T screen 2, and the soft key menu becomes a menu of command codes such as A contact input and B contact input as shown in Figure 2 (b), and the program can be input from this screen state. Start.
(1)カーソルを開始位置に合わせ(第3図a)、ソフ
トキーEEI(A接点入力)15を押し、カーソル位置
にロロ記号が入力され(第3図b)、引き続きアルファ
ベットキー12と数値キー13を使用してRo、1@M
A
を入力後、インプットキー17を押す。すると接点上に
シンボル(MA)、接点下にアドレス(Ro、1)が設
定され、カーソルが右に移動する(第3図c ) m(
2)同様にソフトキーIEEI(A接点入力)15を押
し、R10,2@M12
を入力する。(1) Move the cursor to the start position (Fig. 3 a), press soft key EEI (A contact input) 15, the Roro symbol is input at the cursor position (Fig. 3 b), and continue with the alphabet key 12 and numerical key. Ro using 13, 1@M
After inputting A, press input key 17. Then, the symbol (MA) is set above the contact, the address (Ro, 1) is set below the contact, and the cursor moves to the right (Figure 3c) m(
2) Similarly, press soft key IEEE (A contact input) 15 and input R10,2@M12.
(3)同様にソフトキー[Z](B接点入力)15を押
し、R1,7@M8
を入力する。(3) Similarly, press soft key [Z] (B contact input) 15 and input R1,7@M8.
(4)ソフトキーe(リレーコイル入力)15を押すと
カーソル位置が画面右側に移動しEEI記号が入力され
、引き続きアルファベットキー12と数値キー13を使
用して
R20,2@ M RD Y @ MAC)IINE
READYを入力後、インプットキー17を押すと、リ
レーコイル記号上にシンボル(MRDY)、リレーコイ
ル記号下にアドレス(R20,2)が、更にコメント欄
にMACHINE READYが設定され、カーソルが
自動的に次行の入力開始位置に移動する(第1図CRT
画面)。(4) Press soft key e (relay coil input) 15 to move the cursor position to the right side of the screen and input the EEI symbol, then continue using alphabet key 12 and numerical key 13 to enter R20, 2 @ M RD Y @ MAC )IINE
After inputting READY, press the input key 17, the symbol (MRDY) will be set above the relay coil symbol, the address (R20, 2) will be set below the relay coil symbol, and MACHINE READY will be set in the comment field, and the cursor will be automatically moved. Move to the input start position of the next line (Fig. 1 CRT
screen).
以上では、アドレスとシンボル、コメントと連続して入
力する例を示したが、既に入力されているアドレスに対
して後からシンボル、コメントを設定するようにもでき
る。例えば、既にアドレスが入力されているリレーコイ
ル(R20,2)に対してカーソル位置を合わせ、引き
続きアルファベットキー12と数値キー13を使用して
@ M RD Y @MACHINE READYを入
力後、インプットキー17を押すと、リレーコイル記号
上にシンボル(MRDY)、リレーコイル記号下にアド
レス(R20,2)が、更にコメント欄にMACHIN
E READYが設定される。The above example shows an example in which an address, symbol, and comment are input consecutively, but it is also possible to set a symbol and comment later on an address that has already been input. For example, move the cursor to the relay coil (R20, 2) for which an address has already been input, use the alphabet keys 12 and numeric keys 13 to input @M RD Y @MACHINE READY, and then press the input key 17. When you press , the symbol (MRDY) appears above the relay coil symbol, the address (R20, 2) appears below the relay coil symbol, and MACHIN appears in the comment field.
E READY is set.
又、以上ではシンボル、コメントの前に”@”を使用し
たが1本発明では英数字以外の文字であれば代用可能で
ある。Furthermore, in the above, "@" is used before a symbol or comment, but in the present invention, any character other than alphanumeric characters can be substituted.
〈発明の効果〉
以上本発明によれば、シーケンスプログラム作成におい
て、ラダー図作成画面表示中にリレー接点記号、コイル
記号を入力する毎に各記号のアドレスとシンボル、コメ
ントの作成が連続して行なえるよう構成したから、作成
効率を上げることが出来た。<Effects of the Invention> According to the present invention, when creating a sequence program, each time a relay contact symbol or a coil symbol is input while the ladder diagram creation screen is displayed, the address, symbol, and comment for each symbol can be created continuously. By configuring it so that
第1図は、本発明のシーケンスプログラム作成方法を実
施する装置の概略説明図、
第2図及び第3図は本発明の詳細な説明図、第4図は従
来側の説明図。
1・・シーケンスプログラム作成装置、2・・CRT画
面、
3・・データ入力部、
11・・CRT画面2上のカーソル位置、15・・ソフ
トキー、
18・・ソフトキーメニュー
特許出願人 ファナック株式会社代理人
弁理士 齋藤千幹第2図
第3図FIG. 1 is a schematic explanatory diagram of an apparatus for implementing the sequence program creation method of the present invention, FIGS. 2 and 3 are detailed explanatory diagrams of the present invention, and FIG. 4 is an explanatory diagram of the conventional side. 1. Sequence program creation device, 2. CRT screen, 3. Data input section, 11. Cursor position on CRT screen 2, 15. Soft keys, 18. Soft key menu patent applicant FANUC Corporation. Agent Patent Attorney Chiki Saito Figure 2 Figure 3
Claims (1)
をオペランドとして伴ったリード命令、論理和演算命令
、論理積演算命令、ライト命令等の命令コードで構成さ
れるシーケンスプログラム作成方法において、 シーケンスプログラムの基になるラダー図作成画面をデ
ィスプレイ画面に表示し、リレー接点記号、コイル記号
等を用いてラダー図を作成すると共に、これらリレー接
点記号、コイル記号を入力する毎に各記号のアドレスと
シンボルデータ、コメントを連続して入力することを特
徴とするシーケンスプログラム作成方法。[Claims] Sequence program creation consisting of instruction codes such as read instructions, logical sum operations instructions, logical product operations instructions, write instructions, etc., accompanied by addresses such as relay contact symbols and coil symbols on a ladder diagram as operands. In this method, the ladder diagram creation screen that is the basis of the sequence program is displayed on the display screen, and the ladder diagram is created using relay contact symbols, coil symbols, etc., and each time these relay contact symbols and coil symbols are input, each A sequence program creation method characterized by sequentially inputting symbol addresses, symbol data, and comments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12447987A JPS63289601A (en) | 1987-05-21 | 1987-05-21 | Method for forming sequence program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12447987A JPS63289601A (en) | 1987-05-21 | 1987-05-21 | Method for forming sequence program |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63289601A true JPS63289601A (en) | 1988-11-28 |
Family
ID=14886537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12447987A Pending JPS63289601A (en) | 1987-05-21 | 1987-05-21 | Method for forming sequence program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63289601A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0449422A (en) * | 1990-06-19 | 1992-02-18 | Nissan Motor Co Ltd | Formation of sequence program |
-
1987
- 1987-05-21 JP JP12447987A patent/JPS63289601A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0449422A (en) * | 1990-06-19 | 1992-02-18 | Nissan Motor Co Ltd | Formation of sequence program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR850000362B1 (en) | Background of the invention | |
JPS5833711A (en) | Numerical controller | |
KR890002435B1 (en) | A numerical control method | |
JPH08179817A (en) | Display manipulator for machine tool | |
JPS63289601A (en) | Method for forming sequence program | |
JPH11296217A (en) | Method and device for transferring program file in nc device | |
JPH0413725B2 (en) | ||
JPH0417002A (en) | Sequence program searching system | |
JPS61105605A (en) | Ladder editing system of programmable controller | |
JPH03294906A (en) | Editing system for working program | |
JP2698715B2 (en) | Editing method of sequence program | |
JPH053002B2 (en) | ||
JPS6132107A (en) | Programming device of programmable controller | |
JPS61278909A (en) | Interactive programming device | |
JPH06202906A (en) | Nc program editing device | |
JPH056684B2 (en) | ||
JPS6249404A (en) | Method and device for editing nc program | |
JPH02311904A (en) | Teaching method | |
JPS6132106A (en) | Programming device of programmable controller | |
JPH05313708A (en) | Sequence program editing system | |
JP2965410B2 (en) | Display control device | |
JP3123720B2 (en) | Programming method and programming device for programmable controller | |
JPH04335402A (en) | Pc symbol editing system | |
JPS58105302A (en) | Illustrating programming device of programmable controller | |
JPH03141405A (en) | Man-machine interface for nc device |