JPH01134502A - Pc off-line executing system - Google Patents
Pc off-line executing systemInfo
- Publication number
- JPH01134502A JPH01134502A JP29291787A JP29291787A JPH01134502A JP H01134502 A JPH01134502 A JP H01134502A JP 29291787 A JP29291787 A JP 29291787A JP 29291787 A JP29291787 A JP 29291787A JP H01134502 A JPH01134502 A JP H01134502A
- Authority
- JP
- Japan
- Prior art keywords
- offline
- sequence program
- programmer
- machine
- input
- 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 claims description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はPCのオフライン実行方式に関し、特にターゲ
ット・マシンとオフライン・プログラマを結合してシー
ケンスプログラムを実行するPCのオフライン実行方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an offline execution method for a PC, and more particularly to an offline execution method for a PC in which a target machine and an offline programmer are combined to execute a sequence program.
数値制御工作機械等のシーケンスプログラムをデパック
するのに、プログラムの完成前に実際にターゲット・マ
シンに接続してシーケンスプログラムをチエツクしたり
、或いはオフライン・プログラムのみでチエツクする方
法が採用されている。In order to depack a sequence program for a numerically controlled machine tool, etc., a method is adopted in which the sequence program is actually connected to the target machine and checked before the program is completed, or the sequence program is checked only using an offline program.
しかし、ターゲット・マシンに直接結合してデバッグす
ると、シーケンスプログラムの誤りによって、ターゲッ
ト・マシンを暴走させ、ターゲット・マシンを破損させ
たり、オペレータを危険にさらすこととなる。However, if the program is directly connected to the target machine for debugging, an error in the sequence program may cause the target machine to run out of control, causing damage to the target machine or endangering the operator.
また、オフライン・プログラマ単独のデバッグでは、外
部からの入出力信号が完全でないためにシーケンスプロ
グラムを実際の機械と結合した状態でのチエツクが完全
ではないし、動作させることが困難な場合もある。In addition, when debugging with an offline programmer alone, the input/output signals from the outside are not perfect, so checking the sequence program when it is connected to the actual machine is not complete, and it may be difficult to operate it.
本発明では上記の問題点を解決するために、PC(プロ
グラマブル・コントローラ)のシーケンスプログラムを
オフラインで実行するPCのオフライン実行方式におい
て、
シーケンスプログラムにオフライン・ダイナミック表示
命令を指令し、
該オフライン・ダイナミック表示命令で、オフライン・
プログラマに結合されたターゲット・マシンから入出力
信号を転送し、
該入出力信号をオフライン・プログラマの表示画面に表
示して、オフラインでシーケンスプログラムを実行する
ことを特徴とするPCのオフライン実行方式が、
提供される。In order to solve the above problems, the present invention provides an offline dynamic display command to the sequence program in a PC offline execution method in which a sequence program of a PC (programmable controller) is executed offline. Offline/offline with display command
A PC offline execution method is characterized in that input/output signals are transferred from a target machine coupled to a programmer, the input/output signals are displayed on a display screen of an offline programmer, and a sequence program is executed offline. , provided.
オフライン・ダイナミック表示命令によって、ターゲッ
ト・マシンからの入出力信号をオフライン・プログラマ
に転送する。Offline dynamic display instructions transfer input/output signals from the target machine to the offline programmer.
プログラマはこの表示を確認しながらシーケンスプログ
ラムのチエツクを行うことができるので、実際の機械の
動作に応じたチエツクが可能になる。Since the programmer can check the sequence program while checking this display, it is possible to check the sequence program according to the actual operation of the machine.
結合されたターゲット・マシンもオフライン・プログラ
マで確認しながら運転されるので、シーケンスプログラ
ムの誤りによる暴走等を防ぐことができる。Since the connected target machine is also operated while being checked by an offline programmer, it is possible to prevent a runaway due to an error in the sequence program.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図に本発明の一実施例のPCのオフライン実行方式
のブロック図を示す。図において、10はターゲット・
マシンであり、機械11、数値制御装置(CNC)12
、数値制御装置(CNC)12に内蔵された、PMC(
プログラマブル・マシン・コントローラ)から構成され
ている。PMC(プログラマブル・マシン・コントロー
ラ) 13には、シーケンスプログラム14が格納され
ている。15はPMC13から一時、取り出し記憶され
た入出力信号である。16は逆に後述のオフライン・プ
ログラマからの入出力信号である。FIG. 1 shows a block diagram of an offline execution method for a PC according to an embodiment of the present invention. In the figure, 10 is the target
It is a machine, machine 11, numerical control device (CNC) 12
, a PMC (
It consists of a programmable machine controller). A sequence program 14 is stored in the PMC (programmable machine controller) 13 . Reference numeral 15 indicates an input/output signal temporarily taken out from the PMC 13 and stored. Conversely, 16 is an input/output signal from an offline programmer, which will be described later.
20はオフライン・プログラマであり、21はシーケン
スプログラムである。オフライン・プログラマ20によ
って、シーケンスプログラム21を作成する。シーケン
スプログラム21の内部にオフライン・ダイナミック表
示命令22が指令される。20 is an offline programmer, and 21 is a sequence program. A sequence program 21 is created by an offline programmer 20. An offline dynamic display command 22 is issued within the sequence program 21 .
24はオフライン・プログラマ20の表示画面であり、
各入出力信号の表示21、及びラダー形式で作成された
シーケンスプログラム26が表示されている。24 is a display screen of the offline programmer 20;
A display 21 of each input/output signal and a sequence program 26 created in a ladder format are displayed.
次にシーケンスプログラムの作成とデバッグについて述
べる。オフライン・プログラマ20で作成されたシーケ
ンスプログラム21はターゲット・マシン10のPMC
(プログラマブル・マシン・コントローラ)13に転送
する。ターゲット・マシンlOは転送されたシーケンス
プログラム14を実行する。ここで、シーケンスプログ
ラム21とシーケンスプログラム14は同一である。Next, we will discuss the creation and debugging of sequence programs. The sequence program 21 created by the offline programmer 20 is the PMC of the target machine 10.
(Programmable Machine Controller) 13. The target machine IO executes the transferred sequence program 14. Here, the sequence program 21 and the sequence program 14 are the same.
PMC(プログラマブル・マシン・コントローラ)13
はシーケンスプログラム14を実行し、そのなかにオフ
ライン・ダイナミック表示命令22があると、入出力信
号をオフライン・プログラマ20への転送用の入出力信
号15として、記憶し、これをオフライン・プログラマ
20に転送する。PMC (Programmable Machine Controller) 13
executes the sequence program 14, and if there is an offline dynamic display command 22 in it, it stores the input/output signal as the input/output signal 15 for transfer to the offline programmer 20, and transfers this to the offline programmer 20. Forward.
オフライン・プログラマ20は転送された入出力信号を
表示画面25に表示する。転送された信号を特に強調し
たいときは、ラダー形式のシーケンスプログラムの線を
27.28に示すように太くしたり、輝度を強くしたり
して強調することもできる。Off-line programmer 20 displays the transferred input/output signals on display screen 25. If you want to particularly emphasize the transferred signal, you can do so by making the lines of the ladder-type sequence program thicker or increasing the brightness, as shown in 27 and 28.
逆にオフライン・プログラマ20から入出力信号を転送
してこの入出力信号16をPMC(プログラマブル・マ
シン・コントローラ)13側で使用することもできる。Conversely, it is also possible to transfer input/output signals from the offline programmer 20 and use the input/output signals 16 on the PMC (programmable machine controller) 13 side.
このように、ターゲット・マシンからの入出力信号をオ
フライン・プログラマに入力してシーケンスプログラム
の実行ができるので、機械の動作に対応した、シーケン
スプログラムのデバッグができる。In this way, the sequence program can be executed by inputting input/output signals from the target machine to the offline programmer, so the sequence program can be debugged in accordance with the operation of the machine.
上記の説明では、数値制御装置(CNC)に内蔵された
、PMC(プログラマブル・マシン・コントローラ)で
説明したが、別個に設けられたPC(プログラマブル・
コントローラ)等でも同様に適用することができる。ま
た、ラダー形式のシーケンスプログラムのみでなく、他
のPASCAL等の高級言語で作成されたシーケンスプ
ログラムでも、同じように適用することが可能である。In the above explanation, the PMC (programmable machine controller) built into the numerical control unit (CNC) was explained, but the PC (programmable machine controller) installed separately was explained.
The same applies to controllers) etc. Furthermore, the present invention can be applied not only to ladder-format sequence programs but also to sequence programs created in other high-level languages such as PASCAL.
以上説明したように本発明では、オフライン・プログラ
マにターゲット・マシンを結合して、シーケンスプログ
ラム中のオフライン・ダイナミック表示命令によって、
ターゲット・マシン内の入出力信号をオフライン・プロ
グラマに転送するように構成したので、オフライン・プ
ログラマで制御する機械に応じたデバッグが可能になる
。As explained above, in the present invention, a target machine is connected to an offline programmer, and an offline dynamic display instruction in a sequence program is used to
Since the input/output signals within the target machine are configured to be transferred to the offline programmer, debugging can be performed in accordance with the machine controlled by the offline programmer.
第1図は本発明の一実施例のPCのオフライン実行方式
のブロック図である。
1 ’O−−−−−・−一−−−〜−−−・ターゲット
・マシン11−m−−−・−一一一−−−−−機械12
−−−−−−・・−・・数値制御装置(CNC)■3・
・−−−−−−−−−−−−−P M C(プログラマ
ブル・マシンコントローラ)
14−−−−−−−−−−−・−シーケンスプログラム
15−・・−・−・入出力信号
20・−・−・−一−−−−−−・オフライン・プログ
ラマ21−・−m−−−−・−シーケンスプログラム2
2−・−・−−−−一−−・−オフライン・ダイナミッ
ク表示台24−・−・−・−・・・・表示画面
特許出願人 ファナック株式会社
代理人 弁理士 服部毅巖FIG. 1 is a block diagram of a PC offline execution method according to an embodiment of the present invention. 1 'O------・-1----~----・Target Machine 11-m----・-111----Machine 12
---------・・・・Numerical control device (CNC)■3・
・------------- PMC (Programmable Machine Controller) 14--------------- Sequence program 15------ Input/output signal 20・−・−・−1−−−−−−・Offline programmer 21−・−m−−−−・−Sequence program 2
2−・−・−−−−1−−・−Offline dynamic display stand 24−・−・−・−・Display screen patent applicant Fanuc Corporation agent Patent attorney Takeshi Hattori
Claims (1)
ンスプログラムをオフラインで実行するPCのオフライ
ン実行方式において、 シーケンスプログラムにオフライン・ダイナミック表示
命令を指令し、 該オフライン・ダイナミック表示命令で、オフライン・
プログラマに結合されたターゲット・マシンから入出力
信号を転送し、 該入出力信号をオフライン・プログラマの表示画面に表
示して、オフラインでシーケンスプログラムを実行する
ことを特徴とするPCのオフライン実行方式。(1) Executing a PC (programmable controller) sequence program offline In the PC offline execution method, an offline dynamic display command is commanded to the sequence program, and the offline dynamic display command is used to execute the offline
An offline execution method for a PC, characterized in that input/output signals are transferred from a target machine coupled to a programmer, the input/output signals are displayed on a display screen of an offline programmer, and a sequence program is executed offline.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29291787A JPH01134502A (en) | 1987-11-19 | 1987-11-19 | Pc off-line executing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29291787A JPH01134502A (en) | 1987-11-19 | 1987-11-19 | Pc off-line executing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01134502A true JPH01134502A (en) | 1989-05-26 |
Family
ID=17788071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29291787A Pending JPH01134502A (en) | 1987-11-19 | 1987-11-19 | Pc off-line executing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01134502A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5671107A (en) * | 1979-11-13 | 1981-06-13 | Fanuc Ltd | Program check system of programmable sequence controller |
JPS60263210A (en) * | 1984-06-12 | 1985-12-26 | Mitsubishi Electric Corp | Program generating method of numerical control device |
-
1987
- 1987-11-19 JP JP29291787A patent/JPH01134502A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5671107A (en) * | 1979-11-13 | 1981-06-13 | Fanuc Ltd | Program check system of programmable sequence controller |
JPS60263210A (en) * | 1984-06-12 | 1985-12-26 | Mitsubishi Electric Corp | Program generating method of numerical control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0262606A (en) | Cnc diagnosing system | |
JPH10143221A (en) | System and method for supporting development of equipment control program | |
JPH11272310A (en) | Emulation device for programmable controller | |
JPH01134502A (en) | Pc off-line executing system | |
JPH05324022A (en) | Computer connection type robot controller | |
JPH02202604A (en) | External part extending type programmable controller | |
JP2533373B2 (en) | Control program creation method | |
JP7490412B2 (en) | Robot system and control method thereof | |
JPH11134010A (en) | Program executing method of programmable controller | |
KR100221491B1 (en) | Method for controlling dual robot | |
JP2533370B2 (en) | Control program creation method | |
JPS59140515A (en) | Controller for robot | |
JPS63239511A (en) | Robot system | |
JPH045702A (en) | Control program generating device | |
WO1992021073A1 (en) | Method for debugging sequential program | |
JPS63250712A (en) | Control device for numerical control working machine | |
JPH01124001A (en) | Robot control system | |
JPH05297913A (en) | Programmable controller | |
JPS6394303A (en) | Arithmetic control system | |
JPH1195825A (en) | Method for executing numerical control program | |
JP2533374B2 (en) | Control program creation method | |
JPH08278806A (en) | Cnc macro variable debugging system | |
JPH01244501A (en) | Pc trace control system | |
JPH0385606A (en) | Transfer control system for numerical control program | |
JPH0214303A (en) | Numerical controller |