JPH0533202U - Sequencer - Google Patents

Sequencer

Info

Publication number
JPH0533202U
JPH0533202U JP8084891U JP8084891U JPH0533202U JP H0533202 U JPH0533202 U JP H0533202U JP 8084891 U JP8084891 U JP 8084891U JP 8084891 U JP8084891 U JP 8084891U JP H0533202 U JPH0533202 U JP H0533202U
Authority
JP
Japan
Prior art keywords
program
sequencer
function
unit
flag
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
JP8084891U
Other languages
Japanese (ja)
Inventor
敬一 松本
Original Assignee
日立精機株式会社
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 日立精機株式会社 filed Critical 日立精機株式会社
Priority to JP8084891U priority Critical patent/JPH0533202U/en
Publication of JPH0533202U publication Critical patent/JPH0533202U/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

(57)【要約】 【目的】本考案は不要なプログラム部分が画面に出力さ
れることのないようにして機械操作担当のオペレータに
無用の混乱を与えることがないシーケンサの提供を目的
とする。 【構成】機能単位毎にブロック化されてメモリに記憶さ
れたシーケンスプログラムの、先頭アドレスに設けられ
たフラグビット部と、各機能ブロックのなかで制御の対
象として実行されるべき機能ブロックのプログラムを選
択し、前記フラグビット部のフラグを立てるパラメータ
設定部と、このパラメータ設定部によって立てられたフ
ラグをサーチし、選択された各機能ブロックのプログラ
ムのみを実行するようにシーケンサを制御する制御部と
を備える構成とする。
(57) [Summary] [Object] The present invention aims to provide a sequencer that prevents unnecessary program parts from being output to the screen and does not cause unnecessary confusion to the operator in charge of machine operation. [Structure] A flag bit portion provided at a head address of a sequence program which is divided into blocks for each functional unit and stored in a memory, and a program of a functional block to be executed as a control target in each functional block. A parameter setting unit for selecting and setting the flag of the flag bit unit; and a control unit for searching the flag set by the parameter setting unit and controlling the sequencer so as to execute only the program of each selected functional block. Is provided.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案はシーケンサに搭載されるシーケンスプログラムを各機能毎にブロック 化してプログラミングしておき、実際のシーケンサの稼働にあたっては各機能ブ ロックのプログラム毎に実行,不実行を選択可能なようにしたシーケンサに関す る。 The present invention is a sequencer in which the sequence program installed in the sequencer is divided into blocks for each function and programmed so that execution or non-execution can be selected for each function block program when the sequencer is actually operated. Related to.

【0002】[0002]

【従来の技術】[Prior Art]

シーケンサのシーケンスプログラムはエンドユーザが有する機械あるいは装置 の機能、例えば自動工具交換(ATC)機能,パレットプールライン(PPL) 機能,主軸制御機能,テーブル制御機能等に応じて作成されるものである。しか し、エンドユーザ毎に機械あるいは装置の仕様が異なったり、機能が同一でない ことが多く、エンドユーザ毎にシーケンスプログラムを作成することは、メーカ 側からすれば多大な工数を必要とし、また、非常に手間がかかるという問題があ った。 そこでメーカとしては、量産機のシーケンサに搭載されるシーケンスプログラ ムを、多種多様なエンドユーザの要求する機能の全てを網羅したものとして作成 することが多い。かかる、機能を全て網羅したシーケンスプログラムをエンドユ ーザが実行すると、該シーケンスプログラムはシーケンサにより最初から最後ま で読み取られるが、エンドユーザが有しない機械あるいは装置の機能は実行され ないというだけであり、シーケンスプログラムの使用上は特に不都合はないとい える。 The sequence program of the sequencer is created according to the functions of the machine or equipment of the end user, such as automatic tool change (ATC) function, pallet pool line (PPL) function, spindle control function, table control function, etc. However, the specifications of machines or devices are often different for each end user, or the functions are not the same, and creating a sequence program for each end user requires a great deal of man-hours from the manufacturer side. There was a problem that it was very troublesome. Therefore, manufacturers often create a sequence program to be installed in the sequencer of a mass-produced machine as one that covers all the functions required by a wide variety of end users. When an end user executes a sequence program that covers all such functions, the sequence program is read from the beginning to the end by the sequencer, but the functions of the machine or device that the end user does not have are not executed. It can be said that there is no particular inconvenience in using the sequence program.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、この場合、エンドユーザが有しない機械あるいは装置の機能で あっても、CRTやプリンタ等の出力装置にはシーケンスプログラムの全てが出 力されてしまう。すなわち、例えば前記パレットプールライン(PPL)機能の 制御プログラムやこれに関連する図面等についてはエンドユーザーが有しない機 能であってもCRT等の出力装置に表示されてしまうことになる。このことは、 機械操作担当のオペレータにとってみれば画面が見づらく分かりにくいものとな り、場合によって誤操作の原因ともなりかねないものであった。 本考案はこのような問題点に鑑みて創案されたものであり、不要なプログラム 部分が画面に出力されることなく、実際に実行されるべき機能ブロックのプログ ラム部分のみをCRT等の画面に表示するようにして、機械操作担当のオペレー タに無用の混乱を与えることがないようにしたシーケンサの提供を目的としてい る。 However, in this case, the entire sequence program is output to the output device such as the CRT or the printer even if the end user does not have the function of the machine or the device. That is, for example, the control program of the pallet pool line (PPL) function and the drawings related thereto are displayed on the output device such as the CRT even if the end user does not have the function. This makes it difficult for the operator in charge of machine operation to see the screen, and may cause an erroneous operation in some cases. The present invention was devised in view of such problems, and an unnecessary program part is not output to the screen, and only the program part of the functional block to be actually executed is displayed on the screen such as a CRT. The purpose is to provide a sequencer that can be displayed so as not to cause unnecessary confusion to the operator in charge of machine operation.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は前記の目的を達成するために、それぞれの機能単位毎にブロック化さ れてプログラミングされ、メモリに記憶されたシーケンスプログラムを搭載し、 この搭載されたシーケンスプログラムに基づいて機械加工を行うシーケンサにお いて、前記、機能単位毎にブロック化されてメモリに記憶されたシーケンスプロ グラムの、各機能ブロックの先頭アドレスにフラグビット部を設け、前記各機能 ブロックのなかで制御の対象として実行されるべき機能ブロックのプログラムを 選択し、この選択により前記フラグビット部のフラグを立てるパラメータ設定部 と、このパラメータ設定部によって立てられたフラグをサーチし、このサーチに より選択された各機能ブロックのプログラムのみを実行するようにシーケンサを 制御する制御部とを備える構成とするものである。 In order to achieve the above-mentioned object, the present invention is equipped with a sequence program that is programmed by being divided into blocks for each functional unit and stored in a memory, and performs machining based on the installed sequence program. In the sequencer, a flag bit part is provided at the start address of each function block of the sequence program that is divided into blocks for each function unit and stored in the memory, and is executed as a control target in each of the function blocks. The program of the functional block to be executed is selected, the parameter setting section for setting the flag of the flag bit section and the flag set by the parameter setting section are searched by this selection, and each functional block selected by this search Control unit that controls the sequencer to execute only the specified program It is an arrangement comprising a.

【0005】[0005]

【作 用】[Work]

先ず、シーケンスプログラムの作成にあたっては、シーケンサによって実現さ れるべき各機能ごとにブロック化してプログラミングする。この場合、各機能ブ ロックの先頭アドレス部分にフラグビット部を設ける。パラメータ設定手段にお いては制御の対象とならない不要な機能ブロック部分のプログラムを省いて、実 行されるべき機能ブロックのプログラムのみを選択できるようにパラメータを指 定する。この指定が行われると、該当する機能ブロックのフラグビットが1とな り、フラグが立った状態になる。制御部においては、このフラグビット部のフラ グが立っている機能ブロックのプログラムのみを選択的に実行することによりシ ーケンサを制御する。このようにすることにより、パラメータ設定手段によって 選択されなかった機能ブロック部分のプログラム等がCRTの画面に出力される ことがなくなる。 First, when creating a sequence program, each function to be realized by the sequencer is divided into blocks and programmed. In this case, a flag bit part is provided at the head address part of each function block. In the parameter setting means, the program of the unnecessary function block part that is not the control target is omitted, and the parameter is specified so that only the program of the function block to be executed can be selected. When this designation is made, the flag bit of the corresponding functional block becomes 1, and the flag is set. The control section controls the sequencer by selectively executing only the program of the functional block in which the flag of the flag bit section is set. By doing so, the program of the functional block portion which is not selected by the parameter setting means will not be output to the screen of the CRT.

【0006】[0006]

【実施例】【Example】

以下、本考案の一実施例を図面に基づいて説明する。 図1は本考案の装置構成を示す要部ブロック図である。図において、1は中央 処理装置(以下CPUと称する)である。このCPU1にはメインバス1′を介 してCRTやキーボード等が接続されるデータ入出力制御部2,各種の機器を接 続するためのI/Oインタフェース3,NC装置と接続するためのNCインタフ ェース4,AC100ボルト電源入力用の電源ユニット5,プリンタやフロッピ ーディスク(FD),紙テープ読み取り機(PTR)等を接続するためのI/O ユニット6および7が接続され、さらにこのシーケンサを制御するための制御プ ログラムを記憶するメモリであるROM10,シーケンスプログラムを記憶する ためのRAM9,所望する機能ブロックのプログラムを選択するためのパラメー タを記憶するRAM8が接続されている。 An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of essential parts showing a device configuration of the present invention. In the figure, reference numeral 1 is a central processing unit (hereinafter referred to as CPU). A data input / output control unit 2 to which a CRT, a keyboard and the like are connected to the CPU 1 via a main bus 1 ', an I / O interface 3 for connecting various devices, and an NC for connecting to an NC device. Interface 4, Power supply unit for AC 100 volt power input 5, I / O units 6 and 7 for connecting printer, floppy disk (FD), paper tape reader (PTR), etc. are connected, and this sequencer is controlled. A ROM 10 which is a memory for storing a control program for executing the program, a RAM 9 for storing a sequence program, and a RAM 8 for storing a parameter for selecting a program of a desired functional block are connected.

【0007】 図2は本考案のシーケンスプログラムの構成を示すものであり、このシーケン スプログラムにはエンドユーザの要求する多種多様な機能を全て網羅したものと して作成されている。すなわち、図のように先頭に共通部分のプログラムがおか れ、この後に機能Aプログラムから機能Eプログラムまでの各機能毎にブロック 化されたプログラムが続く構成となっている。 図4はかかるシーケンスプログラムの具体的なメモリマップを示している。こ の例においては、各機能プログラムの直前にアドレス番号C××××にて示す機 能プログラムのフラグビットがそれぞれ設けられている。すなわち、機能Aプロ グラムの直前にはアドレス番号C0000にて示す機能Aフラグビットが設けら れ、以下アドレス番号C0FFFまでが機能Aのプログラムである。つぎに、こ の機能Aプログラムに連続してアドレス番号C1000にて示す機能Bフラグビ ットがあり、この後、アドレス番号C1FFFまでが機能Bプログラムとなる。 以下同様にして機能Eプログラムがアドレス番号C4FFFまで続いている。FIG. 2 shows the structure of the sequence program of the present invention, and this sequence program is created to cover all the various functions required by the end user. That is, as shown in the figure, the common part of the program is placed at the beginning, followed by the blocked programs for each function from the function A program to the function E program. FIG. 4 shows a specific memory map of such a sequence program. In this example, the flag bit of the function program indicated by the address number Cxxx is provided immediately before each function program. That is, the function A flag bit indicated by the address number C0000 is provided immediately before the function A program, and the program up to the address number C0FFF is the function A program. Next, this function A program is followed by a function B flag bit indicated by address number C1000. After that, the function B program is executed up to the address number C1FFF. Similarly, the function E program continues up to the address number C4FFF.

【0008】 図3はこの各機能ごとにブロックされて作成されたシーケンスプログラムがパ ラメータの設定によって選択され、表示される状態を説明するものであり、例え ばこの例においては機能Aと機能Cのプログラムがパラメータの設定により選択 されて有効となり、メモリの先頭に記載される各機能の共通のプログラム部分と ともに表示されることになり、他の機能B,D,E,の各プログラムは表示され ない。FIG. 3 illustrates a state in which the sequence program created by blocking each function is selected and displayed by setting the parameters. For example, in this example, the function A and the function C are displayed. The program of is selected and enabled by the parameter setting and is displayed together with the common program part of each function described at the beginning of the memory, and the programs of other functions B, D, E are displayed. Not done.

【0009】 以上のように構成されるシーケンサにおいて、先ず、前記キーボードから必要 とされる機能ブロックのプログラムを選択するためにパラメータの入力を行う。 (以下、図1参照)この入力されたパラメータはCPU1の制御のもとに、この パラメータ記憶用メモリであるRAM8に記憶される。このパラメータの設定が 行われた状態において、前記のようにそれぞれのメモリすなわちROM10には シーケンサ制御用のプログラムが記憶されており、RAM9には各機能別にブロ ック化されて作成されたシーケンスプログラムが記憶されている。In the sequencer configured as described above, first, parameters are input from the keyboard to select a program for a required functional block. (Hereinafter, refer to FIG. 1) The input parameters are stored in the RAM 8 which is a memory for storing the parameters under the control of the CPU 1. With this parameter set, the sequencer control programs are stored in the respective memories, that is, the ROM 10 as described above, and the sequence programs created by blocking each function in the RAM 9 are created. Is remembered.

【0010】 図5はこのようにパラメータの設定が終わったシーケンサの処理手順を説明す るフローチャートである。図において、キーボードの操作によりシーケンサの実 行を指令すると、制御部としてのCPU1の制御によりパラメータを記憶するメ モリ8がサーチされて実行されるべきプログラムがどれであるかを読み取る(ス テップS1)。このサーチにより実行されるべき機能ブロックのプログラムのフ ラグビットを1にしてフラグを立てる(ステップS2)。ついでシーケンスプロ グラムを読み取り(ステップS3)、前記ステップS2でフラグビット部にフラ グが立てられた機能ブロックのプログラムのみを選択的に、所定回数繰り返し実 行して(ステップS4)、終了となる。 このように、パラメータの設定が行われず、当該シーケンサにとって不要部分 のプログラムは無視されて実行されないのでCRT等の画面に表示されることが ない。FIG. 5 is a flowchart for explaining the processing procedure of the sequencer in which the parameters have been set in this way. In the figure, when the execution of the sequencer is instructed by operating the keyboard, the memory 8 for storing the parameters is searched by the control of the CPU 1 as a control unit and the program to be executed is read (step S1). ). The flag bit of the program of the functional block to be executed by this search is set to 1 to set a flag (step S2). Next, the sequence program is read (step S3), and only the program of the functional block having the flag bit portion flagged in step S2 is selectively executed repeatedly for a predetermined number of times (step S4), and the processing ends. .. In this way, parameters are not set and unnecessary programs for the sequencer are ignored and not executed, so they are not displayed on the screen of the CRT or the like.

【0011】[0011]

【考案の効果】[Effect of the device]

以上の説明のように、この考案によればシーケンサに搭載されるシーケンスプ ログラムを各機能ごとにブロック化して作成し、各ブロックの先頭アドレス部分 にフラグビット部を設け、パラメータの設定によりフラグを操作し、この操作さ れたフラグに基づいてプログラムを選択的に実行することが可能となる。したが って、実行されないプログラム部分がCRTに出力されることがなくなるので表 示画面が見やすくなり操作担当のオペレータに無用の混乱を与えることがないシ ーケンサを実現できる。したがってまた本考案によれば、多種多様な仕様を盛り 込んだマスタープログラムともいうべきシーケンスプログラムを一本作成してお けば、総てのシーケンサに搭載可能となり、仕様の異なるごとに行われるべきシ ーケンスプログラムの書換えが不要となって、その分の製造工数を減少させるこ とができるようになる。 As described above, according to the present invention, the sequence program installed in the sequencer is created by dividing it into blocks for each function, the flag bit part is provided at the head address part of each block, and the flag is set by setting the parameters. It becomes possible to operate and selectively execute the program based on the operated flag. Therefore, the part of the program that is not executed is not output to the CRT, so that the display screen is easy to see and a sequencer that does not cause unnecessary confusion to the operator in charge of operation can be realized. Therefore, according to the present invention, if one sequence program, which should be called a master program including various specifications, is created, it can be installed in all sequencers and should be performed for each different specification. Rewriting the sequence program is not necessary, and the manufacturing man-hour can be reduced accordingly.

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

【図1】本考案の装置構成を示す要部ブロック図であ
る。
FIG. 1 is a block diagram of essential parts showing a device configuration of the present invention.

【図2】本考案のシーケンスプログラムの構成を示す図
である。
FIG. 2 is a diagram showing a configuration of a sequence program of the present invention.

【図3】各機能ごとにブロックされて作成されたシーケ
ンスプログラムがパラメータの設定によって選択され表
示される状態を説明する図である。
FIG. 3 is a diagram illustrating a state in which a sequence program created by blocking each function is selected and displayed by setting parameters.

【図4】機能ブロックごとに作成されたプログラムの具
体的なメモリマップを示す図である。
FIG. 4 is a diagram showing a specific memory map of a program created for each functional block.

【図5】パラメータの設定が終わったシーケンサの処理
手順を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a processing procedure of a sequencer whose parameters have been set.

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

1・・中央処理装置(CPU) 1′・メインバス 2・・データ入出力制御部 3・・I/Oインタフェース 4・・NCインタフェース 5・・電源ユニット 6・・I/Oインタフェース 7・・I/Oインタフェース 8・・RAM 9・・RAM 10・ROM 1 ... Central processing unit (CPU) 1 '. Main bus 2. Data input / output control unit 3 ... I / O interface 4 ... NC interface 5 ... Power supply unit 6 ... I / O interface 7 ... I / O interface 8 ... RAM 9 ... RAM 10 ROM

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 それぞれの機能単位毎にブロック化され
てプログラミングされ、メモリに記憶されたシーケンス
プログラムを搭載し、この搭載されたシーケンスプログ
ラムに基づいて機械加工が行われるシーケンサにおい
て、 前記、機能単位毎にブロック化されてメモリに記憶され
たシーケンスプログラムの、各機能ブロックの先頭アド
レスにフラグビット部を設け、 前記各機能ブロックのなかで制御の対象として実行され
るべき機能ブロックのプログラムを選択し、この選択さ
れた機能ブロックの前記フラグビット部のフラグを立て
るパラメータ設定部と、 このパラメータ設定部によって立てられたフラグをサー
チし、このサーチにより選択された各機能ブロックのプ
ログラムのみを実行するようにシーケンサを制御する制
御部とを備えたことを特徴とするシーケンサ。
1. A sequencer in which each functional unit is programmed into a block and programmed, and a sequence program stored in a memory is installed, and machining is performed based on the installed sequence program, wherein the functional unit A flag bit portion is provided at the head address of each functional block of the sequence program that is divided into blocks and stored in the memory, and the program of the functional block to be executed as a control target is selected from among the functional blocks. , A parameter setting unit that sets a flag of the flag bit unit of the selected function block, and a flag set by the parameter setting unit are searched, and only the program of each function block selected by this search is executed. And a control unit for controlling the sequencer A sequencer characterized by that.
JP8084891U 1991-10-04 1991-10-04 Sequencer Pending JPH0533202U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8084891U JPH0533202U (en) 1991-10-04 1991-10-04 Sequencer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8084891U JPH0533202U (en) 1991-10-04 1991-10-04 Sequencer

Publications (1)

Publication Number Publication Date
JPH0533202U true JPH0533202U (en) 1993-04-30

Family

ID=13729772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8084891U Pending JPH0533202U (en) 1991-10-04 1991-10-04 Sequencer

Country Status (1)

Country Link
JP (1) JPH0533202U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146241B2 (en) 2003-11-13 2006-12-05 Nippei Toyama Corporation Machine tool control apparatus
JP2015187894A (en) * 2009-09-21 2015-10-29 フィッシャー−ローズマウント システムズ,インコーポレイテッド Methods and apparatus to manage module run sequences in process control environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146241B2 (en) 2003-11-13 2006-12-05 Nippei Toyama Corporation Machine tool control apparatus
JP2015187894A (en) * 2009-09-21 2015-10-29 フィッシャー−ローズマウント システムズ,インコーポレイテッド Methods and apparatus to manage module run sequences in process control environment

Similar Documents

Publication Publication Date Title
US6411858B1 (en) Method of and apparatus for automatically generating control programs for computer controlled system
JP2916796B2 (en) CNC device for controlling multiple machine tools
US4692871A (en) Input device for sewing machine
JPH01308185A (en) Motor controller
JPH103307A (en) Numerical controller
JPH0533202U (en) Sequencer
GB2109130A (en) Method of controlling indexing of magazine pockets in a machining centre
JPS58181108A (en) Numerical control system
JPS6232805B2 (en)
JP2942812B2 (en) Device for creating a variant and variable production program
JP2728256B2 (en) Numerical control method
JPH0122106B2 (en)
US5263166A (en) Technique of programming integrated circuit control registers
JPH04217009A (en) Method for teaching work program
JP4261710B2 (en) NC machining equipment
JP2642451B2 (en) Numerical control unit
JP3259987B2 (en) Interactive numerical controller
EP0407611A1 (en) Automatic programming apparatus
JPH064214B2 (en) Machining sequence control method for numerically controlled machine tools
JPH01159704A (en) Numerical controller
JPH0619655B2 (en) Method of inserting NC program into digitizing data
KR100521857B1 (en) Unmanned machining control method of machine tool
JPH04330503A (en) Programming device for programmable controller
JPH04330532A (en) Programmable controller
JPH0883113A (en) Controller for nc machine tool