WO2024053080A1 - Numerical control device and storage medium - Google Patents

Numerical control device and storage medium Download PDF

Info

Publication number
WO2024053080A1
WO2024053080A1 PCT/JP2022/033839 JP2022033839W WO2024053080A1 WO 2024053080 A1 WO2024053080 A1 WO 2024053080A1 JP 2022033839 W JP2022033839 W JP 2022033839W WO 2024053080 A1 WO2024053080 A1 WO 2024053080A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
control device
numerical control
log
external storage
Prior art date
Application number
PCT/JP2022/033839
Other languages
French (fr)
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 PCT/JP2022/033839 priority Critical patent/WO2024053080A1/en
Publication of WO2024053080A1 publication Critical patent/WO2024053080A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to a numerical control device and a storage medium.
  • Numerical control devices usually store software in internal storage, but some also load and execute software recorded in external storage. For example, see Patent Document 1.
  • Patent Document 1 new software is loaded from external storage and started in a numerical control device that has already been started. Before starting the software, startup conditions can be set in advance. In setting the startup conditions, the user manually selects the software to start, or registers in advance the compatibility of the software with the numerical control device or machine tool, and selects the software to start based on the registered contents. In Patent Document 2, booting from external storage is enabled only when the information processing device is in a boot-unable state, but software operations are not restricted.
  • a numerical control device that is an aspect of the present disclosure includes an internal storage capable of storing first software, an external storage mounting part having a connection part with external storage, and a log of the first software stored in the internal storage.
  • a logging unit for recording, and if the external storage stores second software that is the same or similar to the first software, the first software stored in the internal storage is loaded or the first software stored in the external storage is loaded;
  • a storage determination unit that determines whether to load the second software; and a storage determination unit that determines whether to load the second software stored in the external storage;
  • the software includes a log analysis unit that determines the presence or absence of an error, and an operation restriction unit that applies operational restrictions to the second software when an error in the first software is recorded in the log.
  • a storage medium is a numerical control device including an internal storage capable of storing first software and an external storage attachment part having a connection part with an external storage. by executing a log of the first software stored in the internal storage and loading the first software stored in the internal storage or the first software stored in the external storage or Storing processor-readable instructions for determining whether to load similar second software and imposing operational limitations on the second software if an error in the first software is logged.
  • FIG. 1 is a block diagram of a numerical control device according to a first disclosure; FIG. It is a flowchart explaining the operation of the numerical control device.
  • FIG. 2 is a block diagram of a numerical control device according to a second disclosure.
  • FIG. 3 is a diagram illustrating an example of an operation restriction registration section. It is a figure which shows an example of a log. It is a flowchart explaining the operation of the numerical control device of the first disclosure.
  • FIG. 2 is a hardware configuration diagram of a numerical control device.
  • the numerical control device 100 of the first disclosure includes an internal storage 10, a logging section 11, an external storage attachment section 12, a storage determination section 13, a log analysis section 14, an operation restriction section 15, a loading section 16, and an execution section 17. Be prepared.
  • the internal storage 10 is a nonvolatile memory 114 that is installed inside the casing of the numerical control device 100 and whose contents are not lost even when the power is turned off.
  • Internal storage 10 stores system software.
  • the system software consists of a basic OS (operating system) and software specialized for the numerical control device.
  • the software includes process analysis software that analyzes machining program commands and converts them into drive information for the machine tool, command generation software that generates position control commands, speed control commands, etc. to the machine tool, and sends and receives command data to the servo amplifier.
  • There are drive control software that executes sequence programs sequence control software that executes sequence programs, user interface software that manages the user interface (input section, output section), and communication software that communicates with external machines.
  • Each software may be composed of multiple pieces of software instead of one piece of software.
  • the logging unit 11 records a log when the numerical control device 100 is driven on the system software recorded in the internal storage 10.
  • a conventional technique is used for recording the log.
  • Log items include the date and time when the log was output, the software name, whether an error has occurred, and the cause of the error.
  • the external storage attachment section 12 includes a connection section for the external storage 20 and reads data stored in the external storage 20. It is assumed that the external storage 20 of the present disclosure stores almost the same software as the internal storage 10.
  • the numerical control device 100 performs the same operation as when reading software from the external storage 20 and executing software stored in the internal storage 10. Backup software is stored in the external storage 20, which causes the numerical control device to execute the same operation as the software recorded in the internal storage, and at the same time backs up the data being operated.
  • the software stored in the external storage may be operation test software or maintenance software. Boot software for starting the OS may be stored in the external storage 20.
  • the storage determination unit 13 determines whether to load the software (first software) of the internal storage 10 or the software (second software) of the external storage 20 into the numerical control device 100. Determine. Existing technology is used to determine storage.
  • the log analysis unit 14 analyzes the log of the numerical control device 100. It is assumed that the log records the operation history of the software read from the internal storage 10. An operator loads software from the external storage 20 when an error occurs in the numerical control device 100 or for purposes such as maintenance of the numerical control device 100. Before loading software from the external storage 20, the log analysis unit 14 analyzes the log, determines whether an error occurs in the software when executed from the internal storage 10, and notifies the operation restriction unit 15.
  • the operation restriction unit 15 restricts the operation of the software in which the error has occurred based on the notification from the log analysis unit 14.
  • One of the operational limitations is the suspension of software execution. Alternatively, execution may be temporarily stopped and the user may be asked whether or not to execute the software.
  • the loading unit 16 loads the software in the internal storage 10 or the software in the external storage 20 into the memory according to the notification from the storage determining unit 13.
  • the execution unit 17 executes software whose operation is not restricted by the operation restriction unit 15.
  • Software operations include, but are not limited to, automatic operation, data input/output, and parameter settings.
  • the operation of the numerical control device 100 of the first disclosure will be described with reference to FIG.
  • almost the same software is stored in the internal storage 10 and the external storage 20, and in normal operation, the software is read from the internal storage 10.
  • the software in the external storage 20 has a function of tracing the operation of the numerical control device 100 while causing the numerical control device 100 to perform normal operations.
  • the numerical control device 100 loads software from the internal storage 10 (step S1).
  • the numerical control device 100 performs normal operations according to software loaded from the internal storage 10.
  • the numerical control device 100 records a log during normal operation (step S2).
  • the external storage 20 is attached to the numerical control device 100 (step S3).
  • the external storage 20 is installed at the timing of backup when an error occurs in the numerical control device 100, maintenance of the numerical control device 100, etc. Further, before installing the external storage in step S3, the power of the numerical control device 100 may be turned off, and after installing the external storage, the numerical control device 100 may be started.
  • step S4 The user selects whether to load software from internal storage or from external storage 20. If the user selects internal storage (step S4; Yes), the numerical control device 100 loads software from the internal storage (step S5) and executes it (step S9). If the user selects external storage (step S4; No), the numerical control device 100 loads software from the external storage 20 (step S6). When the software is loaded from the external storage 20, the log recorded in step S2 is checked, and operations to be restricted are determined (step S7). The numerical control device 100 limits the operation of the software (step S8) and executes it (step S9).
  • the numerical control device 100 of the present disclosure checks the log when the software was executed from the internal storage 10, determines operational restrictions, and executes the software.
  • the numerical control device 100 of the present disclosure saves data for investigating the cause of the error without overwriting the data by placing operational restrictions on the software in which the error has occurred.
  • automatic operation and processing by software in which an error has occurred can be restricted to prevent secondary and tertiary damage.
  • the content of the operation restrictions in the numerical control device 100 is not limited to this.
  • loading of the software may be temporarily stopped and the user may be asked whether or not to execute the software.
  • operation restrictions are applied to each software, but operation restrictions may be applied in units smaller than software, such as tasks and jobs.
  • the numerical control device 100 of the second disclosure includes an operation restriction registration unit 18, and can register conditions for determining operation restrictions, operations to be restricted, and contents of the operation restrictions.
  • FIG. 3 is a block diagram of the numerical control device 100 of the second disclosure.
  • the operation restriction registration unit 18 operations and conditions to be restricted and operations to be restricted are registered in association with each other.
  • FIG. 4 is an example of the operation restriction registration section 18.
  • the storage in which software is stored and the presence or absence of an error are registered as conditions for restricting operation. Conditions for restricting operations are registered in association with operations to be restricted.
  • the software stored in the internal storage 10 has no operational restrictions.
  • the software stored in the external storage 20 has operational limitations.
  • for the condition "no error” "operation restrictions” is registered for the operation "automatic operation”.
  • For the conditions of "error occurrence” and location of error occurrence "I/O memory”, “operation restrictions” are registered for the operations “automatic operation” and "data input/output".
  • the contents of the operation restriction include stopping the operation, skipping the operation, and making inquiries to the user. Skipping an operation stops the current operation and moves on to the next operation. In the user inquiry, the user is inquired to determine whether the operation should be stopped or executed.
  • the log analysis unit 14 analyzes the log and obtains conditions necessary for determining operation restrictions.
  • the log includes information such as the date and time the log was output, the software name, whether an error occurred, and the location where the error occurred. Conditions include the presence or absence of an error, the location where the error occurred, and so on.
  • the operation restriction unit 15 determines the operation to be restricted and the content of the operation restriction based on the type of storage, the conditions obtained from the log analysis unit 14, and the contents registered in the operation restriction registration unit 18.
  • FIG. 5 is an example of a log.
  • the operation restriction processing will be specifically described with reference to FIG. 5.
  • the log includes the date and time "XX month XX 10:32", the operation "Power ON”, ..., the date and time “XX month XX 11:45”, the operation "Error: DataAbort (Parameter No. 10224 Locked)", The date and time is "Month/XX 11:45,” and the operation is "System Shutdown.” Analyzing the log, it was started at “10:32, day XX, month XX,” and an error occurred at "11:45, day XX, month XX.”The error content was "Lock parameter 10224,” and a data abort occurred. However, it can be seen that the numerical control device 100 was shut down at "11:45 on XX month XX day”. Note that a data abort is an exception that occurs when an attempt is made to read/write data without proper access permission.
  • the I/O memory stores data that the numerical control device 100 exchanges with external devices. If an error occurs when accessing the I/O memory, the operation "data input/output" is restricted.
  • the numerical control device 100 reads software from the internal storage 10 (step S11).
  • the numerical control device 100 performs normal operations according to software read from the internal storage 10.
  • the numerical control device 100 records a log during normal operation (step S12).
  • the external storage 20 is attached to the numerical control device 100 (step S13). Before loading the software from the external storage 20, the numerical control device 100 acquires conditions necessary for determining operation restrictions (step S14). Conditions for operating restrictions include the type of storage where the software is stored, when loading software from the external storage 20, whether there is an error when software that is the same or similar to the software is executed from the internal storage 10, and whether an error occurs. There are places where I did it.
  • the storage is recognized by the OS of the numerical control device 100. The presence or absence of an error and the location where the error occurred are recorded in the log.
  • the numerical control device 100 loads software from the external storage 20 (step S15).
  • the external storage 20 is installed at the timing of backup when an error occurs in the numerical control device 100, maintenance of the numerical control device 100, etc. Furthermore, before installing the external storage in step S13, the power of the numerical control device 100 may be turned off, and after installing the external storage, the numerical control device 100 may be started.
  • the numerical control device 100 determines the operation to be restricted and the content of the operation restriction based on the conditions necessary for determining the operation restriction and the contents registered in the operation restriction registration unit 18 (step S16). . If there is an operation to be restricted (step S17; Yes), the numerical control device 100 restricts the operation according to the content of the operation restriction (step S18). If there is no operation to be restricted (step S17; No), the operation is executed without restriction (step S19).
  • Operation restriction locks the software in a state where rewriting is prohibited.
  • the operation flag indicates whether or not operation restriction is necessary.
  • the numerical control device 100 limits the operation of the software according to the operation flag. Further, the numerical control device 100 monitors the start signals of the software, and limits the execution of the software when all the start signals are OFF.
  • the numerical control device 100 of the second disclosure includes the operation restriction registration unit 18 that registers the contents of the operation restriction.
  • the contents of the operation restriction are linked to the conditions.
  • the numerical control device 100 acquires the conditions of the operation restriction, and determines the operation of the software to be restricted and the content of the operation restriction based on the acquired condition.
  • the numerical control device 100 of the second disclosure analyzes the log to determine the location where the error occurs, and if the location where the error occurs is a storage device (nonvolatile memory, I/O memory, etc.), the storage device is Restrict rewriting operations. For example, if an error occurs in the parameter storage area of the nonvolatile memory 114, the "parameter setting" operation is restricted. Furthermore, since there is a risk that the I/O memory may be rewritten due to data input/output with external devices or peripheral devices, the operation "data input/output" is restricted. In this way, it is possible to restrict data rewriting by software in which an error has occurred while operating the software.
  • FIG. 7 is a hardware configuration diagram of the numerical control device 100.
  • the CPU 111 included in the numerical control device 100 is a processor that controls the numerical control device 100 as a whole.
  • the CPU 111 reads a system program stored in the ROM 112 via the bus, and controls the entire numerical control device 100 in accordance with the system program.
  • the RAM 113 temporarily stores temporary calculation data, display data, various data input by the user via the input unit 71, and the like.
  • the numerical control device 100 is connected to an information network via an interface 115 and to an industrial network via a built-in PLC 120.
  • the display unit 70 is a monitor attached to the numerical control device 100 or the like.
  • the display unit 70 displays an operation screen, a setting screen, etc. of the numerical control device 100.
  • the input unit 71 is a keyboard, touch panel, etc. that is integrated with the display unit 70 or separate from the display unit 70. The user operates the input unit 71 to perform input on the screen displayed on the display unit 70 and the like. Note that the display section 70 and the input section 71 may be a mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Numerical Control (AREA)

Abstract

This numerical control device is provided with: an internal storage which can store first software; and an external storage installation unit which has a connection part for an external storage. The numerical control device: records a log of the first software stored in the internal storage; and determines, when second software identical with or similar to the first software is stored in the external storage, whether the first software stored in the internal storage is to be loaded or the second software stored in the external storage is to be loaded. The numerical control device comprises a log analysis unit which analyzes the log and determines the presence or absence of an error of the first software identical with or similar to the second software when the second software stored in the external storage is to be loaded. When errors of the first software are recorded in the log, the numerical control device performs operation restriction on the second software.

Description

数値制御装置、及び記憶媒体Numerical control device and storage medium
 本発明は、数値制御装置、及び記憶媒体に関する。 The present invention relates to a numerical control device and a storage medium.
 数値制御装置では、通常、ソフトウェアを内部ストレージに格納するが、外部ストレージに記録されたソフトウェアをロードし、実行するものもある。例えば、特許文献1参照。 Numerical control devices usually store software in internal storage, but some also load and execute software recorded in external storage. For example, see Patent Document 1.
 また、パーソナルコンピュータなどの情報処理装置(コンピュータシステム)においては、内部ストレージが起動不能状態にあるとき、外部ストレージからソフトウェアを読み出し、起動するものもある。例えば、特許文献2参照。 Furthermore, in some information processing apparatuses (computer systems) such as personal computers, when the internal storage is in an unstartable state, software is read from the external storage and started. For example, see Patent Document 2.
特開2019-101462号公報JP 2019-101462 Publication 特開2009-59105号公報Japanese Patent Application Publication No. 2009-59105
 特許文献1では、既に起動した数値制御装置において、外部ストレージから新たなソフトウェアをロードし、起動させる。ソフトウェアの起動前には、予め起動条件を設定することができる。起動条件の設定では、ユーザが手動で起動するソフトウェアを選択したり、数値制御装置または工作機械とソフトウェアとの適合性を予め登録し、登録内容を基に起動するソフトウェアを選択したりする。特許文献2では、情報処理装置が起動不能状態にあるときのみに外部ストレージからの起動を可能とするが、ソフトウェアの動作制限は行わない。 In Patent Document 1, new software is loaded from external storage and started in a numerical control device that has already been started. Before starting the software, startup conditions can be set in advance. In setting the startup conditions, the user manually selects the software to start, or registers in advance the compatibility of the software with the numerical control device or machine tool, and selects the software to start based on the registered contents. In Patent Document 2, booting from external storage is enabled only when the information processing device is in a boot-unable state, but software operations are not restricted.
 しかしながら、外部ストレージから読み込むソフトウェアに動作制限をかけることは煩雑である。機械の状態確認(故障状況、エラー発生箇所)に漏れがあれば、復旧が困難になることもある。 However, it is complicated to impose operational restrictions on software that is read from external storage. If there is any omission in checking the condition of the machine (failure status, error location), recovery may become difficult.
 数値制御装置の分野では、外部ストレージから読み込むソフトウェアの動作制限を支援する技術が望まれている。 In the field of numerical control devices, there is a need for technology that supports operational restrictions on software read from external storage.
 本開示の一態様である数値制御装置は、第1のソフトウェアを格納可能な内部ストレージと、外部ストレージとの接続部を有する外部ストレージ装着部と、内部ストレージに格納された第1のソフトウェアのログを記録するロギング部と、外部ストレージは前記第1のソフトウェアと同一または類似する第2のソフトウェアを格納する場合、内部ストレージに格納された第1のソフトウェアをロードするか、外部ストレージに格納された第2のソフトウェアをロードするかを判定するストレージ判定部と、外部ストレージに格納された第2のソフトウェアをロードする場合、ログを解析し、第2のソフトウェアと同一または類似する第1のソフトウェアのエラーの有無を判定するログ解析部と、第1のソフトウェアのエラーがログに記録されている場合、第2のソフトウェアに動作制限をかける動作制限部と、を備える。
 本開示の一態様である記憶媒体は、第1のソフトウェアを格納可能な内部ストレージと、外部ストレージとの接続部を有する外部ストレージ装着部と、を備える数値制御装置において、1つまたは複数のプロセッサが実行することにより、内部ストレージに格納された第1のソフトウェアのログを記録し、内部ストレージに格納された第1のソフトウェアをロードするか、外部ストレージに格納された第1のソフトウェアと同一または類似する第2のソフトウェアをロードするかを判定し、第1のソフトウェアのエラーがログに記録されている場合、第2のソフトウェアに動作制限をかける、プロセッサが読み取り可能な命令を記憶する。
A numerical control device that is an aspect of the present disclosure includes an internal storage capable of storing first software, an external storage mounting part having a connection part with external storage, and a log of the first software stored in the internal storage. a logging unit for recording, and if the external storage stores second software that is the same or similar to the first software, the first software stored in the internal storage is loaded or the first software stored in the external storage is loaded; a storage determination unit that determines whether to load the second software; and a storage determination unit that determines whether to load the second software stored in the external storage; The software includes a log analysis unit that determines the presence or absence of an error, and an operation restriction unit that applies operational restrictions to the second software when an error in the first software is recorded in the log.
A storage medium according to an aspect of the present disclosure is a numerical control device including an internal storage capable of storing first software and an external storage attachment part having a connection part with an external storage. by executing a log of the first software stored in the internal storage and loading the first software stored in the internal storage or the first software stored in the external storage or Storing processor-readable instructions for determining whether to load similar second software and imposing operational limitations on the second software if an error in the first software is logged.
 本発明の一態様により、外部ストレージから読み込むソフトウェアの選択を支援することができる。 According to one aspect of the present invention, it is possible to support selection of software to be read from external storage.
第1の開示の数値制御装置のブロック図である。1 is a block diagram of a numerical control device according to a first disclosure; FIG. 数値制御装置の動作を説明するフローチャートである。It is a flowchart explaining the operation of the numerical control device. 第2の開示の数値制御装置のブロック図である。FIG. 2 is a block diagram of a numerical control device according to a second disclosure. 動作制限登録部の一例を示す図である。FIG. 3 is a diagram illustrating an example of an operation restriction registration section. ログの一例を示す図である。It is a figure which shows an example of a log. 第1の開示の数値制御装置の動作を説明するフローチャートである。It is a flowchart explaining the operation of the numerical control device of the first disclosure. 数値制御装置のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of a numerical control device.
[第1の開示]
 以下、図面を参照して第1の開示の数値制御装置100を説明する。数値制御装置100は、図1に示すように、内部ストレージ10、ロギング部11、外部ストレージ装着部12、ストレージ判定部13、ログ解析部14、動作制限部15、ローディング部16、実行部17を備える。
[First disclosure]
Hereinafter, the numerical control device 100 of the first disclosure will be described with reference to the drawings. As shown in FIG. 1, the numerical control device 100 includes an internal storage 10, a logging section 11, an external storage attachment section 12, a storage determination section 13, a log analysis section 14, an operation restriction section 15, a loading section 16, and an execution section 17. Be prepared.
 内部ストレージ10は、数値制御装置100の筐体内部に設置された、電源を切っても内容が失われない不揮発性メモリ114である。内部ストレージ10は、システムソフトウェアを記憶する。システムソフトウェアは、基本となるOS(オペレーティングシステム)と数値制御装置に特化したソフトウェアとから構成される。ソフトウェアには、加工プログラムの指令を解析し工作機械の駆動情報に変換するプロセス解析ソフトウェア、工作機械への位置制御指令、速度制御指令等を生成する指令生成ソフトウェア、サーボアンプへ指令データの送受信を行う駆動制御ソフトウェア、シーケンスプログラムを実行するシーケンス制御ソフトウェア、ユーザインターフェース(入力部、出力部)を管理するユーザインタフェースソフトウェア、外部の機械と通信を行う通信ソフトウェアなどがある。各ソフトウェアは、1つではなく、複数のソフトウェアから構成されていてもよい。 The internal storage 10 is a nonvolatile memory 114 that is installed inside the casing of the numerical control device 100 and whose contents are not lost even when the power is turned off. Internal storage 10 stores system software. The system software consists of a basic OS (operating system) and software specialized for the numerical control device. The software includes process analysis software that analyzes machining program commands and converts them into drive information for the machine tool, command generation software that generates position control commands, speed control commands, etc. to the machine tool, and sends and receives command data to the servo amplifier. There are drive control software that executes sequence programs, sequence control software that executes sequence programs, user interface software that manages the user interface (input section, output section), and communication software that communicates with external machines. Each software may be composed of multiple pieces of software instead of one piece of software.
 ロギング部11は、内部ストレージ10に記録したシステムソフトウェア上で、数値制御装置100を駆動した場合のログを記録する。ログの記録は、従来技術を用いる。ログの項目には、ログを出力した年月日と時間とソフトウェア名、エラー発生の有無、エラー発生の要因などが含まれる。 The logging unit 11 records a log when the numerical control device 100 is driven on the system software recorded in the internal storage 10. A conventional technique is used for recording the log. Log items include the date and time when the log was output, the software name, whether an error has occurred, and the cause of the error.
 外部ストレージ装着部12は、外部ストレージ20の接続部を備え、外部ストレージ20に格納されたデータを読み出す。本開示の外部ストレージ20には、内部ストレージ10とほぼ同じソフトウェアが格納されているものとする。数値制御装置100は、外部ストレージ20からソフトウェアを読み出し、内部ストレージ10に格納したソフトウェアを実行したときと同じ動作をする。外部ストレージ20には、バックアップソフトウェアが格納されており、内部ストレージに記録したソフトウェアと同じ動作を数値制御装置に実行させると同時に、動作中のデータをバックアップする。なお、外部ストレージに格納されたソフトウェアは、動作テスト用のソフトウェアでもよいし、メンテナンスソフトウェアでもよい。外部ストレージ20に、OSを起動するブートソフトウェアを格納してもよい。 The external storage attachment section 12 includes a connection section for the external storage 20 and reads data stored in the external storage 20. It is assumed that the external storage 20 of the present disclosure stores almost the same software as the internal storage 10. The numerical control device 100 performs the same operation as when reading software from the external storage 20 and executing software stored in the internal storage 10. Backup software is stored in the external storage 20, which causes the numerical control device to execute the same operation as the software recorded in the internal storage, and at the same time backs up the data being operated. Note that the software stored in the external storage may be operation test software or maintenance software. Boot software for starting the OS may be stored in the external storage 20.
 ストレージ判定部13は、数値制御装置100の起動後、数値制御装置100を内部ストレージ10のソフトウェア(第1のソフトウェア)をロードするか、外部ストレージ20のソフトウェア(第2のソフトウェア)をロードするかを判定する。ストレージの判定には、既存の技術を用いる。 After the numerical control device 100 is started, the storage determination unit 13 determines whether to load the software (first software) of the internal storage 10 or the software (second software) of the external storage 20 into the numerical control device 100. Determine. Existing technology is used to determine storage.
 ログ解析部14は、数値制御装置100のログを解析する。ログには、内部ストレージ10から読み出したソフトウェアの稼働履歴が記録されているものとする。オペレータは、数値制御装置100にエラーが発生したとき、または、数値制御装置100のメンテナンスなどの目的で、外部ストレージ20からソフトウェアをロードする。ログ解析部14は、外部ストレージ20からソフトウェアをロードする前に、ログを解析し、内部ストレージ10から実行したときのソフトウェアのエラー発生の有無を判定し、動作制限部15に通知する。 The log analysis unit 14 analyzes the log of the numerical control device 100. It is assumed that the log records the operation history of the software read from the internal storage 10. An operator loads software from the external storage 20 when an error occurs in the numerical control device 100 or for purposes such as maintenance of the numerical control device 100. Before loading software from the external storage 20, the log analysis unit 14 analyzes the log, determines whether an error occurs in the software when executed from the internal storage 10, and notifies the operation restriction unit 15.
 動作制限部15は、ログ解析部14からの通知に基づき、エラーの発生したソフトウェアの動作を制限する。動作制限の1つとして、ソフトウェアの実行の停止がある。また、一旦実行を停止し、ソフトウェアを実行するか否かをユーザに問い合わせてもよい。 The operation restriction unit 15 restricts the operation of the software in which the error has occurred based on the notification from the log analysis unit 14. One of the operational limitations is the suspension of software execution. Alternatively, execution may be temporarily stopped and the user may be asked whether or not to execute the software.
 ローディング部16は、ストレージ判定部13の通知に従い、内部ストレージ10のソフトウェアか外部ストレージ20のソフトウェアをメモリに展開する。 The loading unit 16 loads the software in the internal storage 10 or the software in the external storage 20 into the memory according to the notification from the storage determining unit 13.
 実行部17は、動作制限部15により動作制限されていないソフトウェアを実行する。ソフトウェアの動作には、自動運転、データ入出力、パラメータ設定などがあるが、これに限定されない。 The execution unit 17 executes software whose operation is not restricted by the operation restriction unit 15. Software operations include, but are not limited to, automatic operation, data input/output, and parameter settings.
 図2を参照して第1の開示の数値制御装置100の動作を説明する。前提として、内部ストレージ10と、外部ストレージ20には、ほぼ同じソフトウェアが格納されており、通常動作では、内部ストレージ10からソフトウェアを読み出す。外部ストレージ20のソフトウェアは、数値制御装置100に通常動作を実行させながら、数値制御装置100の動作をトレースする機能を備える。 The operation of the numerical control device 100 of the first disclosure will be described with reference to FIG. As a premise, almost the same software is stored in the internal storage 10 and the external storage 20, and in normal operation, the software is read from the internal storage 10. The software in the external storage 20 has a function of tracing the operation of the numerical control device 100 while causing the numerical control device 100 to perform normal operations.
 数値制御装置100は、通常動作において、内部ストレージ10からソフトウェアをロードする(ステップS1)。数値制御装置100は、内部ストレージ10からロードしたソフトウェアに従い通常動作を行う。数値制御装置100は、通常動作において、ログを記録している(ステップS2)。 In normal operation, the numerical control device 100 loads software from the internal storage 10 (step S1). The numerical control device 100 performs normal operations according to software loaded from the internal storage 10. The numerical control device 100 records a log during normal operation (step S2).
 数値制御装置100に外部ストレージ20が装着される(ステップS3)。外部ストレージ20の装着は、数値制御装置100のエラー発生時のバックアップ、数値制御装置100のメンテナンスなどのタイミングで行う。また、ステップS3の外部ストレージの装着する前に、数値制御装置100の電源をOFFし、外部ストレージを装着したのち、数値制御装置100を起動してもよい。 The external storage 20 is attached to the numerical control device 100 (step S3). The external storage 20 is installed at the timing of backup when an error occurs in the numerical control device 100, maintenance of the numerical control device 100, etc. Further, before installing the external storage in step S3, the power of the numerical control device 100 may be turned off, and after installing the external storage, the numerical control device 100 may be started.
 ユーザは、内部ストレージからソフトウェアをロードするか、外部ストレージ20からソフトウェアをロードするかを選択する。ユーザが内部ストレージを選択した場合(ステップS4;Yes)、数値制御装置100は、内部ストレージからソフトウェアをロードし(ステップS5)、実行する(ステップS9)。
ユーザが外部ストレージを選択した場合(ステップS4;No)、数値制御装置100は、外部ストレージ20からソフトウェアをロードする(ステップS6)。外部ストレージ20からソフトウェアをロードした場合、ステップS2で記録したログを確認し、制限する動作を判定する(ステップS7)。数値制御装置100は、ソフトウェアの動作を制限し(ステップS8)、実行する(ステップS9)。
The user selects whether to load software from internal storage or from external storage 20. If the user selects internal storage (step S4; Yes), the numerical control device 100 loads software from the internal storage (step S5) and executes it (step S9).
If the user selects external storage (step S4; No), the numerical control device 100 loads software from the external storage 20 (step S6). When the software is loaded from the external storage 20, the log recorded in step S2 is checked, and operations to be restricted are determined (step S7). The numerical control device 100 limits the operation of the software (step S8) and executes it (step S9).
 本開示の数値制御装置100は、外部ストレージ20からソフトウェアをロードするとき、内部ストレージ10からソフトウェアを実行したときのログを確認して動作制限事項を決定し、ソフトウェアを実行する。 When loading software from the external storage 20, the numerical control device 100 of the present disclosure checks the log when the software was executed from the internal storage 10, determines operational restrictions, and executes the software.
 内部ストレージ10と外部ストレージ20には、ほぼ同じソフトウェアが格納されている。外部ストレージ20に格納されたソフトウェアを全て実行すると、エラーの原因となるソフトウェアにデータが書き換えられ、エラーの原因を追究できないおそれがある。
また、エラーの原因となるソフトウェアを実行することにより、再度エラーが発生し、二次被害、三次被害というかたちで数値制御装置100の故障に繋がることがある。
Almost the same software is stored in the internal storage 10 and the external storage 20. If all the software stored in the external storage 20 is executed, the data will be rewritten to the software that causes the error, and there is a possibility that the cause of the error cannot be investigated.
Moreover, by executing software that causes an error, the error may occur again, leading to a failure of the numerical control device 100 in the form of secondary damage or tertiary damage.
 本開示の数値制御装置100は、エラーの発生したソフトウェアに動作制限をかけることで、データを上書きすることなく、エラーの原因を追究するためのデータを保存する。また、エラーが発生したソフトウェアによる自動運転や加工を制限し、二次被害、三次被害を防止することができる。 The numerical control device 100 of the present disclosure saves data for investigating the cause of the error without overwriting the data by placing operational restrictions on the software in which the error has occurred. In addition, automatic operation and processing by software in which an error has occurred can be restricted to prevent secondary and tertiary damage.
 なお、図2のフローチャートにおいて、数値制御装置100における動作制限の内容はこの限りでない。動作制限として、ソフトウェアのロードを一時的に停止し、ソフトウェアを実行するか否かをユーザに問い合わせてもよい。 Note that in the flowchart of FIG. 2, the content of the operation restrictions in the numerical control device 100 is not limited to this. As an operation restriction, loading of the software may be temporarily stopped and the user may be asked whether or not to execute the software.
 また、本開示では、ソフトウェアごとに動作制限をかけたが、タスクやジョブなどソフトウェアよりも小さな単位で動作制限をかけてもよい。 Furthermore, in the present disclosure, operation restrictions are applied to each software, but operation restrictions may be applied in units smaller than software, such as tasks and jobs.
[第2の開示]
 第2の開示の数値制御装置100は、動作制限登録部18を備え、動作制限を判定する条件、制限対象となる動作、動作制限の内容を登録することができる。図3は、第2の開示の数値制御装置100のブロック図である。動作制限登録部18は、制限対象となる動作と条件と、制限対象となる動作が関連付けて登録されている。
[Second disclosure]
The numerical control device 100 of the second disclosure includes an operation restriction registration unit 18, and can register conditions for determining operation restrictions, operations to be restricted, and contents of the operation restrictions. FIG. 3 is a block diagram of the numerical control device 100 of the second disclosure. In the operation restriction registration unit 18, operations and conditions to be restricted and operations to be restricted are registered in association with each other.
 図4は、動作制限登録部18の一例である。図4の例では、動作制限の条件として、ソフトウェアを格納するストレージ、エラー発生の有無が登録されている。動作制限の条件は、制限対象となる動作に関連付けて登録されている。
 図4において、内部ストレージ10に格納されたソフトウェアには、動作制限は存在しない。外部ストレージ20に格納されたソフトウェアには、動作制限が存在する。図4の例では、「エラーなし」という条件に対して、動作「自動運転」には「動作制限あり」と登録されている。「エラー発生」、エラーの発生場所「不揮発性メモリ」という条件に対して、動作「自動運転」と「パラメータ設定」には「動作制限あり」と登録されている。「エラー発生」、エラーの発生場所「I/Oメモリ」という条件に対して、動作「自動運転」と「データ入出力」には「動作制限あり」と登録されている。
FIG. 4 is an example of the operation restriction registration section 18. In the example of FIG. 4, the storage in which software is stored and the presence or absence of an error are registered as conditions for restricting operation. Conditions for restricting operations are registered in association with operations to be restricted.
In FIG. 4, the software stored in the internal storage 10 has no operational restrictions. The software stored in the external storage 20 has operational limitations. In the example of FIG. 4, for the condition "no error", "operation restrictions" is registered for the operation "automatic operation". For the conditions of "Error Occurrence" and Error Occurrence Location "Nonvolatile Memory", "Operation Restrictions" is registered for the operation "Automatic Operation" and "Parameter Setting". For the conditions of "error occurrence" and location of error occurrence "I/O memory", "operation restrictions" are registered for the operations "automatic operation" and "data input/output".
 動作制限の内容としては、動作の停止、動作のスキップ、ユーザへの問合せなどを行う。動作のスキップでは、現在の動作を停止し、次の動作に移行する。ユーザの問合せでは、ユーザに問合せて動作を停止するか実行するかを判定する。 The contents of the operation restriction include stopping the operation, skipping the operation, and making inquiries to the user. Skipping an operation stops the current operation and moves on to the next operation. In the user inquiry, the user is inquired to determine whether the operation should be stopped or executed.
 ログ解析部14は、ログを解析して、動作制限の判定に必要な条件を取得する。ログには、ログを出力した日時、ソフトウェア名、エラーの有無、エラーの発生した場所などが記録されている。条件には、エラーの有無、エラーの発生した場所などがある。 The log analysis unit 14 analyzes the log and obtains conditions necessary for determining operation restrictions. The log includes information such as the date and time the log was output, the software name, whether an error occurred, and the location where the error occurred. Conditions include the presence or absence of an error, the location where the error occurred, and so on.
 動作制限部15は、ストレージの種類と、ログ解析部14から取得した条件と、動作制限登録部18に登録した内容とを基に、制限対象となる動作、および動作制限の内容を判定する。 The operation restriction unit 15 determines the operation to be restricted and the content of the operation restriction based on the type of storage, the conditions obtained from the log analysis unit 14, and the contents registered in the operation restriction registration unit 18.
 図5は、ログの一例である。図5を参照して、動作制限の処理を具体的に説明する。ログには、日時「XX月XX日 10:32」、動作「Power ON」、・・・、日時「XX月XX日 11:45」、動作「Error:DataAbort(Parameter No.10224 Locked)」、日時「XX月XX日 11:45」、動作「System Shutdown」と記載されている。
 ログを解析すると、「XX月XX日 10:32」に起動し、「XX月XX日 11:45」にエラーが発生し、エラーの内容は「パラメータ10224のロック」であり、データアボートが発生し、「XX月XX日 11:45」に数値制御装置100がシャットダウンしたことが分かる。なお、データアボートとは、正しいアクセス許可なしにデータを読み出し/書込みしようとしたときに発生する例外である。
FIG. 5 is an example of a log. The operation restriction processing will be specifically described with reference to FIG. 5. The log includes the date and time "XX month XX 10:32", the operation "Power ON", ..., the date and time "XX month XX 11:45", the operation "Error: DataAbort (Parameter No. 10224 Locked)", The date and time is "Month/XX 11:45," and the operation is "System Shutdown."
Analyzing the log, it was started at "10:32, day XX, month XX," and an error occurred at "11:45, day XX, month XX."The error content was "Lock parameter 10224," and a data abort occurred. However, it can be seen that the numerical control device 100 was shut down at "11:45 on XX month XX day". Note that a data abort is an exception that occurs when an attempt is made to read/write data without proper access permission.
 図5のログでは、ロック中のパラメータNo.10224にアクセスし、データアボートのエラーが発生している。パラメータは不揮発性メモリに保存されているため、エラーが発生した場所が不揮発性メモリ114のパラメータ記憶領域であることが分かる。図5のログでは、パラメータのアクセスでエラーが発生しているため、動作「パラメータの設定」を制限する。 In the log of FIG. 5, the locked parameter No. 10224 and a data abort error occurs. Since the parameters are stored in non-volatile memory, it is known that the location where the error occurred is in the parameter storage area of non-volatile memory 114. In the log of FIG. 5, an error has occurred in parameter access, so the operation "parameter setting" is restricted.
 I/Oメモリには、数値制御装置100が外部機器とやり取りするデータが保存される。I/Oメモリへのアクセスでエラーが発生した場合、動作「データ入出力」を制限する。 The I/O memory stores data that the numerical control device 100 exchanges with external devices. If an error occurs when accessing the I/O memory, the operation "data input/output" is restricted.
 図6を参照して第2の開示の数値制御装置100の動作を説明する。
 数値制御装置100は、通常動作において、内部ストレージ10からソフトウェアを読み出す(ステップS11)。数値制御装置100は、内部ストレージ10から読み出したソフトウェアに従い通常動作を行う。数値制御装置100は、通常動作において、ログを記録している(ステップS12)。
The operation of the numerical control device 100 of the second disclosure will be described with reference to FIG.
In normal operation, the numerical control device 100 reads software from the internal storage 10 (step S11). The numerical control device 100 performs normal operations according to software read from the internal storage 10. The numerical control device 100 records a log during normal operation (step S12).
 数値制御装置100に外部ストレージ20が装着される(ステップS13)。数値制御装置100は、外部ストレージ20からソフトウェアをロードする前に、動作制限の判定に必要な条件を取得する(ステップS14)。動作制限の条件には、ソフトウェアが格納されたストレージの種類、外部ストレージ20からソフトウェアをロードする場合、当該ソフトウェアと同一または類似するソフトウェアを内部ストレージ10から実行したときのエラーの有無、エラーが発生した場所などがある。ストレージは、数値制御装置100のOSが認識している。エラーの有無、エラーの発生した場所などは、ログに記録されている。 The external storage 20 is attached to the numerical control device 100 (step S13). Before loading the software from the external storage 20, the numerical control device 100 acquires conditions necessary for determining operation restrictions (step S14). Conditions for operating restrictions include the type of storage where the software is stored, when loading software from the external storage 20, whether there is an error when software that is the same or similar to the software is executed from the internal storage 10, and whether an error occurs. There are places where I did it. The storage is recognized by the OS of the numerical control device 100. The presence or absence of an error and the location where the error occurred are recorded in the log.
 数値制御装置100は、外部ストレージ20からソフトウェアをロードする(ステップS15)。外部ストレージ20の装着は、数値制御装置100のエラー発生時のバックアップ、数値制御装置100のメンテナンスなどのタイミングで行う。また、ステップS13の外部ストレージの装着する前に、数値制御装置100の電源をOFFし、外部ストレージを装着したのち、数値制御装置100を起動してもよい。 The numerical control device 100 loads software from the external storage 20 (step S15). The external storage 20 is installed at the timing of backup when an error occurs in the numerical control device 100, maintenance of the numerical control device 100, etc. Furthermore, before installing the external storage in step S13, the power of the numerical control device 100 may be turned off, and after installing the external storage, the numerical control device 100 may be started.
 数値制御装置100は、動作制限の判定に必要な条件と、動作制限登録部18に登録された内容とを基に、制限対象となる動作と、動作制限の内容とを判定する(ステップS16)。
 制限対象となる動作が存在する場合(ステップS17;Yes)、数値制御装置100は、動作制限の内容に従い動作を制限する(ステップS18)。制限対象となる動作が存在しない場合(ステップS17;No)は、制限なく実行する(ステップS19)。
The numerical control device 100 determines the operation to be restricted and the content of the operation restriction based on the conditions necessary for determining the operation restriction and the contents registered in the operation restriction registration unit 18 (step S16). .
If there is an operation to be restricted (step S17; Yes), the numerical control device 100 restricts the operation according to the content of the operation restriction (step S18). If there is no operation to be restricted (step S17; No), the operation is executed without restriction (step S19).
 動作制限では、書き換え禁止状態でソフトウェアにロックをかける。動作制限の手段としては、動作フラグや動作の開始信号などがある。動作フラグは、動作制限の要/不要を示す。数値制御装置100は、動作フラグに従い、ソフトウェアの動作を制限する。また、数値制御装置100が、ソフトウェアの開始信号を監視し、開始信号が全てOFFの場合には、ソフトウェアの実行を制限する。 Operation restriction locks the software in a state where rewriting is prohibited. As means for limiting the operation, there are an operation flag, an operation start signal, and the like. The operation flag indicates whether or not operation restriction is necessary. The numerical control device 100 limits the operation of the software according to the operation flag. Further, the numerical control device 100 monitors the start signals of the software, and limits the execution of the software when all the start signals are OFF.
 以上説明したように、第2の開示の数値制御装置100では、動作制限の内容を登録する動作制限登録部18を備える。動作制限の内容は、条件と紐づけられている。数値制御装置100は、動作制限の条件を取得し、取得した条件を基に、制限対象となるソフトウェアの動作および動作制限の内容を判定する。 As described above, the numerical control device 100 of the second disclosure includes the operation restriction registration unit 18 that registers the contents of the operation restriction. The contents of the operation restriction are linked to the conditions. The numerical control device 100 acquires the conditions of the operation restriction, and determines the operation of the software to be restricted and the content of the operation restriction based on the acquired condition.
 第2の開示の数値制御装置100は、ログを解析してエラーの発生場所を判定し、エラーの発生場所が記憶装置(不揮発性メモリ、I/Oメモリなど)であれば、その記憶装置を書き換える動作を制限する。例えば、不揮発性メモリ114のパラメータ記憶領域でエラーが発生した場合には、動作「パラメータ設定」を制限する。また、I/Oメモリは、外部機器や周辺機器とのデータの入出力で書き換えられるおそれがあるため、動作「データ入出力」を制限する。このように、ソフトウェアを動作させながら、エラーが発生したソフトウェアによるデータの書き換えを制限することができる。 The numerical control device 100 of the second disclosure analyzes the log to determine the location where the error occurs, and if the location where the error occurs is a storage device (nonvolatile memory, I/O memory, etc.), the storage device is Restrict rewriting operations. For example, if an error occurs in the parameter storage area of the nonvolatile memory 114, the "parameter setting" operation is restricted. Furthermore, since there is a risk that the I/O memory may be rewritten due to data input/output with external devices or peripheral devices, the operation "data input/output" is restricted. In this way, it is possible to restrict data rewriting by software in which an error has occurred while operating the software.
 図7は、数値制御装置100のハードウェア構成図である。数値制御装置100が備えるCPU111は、数値制御装置100を全体的に制御するプロセッサである。CPU111は、バスを介してROM112に加工されたシステム・プログラムを読み出し、該システム・プログラムに従って数値制御装置100の全体を制御する。RAM113には、一時的な計算データや表示データ、入力部71を介してユーザが入力した各種データ等が一時的に格納される。 FIG. 7 is a hardware configuration diagram of the numerical control device 100. The CPU 111 included in the numerical control device 100 is a processor that controls the numerical control device 100 as a whole. The CPU 111 reads a system program stored in the ROM 112 via the bus, and controls the entire numerical control device 100 in accordance with the system program. The RAM 113 temporarily stores temporary calculation data, display data, various data input by the user via the input unit 71, and the like.
 数値制御装置100は、インターフェース115を介して情報ネットワークに接続され、内蔵PLC120を介して産業ネットワークに接続されている。 The numerical control device 100 is connected to an information network via an interface 115 and to an industrial network via a built-in PLC 120.
 表示部70は、数値制御装置100に付属のモニタなどである。表示部70は、数値制御装置100の操作画面や設定画面などを表示する。 The display unit 70 is a monitor attached to the numerical control device 100 or the like. The display unit 70 displays an operation screen, a setting screen, etc. of the numerical control device 100.
 入力部71は、表示部70と一体、又は、表示部70とは別のキーボード、タッチパネルなどである。ユーザは入力部71を操作して、表示部70に表示された画面への入力などを行う。なお、表示部70及び入力部71は、携帯端末でもよい。 The input unit 71 is a keyboard, touch panel, etc. that is integrated with the display unit 70 or separate from the display unit 70. The user operates the input unit 71 to perform input on the screen displayed on the display unit 70 and the like. Note that the display section 70 and the input section 71 may be a mobile terminal.
  100  数値制御装置
  10   内部ストレージ
  11   ロギング部
  12   外部ストレージ装着部
  13   ストレージ判定部
  14   ログ解析部
  15   動作制限部
  16   ローディング部
  17   実行部
  18   動作制限登録部
  111  CPU
  112  ROM
  113  RAM
  114  不揮発性メモリ
100 Numerical control device 10 Internal storage 11 Logging unit 12 External storage attachment unit 13 Storage determination unit 14 Log analysis unit 15 Operation restriction unit 16 Loading unit 17 Execution unit 18 Operation restriction registration unit 111 CPU
112 ROM
113 RAM
114 Non-volatile memory

Claims (8)

  1.  第1のソフトウェアを格納可能な内部ストレージと、
     外部ストレージとの接続部を有する外部ストレージ装着部と、
     前記内部ストレージに格納された第1のソフトウェアのログを記録するロギング部と、
     前記外部ストレージは前記第1のソフトウェアと同一または類似する第2のソフトウェアを格納する場合、前記内部ストレージに格納された第1のソフトウェアをロードするか、前記外部ストレージに格納された第2のソフトウェアをロードするかを判定するストレージ判定部と、
     前記外部ストレージに格納された第2のソフトウェアをロードする場合、前記ログを解析し、前記第2のソフトウェアと同一または類似する第1のソフトウェアのエラーの有無を判定するログ解析部と、
     当該第1のソフトウェアのエラーがログに記録されている場合、前記第2のソフトウェアに動作制限をかける動作制限部と、を備える数値制御装置。
    an internal storage capable of storing first software;
    an external storage attachment part having a connection part with the external storage;
    a logging unit that records a log of first software stored in the internal storage;
    When the external storage stores second software that is the same as or similar to the first software, the first software stored in the internal storage is loaded or the second software stored in the external storage is loaded. a storage determination unit that determines whether to load the
    a log analysis unit that analyzes the log and determines whether there is an error in the first software that is the same as or similar to the second software when loading the second software stored in the external storage;
    A numerical control device comprising: an operation restriction unit that imposes an operation restriction on the second software when an error of the first software is recorded in a log.
  2.  前記内部ストレージに格納された第1のソフトウェアをロードする場合、前記第1のソフトウェアの動作は制限しない、請求項1記載の数値制御装置。 The numerical control device according to claim 1, wherein when loading the first software stored in the internal storage, the operation of the first software is not restricted.
  3.  前記ログ解析部は、前記ログを解析して前記エラーの発生場所を取得し、
     前記動作制限部は、前記第2のソフトウェアの前記エラーの発生場所への書き込み動作を制限する、請求項1記載の数値制御装置。
    The log analysis unit analyzes the log to obtain the location where the error occurs,
    The numerical control device according to claim 1, wherein the operation restriction section restricts a writing operation of the second software to the location where the error occurs.
  4.  前記動作制限部は、前記第2のソフトウェアの自動運転動作、データ入出力動作またはパラメータ設定動作の少なくとも1つを制限する、請求項1記載の数値制御装置。 The numerical control device according to claim 1, wherein the operation restriction unit restricts at least one of an automatic operation operation, a data input/output operation, or a parameter setting operation of the second software.
  5.  前記ログ解析部は、前記ログを解析して前記エラーの発生場所を取得し、
     前記動作制限部は、前記エラーの発生場所が不揮発性メモリであればパラメータ設定動作を制限し、前記エラーの発生場所がI/Oメモリであればデータ入出力動作を制限する、請求項1記載の数値制御装置。
    The log analysis unit analyzes the log to obtain the location where the error occurs,
    2. The operation restriction section restricts a parameter setting operation if the error occurs in a non-volatile memory, and restricts a data input/output operation if the error occurs in an I/O memory. numerical control device.
  6.  動作制限の判定に必要な条件と、制限対象となる動作と、動作制限の内容とを登録する動作制限登録部を備え、
     前記動作制限部は、前記動作制限の判定に必要な条件を取得し、前記制限対象となる動作を、前記動作制限の内容で制限する、請求項1記載の数値制御装置。
    A motion restriction registration unit is provided for registering conditions necessary for determination of motion restriction, motions to be restricted, and contents of motion restriction;
    2. The numerical control device according to claim 1, wherein the operation restriction section obtains conditions necessary for determining the operation restriction, and limits the operation to be restricted based on the content of the operation restriction.
  7.  前記動作制限の判定に必要な条件は、ソフトウェアを格納するストレージ、前記ソフトウェアが第1のソフトウェアの場合、前記第1のソフトウェアと同一または類似する第2のソフトウェアのエラーの有無、前記エラーの発生場所を含む、請求項6記載の数値制御装置。 The conditions necessary for determining the operation restriction include the storage in which the software is stored, if the software is the first software, the presence or absence of an error in the second software that is the same as or similar to the first software, and the occurrence of the error. The numerical control device according to claim 6, including a location.
  8.  第1のソフトウェアを格納可能な内部ストレージと、
     外部ストレージとの接続部を有する外部ストレージ装着部と、を備える数値制御装置において、
     1つまたは複数のプロセッサが実行することにより、
     前記内部ストレージに格納された第1のソフトウェアのログを記録し、
     前記内部ストレージに格納された第1のソフトウェアをロードするか、前記外部ストレージに格納された前記第1のソフトウェアと同一または類似する第2のソフトウェアをロードするかを判定し、
     前記第1のソフトウェアのエラーがログに記録されている場合、前記第2のソフトウェアに動作制限をかける、
     前記プロセッサが読み取り可能な命令を記憶する記憶媒体。
    an internal storage capable of storing first software;
    A numerical control device comprising: an external storage attachment part having a connection part with an external storage;
    executed by one or more processors,
    recording a log of first software stored in the internal storage;
    determining whether to load first software stored in the internal storage or second software that is the same as or similar to the first software stored in the external storage;
    if an error in the first software is recorded in a log, imposing operational restrictions on the second software;
    A storage medium that stores instructions readable by the processor.
PCT/JP2022/033839 2022-09-09 2022-09-09 Numerical control device and storage medium WO2024053080A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/033839 WO2024053080A1 (en) 2022-09-09 2022-09-09 Numerical control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/033839 WO2024053080A1 (en) 2022-09-09 2022-09-09 Numerical control device and storage medium

Publications (1)

Publication Number Publication Date
WO2024053080A1 true WO2024053080A1 (en) 2024-03-14

Family

ID=90192515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/033839 WO2024053080A1 (en) 2022-09-09 2022-09-09 Numerical control device and storage medium

Country Status (1)

Country Link
WO (1) WO2024053080A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295533A (en) * 2003-03-27 2004-10-21 Nec Corp Application trouble avoiding system, monitoring computer, server computer, and program
JP2005096282A (en) * 2003-09-25 2005-04-14 Konica Minolta Business Technologies Inc Image processing apparatus
WO2013168224A1 (en) * 2012-05-08 2013-11-14 三菱電機株式会社 Programmable logic controller, programming tool, and program and parameter editing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295533A (en) * 2003-03-27 2004-10-21 Nec Corp Application trouble avoiding system, monitoring computer, server computer, and program
JP2005096282A (en) * 2003-09-25 2005-04-14 Konica Minolta Business Technologies Inc Image processing apparatus
WO2013168224A1 (en) * 2012-05-08 2013-11-14 三菱電機株式会社 Programmable logic controller, programming tool, and program and parameter editing system

Similar Documents

Publication Publication Date Title
US5832513A (en) Detecting significant file system alterations during execution of a storage media software utility
US20010039612A1 (en) Apparatus and method for fast booting
US6698016B1 (en) Method for injecting code into another process
EP3144813A1 (en) Information-processing device, information-processing monitoring method, program, and recording medium
US7308547B2 (en) Apparatus and method for control of write filter
EP1696331A2 (en) Control system with solid-state non-volatile memory for increased reliability
EP1906309A2 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
WO2024053080A1 (en) Numerical control device and storage medium
KR100358278B1 (en) Method of Self-Diagnosis and Self-Restoration of System Error and A Computer System Using The Same
JP3048792B2 (en) Method of automatically replacing operating system and computer system using the same
JP2003022425A (en) Ic card self-diagnostic device and diagnostic method
JPS61220030A (en) Software discriminating system
US7389442B1 (en) Apparatus and method for self diagnosis, repair, removal by reversion of computer problems from desktop and recovery from booting or loading of operating system errors by removable media
JP2765549B2 (en) Operation evaluation system in computer system
JP2021157489A (en) Information processing apparatus and information processing system
US7877557B2 (en) Information processing system, information processing method and program
JPH11134204A (en) Stack protecting device
JP3001470B2 (en) Boot failure detection system for personal computer
US20020184248A1 (en) Method, device, and program for controlling file access
JP2000172316A (en) Numerical controller incorporating personal computer
JPS621040A (en) Analyzing device for trouble of computer
JP2708636B2 (en) Information processing device maintenance control method
JP4611659B2 (en) Unauthorized access detection device, unauthorized access detection method, program
JPH04337849A (en) Memory dump method
JPS6116098B2 (en)

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22958158

Country of ref document: EP

Kind code of ref document: A1