WO2023157145A1 - Memory management assistance device and computer-readable storage medium - Google Patents
Memory management assistance device and computer-readable storage medium Download PDFInfo
- Publication number
- WO2023157145A1 WO2023157145A1 PCT/JP2022/006247 JP2022006247W WO2023157145A1 WO 2023157145 A1 WO2023157145 A1 WO 2023157145A1 JP 2022006247 W JP2022006247 W JP 2022006247W WO 2023157145 A1 WO2023157145 A1 WO 2023157145A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- applications
- priority
- control device
- memory
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Definitions
- the present invention relates to a memory management support device and a computer-readable storage medium.
- the OS Operating System
- Patent Document 1 when it is determined that the current remaining amount of memory is insufficient to execute a new task, the task utilization rate is calculated, and the running task with the lowest task utilization rate is stopped.
- An OS is disclosed that repeats the above calculation and task suspension until a space becomes available.
- a task is a unit of work by the OS.
- the OS creates a task control block each time a task occurs.
- the task control block contains information such as resources required by the task and priority.
- the OS schedules tasks based on this information.
- a memory management support device which is one aspect of the present disclosure, is a memory management support device that supports memory management of a control device that controls an industrial machine using a plurality of apps, and includes data about the running state of the apps, and A data acquisition unit that acquires the operation mode of the control device; a priority determination unit that determines the priority of the application to be loaded into the memory based on the activation state of the application and the operation mode of the control device; an app activatable number determining unit that determines the app activatable number, which is the number of apps, and loads the app activatable number of apps into the memory of the control device according to the priority.
- a storage medium which is one aspect of the present disclosure, includes data about the activation state of an application in a control device that controls an industrial machine using a plurality of applications, and data of the control device, by being executed by one or more processors.
- the operation mode is acquired, the priority of the application to be loaded into memory is determined based on the activation state of the application and the operation mode of the control device, and the number of applications that can be loaded into memory is determined. , storing computer readable instructions for causing an app launchable number of apps to be loaded into the memory of the controller according to priority.
- FIG. 10 is a diagram showing an example in which memory management support devices are arranged on cloud, fog, and edge;
- a numerical controller 100 as a memory management support device of the first disclosure will be described below.
- a numerical controller 100 of the first disclosure is applied to a numerical controller 100 that controls a machine tool 200 as shown in FIG.
- the memory management support device can be implemented in a robot controller for controlling industrial robots, etc., in addition to the numerical control device 100 .
- a memory management device may also be located on the network to provide management information to the controller.
- FIG. 2 is a hardware configuration diagram of the numerical controller 100.
- a CPU 111 included in the numerical controller 100 is a processor that controls the numerical controller 100 as a whole.
- the CPU 111 reads the system program processed in the ROM 112 via the bus and controls the entire numerical controller 100 according to the system program.
- the RAM 113 temporarily stores calculation data, display data, various data input by the user via the input unit 71, and the like.
- a plurality of applications are installed in the ROM 112. Applications are loaded into the RAM 113 .
- a priority determining unit which will be described later, determines the priority of the application. As shown in FIG. 3, high-priority applications are loaded from the ROM 112 (auxiliary storage device) to the RAM 113 (main storage device; memory). Also, applications with low priority are unloaded from the RAM 113 to the ROM 112 .
- the display unit 70 is a monitor attached to the numerical controller 100 or the like.
- the display unit 70 displays an operation screen, a setting screen, and the like of the numerical controller 100 .
- the input unit 71 is integrated with the display unit 70 or is a keyboard, touch panel, or the like that is separate from the display unit 70 .
- the user operates the input unit 71 to perform input to the screen displayed on the display unit 70 .
- the display unit 70 and the input unit 71 may be mobile terminals.
- the non-volatile memory 114 is, for example, a memory that is backed up by a battery (not shown) so that the memory state is retained even when the power of the numerical controller 100 is turned off.
- the nonvolatile memory 114 stores workpiece shape data, tool shape data, tool path data, and machining programs.
- the nonvolatile memory 114 stores programs read from external devices via an interface (not shown), programs input via the input unit 71, and various data (for example, , setting parameters obtained from the machine tool, etc.) are stored. Programs and various data stored in the non-volatile memory 114 may be developed in the RAM 113 at the time of execution/use. Various system programs are pre-written in the ROM 112 .
- FIG. 4 is a block diagram of the numerical controller 100.
- the numerical control device 100 of the first disclosure includes a data acquisition unit 1, a data storage unit 2, a machine control unit 3, a device information storage unit 4, an application startable number determination unit 5, a priority determination unit 6, and a memory management unit 7. Prepare.
- the data acquisition unit 1 acquires data related to the application and data related to the operation status of the device, and stores them in the data storage unit 2.
- the data related to the application includes the number of times the application was started, the usage time of the application, the type of application used immediately before the power of the numerical controller 100 was turned off, and the like.
- the data relating to the machine state includes the operational status of the numerical controller 100, the CPU load factor of the numerical controller 100, and the like.
- the machine control unit 3 controls industrial machines such as machine tools 200 and industrial robots.
- the control target of the machine control unit 3 is a machine tool
- the machine control unit 3 controls the machine tool 200 according to the machining program.
- the control target of the machine control unit 3 is an industrial robot, it controls the movement of the industrial robot.
- An application may be installed in the machine control unit 3 . Apps are programs that perform additional functions. The loading and unloading of applications are executed by the memory management unit 7 of the numerical controller 100 .
- the device information storage unit 4 stores information about the device, such as the specifications of the CPU 111 and memory of the numerical control device 100, the number of axes used by the machine tool 200, and the like.
- the device here means both the numerical control device 100 and the machine tool 200 .
- the app activatable number determination unit 5 determines the number of apps to be loaded into the memory (referred to as the app activatable number).
- a method for determining the number of applications that can be activated is not particularly limited. It may be determined automatically, or may be set manually by the user. A method for determining the number of applications that can be activated will be described later.
- the priority determination unit 6 determines the priority of applications to be loaded into memory.
- a method for determining priority is not particularly limited. A method of determining the priority will be described later.
- the memory management unit 7 manages the memory areas of the main storage device and the auxiliary storage device when the application is executed.
- the memory management unit 7 manages caches and buffers of files, networks, etc., as well as loading of applications and dynamic memory allocation by the applications being executed.
- the memory management unit 7 loads applications in descending order of priority determined by the priority determination unit 6 .
- the operation of the numerical controller 100 will be described with reference to FIG.
- the numerical controller 100 is activated (step S1).
- the data acquired by the data acquiring unit 1 immediately before the power is turned off is recorded in the nonvolatile memory 114 of the numerical controller 100 .
- the data acquired by the data acquisition unit 1 includes the number of times the application was started, the usage time of the application, the type of application used immediately before the power of the numerical controller 100 was turned off, and the like.
- the numerical controller 100 acquires the data acquired by the data acquiring section 1 immediately before the power is turned off (step S2).
- the priority determination unit 6 determines the priority of the application to be loaded into the memory based on the data acquired by the data acquisition unit 1 immediately before the power failure (step S3). A specific example of the priority determination method will be described later.
- the app activatable number determination unit 5 determines the number of apps that can be loaded into the memory (app activatable number) (step S4).
- the number of applications that can be activated may be manually set by the user, or may be calculated from the specifications of the numerical controller 100 and the machine tool 200 . A method for determining the number of applications that can be activated will be described later.
- the memory management unit 7 loads the application into the memory when the numerical controller 100 is started. At this time, according to the priority, the number of applications that can be activated is loaded into the memory (step S5).
- the machine control unit 3 controls the machine tool 200 according to the machining program. While the machine control unit 3 controls the machine tool 200, the data acquisition unit 1 acquires data related to the application and data related to the operation status of the numerical control device 100 (step S6).
- the priority determination unit 6 determines the priority of the application to be loaded into the memory based on the data acquired by the data acquisition unit 1 (step S7).
- the memory management unit 7 loads and unloads the application according to the priority and the number of applications that can be activated (step S8).
- step S9 When the numerical controller 100 is instructed to turn off the power (step S9; Yes), the numerical controller 100 stores the data acquired by the data acquisition unit 1 before the power was turned off in the nonvolatile memory 114 (step S10). . If the instruction to turn off the power of the numerical controller 100 is not given (step S9; No), the processing from step S6 to step S8 is repeated. When the power of the numerical controller 100 is turned on, the priority of the application is determined using the data of the activation state before the power was turned off.
- the numerical control device 100 as the memory management support device of the first disclosure acquires data related to the application and data related to the driving situation before power-on and during operation, and uses the acquired data to to determine the load priority of and load apps with higher priority.
- the number of applications that can be loaded (the number of applications that can be activated) is determined from information about devices such as the numerical control device 100 and the machine tool 200 .
- the data acquired by the data acquisition unit 1 associates the operating states of the numerical control device 100 and the machine tool with the applications used in the operating states. From the data acquired by the data acquisition unit 1, the activation time, the number of activations, etc. of the application for each operating state can be known.
- the priority determination unit 6 determines the priority of each application based on the activation time of the application, the number of activations, the probability that the application will be activated next, etc. in a certain operating state. Preferentially load apps with high
- the waiting time associated with loading is reduced. Based on the data acquired by the data acquisition unit 1, by calculating the activation time of the application, the number of times the application is activated, and the probability that the application will be activated next time, the usage tendency of the application for each numerical control device 100 and each operation mode can be understood. Less wasted resources and less waiting time for loading.
- the data acquisition unit 1 acquires the activation state of each application when the numerical control device 100 is in operation as data related to the application.
- the data acquisition unit 1 stores the acquired data in the ring buffer at regular intervals, and stores the stored data in the data storage unit 2 .
- the data acquisition unit 1 counts the total number of activations of each application from the acquired data, and stores it in the data storage unit 2 .
- the data acquired by the data acquisition unit 1 includes the data acquisition date and time, the operation state (operation mode) of the numerical controller 100, the application name, the number of times of activation [times], the activation state, and the like.
- the following is an example of data acquired by the data acquisition unit 1 .
- the total number of times each application is started for each mode of the numerical control device 100 can be calculated using the number of times each application is started which is acquired by the data acquisition unit 1 .
- the calculated data includes the data update date and time, the operating state (operation mode) of the numerical controller, the application name, the total number of activations [times], and the like. Below is an example of the calculated data.
- the priority determining unit 6 When determining the priority from the number of activations, the priority determining unit 6 substitutes the total number of activations Nx for each operation mode of each application x into the following formula to obtain the priority px of each application.
- the data acquired by the data acquisition unit 1 includes the date and time of data acquisition, the operating state (operating mode) of the numerical controller 100, and the operating time of each operating mode [ h], application name, startup time [h], and the like.
- the following is an example of data acquired by the data acquisition unit 1 .
- the calculated data includes the data update date and time, the operating state (operating mode) of the numerical control device, the total operating time [h] in each operating mode, the application name, the total startup time "h", and the like.
- the following is an example of calculated data.
- Example data 202112100900, MEM, 340.0; A, 120.0; B, 90.5; C, 20.0; D, 45.5;
- the contents of this data are the update date and time "December 10, 2021 09:00", the operation mode "MEM mode", the total operating time in MEM mode "340.0h", the application “A”, the total startup time "120 0h”, application “B”, total startup time "90.5h”, application “C”, total startup time "20.0h”, application “D”, total startup time "45.5h”.
- the priority determination unit 6 When determining the priority px of each application from the activation time, the priority determination unit 6 substitutes the total operating time tM of each operation mode and the total activation time Tx for each operation mode of each application x into the following formula. .
- Priority determination method using conditional probability obtains date and time of data acquisition, operation state (operation mode) of numerical control device 100, number of times of execution of operation mode, application name, number of times of activation. Get [Times], startup status, previous app name, etc.
- the data acquired by the data acquisition unit 1 are as follows.
- the calculated data includes data update date and time, operating state (operation mode) of the numerical controller 100, total mode execution count, application name, total start count [times], application X (application A, application B, application C, The number of times [time] that the application D) was started next is included. Below is an example of the calculated data.
- conditional probability which is the probability that another event (for example, the event that application B is next started) occurs under a certain condition (for example, the condition that application A is started) is and let the conditional probability be the priority p.
- the conditional probability is the probability that another event (for example, the event that application B is next started) occurs under a certain condition (for example, the condition that application A is started)
- the conditional probability be the priority p.
- A) that the applications B, C, and D will start next are obtained.
- An example of calculating the priority pB when the application A is running is shown below.
- the priority determination unit 6 refers to the data storage unit 2 and sets the priority p at the time of activation of the application that is in the activation state “starting” immediately before the power is turned off to 1. do. If the priority p is 1, it is preferentially loaded.
- the data acquisition unit 1 acquires the load factor [%] of the CPU 111 as data relating to the machine state.
- the maximum value of the CPU load factor is set in the app start-up count determination unit. Here, let the maximum value be 80%.
- the data acquisition unit 1 obtains the number of cores of the CPU 111 (processing capacity of the CPU 111), the capacity of the memory, and the number of axes of the machine tool 200 as data related to the machine. and so on.
- the number of applications that can be activated is determined by using data related to the machine tool 200 and the numerical controller 100 .
- FIG. 6 is a table that associates data related to machine tool 200 and numerical control device 100 with the number of applications that can be activated.
- the number of cores of the CPU 111 is "2”
- the memory capacity is "1G”
- the number of axes is "1 to 10”
- the number of applications that can be started is "10".
- the number of possible applications is “8", and when the number of axes is "31 to 50", the number of applications that can be activated is “6".
- the number of cores of the CPU 111 is "2”
- the memory capacity is "3G”
- the number of axes is "1 to 10”
- the number of applications that can be started is “15”.
- the number of possible applications is "13” and if the number of axes is "31 to 50", the number of applications that can be activated is "10".
- the number of activatable applications determining unit 5 accepts manual setting of the number of activatable applications. As described above, the number of applications that can be activated varies depending on the specifications of the machine tool to be controlled and the resources of the numerical controller 100 . The user can also manually set an appropriate number of applications that can be activated based on the specifications of the numerical control device 100 and the machine tool 200 .
- FIG. 7 is a table of operation modes of the numerical controller 100.
- Modes of the numerical controller 100 include "memory operation mode: MEM”, “MDI mode: MDI”, “edit mode: EDIT”, “handle mode: HDL”, and “jog feed mode: JOG”.
- MEM memory operation mode
- MDI mode MDI
- Edit mode EDIT
- handle mode HDL
- JOG jog feed mode
- JOG Joint feed mode
- the numerical controller 100 analyzes the machining program and controls the machine tool.
- the "memory operation mode” is a so-called automatic operation mode.
- the numerical controller 100 displays MDI (Manual Data Input) and accepts parameter settings, ladder inputs, and the like.
- MDI Manual Data Input
- the numerical controller 100 accepts editing of the machining program.
- the numerical controller 100 accepts manual operation of the machine tool based on input from a pulse handle or the like.
- jog feed mode manual operation of the machine tool is accepted based on input from the jog lever.
- FIG. 8 shows the relationship between applications and operation modes.
- the application “NC Operation” displays the program, axis speed, axis position, etc. during machining.
- NC operation is often used in “MEM mode”.
- the application “Servo Guide” measures waveforms such as the position and speed of the servo axis.
- “Servo guide” is often used in “MEM mode” and “MDI mode”.
- the application “Tool Management” registers and confirms tool information.
- Tool management is often used in "MDI mode” and “EDIT mode”.
- the application “Maintenance Information Management” displays the status of maintenance items (parts that need to be replaced periodically) and registers maintenance items.
- “Maintenance information management” is often used in “MDI mode” and “MEM mode”.
- the application “Energy saving management” displays the energy saving information (power consumption, power consumption number, etc.) during operation.
- “Energy saving management” is often used in “MEM mode”.
- the application “Maintenance Inspection” confirms maintenance inspection items and records inspections.
- “Maintenance” is often used in "MDI mode”.
- the application “manual” displays the manual of the numerical controller 100 or the machine tool. “Manual” is often used in “MDI mode” and “EDIT mode”.
- the application “Production Management” displays the production status (production quantity, production quota achievement rate, etc.).
- “Production control” is often used in “MEM mode”.
- the app “Robot Teaching” is.
- the priority determination unit 6 determines the priority of applications for each operation mode. The number of times the application is started, the time it takes to start, conditional probability, and the like are used to determine the priority.
- An app that is launched many times in a certain operating mode is likely to be launched in the same operating mode as well. Therefore, the priority is determined based on the number of activations.
- the application is started by calling from the machining program, manual operation by the operator, external signals, etc. Priorities may be determined in consideration of machining programs and operators.
- Examples of applications activated by external signals include “failure diagnosis”, “probe measurement support”, and “remote maintenance”.
- “Failure Diagnosis” is an application that is started by receiving an alarm signal when an alarm occurs in the numerical controller 100 .
- “Fault Diagnosis” acquires alarm information and displays information necessary for identifying the cause of the alarm and information necessary for recovery.
- "Probe measurement support” receives a signal that the currently selected tool has become a probe and is activated.
- “Probe measurement support” supports measurement of workpieces with probes in the setup process.
- “Remote maintenance” is an application for performing remote maintenance via a network. Starts when a connection signal via the network is received from the outside.
- the memory management support device 300 may be arranged on cloud, fog, and edge.
- FIG. 9 shows a memory management support device 300 arranged on cloud, fog and edge.
- the memory management support device 300 includes a data acquisition unit 1 , a data storage unit 2 , an application activation count determination unit 5 , and a priority determination unit 6 .
- a control device 400 that controls a machine tool or an industrial robot is a numerical control device or a robot controller, and is present at a site such as a factory.
- the control device 400 comprises a machine control section 3 and a memory management section 7 .
- the device information storage unit 4 may be provided in the memory management support device 300, in the control device 400, or in another device.
- the data acquisition unit 1 of the memory management support device 300 acquires data related to applications and data related to the operating status of the control device 400 and stores them in the data storage unit 2 .
- Data related to the application includes the activation state of the application. Based on the activation state of the application, there are the number of times the application was activated, the usage time of the application, the type of application used immediately before the control device 400 was powered off, and the like.
- Data related to the operating state of the control device 400 include the operation mode of the control device 400 and the load factor of the CPU 111 of the control device 400 .
- the app activatable number determination unit 5 determines the number of apps to be loaded into the memory of the control device 400 .
- a specific example of the method for determining the number of applications that can be activated has been described above.
- the priority determination unit 6 determines the priority of applications to be loaded into the memory of the control device. A specific example of the priority determination method has been described above.
- the memory management support device does not necessarily have to be implemented in the control device, and may be built on a network such as cloud, fog, or edge.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Numerical Control (AREA)
Abstract
A memory management assistance device assists the management of a memory of a control device that controls industrial machinery using a plurality of applications, wherein data relating to the startup states of the applications and the operation mode of the control device are acquired, and on the basis of the startup states of the applications and the operation mode of the control device, the degrees of priority of applications to be loaded into the memory of the control device are determined, and the number of applications that can be started, which is the number of applications that can be loaded into the memory, is determined. The control device loads the applications that can be started into the memory of the control device in accordance with the degrees of priority determined by the memory management assistance device.
Description
本発明は、メモリ管理支援装置、及びコンピュータが読み取り可能な記憶媒体に関する。
The present invention relates to a memory management support device and a computer-readable storage medium.
数値制御装置などの産業機械を制御する制御装置には、アプリケーション(以下、アプリと呼ぶ)を拡張機能としてインストールするものがある。制御装置の起動時、及び制御装置の実行時には、OS(Operating System)がアプリをロードする。
Some controllers that control industrial machines, such as numerical controllers, install applications (hereinafter referred to as apps) as extended functions. The OS (Operating System) loads the application when the control device is started and when the control device is executed.
例えば、特許文献1には、現在のメモリ残量が、新しいタスクを実行するには不足であると判断した場合に、タスク利用率を計算し、最もタスク利用率が低い実行中のタスクを停止させ、空きがでるまで前記の計算とタスクの停止を繰り返すOSが開示されている。
For example, in Patent Document 1, when it is determined that the current remaining amount of memory is insufficient to execute a new task, the task utilization rate is calculated, and the running task with the lowest task utilization rate is stopped. An OS is disclosed that repeats the above calculation and task suspension until a space becomes available.
タスクとは、OSによる仕事の単位である。OSは、タスクが発生するたびに、タスクコントロールブロックを生成する。タスクコントロールブロックには、タスクが必要とする資源、優先順位などの情報が含まれる。OSは、これらの情報を基にタスクのスケジューリングを行う。
A task is a unit of work by the OS. The OS creates a task control block each time a task occurs. The task control block contains information such as resources required by the task and priority. The OS schedules tasks based on this information.
近年の数値制御装置は、アプリと呼ばれる補助的なソフトウェアモジュールを追加することができる。複数のアプリをメモリに展開すると、アプリを即座に実行できるが、メモリの容量には限界がある。そのため、実行するアプリをロードし、不要なアプリをアンロードする。アプリのロードとアンロードを繰り返すと、ローディングの待ち時間が発生するという問題がある。ローディングの待ち時間を短縮するため、ローディングのスケジューリングが行われている。ローディングのスケジューリングには、例えば、(A)ローディングするアプリを予め決めておき、ローディングするアプリの個数を減らすことでアプリの起動時間を短縮し、ローディングしていないアプリについては、そのアプリを使用するときにローディングを行うという方法、及び(B)ローディングするアプリを予め決めておき、ローディングするアプリの個数を減らすことでアプリの起動時間を短縮し、ローディングしていないアプリについては、バックグラウンドでデータローディングを行うという方法がある。
Numerical controllers in recent years can add auxiliary software modules called apps. Deploying multiple apps in memory allows them to run instantly, but memory capacity is limited. So load the apps you want to run and unload the apps you don't need. There is a problem that loading and unloading the application repeatedly causes a waiting time for loading. Loading is scheduled to reduce loading latency. For scheduling of loading, for example, (A) the applications to be loaded are determined in advance, the number of applications to be loaded is reduced to shorten the startup time of the applications, and the applications that are not loaded are used. and (B) predetermine the apps to be loaded, reduce the number of apps to be loaded, thereby shortening the start-up time of the apps, and for apps that are not loaded, data is stored in the background. There is a way to do the loading.
上述した(A)の方法では、アプリを使用時にローディングを開始するため、待ち時間が発生する。(B)の方法では、使用しないアプリもバックグラウンドでローディングされるため、メモリの無駄遣いや演算負荷の増加が発生するおそれがある。
With method (A) above, loading starts when the app is in use, so there is a waiting time. In method (B), applications that are not used are also loaded in the background, so there is a risk of wasting memory and increasing computational load.
制御装置の分野では、無駄のないメモリ管理が望まれている。
In the field of control devices, efficient memory management is desired.
本開示の一態様であるメモリ管理支援装置は、複数のアプリを使用して産業機械を制御する制御装置のメモリの管理を支援するメモリ管理支援装置であって、アプリの起動状態に関するデータ、及び制御装置の動作モードを取得するデータ取得部と、アプリの起動状態と制御装置の動作モードとを基に、メモリにロードするアプリの優先度を決定する優先度決定部と、メモリにロード可能なアプリの個数であるアプリ起動可能数を決定するアプリ起動可能数決定部と、を備え、優先度に従い、アプリ起動可能数のアプリを前記制御装置のメモリにロードさせる。
本開示の一態様である記憶媒体は、1つ又は複数のプロセッサが実行することにより、複数のアプリを使用して産業機械を制御する制御装置における、アプリの起動状態に関するデータ、及び制御装置の動作モードを取得し、アプリの起動状態と制御装置の動作モードとを基に、メモリにロードするアプリの優先度を決定し、メモリにロード可能なアプリの個数であるアプリ起動可能数を決定し、優先度に従い、アプリ起動可能数のアプリを前記制御装置のメモリにロードさせる、コンピュータが読み取り可能な命令を記憶する。 A memory management support device, which is one aspect of the present disclosure, is a memory management support device that supports memory management of a control device that controls an industrial machine using a plurality of apps, and includes data about the running state of the apps, and A data acquisition unit that acquires the operation mode of the control device; a priority determination unit that determines the priority of the application to be loaded into the memory based on the activation state of the application and the operation mode of the control device; an app activatable number determining unit that determines the app activatable number, which is the number of apps, and loads the app activatable number of apps into the memory of the control device according to the priority.
A storage medium, which is one aspect of the present disclosure, includes data about the activation state of an application in a control device that controls an industrial machine using a plurality of applications, and data of the control device, by being executed by one or more processors. The operation mode is acquired, the priority of the application to be loaded into memory is determined based on the activation state of the application and the operation mode of the control device, and the number of applications that can be loaded into memory is determined. , storing computer readable instructions for causing an app launchable number of apps to be loaded into the memory of the controller according to priority.
本開示の一態様である記憶媒体は、1つ又は複数のプロセッサが実行することにより、複数のアプリを使用して産業機械を制御する制御装置における、アプリの起動状態に関するデータ、及び制御装置の動作モードを取得し、アプリの起動状態と制御装置の動作モードとを基に、メモリにロードするアプリの優先度を決定し、メモリにロード可能なアプリの個数であるアプリ起動可能数を決定し、優先度に従い、アプリ起動可能数のアプリを前記制御装置のメモリにロードさせる、コンピュータが読み取り可能な命令を記憶する。 A memory management support device, which is one aspect of the present disclosure, is a memory management support device that supports memory management of a control device that controls an industrial machine using a plurality of apps, and includes data about the running state of the apps, and A data acquisition unit that acquires the operation mode of the control device; a priority determination unit that determines the priority of the application to be loaded into the memory based on the activation state of the application and the operation mode of the control device; an app activatable number determining unit that determines the app activatable number, which is the number of apps, and loads the app activatable number of apps into the memory of the control device according to the priority.
A storage medium, which is one aspect of the present disclosure, includes data about the activation state of an application in a control device that controls an industrial machine using a plurality of applications, and data of the control device, by being executed by one or more processors. The operation mode is acquired, the priority of the application to be loaded into memory is determined based on the activation state of the application and the operation mode of the control device, and the number of applications that can be loaded into memory is determined. , storing computer readable instructions for causing an app launchable number of apps to be loaded into the memory of the controller according to priority.
本発明の一態様により、無駄のないメモリ管理が実現できる。
According to one aspect of the present invention, efficient memory management can be realized.
[第1の開示]
以下、第1の開示のメモリ管理支援装置としての数値制御装置100を説明する。
第1の開示の数値制御装置100は、図1に示すような、工作機械200を制御する数値制御装置100に適用される。メモリ管理支援装置は、数値制御装置100の他に、産業用ロボットを制御するロボットコントローラなどに実装できる。また、メモリ管理装置を、ネットワーク上に配置し、制御装置に管理情報を提供してもよい。 [First Disclosure]
Anumerical controller 100 as a memory management support device of the first disclosure will be described below.
Anumerical controller 100 of the first disclosure is applied to a numerical controller 100 that controls a machine tool 200 as shown in FIG. The memory management support device can be implemented in a robot controller for controlling industrial robots, etc., in addition to the numerical control device 100 . A memory management device may also be located on the network to provide management information to the controller.
以下、第1の開示のメモリ管理支援装置としての数値制御装置100を説明する。
第1の開示の数値制御装置100は、図1に示すような、工作機械200を制御する数値制御装置100に適用される。メモリ管理支援装置は、数値制御装置100の他に、産業用ロボットを制御するロボットコントローラなどに実装できる。また、メモリ管理装置を、ネットワーク上に配置し、制御装置に管理情報を提供してもよい。 [First Disclosure]
A
A
図2は、数値制御装置100のハードウェア構成図である。数値制御装置100が備えるCPU111は、数値制御装置100を全体的に制御するプロセッサである。CPU111は、バスを介してROM112に加工されたシステム・プログラムを読み出し、該システム・プログラムに従って数値制御装置100の全体を制御する。RAM113には、一時的な計算データや表示データ、入力部71を介してユーザが入力した各種データ等が一時的に格納される。
FIG. 2 is a hardware configuration diagram of the numerical controller 100. As shown in FIG. A CPU 111 included in the numerical controller 100 is a processor that controls the numerical controller 100 as a whole. The CPU 111 reads the system program processed in the ROM 112 via the bus and controls the entire numerical controller 100 according to the system program. The RAM 113 temporarily stores calculation data, display data, various data input by the user via the input unit 71, and the like.
ROM112には、複数のアプリがインストールされている。RAM113には、アプリがロードされる。後述する優先度決定部は、アプリの優先度を決定する。図3に示すように、優先度の高いアプリはROM112(補助記憶装置)からRAM113(主記憶装置;メモリ)にロードされる。また、優先度の低いアプリはRAM113からROM112にアンロードされる。
A plurality of applications are installed in the ROM 112. Applications are loaded into the RAM 113 . A priority determining unit, which will be described later, determines the priority of the application. As shown in FIG. 3, high-priority applications are loaded from the ROM 112 (auxiliary storage device) to the RAM 113 (main storage device; memory). Also, applications with low priority are unloaded from the RAM 113 to the ROM 112 .
表示部70は、数値制御装置100に付属のモニタなどである。表示部70は、数値制御装置100の操作画面や設定画面などを表示する。
The display unit 70 is a monitor attached to the numerical controller 100 or the like. The display unit 70 displays an operation screen, a setting screen, and the like of the numerical controller 100 .
入力部71は、表示部70と一体、又は、表示部70とは別のキーボード、タッチパネルなどである。ユーザは入力部71を操作して、表示部70に表示された画面への入力などを行う。なお、表示部70及び入力部71は、携帯端末でもよい。
The input unit 71 is integrated with the display unit 70 or is a keyboard, touch panel, or the like that is separate from the display unit 70 . The user operates the input unit 71 to perform input to the screen displayed on the display unit 70 . Note that the display unit 70 and the input unit 71 may be mobile terminals.
不揮発性メモリ114は、例えば、図示しないバッテリでバックアップされるなどして、数値制御装置100の電源がオフされても記憶状態が保持されるメモリである。不揮発性メモリ114は、ワーク形状データ、工具形状データ、工具経路データ、加工プログラムを記憶する。不揮発性メモリ114には、図示しないインタフェースを介して外部機器から読み込まれたプログラムや入力部71を介して入力されたプログラム、数値制御装置100の各部や工作機械等から取得された各種データ(例えば、工作機械から取得した設定パラメータ等)が記憶される。不揮発性メモリ114に記憶されたプログラムや各種データは、実行時/利用時にはRAM113に展開されてもよい。また、ROM112には、各種のシステム・プログラムがあらかじめ書き込まれている。
The non-volatile memory 114 is, for example, a memory that is backed up by a battery (not shown) so that the memory state is retained even when the power of the numerical controller 100 is turned off. The nonvolatile memory 114 stores workpiece shape data, tool shape data, tool path data, and machining programs. The nonvolatile memory 114 stores programs read from external devices via an interface (not shown), programs input via the input unit 71, and various data (for example, , setting parameters obtained from the machine tool, etc.) are stored. Programs and various data stored in the non-volatile memory 114 may be developed in the RAM 113 at the time of execution/use. Various system programs are pre-written in the ROM 112 .
図4は、数値制御装置100のブロック図である。
第1の開示の数値制御装置100は、データ取得部1、データ記憶部2、機械制御部3、装置情報記憶部4、アプリ起動可能数決定部5、優先度決定部6、メモリ管理部7を備える。 FIG. 4 is a block diagram of thenumerical controller 100. As shown in FIG.
Thenumerical control device 100 of the first disclosure includes a data acquisition unit 1, a data storage unit 2, a machine control unit 3, a device information storage unit 4, an application startable number determination unit 5, a priority determination unit 6, and a memory management unit 7. Prepare.
第1の開示の数値制御装置100は、データ取得部1、データ記憶部2、機械制御部3、装置情報記憶部4、アプリ起動可能数決定部5、優先度決定部6、メモリ管理部7を備える。 FIG. 4 is a block diagram of the
The
データ取得部1は、アプリに関するデータ、及び装置の運転状況に関するデータを取得し、データ記憶部2に記憶する。アプリに関するデータとしては、アプリの起動回数、アプリの使用時間、数値制御装置100の電源断直前に使用していたアプリの種類などがある。機械状態に関するデータとしては、数値制御装置100の運転状況、数値制御装置100のCPU負荷率などがある。
The data acquisition unit 1 acquires data related to the application and data related to the operation status of the device, and stores them in the data storage unit 2. The data related to the application includes the number of times the application was started, the usage time of the application, the type of application used immediately before the power of the numerical controller 100 was turned off, and the like. The data relating to the machine state includes the operational status of the numerical controller 100, the CPU load factor of the numerical controller 100, and the like.
機械制御部3は、工作機械200や産業用ロボットなどの産業機械の制御を行う。機械制御部3の制御対象が工作機械の場合、機械制御部3は、加工プログラムに従い工作機械200を制御する。機械制御部3の制御対象が産業用ロボットの場合、産業用ロボットの動きを制御する。機械制御部3には、アプリがインストールされていることがある。アプリは、付加的な機能を実行するプログラムである。アプリのロード及びアンロードは、数値制御装置100のメモリ管理部7が実行する。
The machine control unit 3 controls industrial machines such as machine tools 200 and industrial robots. When the control target of the machine control unit 3 is a machine tool, the machine control unit 3 controls the machine tool 200 according to the machining program. When the control target of the machine control unit 3 is an industrial robot, it controls the movement of the industrial robot. An application may be installed in the machine control unit 3 . Apps are programs that perform additional functions. The loading and unloading of applications are executed by the memory management unit 7 of the numerical controller 100 .
装置情報記憶部4は、数値制御装置100のCPU111とメモリの仕様、工作機械200の使用軸数など、装置に関する情報を記憶する。ここでいう装置は、数値制御装置100と工作機械200の両方を意味する。
The device information storage unit 4 stores information about the device, such as the specifications of the CPU 111 and memory of the numerical control device 100, the number of axes used by the machine tool 200, and the like. The device here means both the numerical control device 100 and the machine tool 200 .
アプリ起動可能数決定部5は、メモリにロードするアプリの数(アプリ起動可能数と呼ぶ)を決定する。アプリ起動可能数の決定方法は、特に限定しない。自動で決定してもよいし、ユーザが手動で設定してもよい。アプリ起動可能数の決定方法は、後述する。
The app activatable number determination unit 5 determines the number of apps to be loaded into the memory (referred to as the app activatable number). A method for determining the number of applications that can be activated is not particularly limited. It may be determined automatically, or may be set manually by the user. A method for determining the number of applications that can be activated will be described later.
優先度決定部6は、メモリにロードするアプリの優先度を決定する。優先度の決定方法は、特に限定しない。優先度の決定方法は後述する。
The priority determination unit 6 determines the priority of applications to be loaded into memory. A method for determining priority is not particularly limited. A method of determining the priority will be described later.
メモリ管理部7は、アプリの実行時に主記憶装置と補助記憶装置のメモリ領域を管理する。メモリ管理部7は、アプリのロード、実行中のアプリによる動的なメモリ確保だけでなく、ファイルやネットワークなどのキャッシュ、バッファの管理を行う。
メモリ管理部7は、優先度決定部6が決定した優先度の高いアプリからロードする。 Thememory management unit 7 manages the memory areas of the main storage device and the auxiliary storage device when the application is executed. The memory management unit 7 manages caches and buffers of files, networks, etc., as well as loading of applications and dynamic memory allocation by the applications being executed.
Thememory management unit 7 loads applications in descending order of priority determined by the priority determination unit 6 .
メモリ管理部7は、優先度決定部6が決定した優先度の高いアプリからロードする。 The
The
図5を参照して、数値制御装置100の動作を説明する。
数値制御装置100を起動する(ステップS1)。このとき、数値制御装置100の不揮発性メモリ114には、電源断直前にデータ取得部1が取得したデータが記録されている。データ取得部1が取得したデータには、アプリの起動回数、アプリの使用時間、数値制御装置100の電源断直前に使用していたアプリの種類などが含まれる。数値制御装置100は、電源断直前にデータ取得部1が取得したデータを取得する(ステップS2)。 The operation of thenumerical controller 100 will be described with reference to FIG.
Thenumerical controller 100 is activated (step S1). At this time, the data acquired by the data acquiring unit 1 immediately before the power is turned off is recorded in the nonvolatile memory 114 of the numerical controller 100 . The data acquired by the data acquisition unit 1 includes the number of times the application was started, the usage time of the application, the type of application used immediately before the power of the numerical controller 100 was turned off, and the like. The numerical controller 100 acquires the data acquired by the data acquiring section 1 immediately before the power is turned off (step S2).
数値制御装置100を起動する(ステップS1)。このとき、数値制御装置100の不揮発性メモリ114には、電源断直前にデータ取得部1が取得したデータが記録されている。データ取得部1が取得したデータには、アプリの起動回数、アプリの使用時間、数値制御装置100の電源断直前に使用していたアプリの種類などが含まれる。数値制御装置100は、電源断直前にデータ取得部1が取得したデータを取得する(ステップS2)。 The operation of the
The
優先度決定部6は、データ取得部1が取得した電源断直前のデータを基に、メモリにロードするアプリの優先度を決定する(ステップS3)。優先度の決定方法の具体例は後述する。
The priority determination unit 6 determines the priority of the application to be loaded into the memory based on the data acquired by the data acquisition unit 1 immediately before the power failure (step S3). A specific example of the priority determination method will be described later.
アプリ起動可能数決定部5は、メモリにロードできるアプリの数(アプリ起動可能数)を決定する(ステップS4)。アプリ起動可能数は、ユーザが手動で設定してもよいし、数値制御装置100及び工作機械200の仕様から算出してもよい。アプリ起動可能数の決定方法は後述する。
The app activatable number determination unit 5 determines the number of apps that can be loaded into the memory (app activatable number) (step S4). The number of applications that can be activated may be manually set by the user, or may be calculated from the specifications of the numerical controller 100 and the machine tool 200 . A method for determining the number of applications that can be activated will be described later.
メモリ管理部7は、数値制御装置100の起動時に、メモリにアプリをロードする。このとき、優先度に従い、アプリ起動可能数だけアプリをメモリにロードする(ステップS5)。
The memory management unit 7 loads the application into the memory when the numerical controller 100 is started. At this time, according to the priority, the number of applications that can be activated is loaded into the memory (step S5).
機械制御部3は、加工プログラムに従い工作機械200を制御する。機械制御部3が工作機械200を制御する間、データ取得部1は、アプリに関するデータ、及び数値制御装置100の運転状況に関するデータを取得する(ステップS6)。
The machine control unit 3 controls the machine tool 200 according to the machining program. While the machine control unit 3 controls the machine tool 200, the data acquisition unit 1 acquires data related to the application and data related to the operation status of the numerical control device 100 (step S6).
優先度決定部6は、データ取得部1が取得したデータを基に、メモリにロードするアプリの優先度を決定する(ステップS7)。
メモリ管理部7は、優先度及びアプリ起動可能数に従い、アプリのロード及びアンロードを行う(ステップS8)。 Thepriority determination unit 6 determines the priority of the application to be loaded into the memory based on the data acquired by the data acquisition unit 1 (step S7).
Thememory management unit 7 loads and unloads the application according to the priority and the number of applications that can be activated (step S8).
メモリ管理部7は、優先度及びアプリ起動可能数に従い、アプリのロード及びアンロードを行う(ステップS8)。 The
The
数値制御装置100の電源断が指示されると(ステップS9;Yes)、数値制御装置100は、データ取得部1が取得した電源断前のデータを、不揮発性メモリ114に記憶する(ステップS10)。
数値制御装置100の電源断が指示されない場合(ステップS9;No)、ステップS6からステップS8の処理を繰り返す。数値制御装置100の電源を投入したときには、電源断前の起動状態のデータを用いて、アプリの優先度を決定する。 When thenumerical controller 100 is instructed to turn off the power (step S9; Yes), the numerical controller 100 stores the data acquired by the data acquisition unit 1 before the power was turned off in the nonvolatile memory 114 (step S10). .
If the instruction to turn off the power of thenumerical controller 100 is not given (step S9; No), the processing from step S6 to step S8 is repeated. When the power of the numerical controller 100 is turned on, the priority of the application is determined using the data of the activation state before the power was turned off.
数値制御装置100の電源断が指示されない場合(ステップS9;No)、ステップS6からステップS8の処理を繰り返す。数値制御装置100の電源を投入したときには、電源断前の起動状態のデータを用いて、アプリの優先度を決定する。 When the
If the instruction to turn off the power of the
以上説明したように、第1の開示のメモリ管理支援装置としての数値制御装置100は、電源投入前及び稼働時に、アプリに関するデータ及び運転状況に関するデータを取得し、取得したデータを用いて、アプリのロードの優先度を決定し、優先度の高いアプリをロードする。ロードできるアプリの数(アプリ起動可能数)は、数値制御装置100や工作機械200など、装置に関する情報から決定する。
As described above, the numerical control device 100 as the memory management support device of the first disclosure acquires data related to the application and data related to the driving situation before power-on and during operation, and uses the acquired data to to determine the load priority of and load apps with higher priority. The number of applications that can be loaded (the number of applications that can be activated) is determined from information about devices such as the numerical control device 100 and the machine tool 200 .
データ取得部1が取得したデータは、数値制御装置100及び工作機械の動作状態と、その動作状態において使用されるアプリとを関連付ける。データ取得部1が取得したデータにより、動作状態ごとの、アプリの起動時間、起動回数などが分かる。優先度決定部6は、ある動作状態における、アプリの起動時間、起動回数、次にアプリが起動される確率などから、各アプリの優先度を決定し、メモリ管理部7は、使用する可能性の高いアプリを優先的にロードする。
The data acquired by the data acquisition unit 1 associates the operating states of the numerical control device 100 and the machine tool with the applications used in the operating states. From the data acquired by the data acquisition unit 1, the activation time, the number of activations, etc. of the application for each operating state can be known. The priority determination unit 6 determines the priority of each application based on the activation time of the application, the number of activations, the probability that the application will be activated next, etc. in a certain operating state. Preferentially load apps with high
数値制御装置100の運転状態に応じて、使用する可能性の高いアプリを予めロードすることにより、ローディングに伴う待ち時間を削減する。データ取得部1が取得したデータを基にアプリの起動時間、起動回数、次にアプリが起動される確率を算出することにより、数値制御装置100及び動作モードごとの、アプリの使用傾向が分かり、リソースの無駄遣いを減らし、ロードの待ち時間を短縮できる。
By pre-loading applications that are likely to be used according to the operating state of the numerical controller 100, the waiting time associated with loading is reduced. Based on the data acquired by the data acquisition unit 1, by calculating the activation time of the application, the number of times the application is activated, and the probability that the application will be activated next time, the usage tendency of the application for each numerical control device 100 and each operation mode can be understood. Less wasted resources and less waiting time for loading.
[第2の開示]
以下、(1)優先度の決定方法、及び(2)アプリ起動可能数の決定方法を具体的に説明する。
(1.1)総起動回数を用いた優先度の決定方法
データ取得部1は、アプリに係るデータとして、数値制御装置100の稼働時の各アプリの起動状態を取得する。データ取得部1は、取得したデータを、一定周期でリングバッファに格納し、格納したデータをデータ記憶部2に記憶する。データ取得部1は、取得したデータから各アプリの総起動回数などをカウントし、データ記憶部2に記憶する。 [Second Disclosure]
Hereinafter, (1) a priority determination method and (2) a determination method of the number of applications that can be activated will be specifically described.
(1.1) Method of Determining Priority Using Total Activation Count The data acquisition unit 1 acquires the activation state of each application when thenumerical control device 100 is in operation as data related to the application. The data acquisition unit 1 stores the acquired data in the ring buffer at regular intervals, and stores the stored data in the data storage unit 2 . The data acquisition unit 1 counts the total number of activations of each application from the acquired data, and stores it in the data storage unit 2 .
以下、(1)優先度の決定方法、及び(2)アプリ起動可能数の決定方法を具体的に説明する。
(1.1)総起動回数を用いた優先度の決定方法
データ取得部1は、アプリに係るデータとして、数値制御装置100の稼働時の各アプリの起動状態を取得する。データ取得部1は、取得したデータを、一定周期でリングバッファに格納し、格納したデータをデータ記憶部2に記憶する。データ取得部1は、取得したデータから各アプリの総起動回数などをカウントし、データ記憶部2に記憶する。 [Second Disclosure]
Hereinafter, (1) a priority determination method and (2) a determination method of the number of applications that can be activated will be specifically described.
(1.1) Method of Determining Priority Using Total Activation Count The data acquisition unit 1 acquires the activation state of each application when the
データ取得部1が取得するデータには、データの取得日時、数値制御装置100の運転状態(動作モード)、アプリ名、起動回数[回]、起動状態などが含まれる。以下は、データ取得部1が取得したデータの一例である。
データ例:202112100900,MEM,60;A,10,1;B,15,1;,C,3,0;D,7,0;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、CPU負荷率「60%」、アプリ「A」、起動回数「10回」、「起動中」、アプリ「B」、起動回数「15回」、起動状態「起動中」、アプリ「C」、起動回数「3回」、起動状態「停止中」、アプリ「D」、起動回数「7回」、起動状態「停止中」である。 The data acquired by the data acquisition unit 1 includes the data acquisition date and time, the operation state (operation mode) of thenumerical controller 100, the application name, the number of times of activation [times], the activation state, and the like. The following is an example of data acquired by the data acquisition unit 1 .
Data example: 202112100900, MEM, 60; A, 10, 1; B, 15, 1;, C, 3, 0; D, 7, 0;
The contents of this data are: Acquisition date and time "December 10, 2021 09:00", operation mode "MEM mode", CPU load factor "60%", application "A", number of startups "10 times", "startup medium", application "B", number of times of activation "15 times", start state "starting", application "C", number of times of start "3 times", state of start "stopping", application "D", number of times of start "7" times”, and the activation state is “stopping”.
データ例:202112100900,MEM,60;A,10,1;B,15,1;,C,3,0;D,7,0;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、CPU負荷率「60%」、アプリ「A」、起動回数「10回」、「起動中」、アプリ「B」、起動回数「15回」、起動状態「起動中」、アプリ「C」、起動回数「3回」、起動状態「停止中」、アプリ「D」、起動回数「7回」、起動状態「停止中」である。 The data acquired by the data acquisition unit 1 includes the data acquisition date and time, the operation state (operation mode) of the
Data example: 202112100900, MEM, 60; A, 10, 1; B, 15, 1;, C, 3, 0; D, 7, 0;
The contents of this data are: Acquisition date and time "December 10, 2021 09:00", operation mode "MEM mode", CPU load factor "60%", application "A", number of startups "10 times", "startup medium", application "B", number of times of activation "15 times", start state "starting", application "C", number of times of start "3 times", state of start "stopping", application "D", number of times of start "7" times”, and the activation state is “stopping”.
データ取得部1が取得した各アプリの起動回数を用いて、数値制御装置100のモードごとの各アプリの総起動回数が算出できる。算出したデータには、データの更新日時、数値制御装置の運転状態(動作モード)、アプリ名、総起動回数[回]などが含まれる。以下は、算出したデータの一例である。
データ例:202112100900,MEM;A,130;B,110,C,65;D,50;
このデータの内容は、更新日時「2021年12月10日9時00分」、動作モード「MEMモード」、アプリ「A」、総起動回数「130回」、アプリ「B」、総起動回数「110回」、アプリ「C」、総起動回数「65回」、アプリ「D」、総起動回数「50回」である。 The total number of times each application is started for each mode of thenumerical control device 100 can be calculated using the number of times each application is started which is acquired by the data acquisition unit 1 . The calculated data includes the data update date and time, the operating state (operation mode) of the numerical controller, the application name, the total number of activations [times], and the like. Below is an example of the calculated data.
Data example: 202112100900, MEM; A, 130; B, 110, C, 65; D, 50;
The contents of this data are the update date and time "December 10, 2021 9:00", operation mode "MEM mode", application "A", total number of starts "130 times", application "B", total number of starts " 110 times”, application “C”, total number of times of activation “65 times”, application “D”, total number of times of activation “50 times”.
データ例:202112100900,MEM;A,130;B,110,C,65;D,50;
このデータの内容は、更新日時「2021年12月10日9時00分」、動作モード「MEMモード」、アプリ「A」、総起動回数「130回」、アプリ「B」、総起動回数「110回」、アプリ「C」、総起動回数「65回」、アプリ「D」、総起動回数「50回」である。 The total number of times each application is started for each mode of the
Data example: 202112100900, MEM; A, 130; B, 110, C, 65; D, 50;
The contents of this data are the update date and time "December 10, 2021 9:00", operation mode "MEM mode", application "A", total number of starts "130 times", application "B", total number of starts " 110 times”, application “C”, total number of times of activation “65 times”, application “D”, total number of times of activation “50 times”.
起動回数から優先度を決定する場合、優先度決定部6は、各アプリxの動作モードごとの総起動回数Nxを以下の数式に代入して各アプリの優先度pxを求める。
When determining the priority from the number of activations, the priority determining unit 6 substitutes the total number of activations Nx for each operation mode of each application x into the following formula to obtain the priority px of each application.
アプリBを例として優先度pBを算出する。アプリBの総起動回数NBが「110回」、最小起動回数min(N)がアプリDの総起動回数「50回」、最大起動回数max(N)がアプリAの総起動回数「130」回である。これらの数値を上式に代入すると、以下のようになり、アプリBの優先度が求まる。
Using application B as an example, calculate the priority pB. The total number of startups NB of application B is "110", the minimum number of startups min(N) is the total number of startups of application D "50", and the maximum number of startups max(N) is the total number of startups of application A "130". is. Substituting these numerical values into the above formula yields the following, and the priority of application B can be obtained.
(1.2)起動時間を用いた優先度の決定方法
データ取得部1が取得するデータには、データの取得日時、数値制御装置100の運転状態(動作モード)、各動作モードの運転時間[h]、アプリ名、起動時間[h]などが含まれる。以下は、データ取得部1が取得したデータの一例である。
データ例:20211210900,MEM,60;A,1.5,1;B,2.0,1;C,1.7,0;D,2.0,0;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードでの運転時間「60h」、アプリ「A」、起動時間「1.5h」、起動状態「起動中」、アプリ「B」、起動時間「2.0h」、起動状態「起動中」、アプリ「C」、起動時間「1.7h」、起動状態「停止中」、アプリ名「D」、起動時間「2.0h」、起動状態「停止中」である。 (1.2) Method of Determining Priority Using Starting Time The data acquired by the data acquisition unit 1 includes the date and time of data acquisition, the operating state (operating mode) of thenumerical controller 100, and the operating time of each operating mode [ h], application name, startup time [h], and the like. The following is an example of data acquired by the data acquisition unit 1 .
Data example: 20211210900, MEM, 60; A, 1.5, 1; B, 2.0, 1; C, 1.7, 0; D, 2.0, 0;
The content of this data is the date and time of acquisition "December 10, 2021 09:00", operation mode "MEM mode", operation time in MEM mode "60 hours", application "A", startup time "1.5 hours" , startup state "starting", application "B", startup time "2.0h", startup state "starting", application "C", startup time "1.7h", startup state "stopped", application name "D", activation time "2.0h", and activation state "stopping".
データ取得部1が取得するデータには、データの取得日時、数値制御装置100の運転状態(動作モード)、各動作モードの運転時間[h]、アプリ名、起動時間[h]などが含まれる。以下は、データ取得部1が取得したデータの一例である。
データ例:20211210900,MEM,60;A,1.5,1;B,2.0,1;C,1.7,0;D,2.0,0;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードでの運転時間「60h」、アプリ「A」、起動時間「1.5h」、起動状態「起動中」、アプリ「B」、起動時間「2.0h」、起動状態「起動中」、アプリ「C」、起動時間「1.7h」、起動状態「停止中」、アプリ名「D」、起動時間「2.0h」、起動状態「停止中」である。 (1.2) Method of Determining Priority Using Starting Time The data acquired by the data acquisition unit 1 includes the date and time of data acquisition, the operating state (operating mode) of the
Data example: 20211210900, MEM, 60; A, 1.5, 1; B, 2.0, 1; C, 1.7, 0; D, 2.0, 0;
The content of this data is the date and time of acquisition "December 10, 2021 09:00", operation mode "MEM mode", operation time in MEM mode "60 hours", application "A", startup time "1.5 hours" , startup state "starting", application "B", startup time "2.0h", startup state "starting", application "C", startup time "1.7h", startup state "stopped", application name "D", activation time "2.0h", and activation state "stopping".
データ取得部1が取得した各アプリの起動時間を用いて、各アプリのモードごとの総起動時間が算出できる。算出したデータには、データの更新日時、数値制御装置の運転状態(動作モード)、各動作モードでの総運転時間[h]、アプリ名、総起動時間「h」などが含まれる。以下は、算出したデータ一例である。
データ例:202112100900、MEM、340.0;A、120.0;B、90.5;C、20.0;D、45.5;
このデータの内容は、更新日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードの総運転時間「340.0h」、アプリ「A」、総起動時間「120.0h」、アプリ「B」、総起動時間「90.5h」、アプリ「C」、総起動時間「20.0h」、アプリ「D」、総起動時間「45.5h」である。 Using the activation time of each application acquired by the data acquisition unit 1, the total activation time for each mode of each application can be calculated. The calculated data includes the data update date and time, the operating state (operating mode) of the numerical control device, the total operating time [h] in each operating mode, the application name, the total startup time "h", and the like. The following is an example of calculated data.
Example data: 202112100900, MEM, 340.0; A, 120.0; B, 90.5; C, 20.0; D, 45.5;
The contents of this data are the update date and time "December 10, 2021 09:00", the operation mode "MEM mode", the total operating time in MEM mode "340.0h", the application "A", the total startup time "120 0h", application "B", total startup time "90.5h", application "C", total startup time "20.0h", application "D", total startup time "45.5h".
データ例:202112100900、MEM、340.0;A、120.0;B、90.5;C、20.0;D、45.5;
このデータの内容は、更新日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードの総運転時間「340.0h」、アプリ「A」、総起動時間「120.0h」、アプリ「B」、総起動時間「90.5h」、アプリ「C」、総起動時間「20.0h」、アプリ「D」、総起動時間「45.5h」である。 Using the activation time of each application acquired by the data acquisition unit 1, the total activation time for each mode of each application can be calculated. The calculated data includes the data update date and time, the operating state (operating mode) of the numerical control device, the total operating time [h] in each operating mode, the application name, the total startup time "h", and the like. The following is an example of calculated data.
Example data: 202112100900, MEM, 340.0; A, 120.0; B, 90.5; C, 20.0; D, 45.5;
The contents of this data are the update date and time "December 10, 2021 09:00", the operation mode "MEM mode", the total operating time in MEM mode "340.0h", the application "A", the total startup time "120 0h", application "B", total startup time "90.5h", application "C", total startup time "20.0h", application "D", total startup time "45.5h".
起動時間から各アプリの優先度pxを決定する場合、優先度決定部6は、各動作モードの総運転時間tMと、各アプリxの動作モードごとの総起動時間Txを以下の数式に代入する。
When determining the priority px of each application from the activation time, the priority determination unit 6 substitutes the total operating time tM of each operation mode and the total activation time Tx for each operation mode of each application x into the following formula. .
アプリBを例として優先度pBを算出する。アプリBの総起動時間TBは「90.5h」、MEMモードでの総運転時間は「340.0h」である。これらの数値を上式に代入すると、以下のようになり、アプリBの優先度が求まる。
Using application B as an example, calculate the priority pB. The total activation time TB of application B is "90.5 hours", and the total operating time in MEM mode is "340.0 hours". Substituting these numerical values into the above formula yields the following, and the priority of application B can be obtained.
(1.3)条件付き確率を使用した優先度の決定方法
データ取得部1は、データの取得日時、数値制御装置100の運転状態(動作モード)、動作モードの実行回数、アプリ名、起動回数[回]、起動状態、直前のアプリ名などを取得する。データ取得部1が取得するデータは以下のようになる。
データ例:202112100900,MEM,400;A,10,1,B;B,15,1,D;C,3,0,B;D,7,0,A;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードの実行回数「400回」、アプリ「A」、起動回数「10回」、起動状態「起動中」、直前のアプリ「B」、アプリ「B」、起動回数「15回」、起動状態「起動中」、直前のアプリ「D」、アプリ「C」、起動回数「3回」、起動状態「停止中」、直前のアプリ「B」、アプリ「D」、起動回数「7回」、起動状態「停止中」、直前のアプリ「A」である。 (1.3) Priority determination method using conditional probability Data acquisition unit 1 obtains date and time of data acquisition, operation state (operation mode) ofnumerical control device 100, number of times of execution of operation mode, application name, number of times of activation. Get [Times], startup status, previous app name, etc. The data acquired by the data acquisition unit 1 are as follows.
Data example: 202112100900, MEM, 400; A, 10, 1, B; B, 15, 1, D; C, 3, 0, B; D, 7, 0, A;
The contents of this data are: Acquisition date and time "December 10, 2021 09:00", operation mode "MEM mode", number of executions of MEM mode "400 times", application "A", number of times started "10 times", Startup state "starting", previous application "B", application "B", number of startups "15 times", startup state "starting", previous application "D", application "C", number of startups "3 times" , activation state "stopped", previous application "B", application "D", number of times of activation "7 times", activation state "stopped", and previous application "A".
データ取得部1は、データの取得日時、数値制御装置100の運転状態(動作モード)、動作モードの実行回数、アプリ名、起動回数[回]、起動状態、直前のアプリ名などを取得する。データ取得部1が取得するデータは以下のようになる。
データ例:202112100900,MEM,400;A,10,1,B;B,15,1,D;C,3,0,B;D,7,0,A;
このデータの内容は、取得日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードの実行回数「400回」、アプリ「A」、起動回数「10回」、起動状態「起動中」、直前のアプリ「B」、アプリ「B」、起動回数「15回」、起動状態「起動中」、直前のアプリ「D」、アプリ「C」、起動回数「3回」、起動状態「停止中」、直前のアプリ「B」、アプリ「D」、起動回数「7回」、起動状態「停止中」、直前のアプリ「A」である。 (1.3) Priority determination method using conditional probability Data acquisition unit 1 obtains date and time of data acquisition, operation state (operation mode) of
Data example: 202112100900, MEM, 400; A, 10, 1, B; B, 15, 1, D; C, 3, 0, B; D, 7, 0, A;
The contents of this data are: Acquisition date and time "December 10, 2021 09:00", operation mode "MEM mode", number of executions of MEM mode "400 times", application "A", number of times started "10 times", Startup state "starting", previous application "B", application "B", number of startups "15 times", startup state "starting", previous application "D", application "C", number of startups "3 times" , activation state "stopped", previous application "B", application "D", number of times of activation "7 times", activation state "stopped", and previous application "A".
データ取得部1が取得したデータを用いて、数値制御装置100のモードごとに、あるアプリが起動しているとき、次に起動するアプリの起動回数を算出することができる。算出したデータには、データの更新日時、数値制御装置100の運転状態(動作モード)、モード総実行回数、アプリ名、総起動回数[回]、アプリX(アプリA、アプリB、アプリC、アプリD)を次に起動した回数[回]などが含まれる。以下は、算出したデータの一例である。
データ例:20211210900,MEM,400;A,130,0,50,25,60;B,110,20,0,75,50;C,80,15,50,0,70,D,60,30,10,5,0;
このデータの内容は、更新日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードでの総起動回数「400」、アプリ「A」、総起動回数「130回」、次にアプリAを起動した回数「0回」、次にアプリBを起動した回数「50回」、次にアプリCを起動した回数「25回」、次にアプリDを起動した回数「60回」、アプリ「B」、総起動回数「110」、次にアプリAを起動した回数「20回」、次にアプリBを起動した回数「0回」、次にアプリCを起動した回数「75回」、次にアプリDを起動した回数「50回」、アプリ「C」、総起動回数「80回」、次にアプリAを起動した回数「15回」、次にアプリBを起動した回数「50回」、次にアプリCを起動した回数「0回」、次にアプリDを起動した回数「70回」、アプリ「D」、総起動回数「60」、次にアプリAを起動した回数「30回」、次にアプリBを起動した回数「10回」、次にアプリCを起動した回数「5回」、次にアプリDを起動した回数「0回」である。 Using the data acquired by the data acquisition unit 1, when a certain application is running, the number of times the application to be started next can be calculated for each mode of thenumerical control device 100. FIG. The calculated data includes data update date and time, operating state (operation mode) of the numerical controller 100, total mode execution count, application name, total start count [times], application X (application A, application B, application C, The number of times [time] that the application D) was started next is included. Below is an example of the calculated data.
Data example: 20211210900, MEM, 400; A, 130, 0, 50, 25, 60; B, 110, 20, 0, 75, 50; , 10, 5, 0;
The contents of this data are the update date and time "December 10, 2021 09:00", the operation mode "MEM mode", the total number of starts in MEM mode "400", the application "A", the total number of starts "130 times". ”, then the number of times application A was started “0 times”, then the number of times application B was started “50 times”, then the number of times application C was started “25 times”, and then the number of times application D was started “ 60 times", application "B", total start count "110", number of times application A was started next "20 times", number of times application B was started next "0 times", number of times application C was started next "75 times", then the number of times app D was started "50 times", app "C", the total number of times started "80 times", then the number of times app A was started "15 times", then app B was started 50 times, then application C was started 0 times, then application D was started 70 times, application D was started, total number of times started was 60, then application A was started. The number of launches is "30 times", the number of launches of application B is "10 times", the number of launches of application C is "5 times", and the number of launches of application D is "0 times".
データ例:20211210900,MEM,400;A,130,0,50,25,60;B,110,20,0,75,50;C,80,15,50,0,70,D,60,30,10,5,0;
このデータの内容は、更新日時「2021年12月10日09時00分」、動作モード「MEMモード」、MEMモードでの総起動回数「400」、アプリ「A」、総起動回数「130回」、次にアプリAを起動した回数「0回」、次にアプリBを起動した回数「50回」、次にアプリCを起動した回数「25回」、次にアプリDを起動した回数「60回」、アプリ「B」、総起動回数「110」、次にアプリAを起動した回数「20回」、次にアプリBを起動した回数「0回」、次にアプリCを起動した回数「75回」、次にアプリDを起動した回数「50回」、アプリ「C」、総起動回数「80回」、次にアプリAを起動した回数「15回」、次にアプリBを起動した回数「50回」、次にアプリCを起動した回数「0回」、次にアプリDを起動した回数「70回」、アプリ「D」、総起動回数「60」、次にアプリAを起動した回数「30回」、次にアプリBを起動した回数「10回」、次にアプリCを起動した回数「5回」、次にアプリDを起動した回数「0回」である。 Using the data acquired by the data acquisition unit 1, when a certain application is running, the number of times the application to be started next can be calculated for each mode of the
Data example: 20211210900, MEM, 400; A, 130, 0, 50, 25, 60; B, 110, 20, 0, 75, 50; , 10, 5, 0;
The contents of this data are the update date and time "December 10, 2021 09:00", the operation mode "MEM mode", the total number of starts in MEM mode "400", the application "A", the total number of starts "130 times". ”, then the number of times application A was started “0 times”, then the number of times application B was started “50 times”, then the number of times application C was started “25 times”, and then the number of times application D was started “ 60 times", application "B", total start count "110", number of times application A was started next "20 times", number of times application B was started next "0 times", number of times application C was started next "75 times", then the number of times app D was started "50 times", app "C", the total number of times started "80 times", then the number of times app A was started "15 times", then app B was started 50 times, then application C was started 0 times, then application D was started 70 times, application D was started, total number of times started was 60, then application A was started. The number of launches is "30 times", the number of launches of application B is "10 times", the number of launches of application C is "5 times", and the number of launches of application D is "0 times".
ここでは、ある条件(例えば、アプリAが起動されているという条件)のもとで、別のある事象(例えば、アプリBが次に起動される事象)が起こる確率である、条件付き確率を求め、条件付き確率を優先度pとする。以下は現在アプリAが起動しているとき、次にアプリB、アプリC、アプリDが起動する確率P(B|A)、P(C|A)、P(D|A)を求める。アプリAが起動中のとき、優先度pBを算出する例を以下に示す。
Here, the conditional probability, which is the probability that another event (for example, the event that application B is next started) occurs under a certain condition (for example, the condition that application A is started) is and let the conditional probability be the priority p. Below, when the application A is currently running, the probabilities P(B|A), P(C|A), and P(D|A) that the applications B, C, and D will start next are obtained. An example of calculating the priority pB when the application A is running is shown below.
(1.4)電源断直前に起動していたアプリの優先度の決定方法
データ取得部1は、電源断直前の数値制御装置100における各アプリの起動の有無を取得し、不揮発性メモリ114に記憶する。
数値制御装置100に電源が投入されると、優先度決定部6は、データ記憶部2を参照し、電源断直前に起動状態「起動中」であるアプリの起動時の優先度pを1とする。優先度pが1の場合は、優先的にロードされる。 (1.4) Method of determining priority of applications started immediately before power failure Remember.
When thenumerical control device 100 is powered on, the priority determination unit 6 refers to the data storage unit 2 and sets the priority p at the time of activation of the application that is in the activation state “starting” immediately before the power is turned off to 1. do. If the priority p is 1, it is preferentially loaded.
データ取得部1は、電源断直前の数値制御装置100における各アプリの起動の有無を取得し、不揮発性メモリ114に記憶する。
数値制御装置100に電源が投入されると、優先度決定部6は、データ記憶部2を参照し、電源断直前に起動状態「起動中」であるアプリの起動時の優先度pを1とする。優先度pが1の場合は、優先的にロードされる。 (1.4) Method of determining priority of applications started immediately before power failure Remember.
When the
次いで、(2)アプリ起動可能数の決定方法を説明する。
(2.1)負荷率を用いたアプリ起動可能数の決定方法
データ取得部1は、機械状態に係るデータとして、CPU111の負荷率[%]を取得する。アプリ起動可能数決定部には、CPU負荷率の最大値が設定されている。ここで、最大値を80%とする。アプリ起動可能数決定部は、CPU負荷率を監視し、CPU負荷率が80%超えた場合には、優先度の低い順にアプリを停止させる。これにより、アプリ起動可能数を調整する。但し、優先度p=1の場合は、CPU負荷率に関係なく必ずそのアプリを起動させる。 Next, (2) a method for determining the number of applications that can be activated will be described.
(2.1) Method of Determining the Number of Applications that Can Be Activated Using the Load Factor The data acquisition unit 1 acquires the load factor [%] of theCPU 111 as data relating to the machine state. The maximum value of the CPU load factor is set in the app start-up count determination unit. Here, let the maximum value be 80%. The app start-up count determination unit monitors the CPU load factor, and when the CPU load factor exceeds 80%, the apps are stopped in descending order of priority. This adjusts the number of applications that can be activated. However, when the priority p=1, the application is always started regardless of the CPU load factor.
(2.1)負荷率を用いたアプリ起動可能数の決定方法
データ取得部1は、機械状態に係るデータとして、CPU111の負荷率[%]を取得する。アプリ起動可能数決定部には、CPU負荷率の最大値が設定されている。ここで、最大値を80%とする。アプリ起動可能数決定部は、CPU負荷率を監視し、CPU負荷率が80%超えた場合には、優先度の低い順にアプリを停止させる。これにより、アプリ起動可能数を調整する。但し、優先度p=1の場合は、CPU負荷率に関係なく必ずそのアプリを起動させる。 Next, (2) a method for determining the number of applications that can be activated will be described.
(2.1) Method of Determining the Number of Applications that Can Be Activated Using the Load Factor The data acquisition unit 1 acquires the load factor [%] of the
(2.2)機械の仕様を用いたアプリ起動可能数の決定方法
データ取得部1は、機械に係るデータとしてCPU111のコア数(CPU111の処理能力)、メモリの容量、工作機械200の軸数などを取得する。アプリ起動可能数決定部5は、工作機械200及び数値制御装置100に係るデータを用いてアプリ起動可能数を決定する。
図6は、工作機械200及び数値制御装置100に係るデータと、アプリ起動可能数とを関連付ける表である。
CPU111のコア数「2」、メモリ容量「1G」であって、軸数「1~10」の場合、アプリ起動可能数は「10」になり、軸数「11~30」の場合、アプリ起動可能数は「8」になり、軸数「31~50」の場合、アプリ起動可能数は「6」になる。
CPU111のコア数「2」、メモリ容量「3G」であって、軸数「1~10」の場合、アプリ起動可能数は「15」になり、軸数「11~30」の場合、アプリ起動可能数は「13」になり、軸数「31~50」の場合、アプリ起動可能数は「10」になる。 (2.2) Method for determining the number of applications that can be activated using machine specifications The data acquisition unit 1 obtains the number of cores of the CPU 111 (processing capacity of the CPU 111), the capacity of the memory, and the number of axes of themachine tool 200 as data related to the machine. and so on. The number of applications that can be activated is determined by using data related to the machine tool 200 and the numerical controller 100 .
FIG. 6 is a table that associates data related tomachine tool 200 and numerical control device 100 with the number of applications that can be activated.
When the number of cores of theCPU 111 is "2", the memory capacity is "1G", and the number of axes is "1 to 10", the number of applications that can be started is "10". The number of possible applications is "8", and when the number of axes is "31 to 50", the number of applications that can be activated is "6".
When the number of cores of theCPU 111 is "2", the memory capacity is "3G", and the number of axes is "1 to 10", the number of applications that can be started is "15". The number of possible applications is "13", and if the number of axes is "31 to 50", the number of applications that can be activated is "10".
データ取得部1は、機械に係るデータとしてCPU111のコア数(CPU111の処理能力)、メモリの容量、工作機械200の軸数などを取得する。アプリ起動可能数決定部5は、工作機械200及び数値制御装置100に係るデータを用いてアプリ起動可能数を決定する。
図6は、工作機械200及び数値制御装置100に係るデータと、アプリ起動可能数とを関連付ける表である。
CPU111のコア数「2」、メモリ容量「1G」であって、軸数「1~10」の場合、アプリ起動可能数は「10」になり、軸数「11~30」の場合、アプリ起動可能数は「8」になり、軸数「31~50」の場合、アプリ起動可能数は「6」になる。
CPU111のコア数「2」、メモリ容量「3G」であって、軸数「1~10」の場合、アプリ起動可能数は「15」になり、軸数「11~30」の場合、アプリ起動可能数は「13」になり、軸数「31~50」の場合、アプリ起動可能数は「10」になる。 (2.2) Method for determining the number of applications that can be activated using machine specifications The data acquisition unit 1 obtains the number of cores of the CPU 111 (processing capacity of the CPU 111), the capacity of the memory, and the number of axes of the
FIG. 6 is a table that associates data related to
When the number of cores of the
When the number of cores of the
図6の表によれば、数値制御装置100が制御する工作機械200の機械構成に対し、数値制御装置100のリソースに負荷がかかり過ぎないような、アプリ起動可能数を決定することができる。
According to the table in FIG. 6, it is possible to determine the number of applications that can be activated with respect to the machine configuration of the machine tool 200 controlled by the numerical controller 100 so that the resources of the numerical controller 100 are not overloaded.
(2.3)手動でのアプリ起動可能数の決定方法
アプリ起動可能数決定部5は、アプリ起動可能数の手動での設定を受け付ける。上述したように、アプリ起動可能数は、制御対象である工作機械の仕様、数値制御装置100のリソースで変化する。ユーザは、数値制御装置100及び工作機械200の仕様をもとに適当なアプリ起動可能数を手動で設定することもできる。 (2.3) Method of Manually Determining Number of Activable Applications The number of activatableapplications determining unit 5 accepts manual setting of the number of activatable applications. As described above, the number of applications that can be activated varies depending on the specifications of the machine tool to be controlled and the resources of the numerical controller 100 . The user can also manually set an appropriate number of applications that can be activated based on the specifications of the numerical control device 100 and the machine tool 200 .
アプリ起動可能数決定部5は、アプリ起動可能数の手動での設定を受け付ける。上述したように、アプリ起動可能数は、制御対象である工作機械の仕様、数値制御装置100のリソースで変化する。ユーザは、数値制御装置100及び工作機械200の仕様をもとに適当なアプリ起動可能数を手動で設定することもできる。 (2.3) Method of Manually Determining Number of Activable Applications The number of activatable
[動作モードと優先度の関連性]
本開示では、アプリの優先度を、数値制御装置100の動作モードごとに算出した。
数値制御装置100の動作モードと使用するアプリには関連がある。以下、動作モードとアプリについて説明する。
図7は、数値制御装置100の動作モードの表である。
数値制御装置100のモードには、「メモリ運転モード:MEM」、「MDIモード:MDI」、「編集モード:EDIT」、「ハンドルモード:HDL」、「ジョグ送りモード:JOG」などがある。
「メモリ運転モード」において数値制御装置100は、加工プログラムを解析し、工作機械を制御する。「メモリ運転モード」は、いわゆる自動運転モードである。「MDIモード」において数値制御装置100は、MDI(Manual Data Input)を表示し、パラメータの設定、ラダーの入力などを受け付ける。編集モードにおいて数値制御装置100は、加工プログラムの編集を受け付ける。ハンドルモードにおいて数値制御装置100は、パルスハンドルなどからの入力を基に工作機械の手動操作を受け付ける。「ジョグ送りモード」では、ジョグレバーなどからの入力を基に工作機械の手動操作を受け付ける。 [Relationship between operation mode and priority]
In the present disclosure, the application priority is calculated for each operation mode of thenumerical controller 100 .
There is a relationship between the operation mode of thenumerical controller 100 and the application used. Operation modes and applications are described below.
FIG. 7 is a table of operation modes of thenumerical controller 100. As shown in FIG.
Modes of thenumerical controller 100 include "memory operation mode: MEM", "MDI mode: MDI", "edit mode: EDIT", "handle mode: HDL", and "jog feed mode: JOG".
In the "memory operation mode", thenumerical controller 100 analyzes the machining program and controls the machine tool. The "memory operation mode" is a so-called automatic operation mode. In the "MDI mode", the numerical controller 100 displays MDI (Manual Data Input) and accepts parameter settings, ladder inputs, and the like. In the edit mode, the numerical controller 100 accepts editing of the machining program. In the handle mode, the numerical controller 100 accepts manual operation of the machine tool based on input from a pulse handle or the like. In "jog feed mode", manual operation of the machine tool is accepted based on input from the jog lever.
本開示では、アプリの優先度を、数値制御装置100の動作モードごとに算出した。
数値制御装置100の動作モードと使用するアプリには関連がある。以下、動作モードとアプリについて説明する。
図7は、数値制御装置100の動作モードの表である。
数値制御装置100のモードには、「メモリ運転モード:MEM」、「MDIモード:MDI」、「編集モード:EDIT」、「ハンドルモード:HDL」、「ジョグ送りモード:JOG」などがある。
「メモリ運転モード」において数値制御装置100は、加工プログラムを解析し、工作機械を制御する。「メモリ運転モード」は、いわゆる自動運転モードである。「MDIモード」において数値制御装置100は、MDI(Manual Data Input)を表示し、パラメータの設定、ラダーの入力などを受け付ける。編集モードにおいて数値制御装置100は、加工プログラムの編集を受け付ける。ハンドルモードにおいて数値制御装置100は、パルスハンドルなどからの入力を基に工作機械の手動操作を受け付ける。「ジョグ送りモード」では、ジョグレバーなどからの入力を基に工作機械の手動操作を受け付ける。 [Relationship between operation mode and priority]
In the present disclosure, the application priority is calculated for each operation mode of the
There is a relationship between the operation mode of the
FIG. 7 is a table of operation modes of the
Modes of the
In the "memory operation mode", the
アプリと動作モードには関連性がある。図8にアプリと動作モードの関連性を示す。
アプリ「NCオペレーション」は、加工中のプログラムや軸速度、軸位置などを表示する。「NCオペレーション」は、「MEMモード」で使用されることが多い。
アプリ「サーボガイド」は、サーボ軸の位置、速度などの波形測定を行う。「サーボガイド」は、「MEMモード」、「MDIモード」で使用されることが多い。
アプリ「工具管理」は、工具の情報を登録・確認する。「工具管理」は「MDIモード」、「EDITモード」で使用されることが多い。
アプリ「保守情報管理」は、保守品(定期的な交換が必要な部品)の状態表示や保守品の登録などを行う。「保守情報管理」は、「MDIモード」、「MEMモード」で使用されることが多い。
アプリ「省エネ管理」は、稼働中の省エネ情報(消費電力、消費電力数位など)を表示する。「省エネ管理」は、「MEMモード」で使用されることが多い。
アプリ「保守点検」は、保守点検項目の確認、点検の記録を行う。「保守点検」は、「MDIモード」で使用されることが多い。
アプリ「マニュアル」は、数値制御装置100又は工作機械のマニュアルを表示する。「マニュアル」は、「MDIモード」及び「EDITモード」で使用されることが多い。
アプリ「生産管理」は、生産状況(生産個数、生産ノルマ達成率など)の表示を行う。「生産管理」は、「MEMモード」で使用されることが多い。
アプリ「ロボット教示」は。工作機械にロボットを取り付ける際のサポートツールである。「ロボット教示」は、「MDIモード」、「EDITモード」で使用されることが多い。
アプリ「メモ機能」は、手書き、キーボードでのテキストファイルへのメモ入力を受け付ける。「メモ機能」は、「MDIモード」、「EDITモード」、「MEMモード」で使用されることが多い。
アプリ「加工時間予測」は、加工プログラムの加工時間の予測を行う。「加工時間予測」は、「EDITモード」で使用されることが多い。
アプリ「機内監視」は、工作機器内に設置したカメラで加工中の様子を表示する。「機内監視」は、「MEMモード」で使用されることが多い。 Apps and operating modes are related. FIG. 8 shows the relationship between applications and operation modes.
The application "NC Operation" displays the program, axis speed, axis position, etc. during machining. "NC operation" is often used in "MEM mode".
The application "Servo Guide" measures waveforms such as the position and speed of the servo axis. "Servo guide" is often used in "MEM mode" and "MDI mode".
The application "Tool Management" registers and confirms tool information. "Tool management" is often used in "MDI mode" and "EDIT mode".
The application "Maintenance Information Management" displays the status of maintenance items (parts that need to be replaced periodically) and registers maintenance items. “Maintenance information management” is often used in “MDI mode” and “MEM mode”.
The application "Energy saving management" displays the energy saving information (power consumption, power consumption number, etc.) during operation. "Energy saving management" is often used in "MEM mode".
The application "Maintenance Inspection" confirms maintenance inspection items and records inspections. "Maintenance" is often used in "MDI mode".
The application "manual" displays the manual of thenumerical controller 100 or the machine tool. "Manual" is often used in "MDI mode" and "EDIT mode".
The application "Production Management" displays the production status (production quantity, production quota achievement rate, etc.). "Production control" is often used in "MEM mode".
The app "Robot Teaching" is. It is a support tool for attaching a robot to a machine tool. "Robot teaching" is often used in "MDI mode" and "EDIT mode".
The application "memo function" accepts memo input to text files by handwriting and keyboard. The "memo function" is often used in "MDI mode", "EDIT mode", and "MEM mode".
The application "Machining time prediction" predicts the machining time of the machining program. "Processing time prediction" is often used in "EDIT mode".
The application "in-machine monitoring" displays the state of machining with a camera installed in the machine tool. "In-flight monitoring" is often used in "MEM mode".
アプリ「NCオペレーション」は、加工中のプログラムや軸速度、軸位置などを表示する。「NCオペレーション」は、「MEMモード」で使用されることが多い。
アプリ「サーボガイド」は、サーボ軸の位置、速度などの波形測定を行う。「サーボガイド」は、「MEMモード」、「MDIモード」で使用されることが多い。
アプリ「工具管理」は、工具の情報を登録・確認する。「工具管理」は「MDIモード」、「EDITモード」で使用されることが多い。
アプリ「保守情報管理」は、保守品(定期的な交換が必要な部品)の状態表示や保守品の登録などを行う。「保守情報管理」は、「MDIモード」、「MEMモード」で使用されることが多い。
アプリ「省エネ管理」は、稼働中の省エネ情報(消費電力、消費電力数位など)を表示する。「省エネ管理」は、「MEMモード」で使用されることが多い。
アプリ「保守点検」は、保守点検項目の確認、点検の記録を行う。「保守点検」は、「MDIモード」で使用されることが多い。
アプリ「マニュアル」は、数値制御装置100又は工作機械のマニュアルを表示する。「マニュアル」は、「MDIモード」及び「EDITモード」で使用されることが多い。
アプリ「生産管理」は、生産状況(生産個数、生産ノルマ達成率など)の表示を行う。「生産管理」は、「MEMモード」で使用されることが多い。
アプリ「ロボット教示」は。工作機械にロボットを取り付ける際のサポートツールである。「ロボット教示」は、「MDIモード」、「EDITモード」で使用されることが多い。
アプリ「メモ機能」は、手書き、キーボードでのテキストファイルへのメモ入力を受け付ける。「メモ機能」は、「MDIモード」、「EDITモード」、「MEMモード」で使用されることが多い。
アプリ「加工時間予測」は、加工プログラムの加工時間の予測を行う。「加工時間予測」は、「EDITモード」で使用されることが多い。
アプリ「機内監視」は、工作機器内に設置したカメラで加工中の様子を表示する。「機内監視」は、「MEMモード」で使用されることが多い。 Apps and operating modes are related. FIG. 8 shows the relationship between applications and operation modes.
The application "NC Operation" displays the program, axis speed, axis position, etc. during machining. "NC operation" is often used in "MEM mode".
The application "Servo Guide" measures waveforms such as the position and speed of the servo axis. "Servo guide" is often used in "MEM mode" and "MDI mode".
The application "Tool Management" registers and confirms tool information. "Tool management" is often used in "MDI mode" and "EDIT mode".
The application "Maintenance Information Management" displays the status of maintenance items (parts that need to be replaced periodically) and registers maintenance items. “Maintenance information management” is often used in “MDI mode” and “MEM mode”.
The application "Energy saving management" displays the energy saving information (power consumption, power consumption number, etc.) during operation. "Energy saving management" is often used in "MEM mode".
The application "Maintenance Inspection" confirms maintenance inspection items and records inspections. "Maintenance" is often used in "MDI mode".
The application "manual" displays the manual of the
The application "Production Management" displays the production status (production quantity, production quota achievement rate, etc.). "Production control" is often used in "MEM mode".
The app "Robot Teaching" is. It is a support tool for attaching a robot to a machine tool. "Robot teaching" is often used in "MDI mode" and "EDIT mode".
The application "memo function" accepts memo input to text files by handwriting and keyboard. The "memo function" is often used in "MDI mode", "EDIT mode", and "MEM mode".
The application "Machining time prediction" predicts the machining time of the machining program. "Processing time prediction" is often used in "EDIT mode".
The application "in-machine monitoring" displays the state of machining with a camera installed in the machine tool. "In-flight monitoring" is often used in "MEM mode".
上述したように、数値制御装置100の動作モードと使用するアプリには関連がある。優先度決定部6は、動作モードごとにアプリの優先度を決定する。優先度の決定には、アプリの起動回数、起動時間、条件付き確率などを用いる。
As described above, there is a relationship between the operation mode of the numerical controller 100 and the application used. The priority determination unit 6 determines the priority of applications for each operation mode. The number of times the application is started, the time it takes to start, conditional probability, and the like are used to determine the priority.
ある動作モードで起動回数の多いアプリは、同じ動作モードでも起動される可能性が高い。そのため、起動回数を基に優先度を決定する。
An app that is launched many times in a certain operating mode is likely to be launched in the same operating mode as well. Therefore, the priority is determined based on the number of activations.
ある動作モードで起動時間の長いアプリは、同じ動作モードでも起動される可能性が高い。そのため、起動時間を基に優先度を決定する。
An app that takes a long time to start up in a certain operating mode is likely to start up in the same operating mode as well. Therefore, the priority is determined based on the activation time.
関連するアプリは続けて起動される可能性が高い。例えば、アプリ「保守点検」を起動した後にアプリ「保守情報管理」を起動する可能性が高い。(1.3)条件付き確率を使用した優先度の決定方法では、先に起動したアプリを基に次に起動するアプリを予測する。
It is highly likely that related apps will be launched in succession. For example, there is a high possibility that the application "maintenance information management" is started after the application "maintenance inspection" is started. (1.3) In the priority determination method using conditional probability, an application to be activated next is predicted based on the application that was activated first.
また、電源断時に起動中であったアプリは、次の電源投入時に起動される可能性が高い。数値制御装置100の電源投入時には、電源断時に起動中であったアプリを優先的にロードする。
Also, applications that were running when the power was turned off are likely to be started when the power is turned on again. When the power of the numerical controller 100 is turned on, the application that was running when the power was turned off is preferentially loaded.
アプリは、加工プログラムからの呼出、オペレータの手動操作、外部信号などにより、起動する。優先度の決定は、加工プログラム、オペレータを考慮して優先度を決定してもよい。
The application is started by calling from the machining program, manual operation by the operator, external signals, etc. Priorities may be determined in consideration of machining programs and operators.
外部信号で起動するアプリの例としては、「故障診断」、「プローブ計測サポート」、「リモート保守」などがある。
「故障診断」は、数値制御装置100のアラームが発生した際に、アラーム信号を受け取ることで起動するアプリである。「故障診断」は、アラーム情報を取得し、アラームの原因特定に必要な情報、復旧に必要な情報を表示する。
「プローブ計測サポート」は、現在選択されている工具がプローブになったことを信号で受け取り起動する。「プローブ計測サポート」は、段取り工程でのプローブによるワークの測定をサポートする。
「リモート保守」は、ネットワーク経由でリモート保守を行うためのアプリである。ネット経由の接続信号を外部から受信したときに起動する。 Examples of applications activated by external signals include "failure diagnosis", "probe measurement support", and "remote maintenance".
“Failure Diagnosis” is an application that is started by receiving an alarm signal when an alarm occurs in thenumerical controller 100 . "Fault Diagnosis" acquires alarm information and displays information necessary for identifying the cause of the alarm and information necessary for recovery.
"Probe measurement support" receives a signal that the currently selected tool has become a probe and is activated. "Probe measurement support" supports measurement of workpieces with probes in the setup process.
"Remote maintenance" is an application for performing remote maintenance via a network. Starts when a connection signal via the network is received from the outside.
「故障診断」は、数値制御装置100のアラームが発生した際に、アラーム信号を受け取ることで起動するアプリである。「故障診断」は、アラーム情報を取得し、アラームの原因特定に必要な情報、復旧に必要な情報を表示する。
「プローブ計測サポート」は、現在選択されている工具がプローブになったことを信号で受け取り起動する。「プローブ計測サポート」は、段取り工程でのプローブによるワークの測定をサポートする。
「リモート保守」は、ネットワーク経由でリモート保守を行うためのアプリである。ネット経由の接続信号を外部から受信したときに起動する。 Examples of applications activated by external signals include "failure diagnosis", "probe measurement support", and "remote maintenance".
“Failure Diagnosis” is an application that is started by receiving an alarm signal when an alarm occurs in the
"Probe measurement support" receives a signal that the currently selected tool has become a probe and is activated. "Probe measurement support" supports measurement of workpieces with probes in the setup process.
"Remote maintenance" is an application for performing remote maintenance via a network. Starts when a connection signal via the network is received from the outside.
[第3の開示]
メモリ管理支援装置300は、クラウド、フォグ、エッジ上に配置してもよい。図9は、クラウド、フォグ、エッジ上に配置したメモリ管理支援装置300を示す。
メモリ管理支援装置300は、データ取得部1、データ記憶部2、アプリ起動可能数決定部5、優先度決定部6を備える。
工作機械や産業用ロボットを制御する制御装置400は、数値制御装置やロボットコントローラであり、工場などの現場に存在する。制御装置400は、機械制御部3と、メモリ管理部7を備える。
装置情報記憶部4は、メモリ管理支援装置300に備えても、制御装置400に備えても、その他の装置に備えてもよい。 [Third Disclosure]
The memorymanagement support device 300 may be arranged on cloud, fog, and edge. FIG. 9 shows a memory management support device 300 arranged on cloud, fog and edge.
The memorymanagement support device 300 includes a data acquisition unit 1 , a data storage unit 2 , an application activation count determination unit 5 , and a priority determination unit 6 .
Acontrol device 400 that controls a machine tool or an industrial robot is a numerical control device or a robot controller, and is present at a site such as a factory. The control device 400 comprises a machine control section 3 and a memory management section 7 .
The deviceinformation storage unit 4 may be provided in the memory management support device 300, in the control device 400, or in another device.
メモリ管理支援装置300は、クラウド、フォグ、エッジ上に配置してもよい。図9は、クラウド、フォグ、エッジ上に配置したメモリ管理支援装置300を示す。
メモリ管理支援装置300は、データ取得部1、データ記憶部2、アプリ起動可能数決定部5、優先度決定部6を備える。
工作機械や産業用ロボットを制御する制御装置400は、数値制御装置やロボットコントローラであり、工場などの現場に存在する。制御装置400は、機械制御部3と、メモリ管理部7を備える。
装置情報記憶部4は、メモリ管理支援装置300に備えても、制御装置400に備えても、その他の装置に備えてもよい。 [Third Disclosure]
The memory
The memory
A
The device
メモリ管理支援装置300のデータ取得部1は、アプリに関するデータ、及び制御装置400の運転状況に関するデータを取得し、データ記憶部2に記憶する。アプリに関するデータとしては、アプリの起動状態がある。アプリの起動状態を基に、アプリの起動回数、アプリの使用時間、制御装置400の電源断直前に使用したアプリの種類などがある。制御装置400の運転状態に関するデータとしては、制御装置400の動作モード、制御装置400のCPU111の負荷率がある。
The data acquisition unit 1 of the memory management support device 300 acquires data related to applications and data related to the operating status of the control device 400 and stores them in the data storage unit 2 . Data related to the application includes the activation state of the application. Based on the activation state of the application, there are the number of times the application was activated, the usage time of the application, the type of application used immediately before the control device 400 was powered off, and the like. Data related to the operating state of the control device 400 include the operation mode of the control device 400 and the load factor of the CPU 111 of the control device 400 .
アプリ起動可能数決定部5は、制御装置400のメモリにロードするアプリの数を決定する。アプリ起動可能数の決定方法の具体例は上述した。
The app activatable number determination unit 5 determines the number of apps to be loaded into the memory of the control device 400 . A specific example of the method for determining the number of applications that can be activated has been described above.
優先度決定部6は、制御装置のメモリにロードするアプリの優先度を決定する。優先度の決定方法の具体例は上述した。
The priority determination unit 6 determines the priority of applications to be loaded into the memory of the control device. A specific example of the priority determination method has been described above.
以上のように、メモリ管理支援装置は、必ずしも、制御装置に実装する必要はなく、クラウド、フォグ、エッジなどのネットワーク上に構築してもよい。
As described above, the memory management support device does not necessarily have to be implemented in the control device, and may be built on a network such as cloud, fog, or edge.
100 数値制御装置
200 工作機械
300 メモリ管理支援装置
400 制御装置
1 データ取得部
2 データ記憶部
3 機械制御部
4 装置情報記憶部
5 アプリ起動可能数決定部
6 優先度決定部
7 メモリ管理部
70 表示部
71 入力部
111 CPU
112 ROM
113 RAM
114 不揮発性メモリ REFERENCE SIGNSLIST 100 Numerical control device 200 Machine tool 300 Memory management support device 400 Control device 1 Data acquisition unit 2 Data storage unit 3 Machine control unit 4 Device information storage unit 5 Application activation count determination unit 6 Priority determination unit 7 Memory management unit 70 Display Part 71 Input part 111 CPU
112 ROMs
113 RAM
114 non-volatile memory
200 工作機械
300 メモリ管理支援装置
400 制御装置
1 データ取得部
2 データ記憶部
3 機械制御部
4 装置情報記憶部
5 アプリ起動可能数決定部
6 優先度決定部
7 メモリ管理部
70 表示部
71 入力部
111 CPU
112 ROM
113 RAM
114 不揮発性メモリ REFERENCE SIGNS
112 ROMs
113 RAM
114 non-volatile memory
Claims (10)
- 複数のアプリを使用して産業機械を制御する制御装置のメモリの管理を支援するメモリ管理支援装置であって、
前記アプリの起動状態に関するデータ、及び前記制御装置の動作モードを取得するデータ取得部と、
前記アプリの起動状態と前記制御装置の動作モードとを基に、前記メモリにロードするアプリの優先度を決定する優先度決定部と、
前記メモリにロード可能なアプリの個数であるアプリ起動可能数を決定するアプリ起動可能数決定部と、を備え、
前記優先度に従い、前記アプリ起動可能数のアプリを前記制御装置のメモリにロードさせる、メモリ管理支援装置。 A memory management support device that supports memory management of a control device that controls an industrial machine using multiple applications,
a data acquisition unit that acquires data about the activation state of the application and an operation mode of the control device;
a priority determination unit that determines the priority of the application to be loaded into the memory based on the activation state of the application and the operation mode of the control device;
an application activatable number determination unit that determines the number of activatable applications, which is the number of applications that can be loaded into the memory;
A memory management support device for loading the number of applications that can be activated into the memory of the control device according to the priority. - 前記優先度決定部は、前記アプリの起動状態に関するデータに基づき、起動時間が長いアプリの優先度を高くする、請求項1記載のメモリ管理支援装置。 The memory management support device according to claim 1, wherein said priority determining unit gives higher priority to an application having a longer startup time based on data relating to the startup state of said application.
- 前記優先度決定部は、前記アプリの起動状態に関するデータに基づき、起動回数の多いアプリの優先度を高くする、請求項1記載のメモリ管理支援装置。 The memory management support device according to claim 1, wherein the priority determining unit gives higher priority to applications that have been started more frequently, based on data about the running state of the applications.
- 前記優先度決定部は、前記アプリの起動状態に関するデータに基づき、現在起動しているアプリに基づき、次に起動される確率の高いアプリの優先度を高くする、請求項1記載のメモリ管理支援装置。 2. The memory management support according to claim 1, wherein said priority determination unit increases the priority of an application that is likely to be activated next based on the data about the activation state of said application and based on the currently activated application. Device.
- 前記データ取得部は、前記制御装置のCPUの負荷を取得し、
前記アプリ起動可能数決定部は、前記CPUの負荷が所定の値を超えないようなアプリ起動可能数を決定する、請求項1記載のメモリ管理支援装置。 The data acquisition unit acquires the CPU load of the control device,
2. The memory management support device according to claim 1, wherein said activatable application number determination unit determines the activatable number of applications such that the load on said CPU does not exceed a predetermined value. - 前記データ取得部が取得した、前記制御装置の電源断直前のアプリの起動状態に関するデータを記憶し、
前記優先度決定部は、前記制御装置の電源投入時に、前記電源断直前に起動状態であったアプリの優先度を高くする、請求項1記載のメモリ管理支援装置。 storing data relating to the activation state of the application immediately before the control device is powered off, which is acquired by the data acquisition unit;
2. The memory management support device according to claim 1, wherein, when the power of said control device is turned on, said priority determination unit increases the priority of an application that was in a running state immediately before said power was turned off. - 前記産業機械は工作機械であり、
前記制御装置は数値制御装置であり、
前記アプリ起動可能数決定部は、前記工作機械の軸数、前記数値制御装置のCPUの処理能力、前記数値制御装置のメモリの容量に基づき、アプリ起動可能数を決定する、請求項1記載のメモリ管理支援装置。 The industrial machine is a machine tool,
The controller is a numerical controller,
2. The number of applications that can be activated according to claim 1, wherein the number of applications that can be activated determines the number of applications that can be activated based on the number of axes of the machine tool, the processing capacity of a CPU of the numerical controller, and the capacity of the memory of the numerical controller. Memory management support device. - 前記データ取得部は、前記アプリの起動に関するデータ、及び前記制御装置の動作モードを、繰り返し取得し、
前記優先度決定部は、データ取得部が繰り返し取得したデータを基に、前記制御装置のメモリにロードするアプリの優先度を決定し、
前記優先度に従い、前記アプリ起動可能数のアプリをメモリにロード及びアンロードさせる、請求項1記載のメモリ管理支援装置。 The data acquisition unit repeatedly acquires data related to activation of the application and an operation mode of the control device,
The priority determination unit determines the priority of the application to be loaded into the memory of the control device based on the data repeatedly acquired by the data acquisition unit;
2. The memory management support device according to claim 1, which loads and unloads the number of applications that can be activated into and from the memory according to the priority. - 当該メモリ管理支援装置は、前記制御装置である、請求項1記載のメモリ管理支援装置。 The memory management support device according to claim 1, wherein said memory management support device is said control device.
- 1つ又は複数のプロセッサが実行することにより、
複数のアプリを使用して産業機械を制御する制御装置における、前記アプリの起動状態に関するデータ、及び前記制御装置の動作モードを取得し、
前記アプリの起動状態と前記制御装置の動作モードとを基に、メモリにロードするアプリの優先度を決定し、
前記メモリにロード可能なアプリの個数であるアプリ起動可能数を決定し、
前記優先度に従い、前記アプリ起動可能数のアプリを前記制御装置のメモリにロードさせる、
前記プロセッサが読み取り可能な命令を記憶する記憶媒体。 by one or more processors executing:
Acquiring data about the running state of the apps and the operation mode of the control device in a control device that uses a plurality of apps to control an industrial machine;
Determining the priority of the application to be loaded into the memory based on the activation state of the application and the operation mode of the control device;
determining the number of applications that can be activated, which is the number of applications that can be loaded into the memory;
loading the number of applications that can be activated into the memory of the control device according to the priority;
A storage medium storing instructions readable by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2022/006247 WO2023157145A1 (en) | 2022-02-16 | 2022-02-16 | Memory management assistance device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2022/006247 WO2023157145A1 (en) | 2022-02-16 | 2022-02-16 | Memory management assistance device and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023157145A1 true WO2023157145A1 (en) | 2023-08-24 |
Family
ID=87577799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2022/006247 WO2023157145A1 (en) | 2022-02-16 | 2022-02-16 | Memory management assistance device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023157145A1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011238124A (en) * | 2010-05-12 | 2011-11-24 | Fujitsu Toshiba Mobile Communications Ltd | Portable electronic device |
-
2022
- 2022-02-16 WO PCT/JP2022/006247 patent/WO2023157145A1/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011238124A (en) * | 2010-05-12 | 2011-11-24 | Fujitsu Toshiba Mobile Communications Ltd | Portable electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106802634B (en) | Numerical controller | |
US20140364989A1 (en) | Controller for controlling machine tool and robot | |
JP6406466B1 (en) | Control device, control method, and control program | |
JP4097670B2 (en) | Monitor device for machine tools | |
TWI534569B (en) | Control device, development device, and development program | |
EP1471404A2 (en) | Numerical control apparatus for machine tool | |
EP2733613B1 (en) | Controller and program | |
US5170109A (en) | Method of controlling robot in event of a power failure | |
US10956238B2 (en) | Programmable controller, management device, and control system | |
WO2023157145A1 (en) | Memory management assistance device and computer-readable storage medium | |
JP2005190437A (en) | Control device management system | |
US20200329161A1 (en) | Machine learning device, screen prediction device, and controller | |
US9983570B2 (en) | Multiple system numerical control device | |
JPH0991154A (en) | Stack allocating method and control equipment | |
CN108121432B (en) | Task operation control method and device | |
CN113282432B (en) | Task management method, device, storage medium, and program product | |
US9829874B2 (en) | Numerical control device | |
JP6796478B2 (en) | Memory controller | |
JP7567566B2 (en) | Information processing device and program | |
US20240231321A1 (en) | Numerical control device and computer-readable storage medium | |
JP2006048402A (en) | Controller | |
US11287797B2 (en) | Numerical control device | |
JP7303014B2 (en) | Control device | |
US20230409001A1 (en) | Method and device for controlling the sequence of program parts, programming method, programming device | |
WO2023166559A1 (en) | Data collecting device and computer-readable storage medium |
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: 22927047 Country of ref document: EP Kind code of ref document: A1 |