# US 2021/0173775 A1 · Controller and industrial machine

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173775 A1
- Document ID: US20210173775A1
- Status: Published application
- Kind: A1
- Application number: 17/101,466
- Filed: 2020-11-23
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Fanuc Corporation
- Applicants: Fanuc Corporation
- Inventors: Kazuyuki MIKAMI; Hideo OGINO; Takenori ONO; Manabu SAITOU
- Web page: https://patentgrep.com/patent/US20210173775A1

## CPC

- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/452: Instruction code
- G06F 2212/72: Details relating to flash memory management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The controller that controls the industrial machine comprises a storage area that stores an operation program, a cache memory, a cache control unit, and an analysis unit, the analysis unit pre-reads a command subsequent to a command included in the operation program loaded in the cache memory, in a case where it is determined that an operation load on a CPU in a command included in the operation program is below a prescribed value, adds, to the command, a cache control command for loading of a subprogram into the cache memory in accordance with a predetermined condition, in a case where a subprogram call command is confirmed present, and makes a cache control request to the cache control unit, responsive to the added cache control command, and the cache control unit loads the subprogram in the cache memory, based on the cache control request.

## Claims

### Claim 1

A controller that controls an industrial machine, comprising:
a storage area that stores an operation program for operation of the industrial machine;
a cache memory that stores the operation program read from the storage area;
a cache control unit that controls writing into the cache memory and discarding; and
an analysis unit that analyzes the operation program loaded in the cache memory,
the analysis unit comprising:
an operation load determining section that determines whether an operation load on a CPU in a command included in the operation program is below a prescribed value;
a call checking section that pre-reads a command subsequent to the command included in the operation program loaded in the cache memory, and checks whether a subprogram call command is present, in a case where the operation load determining section determines that the operation load is below the prescribed value;
a cache control command adding section that adds, to the command, a cache control command for loading of the subprogram into the cache memory in accordance with a predetermined condition, in a case where the call checking section confirms presence of the subprogram call command; and
a cache control requesting section that makes a cache control request for the cache memory to the cache control unit, responsive to the cache control command added by the cache control command adding section,
the cache control unit comprising a cache control request processing section that loads the subprogram in the cache memory, based on the cache control request by the cache control requesting section.

### Claim 2 (depends on 1)

The controller according to claim 1, comprising:
a load information storage section that stores the operation load on the CPU for each command,
wherein the operation load determining section determines whether the operation load on the CPU is below the prescribed value, with reference to the load information storage section.

### Claim 3 (depends on 1)

The controller according to claim 1,
wherein the cache control command adding section adds the cache control command to the command as long as an analysis inhibition command is not present prior to the subprogram call command, in a case where the call checking section confirms presence of the subprogram call command.

### Claim 4 (depends on 1)

The controller according to claim 1,
wherein the cache control command adding section determines whether a designated subprogram is already loaded in the cache memory, adds, to the command, the cache control command for loading of the subprogram from first data into the cache memory, in a case where the subprogram is not loaded, and adds, to the command, the cache control command for loading of the subprogram from a designated position into the cache memory, based on content of the subprogram call command, in a case where the subprogram is loaded.

### Claim 5 (depends on 1)

The controller according to claim 1,
wherein the operation program is executed in each of respective systems, and
processing by the cache control unit and the analysis unit is performed for each system.

### Claim 6 (depends on 1)

An industrial machine comprising the controller according to claim 1.
