JPS62293305A - Software developing device for fa controller - Google Patents

Software developing device for fa controller

Info

Publication number
JPS62293305A
JPS62293305A JP13575586A JP13575586A JPS62293305A JP S62293305 A JPS62293305 A JP S62293305A JP 13575586 A JP13575586 A JP 13575586A JP 13575586 A JP13575586 A JP 13575586A JP S62293305 A JPS62293305 A JP S62293305A
Authority
JP
Japan
Prior art keywords
controller
software development
control program
developing device
control
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
JP13575586A
Other languages
Japanese (ja)
Inventor
Nariyuki Oonishi
大西 作幸
Atsushi Mase
間瀬 篤
Akira Sugiyama
彰 杉山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13575586A priority Critical patent/JPS62293305A/en
Publication of JPS62293305A publication Critical patent/JPS62293305A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To develop the software of an FA controller just with a single software developing device by separating the controller of the FA controller from the developing device and performing the control program editing job and the debug processing through the software developing device. CONSTITUTION:At the time of an editing operation, an editor 24a is loaded to a RAM 26 from an auxiliary storage device 24 and then a control program 24d is loaded to be edited by a compiler 24c. Then an object 24e is produced by the device 24 as long as no compiling error is detected. At the time of a debug processing, a relevant FA controller 11 is connected with a software developing device 12. Then the object 24e is loaded to a RAM 26' of the controller 11 from the device 24 through interfaces 27 and 27'. An operator stops forcibly the program execution or performs the debug processing to change programs and substitute data, etc., with the input received from a keyboard 23 while looking at a CRT 22 after the run of the program 24d is started.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は、本体とは分離した装置で、ソフトウェアを
開発することを可能としたFAコントローラのソフトウ
ェア開発装置lこ関するものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] This invention provides a software development device for an FA controller that is a device separate from the main body and enables software development. It is related to

〔従来の技術〕[Conventional technology]

第4図は従来のFAコントローラを示す溝成図である。 FIG. 4 is a diagram showing a conventional FA controller.

図において、41はFAコントローラ、42.43はF
Aコントローラ41が制御できるNC(数値制御)工作
機械(NC)、プログラマブルコントローラ(PC)で
ある。
In the figure, 41 is the FA controller, 42.43 is the F
These are an NC (numerical control) machine tool (NC) and a programmable controller (PC) that can be controlled by the A controller 41.

第5図は、第4図のFAコントローラを示すブロック図
である。図において、51は中央処理装置(CPU)、
52はCRT、53はキーボード(KEY’)、54は
補助記憶装置、54aはエディタ、54bはデバッガ、
54cはコンパイラ、54dは制御プログラム、54e
は制御プログラム54dをコンパイルしたことに、よっ
て生成されるオブジェクト、55はROM、56はRA
M。
FIG. 5 is a block diagram showing the FA controller of FIG. 4. In the figure, 51 is a central processing unit (CPU);
52 is a CRT, 53 is a keyboard (KEY'), 54 is an auxiliary storage device, 54a is an editor, 54b is a debugger,
54c is a compiler, 54d is a control program, 54e
is an object generated by compiling the control program 54d, 55 is a ROM, and 56 is an RA.
M.

57はインタフェース(SIO)である。57 is an interface (SIO).

次に、上記従来のFAコントローラの動作について説明
する。一般4こ、FAコントローラ41は各FAコント
ローラ41ごとにNC工作機械42゜プログラマブルコ
ントローラ43などを接続し、制御プログラム54dに
よって制御する。このような制御プログラム54dの編
集処理、デバッグ処理を以下に述べる。
Next, the operation of the above conventional FA controller will be explained. Generally speaking, the FA controller 41 is connected to an NC machine tool 42° programmable controller 43, etc. for each FA controller 41, and is controlled by a control program 54d. Editing processing and debugging processing of the control program 54d will be described below.

従来のFAコントローラ41では、編集処理。The conventional FA controller 41 performs editing processing.

デバッグ処理を行う際は、いったんラインを停止して行
う。まず、編集作業においては、補助記憶装置54に記
憶されているエディタ54aがRAM56に読み出され
、次に制御プログラム54dもRAM56に読み出され
る。作業者はCRT52を見ながらキーボード53.エ
ディタ54aを利用して制御プログラム54dの編集を
行う。編集作業の終了後に、コンパイラ54cによって
制御プログラム54dをコンパイルし、補助記憶装置5
4上にオブジェクト54e)E−生成する。
When debugging, stop the line once. First, in the editing work, the editor 54a stored in the auxiliary storage device 54 is read out to the RAM 56, and then the control program 54d is also read out to the RAM56. The worker looks at the CRT 52 and uses the keyboard 53. The control program 54d is edited using the editor 54a. After the editing work is completed, the compiler 54c compiles the control program 54d and stores it in the auxiliary storage device 5.
Object 54e) E-generate on 4.

次に、デバッグ作業においては、オブジェクト5411
、制御プログラム54dをデバッグするために使われる
プログラム、すなわち、デバッガ54bと共にRAM5
6に読み出してデバッグを行う。作業者はCRT52を
見ながらキーボード53のキー人力によって制御プログ
ラム54dを実行又は強制停止させたり、現在実行中の
プログラム行番号、変数などの表示、変更を行い、また
、新しいデータの代入などのデパック処理を上記デバッ
ガ54bを使用して行う。
Next, in debugging work, the object 5411
, a program used to debug the control program 54d, that is, the RAM 5 together with the debugger 54b.
6 and perform debugging. While looking at the CRT 52, the operator manually executes or forcibly stops the control program 54d using the keys on the keyboard 53, displays and changes the currently running program line number and variables, and performs depacking such as assigning new data. The processing is performed using the debugger 54b.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来のFAコントローラは以上のように構成されて
いるので、各FAコントローラ4ごとにCRT52.補
助記憶装置54などのソフトウェア開発装置を必要とす
るために、コストが高くつき、また、ラインの制御プロ
グラム54dの編集。
Since the above conventional FA controller is configured as described above, each FA controller 4 has a CRT 52. The cost is high because a software development device such as the auxiliary storage device 54 is required, and editing of the line control program 54d is required.

コンパイル作業でさえも生産ラインを停止させて実行し
なければならず、稼動率が低下するなどの問題点があっ
た。
Even compiling work had to be carried out with the production line stopped, leading to problems such as lower operating rates.

この発明は、かかる問題点を解決するためになされたも
ので、複数台のFAコントローラのデバッグ、ラインの
制御プログラムの編集、コンパイル作業ができると共に
、中央処理装置の負荷を減少させ、また、生産ラインの
稼動率を上げることができるFAコントローラのソフト
ウェア開発装置を得ることを目的とする。
This invention was made to solve these problems, and it is possible to debug multiple FA controllers, edit and compile line control programs, reduce the load on the central processing unit, and improve productivity. The object of the present invention is to obtain a software development device for an FA controller that can increase the operating rate of a line.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るFAコントローラのソフトウェア開発装
置は、制御管理機能を実行する制御装置として、CPU
、ROM、RAM、SIOなどの制御機能部分と、制御
・g理処理を行うプログラムの編集及びデバッグを実行
するソフトウェア開発装置として、CRT、キーボード
、補助記憶装置などのソフトウェア開発機能部分とを分
離したものである。
The FA controller software development device according to the present invention uses a CPU as a control device that executes a control management function.
As a software development device that edits and debugs programs that perform control and processing, the control function parts such as ROM, RAM, and SIO are separated from the software development function parts such as CRT, keyboard, and auxiliary storage device. It is something.

〔作用〕[Effect]

この発明のFAゴルトローラのソフトウェア開発装置に
おいては、FAコントローラの制御装置とソフトウェア
開発装置とを分離することにより、各FAコントローラ
ξこ対応する制御プログラムを補助記憶装置に記憶させ
て置き、生産現場とは別な場所でもラインの制御プログ
ラムの編集、コンパイルなどのソフトウェア開発を行う
ことができ、また、対象のFAコントローラに接続する
ことによって、1台のソフトウェア開発装置で複数台の
FAコントローラのソフトウェア開発を行う。
In the FA gold roller software development device of the present invention, by separating the FA controller control device and the software development device, the control program corresponding to each FA controller ξ is stored in the auxiliary storage device, and the production site and You can perform software development such as editing and compiling line control programs even in a separate location, and by connecting to the target FA controller, you can develop software for multiple FA controllers with one software development device. I do.

〔実施例〕〔Example〕

第1図はこの発明の一実施例であるFAコントローラを
示す構成図である。図において、11は制御装置、12
は従来のFAコントローラからCRT、キーボード、補
助記憶装置などを分離し、プログラミング機能を備えた
ソフトウェア開発装置である。
FIG. 1 is a configuration diagram showing an FA controller which is an embodiment of the present invention. In the figure, 11 is a control device, 12
is a software development device that separates the CRT, keyboard, auxiliary storage device, etc. from a conventional FA controller and has a programming function.

第2図は、第1図のFAコントローラにおける制御装置
及びソフトウェア開発装置を示すブロック図である。図
において、21.21’は中央処理装置(CPU)、2
2はCRT、23はキーボード(KEY)、24は補助
記憶装置、241Lはエディタ、24bはデバッガ、2
4Cはコンパイラ、24dは制御プログラム、24eは
制御プログラム24dをコンパイルしたことによって生
成されるオブジェクト、25 、25’はROM、26
.26’はRAM、27.27’はインタフェース(S
IO)である。
FIG. 2 is a block diagram showing a control device and a software development device in the FA controller of FIG. 1. In the figure, 21.21' is the central processing unit (CPU), 2
2 is a CRT, 23 is a keyboard (KEY), 24 is an auxiliary storage device, 241L is an editor, 24b is a debugger, 2
4C is a compiler, 24d is a control program, 24e is an object generated by compiling the control program 24d, 25 and 25' are ROMs, 26
.. 26' is RAM, 27.27' is interface (S
IO).

第3図は、第1図のFAコントローラにおいて、オブジ
ェクトモジュールの生成を説明するためのフローチャー
トである。
FIG. 3 is a flowchart for explaining the generation of object modules in the FA controller of FIG. 1.

次に、上記この発明の一実施例であるFAコントローラ
の動作番こついて説明する。この発明によるFAコント
ローラにおいて、制御プログラムの編集、コンパイルの
際には、ソフトウェア開発装置上で行う。このために、
その作業においてはラインを停止しなくても済む。そこ
で、第1図に示すFAコントローラについて、制御プロ
グラムの編集、実行モジュールの生成の動作を、第2図
及び第3図を用いて説明する。
Next, the operation sequence of the FA controller which is an embodiment of the present invention will be explained. In the FA controller according to the present invention, the control program is edited and compiled on the software development device. For this,
There is no need to stop the line for this work. Therefore, the operations of editing a control program and generating an execution module for the FA controller shown in FIG. 1 will be described with reference to FIGS. 2 and 3.

さて、編集作業は、初めにステップGl)において制御
プログラム24dのロードが行われ、補助配憶装置24
からRAM26に、まず、エディタ24aがロードされ
、次に制御プログラム24dがロードされる。そして、
ステップ6つにおいて制御プログラム24dの編集が行
われ、次にステップ(ハ)においてコンパイラ24cに
より制御プログラム24dがコンパイルされる。モジ、
コンノぞイルエラーが無いならば、ステップ(財)lこ
おいてオブジェクト24@が補助記憶装置24に生成さ
れる。上記従来装置では、ここまでの作業もラインを停
止し、FAコントローラ上で行っていた。この発明によ
るFAコントローラにおいて、デバッグ処理の際には、
デバッグ対象となるFAコントローラとソフトウェア開
発装置とを接続して行う。
Now, in the editing work, first, in step Gl), the control program 24d is loaded, and the auxiliary storage device 24
First, the editor 24a is loaded into the RAM 26, and then the control program 24d is loaded. and,
The control program 24d is edited in six steps, and then in step (c) the control program 24d is compiled by the compiler 24c. Moji,
If there is no error, an object 24@ is generated in the auxiliary storage device 24 in step l. In the conventional apparatus described above, the work up to this point was also performed on the FA controller with the line stopped. In the FA controller according to the present invention, during debug processing,
This is done by connecting the FA controller to be debugged and the software development device.

次に、第2図においてデバッグ処理の動作について説明
する。上記実行モジュールの生成作業によって得られた
オブジェクト24eを、補助記憶装置24からインタフ
ェース27 、27’を通してFAコントローラの制御
装置11のRAM26’にロードする。作業員は制御プ
ログラム24dの実行開始後に、CRT22を見ながら
キーボード23からの入力lこよって、プログラム実行
を強制停止させたり、現在実行中のプログラム行番号、
変数などの光示、変更を行い、また、新しいデータの代
入などのデバッグ処理を行う。
Next, the operation of debugging processing will be explained with reference to FIG. The object 24e obtained by the execution module generation work is loaded from the auxiliary storage device 24 into the RAM 26' of the control device 11 of the FA controller through the interfaces 27 and 27'. After starting the execution of the control program 24d, the operator inputs information from the keyboard 23 while looking at the CRT 22 to forcibly stop the program execution or change the line number of the program currently being executed.
Displays and changes variables, and performs debugging such as assigning new data.

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

この発明は以上説明したとおり、FAコントローラの制
御装置とソフトウェア開発装置とを分離し、このソフト
ウェア開発装置により制御プログラムの編集処理、デバ
ッグ処理ができるようにしたので、現場に複数台のFA
コントローラが存在していても、1台のソフトウェア開
発装置で事足りるためにFAコントローラシステムが安
価にでき、また、ソフトウェア開発装置が分離されてい
るために、制御プログラムの編集、コンパイルに関して
はラインを停止させる必要がなく、生産ラインの稼動率
を上げることができるなどの優れた効果を奏するもので
ある。
As explained above, this invention separates the control device of the FA controller and the software development device, and allows the software development device to edit and debug the control program.
Even if a controller is present, the FA controller system can be made inexpensive because one software development device is sufficient, and since the software development device is separated, the line can be stopped for editing and compiling the control program. This has excellent effects such as increasing the operating rate of the production line.

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

第1図はこの発明の一実施例であるFAコントローラを
示す構成図、第2図は、第1図のFAコントローラにお
ける制御装置及びソフトウェア開発装置を示すブロック
図、第3図は、第1図のFAコントローラにおいて、オ
ブジェクトモジュールの生成を説明するためのフローチ
ャート、第4図は従来のFAコントローラを示す構成図
、第5図は、第4図のFAコントローラを示すブロック
図である。 図において、11・・・制御装置、12・・・ソフトウ
ェア開発装置、21.21’、51・・・中央処理装置
(CPU)、22.52・・・CRT、23.53・・
・キーボード(KEY)、24.54・・・補助記憶装
置、24a、54a−xディグ、24b、54b・・・
デバッガ、24c、54c・・・コンパイラ、24d、
54d・・・制御プログラム、24e、54e・・・オ
ブジェクト、25.25’、55・・・ROM、26゜
26′、56・・・RAM、27.27’、57・・・
インタフェース(SIO)、(3U〜C341・・・ス
テップ、41・・・FAコントローラ、42・・・NC
工作機械(NC)、43・・・プログラマブルコントロ
ーラ(PC)である。 なお、各図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing an FA controller which is an embodiment of the present invention, FIG. 2 is a block diagram showing a control device and software development device in the FA controller of FIG. 1, and FIG. FIG. 4 is a block diagram showing the conventional FA controller, and FIG. 5 is a block diagram showing the FA controller of FIG. 4. In the figure, 11...Control device, 12...Software development device, 21.21', 51...Central processing unit (CPU), 22.52...CRT, 23.53...
・Keyboard (KEY), 24.54...Auxiliary storage device, 24a, 54a-x dig, 24b, 54b...
Debugger, 24c, 54c...Compiler, 24d,
54d...Control program, 24e, 54e...Object, 25.25', 55...ROM, 26°26', 56...RAM, 27.27', 57...
Interface (SIO), (3U~C341...Step, 41...FA controller, 42...NC
Machine tool (NC), 43... programmable controller (PC). In each figure, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] NC工作機械の郡制御、プログラマブルコントローラを
使用したライン制御、及び自動倉庫などの管理をするF
Aコントローラにおいて、制御管理機能を実行する制御
装置と、制御管理処理を行うプログラムの編集及びデバ
ッグを実行するソフトウェア開発装置とに分離し、この
ソフトウェア開発装置を開発対象の前記制御装置に選択
接続することによって、複数台のFAコントローラのソ
フトウェア開発を行うことを特徴とするFAコントロー
ラのソフトウェア開発装置。
F for group control of NC machine tools, line control using programmable controllers, and management of automated warehouses, etc.
The A controller is separated into a control device that executes a control management function and a software development device that edits and debugs a program that performs control management processing, and this software development device is selectively connected to the control device to be developed. A software development apparatus for an FA controller, characterized in that software development for a plurality of FA controllers is carried out.
JP13575586A 1986-06-11 1986-06-11 Software developing device for fa controller Pending JPS62293305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13575586A JPS62293305A (en) 1986-06-11 1986-06-11 Software developing device for fa controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13575586A JPS62293305A (en) 1986-06-11 1986-06-11 Software developing device for fa controller

Publications (1)

Publication Number Publication Date
JPS62293305A true JPS62293305A (en) 1987-12-19

Family

ID=15159105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13575586A Pending JPS62293305A (en) 1986-06-11 1986-06-11 Software developing device for fa controller

Country Status (1)

Country Link
JP (1) JPS62293305A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01274202A (en) * 1988-04-27 1989-11-02 Japan Tobacco Inc Loop controller
JPH0256004A (en) * 1988-08-22 1990-02-26 Kobe Steel Ltd Robot control system
JPH0362202A (en) * 1989-07-31 1991-03-18 Japan Electron Control Syst Co Ltd Control program developing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866109A (en) * 1981-10-16 1983-04-20 Hitachi Ltd Instruction word processing method
JPS61110204A (en) * 1984-11-02 1986-05-28 Hitachi Ltd Controlling method of automated device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866109A (en) * 1981-10-16 1983-04-20 Hitachi Ltd Instruction word processing method
JPS61110204A (en) * 1984-11-02 1986-05-28 Hitachi Ltd Controlling method of automated device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01274202A (en) * 1988-04-27 1989-11-02 Japan Tobacco Inc Loop controller
JPH0256004A (en) * 1988-08-22 1990-02-26 Kobe Steel Ltd Robot control system
JPH0362202A (en) * 1989-07-31 1991-03-18 Japan Electron Control Syst Co Ltd Control program developing device

Similar Documents

Publication Publication Date Title
US5177420A (en) Method of and apparatus for generating control program
US6442441B1 (en) Method of automatically generating and verifying programmable logic controller code
JP2008165821A (en) Control method of machine tool and device therefor
EP2417498A1 (en) Method for automatically partitioning a part program into fundamental operations
Bourne CML: a meta-interpreter for manufacturing
JPS62293305A (en) Software developing device for fa controller
CN101561779A (en) Debugging method and debugger
CN111993419B (en) PDPS-based robot offline manufacturing method and device and computer terminal equipment
CN108788772B (en) Work-piece processing system
KR100205337B1 (en) N.c program simulation device and method
JPH10247142A (en) System and method for programming process control program
JPH1083213A (en) Method for generating machining data
Vyatkin et al. Software environment for automated verification of distributed industrial controllers following IEC61499
US20040215355A1 (en) Modular system and method for programming machine automation controls
JPS6232503A (en) Numerical controller
JP2533372B2 (en) Control program creation method
US20040049622A1 (en) Programming tool
JPH04343689A (en) Numerically controlled device for robot
Adlemo et al. Debugging support for flexible manufacturing systems
JPH04145529A (en) Method for automatically generating robot program
KR19990061516A (en) How to execute debugging command in electronic exchange
Da Costa et al. PEGASUS, A New Programming Method
JPS6232557A (en) Communication protocol converter
JPH0219903A (en) Working program analyzing system
JPH0346007A (en) Nc information generation system