# US 2022/0035601 A1 · Development support device, development support method, and non-transitory computer readable medium

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

- Number: US 2022/0035601 A1
- Document ID: US20220035601A1
- Status: Published application
- Kind: A1
- Application number: 17/278,658
- Filed: 2019-10-02
- Published: 2022-02-03
- Earliest claimed: 2018-10-05
- Assignees: OMRON Corporation
- Applicants: OMRON Corporation
- Inventors: Takuya HIROTA
- Web page: https://patentgrep.com/patent/US20220035601A1

## CPC

- G05B 19/056: {Programming the PLC}
- G06F 8/20: Software design
- G05B 19/0426: {Programming the control sequence}
- G06F 8/30: Creation or generation of source code
- G06F 8/36: Software reuse
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

The present invention provides an environment that makes it possible to incorporate a non-periodic-execution function module into a periodic-execution control program. A development support program that makes a computer execute steps that generate a periodic-execution second function module that invokes a non-periodic-execution first function module. Said steps include: a step in which a data type that is in a periodic-execution programming language and corresponds to the data type of an argument for the first function module is specified, and an input variable of said data type is established for the second function module; and a step in which a data type that is in a periodic-execution programming language and corresponds to the data type of a return value for the first function module is specified, and an output variable of said data type is established for the second function module.

## Claims

### Claim 1

A non-transitory computer readable medium, storing a development support program for supporting development of a control program for a controller, the development support program causing a computer to execute:
a step of acquiring a correspondence relationship between a data type usable in a non-periodic-execution programming language and a data type usable in a periodic-execution programming language;
a step of acquiring definition information including a data type of an argument for a non-periodic-execution function module defined by the non-periodic-execution programming language and a data type of a return value for the non-periodic-execution function module; and
a generating step of generating a periodic-execution function module for invoking the non-periodic-execution function module and is usable in the control program,
wherein the generating step includes
a step of specifying a data type that is in the periodic-execution programming language and corresponds to the data type of the argument based on the correspondence relationship and the definition information, and establishing an input variable for reflecting a value of the argument as an input interface of the periodic-execution function module, the input variable being an input variable of the data type, and
a step of specifying a data type that is in the periodic-execution programming language and corresponds to the data type of the return value based on the correspondence relationship and the definition information, and establishing an output variable for reflecting the return value as an output interface of the periodic-execution function module, the output variable being an output variable of the data type.

### Claim 2 (depends on 1)

The non-transitory computer readable medium according to claim 1, wherein the periodic-execution function module generated in the generating step is operated to stop execution of the control program until execution of the non-periodic-execution function module is completed after the non-periodic-execution function module is invoked.

### Claim 3 (depends on 1)

The non-transitory computer readable medium according to claim 1, wherein the periodic-execution function module generated in the generating step is operated to continuously execute the control program without waiting for completion of execution of the non-periodic-execution function module.

### Claim 4 (depends on 3)

The non-transitory computer readable medium according to claim 3, wherein the generating step further includes a step of establishing an output variable for reflecting the completion of the execution of the non-periodic-execution function module for an output of the periodic-execution function module.

### Claim 5 (depends on 1)

The non-transitory computer readable medium according to claim 1, wherein a name of the input variable is the same as a name of the argument.

### Claim 6 (depends on 1)

The non-transitory computer readable medium according to claim 1, wherein a module name of the periodic-execution function module is the same as a module name of the non-periodic-execution function module.

### Claim 7

A development support device supporting development of a control program for a controller, the development support device comprising:
a storage device that stores a correspondence relationship between a data type usable in a non-periodic-execution programming language and a data type usable in a periodic-execution programming language,
wherein the storage device further stores definition information including a data type of an argument for a non-periodic-execution function module defined by the non-periodic-execution programming language and a data type of a return value for the non-periodic-execution function module,
wherein the development support device further comprises a control device generating a periodic-execution function module for invoking the non-periodic-execution function module and is usable in the control program, and
wherein the control device
specifies a data type that is in the periodic-execution programming language and corresponds to the data type of the argument based on the correspondence relationship and the definition information, and establishes an input variable for reflecting a value of the argument as an input interface of the periodic-execution function module, the input variable being an input variable of the data type, and
specifies a data type that is in the periodic-execution programming language and corresponds to the data type of the return value based on the correspondence relationship and the definition information, and establishes an output variable for reflecting the return value as an output interface of the periodic-execution function module, the output variable being an output variable of the data type.

### Claim 8

A development support method of supporting development of a control program for a controller, the development support method comprising:
a step of causing a development support device to acquire a correspondence relationship between a data type usable in a non-periodic-execution programming language and a data type usable in a periodic-execution programming language;
a step of causing the development support device to acquire definition information including a data type of an argument for a non-periodic-execution function module defined by the non-periodic-execution programming language and a data type of a return value for the non-periodic-execution function module; and
a generating step of causing the development support device to generate a periodic-execution function module for invoking the non-periodic-execution function module and is usable in the control program,
wherein the generating step includes
a step of causing the development support device to specify a data type that is in the periodic-execution programming language and corresponds to the data type of the argument based on the correspondence relationship and the definition information, and to establish an input variable for reflecting a value of the argument as an input interface of the periodic-execution function module, the input variable being an input variable of the data type, and
a step of causing the development support device to specify a data type that is in the periodic-execution programming language and corresponds to the data type of the return value based on the correspondence relationship and the definition information, and to establish an output variable for reflecting the return value as an output interface of the periodic-execution function module, the output variable being an output variable of the data type.
