# US 2021/0263715 A1 · Support device and non-transient computer-readable recording medium recording support program

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

- Number: US 2021/0263715 A1
- Document ID: US20210263715A1
- Status: Published application
- Kind: A1
- Application number: 17/253,119
- Filed: 2019-07-10
- Published: 2021-08-26
- Earliest claimed: 2018-07-30
- Assignees: OMRON Corporation
- Applicants: OMRON Corporation
- Inventors: Yutsuka SHIGEMORI; Mark FURSEMAN; Nick APPS
- Web page: https://patentgrep.com/patent/US20210263715A1

## CPC

- G06F 8/38: for implementing user interfaces
- G06F 8/70: Software maintenance or management
- G06F 8/76: Adapting program code to run in a different environment; Porting
- G06F 9/451: Execution arrangements for user interfaces
- G05B 19/054: {Input/output}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)

## Abstract

The objective of the present invention is to diversify the types of OS compatible with constituent elements of an HMI program. A support device receives a specification of UI elements of program code compatible with a first OS type, said UI elements constituting an HMI program executed by control devices which are targets of factory automation (FA); generates program code of UI elements compatible with a second OS type from the specified UI elements; and generates a wrapper program, which includes the program code compatible with the second OS type and an instruction code instructing to generate an execution module that includes the relevant program code, when a condition that the OS possessed by the target device is not the first OS type is satisfied. A program in executable code is generated from the HMI program having the wrapper program incorporated therein.

## Claims

### Claim 1

A support device which supports development of a human machine interface (HMI) program to be executed by a target device of factory automation (FA), the support device comprising:
a receiving part which receives specification of a user interface (UI) element configuring the HMI program with a program code compatible with a first type of operation system (OS);
a code generation part which generates a program code of a UI element compatible with a second type of OS from the specified UI element; and
a wrapper generation part which generates a wrapper program comprising the generated program code compatible with the second type of OS and an instruction code which instructs to generate an execution module that comprises the program code when a condition that an OS possessed by the target device is not the first type of OS is satisfied,
wherein a program in executable code is generated from the HMI program in which the wrapper program is incorporated as a UI element with the program code compatible with the first type of OS.

### Claim 2 (depends on 1)

The support device according to claim 1, wherein the wrapper generation part further comprises, in the instruction code, a code which instructs to generate an execution module of an HMI program comprising the UI element with the program code compatible with the first type of OS when a condition that the OS possessed by the target device is the first type of OS is satisfied.

### Claim 3 (depends on 1)

The support device according to claim 1, wherein the code generation part
extracts a property which matches a property of the UI element with the program code compatible with the second type of OS from a property of the UI element of the program code compatible with the first type of OS, and
generates the UI element with a program code compatible with the second type of OS from a UI element with a program code comprising the extracted property.

### Claim 4 (depends on 1)

The support device according to claim 1, further comprising:
a part which outputs a list of selection candidates of the UI elements; and
a registration part which registers the UI element with the program code compatible with the first type of OS received by the receiving part in the list,
wherein the HMI program is edited by using a UI element selected by a user from the list.

### Claim 5 (depends on 4)

The support device according to claim 4, wherein the wrapper generation part generates the wrapper program when the program in executable code is generated.

### Claim 6 (depends on 4)

The support device according to claim 4, wherein the wrapper generation part generates the wrapper program when the UI element with the program code compatible with the first type of OS is registered in the list by the registration part.

### Claim 7 (depends on 1)

The support device according to claim 1, wherein the code generation part generates the UI element with a program code compatible with the second type of OS from the specified UI element when a type of the OS possessed by the target device is not the first type of OS.

### Claim 8

A non-transient computer-readable recording medium, recording a support program which supports development of a human machine interface (HMI) program to be executed by a target device of factory automation (FA),
wherein the support program is configured to make a computer execute:
receiving specification of a user interface (UI) element configuring the HMI program with a program code compatible with a first type of operation system (OS);
generating a program code compatible with a second type of OS from the specified UI element;
generating a wrapper program comprising the generated program code compatible with the second type of OS and an instruction code which instructs to generate an execution module that comprises the program code when a condition that an OS possessed by the target device is not the first type of OS is satisfied; and
generating a program in executable code from the HMI program in which the wrapper program is incorporated as a UI element with the program code compatible with the first type of OS.
