WO2024053080A1 - Dispositif de commande numérique et support d'enregistrement - Google Patents

Dispositif de commande numérique et support d'enregistrement 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
English (en)
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/fr
Publication of WO2024053080A1 publication Critical patent/WO2024053080A1/fr

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

Ce dispositif de commande numérique comprend : une mémoire interne qui peut stocker un premier logiciel ; et une unité d'installation de mémoire externe qui a une partie de connexion pour une mémoire externe. Le dispositif de commande numérique : enregistre un journal du premier logiciel stocké dans la mémoire interne ; et détermine, lorsqu'un second logiciel identique ou similaire au premier logiciel est stocké dans la mémoire externe, si le premier logiciel stocké dans la mémoire interne doit être chargé ou si le second logiciel stocké dans la mémoire externe doit être chargé. Le dispositif de commande numérique comprend une unité d'analyse de journal qui analyse le journal et détermine la présence ou l'absence d'une erreur du premier logiciel identique ou similaire au second logiciel lorsque le second logiciel stocké dans la mémoire externe doit être chargé. Lorsque des erreurs du premier logiciel sont enregistrées dans le journal, le dispositif de commande numérique effectue une restriction d'exploitation sur le second logiciel.
PCT/JP2022/033839 2022-09-09 2022-09-09 Dispositif de commande numérique et support d'enregistrement WO2024053080A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/033839 WO2024053080A1 (fr) 2022-09-09 2022-09-09 Dispositif de commande numérique et support d'enregistrement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/033839 WO2024053080A1 (fr) 2022-09-09 2022-09-09 Dispositif de commande numérique et support d'enregistrement

Publications (1)

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

Family

ID=90192515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/033839 WO2024053080A1 (fr) 2022-09-09 2022-09-09 Dispositif de commande numérique et support d'enregistrement

Country Status (1)

Country Link
WO (1) WO2024053080A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295533A (ja) * 2003-03-27 2004-10-21 Nec Corp アプリケーション障害回避システム、監視用コンピュータ、サーバコンピュータ及びプログラム
JP2005096282A (ja) * 2003-09-25 2005-04-14 Konica Minolta Business Technologies Inc 画像処理装置
WO2013168224A1 (fr) * 2012-05-08 2013-11-14 三菱電機株式会社 Automate programmable, outil de programmation, et système d'édition de programmes et de paramètres

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295533A (ja) * 2003-03-27 2004-10-21 Nec Corp アプリケーション障害回避システム、監視用コンピュータ、サーバコンピュータ及びプログラム
JP2005096282A (ja) * 2003-09-25 2005-04-14 Konica Minolta Business Technologies Inc 画像処理装置
WO2013168224A1 (fr) * 2012-05-08 2013-11-14 三菱電機株式会社 Automate programmable, outil de programmation, et système d'édition de programmes et de paramètres

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
US8468522B2 (en) Virtual machine system, system for forcing policy, method for forcing policy, and virtual machine control program
US6698016B1 (en) Method for injecting code into another process
US10380336B2 (en) Information-processing device, information-processing method, and recording medium that block intrusion of malicious program to kernel
US7308547B2 (en) Apparatus and method for control of write filter
US5826078A (en) Job re-execution system and controlling method thereof
EP1906309A2 (fr) Appareil de traitement d'informations, son appareil de contrôle, son procédé de contrôle et programme de contrôle
WO2024053080A1 (fr) Dispositif de commande numérique et support d'enregistrement
KR100358278B1 (ko) 시스템 장애 자가 진단/복구기능을 갖는 컴퓨터 시스템 및그 방법
JP3048792B2 (ja) オペレーティングシステムの自動入れ替え方法及びそれを利用した計算機システム
JP2003022425A (ja) Icカード自己診断装置および診断方法
JPS61220030A (ja) ソフトウエア識別方式
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 (ja) コンピュータシステムにおける動作評価システム
JP2021157489A (ja) 情報処理装置および情報処理システム
CN110476153A (zh) 访问指令sram的方法和电子设备
US7877557B2 (en) Information processing system, information processing method and program
JPH11134204A (ja) スタック保護装置
JP3001470B2 (ja) パーソナルコンピュータのブート不良検出システム
US20020184248A1 (en) Method, device, and program for controlling file access
JP2000172316A (ja) パーソナルコンピュータ内蔵型数値制御装置
JPS621040A (ja) コンピユ−タの障害解析装置
JP2661447B2 (ja) 入出力装置の試験方法
JPS6116098B2 (fr)

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