JP6669705B2 - 数値制御装置 - Google Patents
数値制御装置 Download PDFInfo
- Publication number
- JP6669705B2 JP6669705B2 JP2017206416A JP2017206416A JP6669705B2 JP 6669705 B2 JP6669705 B2 JP 6669705B2 JP 2017206416 A JP2017206416 A JP 2017206416A JP 2017206416 A JP2017206416 A JP 2017206416A JP 6669705 B2 JP6669705 B2 JP 6669705B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- unit
- execution
- program
- numerical 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.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 claims description 30
- 230000006870 function Effects 0.000 claims description 11
- 230000004913 activation Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000006243 chemical reaction Methods 0.000 description 11
- 238000012217 deletion Methods 0.000 description 11
- 230000037430 deletion Effects 0.000 description 11
- 238000001994 activation Methods 0.000 description 8
- 230000003213 activating effect Effects 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4155—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/32—Operator till task planning
- G05B2219/32423—Task planning
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34197—Search blank memory space to load program, storage, memory allocation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/57—Arithmetic logic units [ALU], i.e. arrangements or devices for performing two or more of the operations covered by groups G06F7/483 – G06F7/556 or for performing logical operations
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Description
汎用のマルチタスクオペレーティングシステムでは、タスクを任意のタイミングで登録し、起動、停止、削除する操作が可能であり、このようなタスク制御を目的やタスク実行状況に応じて行うためのインタフェースがソフトウェアの開発者に提供されている。また、タスクの起動周期や優先度を指定することにより、複数のタスクの実行順序や実行時間を管理し、システムの動作をより細かく調整することも可能である。
例えば特許文献1には、現在のメモリ残量が、新しいタスクを実行するには不足であると判断した場合に、タスク利用率を計算し、最もタスク利用率が低い実行中のタスクを停止させ、空きが出るまで前記の計算とタスクの停止を繰り返すオペレーティングシステムが記載されている。
本発明の一実施の形態にかかる数値制御装置は、前記タスク制御部は、指令に応じ、起動中の前記タスクを停止することを特徴とする。
本発明の一実施の形態にかかる数値制御装置は、前記タスク制御部は、指令に応じ、停止中の前記タスクを削除することを特徴とする。
本発明の一実施の形態にかかる数値制御装置は、前記タスク監視部は、複数の前記演算ユニットのアイドル、スリープ又はドーズモードの時間に基づいて、前記タスクを実行する演算ユニットを決定することを特徴とする。
本発明の一実施の形態にかかる数値制御装置は、前記メモリ管理部が前記プログラムを前記メモリ上に展開できない場合、又は前記タスク監視部が前記タスクを実行する演算ユニットを決定できない場合に通知を出力することを特徴とする。
図8乃至図11を用いて、数値制御装置100の一実施例について説明する。本実施例における数値制御装置100は、加工プログラム内に記述されている指令に応じてタスクを登録、起動、停止及び削除する。
図8に示すように、本実施例では加工プログラム内に実行プログラムを構成する指令群と、タスクの登録指令とを記載することができる(図8、破線で囲まれた部分)。「@@CREATE[A]」はタスク[A]の登録指令である。「PRIORITY LOW」はタスクの優先度をLOWに設定するコマンドである。「EXECCYCLE 32」はタスクの実行周期を32に設定するコマンドである。そして「IF・・・」から「END IF;」に至るブロックが実行プログラムである。
図9に示すように、本実施例では加工プログラム内にタスクを起動する指令を記載することができる(図9、破線で囲まれた部分)。「@@START[A]」はタスク[A]の起動指令である。「@@START[B]」はタスク[B]の起動指令である。
図10に示すように、本実施例では加工プログラム内にタスクを停止する指令を記載することができる(図10、破線で囲まれた部分)。「@@HOLD[A]」はタスク[A]の停止指令である。
図11に示すように、本実施例では加工プログラム内にタスクを削除する指令を記載することができる(図11、破線で囲まれた部分)。「@@DELETE[A]」はタスク[A]の削除指令である。
110 タスク制御部
120 加工プログラム解析部
130 実行データ変換部
140 実行制御部
150 軸駆動部
160 メモリ管理部
170 実行時間算出部
180 実行条件設定部
190 タスク監視部
Claims (5)
- 独自機能を追加するための安全なタスク制御を行うインタフェースを提供可能な数値制御装置であって、
前記タスクが実行するプログラムをメモリ上に展開または初期化し、前記プログラムを解析して前記プログラムの情報を取得するメモリ管理部と、
前記タスクの実行時間を算出する実行時間算出部と、
前記メモリ管理部、および前記実行時間算出部の実行結果に基づいて、前記タスクの実行条件を設定する実行条件設定部と、
演算ユニットの状態を監視し、前記タスクを割り当てる前記演算ユニットを決定するタスク監視部と、
前記実行条件に基づき、前記割り当てられた前記演算ユニットにおいて前記タスクの登録および起動を行うタスク制御部と、
を有することを特徴とする数値制御装置。 - 前記タスク制御部は、指令に応じ、起動中の前記タスクを停止することを特徴とする
請求項1記載の数値制御装置。 - 前記タスク制御部は、指令に応じ、停止中の前記タスクを削除することを特徴とする
請求項2記載の数値制御装置。 - 前記タスク監視部は、複数の前記演算ユニットのアイドル、スリープ又はドーズモードの時間に基づいて、前記タスクを実行する前記演算ユニットを決定することを特徴とする
請求項1記載の数値制御装置。 - 前記メモリ管理部が前記プログラムを前記メモリ上に展開できない場合、又は前記タスク監視部が前記タスクを実行する演算ユニットを決定できない場合に通知を出力することを特徴とする
請求項1記載の数値制御装置。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017206416A JP6669705B2 (ja) | 2017-10-25 | 2017-10-25 | 数値制御装置 |
US16/167,875 US10761512B2 (en) | 2017-10-25 | 2018-10-23 | Numerical controller |
DE102018008369.2A DE102018008369A1 (de) | 2017-10-25 | 2018-10-23 | Numerische Steuereinrichtung |
CN201811252273.XA CN109709900B (zh) | 2017-10-25 | 2018-10-25 | 数值控制装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017206416A JP6669705B2 (ja) | 2017-10-25 | 2017-10-25 | 数値制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019079336A JP2019079336A (ja) | 2019-05-23 |
JP6669705B2 true JP6669705B2 (ja) | 2020-03-18 |
Family
ID=65996328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017206416A Active JP6669705B2 (ja) | 2017-10-25 | 2017-10-25 | 数値制御装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10761512B2 (ja) |
JP (1) | JP6669705B2 (ja) |
CN (1) | CN109709900B (ja) |
DE (1) | DE102018008369A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7173928B2 (ja) | 2019-06-05 | 2022-11-16 | ファナック株式会社 | 数値制御装置 |
JP7444566B2 (ja) | 2019-09-12 | 2024-03-06 | ファナック株式会社 | サーボ制御装置、サーボ制御システム及びサーボ制御方法 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5189624A (en) * | 1989-09-29 | 1993-02-23 | General Electric Company | Intelligent machining workstation operating logic |
JPH07248810A (ja) * | 1994-03-11 | 1995-09-26 | Mitsubishi Electric Corp | 数値制御装置 |
JP3727382B2 (ja) * | 1994-12-26 | 2005-12-14 | 三菱電機株式会社 | 制御ソフトウェア実行システムの制御方法 |
JPH10207515A (ja) * | 1997-01-16 | 1998-08-07 | Mitsubishi Heavy Ind Ltd | 制御装置 |
JPH10289011A (ja) * | 1997-04-16 | 1998-10-27 | Toshiba Mach Co Ltd | 数値制御装置及び数値制御装置におけるバックグラウンド処理のカスタマイズ方法 |
JP2000293386A (ja) | 1999-04-12 | 2000-10-20 | Hitachi Ltd | メモリ管理方式 |
JP2001125797A (ja) | 1999-10-25 | 2001-05-11 | Seiko Epson Corp | マルチタスクシステム及びそのプログラムを記録した記録媒体並びに加工装置 |
JP3904945B2 (ja) * | 2002-02-28 | 2007-04-11 | スター精密株式会社 | Ncプログラムのための最適データ変換方法および数値制御工作機械 |
US7949501B1 (en) * | 2002-05-17 | 2011-05-24 | Northwestern University | Systems and methods for a real time machine simulator to explore the effects of rules used in a modular manufacturing or assembly system |
JP4442358B2 (ja) * | 2004-08-02 | 2010-03-31 | 株式会社デンソーウェーブ | 制御装置及びコンピュータプログラム |
KR100652715B1 (ko) * | 2005-02-28 | 2006-12-01 | 엘지전자 주식회사 | 휴대단말기의 프로그램 다이나믹 로드장치 및 방법 |
DE112013007000B4 (de) * | 2013-05-20 | 2020-09-10 | Mitsubishi Electric Corporation | Überwachungssteuerungsvorrichtung |
JP6378128B2 (ja) * | 2015-04-28 | 2018-08-22 | ルネサスエレクトロニクス株式会社 | 性能検証装置、システム、方法、およびコンピュータに当該方法を実行させるためのプログラム |
-
2017
- 2017-10-25 JP JP2017206416A patent/JP6669705B2/ja active Active
-
2018
- 2018-10-23 DE DE102018008369.2A patent/DE102018008369A1/de active Pending
- 2018-10-23 US US16/167,875 patent/US10761512B2/en active Active
- 2018-10-25 CN CN201811252273.XA patent/CN109709900B/zh active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019079336A (ja) | 2019-05-23 |
CN109709900B (zh) | 2021-05-07 |
CN109709900A (zh) | 2019-05-03 |
DE102018008369A1 (de) | 2019-04-25 |
US20190121327A1 (en) | 2019-04-25 |
US10761512B2 (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5324934B2 (ja) | 情報処理装置および情報処理方法 | |
CN109614170B (zh) | 控制由计算系统执行的任务 | |
JP2692609B2 (ja) | マルチタスクのプログラムデバッグ方法とその装置 | |
JP2003298599A (ja) | 分散制御方法及び装置 | |
US20010034751A1 (en) | Real-time OS simulator | |
JP2004522234A (ja) | 仮想スレッドを介したコンピューター多重タスク | |
JP2000347883A (ja) | 仮想計算機装置 | |
JP2003288237A (ja) | 制御装置における実行時間測定装置及び実行時間測定方法 | |
JP2007018282A (ja) | プロセス制御システム及びその制御方法 | |
WO2016092856A1 (ja) | 情報処理装置、情報処理システム、タスク処理方法、及び、プログラムを記憶する記憶媒体 | |
CN111142943A (zh) | 自动控制并发方法及装置 | |
JP6669705B2 (ja) | 数値制御装置 | |
JP2001306341A (ja) | コンピュータシステムおよびコンピュータ読み取り可能な記録媒体 | |
KR20130051076A (ko) | 응용프로그램 스케줄링 방법 및 장치 | |
US8423681B2 (en) | Control apparatus for process input-output device | |
EP3129876B1 (en) | Scheduling of global voltage/frequency scaling switches among asynchronous dataflow dependent processors | |
JP6555981B2 (ja) | 情報処理装置及びその制御方法 | |
JP2009048358A (ja) | 情報処理装置及びスケジューリング方法 | |
JP2001282560A (ja) | 仮想計算機制御方法及びその実施装置並びにその処理プログラムを記録した記録媒体 | |
JP4523910B2 (ja) | 並列処理装置及び並列処理方法及び並列処理プログラム | |
JP2008204013A (ja) | スレッド動作異常検知方法、マルチスレッドシステム | |
JP2008204011A (ja) | マルチスレッドシステム、スレッド動作異常検知方法 | |
Fidge | Real-time scheduling theory | |
Samek et al. | Build a super simple tasker | |
JP2016184315A (ja) | 電子制御装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191112 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6669705 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |