Support device, control method, and support program

The support device and method enhance security in FA systems by enabling users to set role-based permissions for variable disclosure, addressing the lack of granular control in current systems and reducing the complexity of managing numerous variables.

WO2024190551A1PCT designated stage expired Publication Date: 2024-09-19OMRON CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/008444
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2024-03-06
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Current FA systems lack robust security measures for variable disclosure to external devices, as users can inadvertently expose sensitive data due to lack of granular control over access permissions.

Method used

A support device and method that provide a user interface for users to set public settings for variables generated during user program execution, allowing specification of roles to determine read and execute permissions, with prioritization options for instance and function block identification information to manage variable exposure.

Benefits of technology

Enhances security by allowing users to granularly control variable disclosure to external devices, reducing the risk of unauthorized access and minimizing the effort required for public settings across numerous variables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024008444_19092024_PF_FP_ABST
    Figure JP2024008444_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A support device (100): provides a user interface for a user to perform a disclosure setting, to an external device (300), of a variable generated during execution of a user program (230); and generates disclosure setting information (260) on the basis of the disclosure setting performed by the user using the user interface. The control device (200) manages, on the basis of the disclosure setting information (260), the disclosure to the external device (300) of the variable generated during execution the user program (230). The disclosure setting information (260) includes at least one of: information for setting whether to permit reading of at least one variable by the external device in accordance with at least one role; and information for setting whether to permit execution of at least one variable by the external device in accordance with at least one role. The user interface is configured so that the user performs the disclosure setting upon designating one of the at least one role.
Need to check novelty before this filing date? Find Prior Art

Description

Support device, control method, and support program

[0001] The present invention relates to a support device, a control method, and a support program, and more particularly to a support device that supports a control device that controls a control object according to a user program, a control method for the support device, and a support program that supports the control device.

[0002] Factory automation (FA) systems that automate production processes are becoming commonplace in various production sites. FA systems are comprised of various types of industrial driving equipment. Industrial driving equipment includes, for example, a moving table for moving a workpiece, a conveyor for transporting the workpiece, and an arm robot for moving the workpiece to a predetermined destination. These driving equipment are controlled by an industrial control device such as a programmable logic controller (PLC) or a robot controller.

[0003] The control device controls various types of moving equipment to be controlled in accordance with a program (hereinafter also referred to as a "user program") designed in advance by a designer or the like. The designer can use a support device that supports the control device to develop any user program tailored to the moving equipment to be controlled.

[0004] As the above-mentioned control devices, control devices that support OPC UA (Open Platform Communications Unified Architecture) are becoming increasingly popular. OPC UA is a communication standard established to enable data exchange between multiple devices, regardless of the vendor or type of operating system (OS). Using an OPC UA-compliant control device allows external devices to easily access data managed by the control device.

[0005] Here, the user of the control device must make settings in advance (hereinafter also referred to as "publication settings") such as which data managed by the control device will be made public, which data will be read-only, and which data will be executable.

[0006] In this regard, Japanese Patent Laid-Open Publication No. 2019-159632 (Patent Document 1) discloses a development support device configured to set public settings for variables included in a user program for each predetermined name space.

[0007] Japanese Patent Application Laid-Open No. 2019-159632

[0008] According to the development support device disclosed in Patent Document 1, a user can set the public settings for variables included in a user program for each predetermined name space, but since any user can access and execute the public variables, there is still room for improvement in order to strengthen security.

[0009] One object of the present disclosure is to solve the above-mentioned problems, and to provide a technology that can strengthen security regarding the disclosure of variables to external devices.

[0010] According to an example of the present disclosure, there is provided a support device that supports a control device that controls a control target in accordance with a user program. The support device includes: a providing unit that provides a user interface for a user to set a public setting for at least one variable generated during execution of the user program to an external device; and a public setting unit that generates public setting information based on the public setting set by the user using the user interface. The control device manages the public setting information for the at least one variable generated during execution of the user program to the external device based on the public setting information. The public setting information includes at least one of information for setting whether to allow the external device to read the at least one variable according to at least one role, and information for setting whether to allow the external device to execute the at least one variable according to at least one role. The user interface is configured so that the user sets the public setting by specifying one of the at least one role.

[0011] According to this disclosure, a user can specify one of at least one role to set at least one of whether to allow an external device to read at least one variable and whether to allow an external device to execute at least one variable, thereby enhancing security regarding the disclosure of variables to external devices.

[0012] In the above disclosure, the at least one role includes a first role and a second role that has a greater number of at least one variable that is permitted to be disclosed to an external device than the first role.

[0013] According to this disclosure, a user can specify either a first role or a second role that has at least one more variable exposed to an external device than the first role, and set at least one of whether or not to allow the external device to read at least one variable and whether or not to allow the external device to execute at least one variable, thereby strengthening security regarding the exposure of variables to external devices.

[0014] In the above disclosure, the at least one variable that is made public to the external device when the second role is specified includes all of the at least one variable that is permitted to be made public to the external device when the first role is specified, and the at least one variable that is permitted to be made public to the external device when the first role is specified does not include all of the at least one variable that is permitted to be made public to the external device when the second role is specified.

[0015] According to this disclosure, a user can specify a first role to expose all of at least one variable to an external device, while specifying a second role to prevent all of at least one variable from being exposed to an external device.

[0016] In the above disclosure, the user program includes first identification information for identifying an instance generated when a function block included in the user program is executed. The function block has unique second identification information and at least one variable used during execution is predetermined. The user interface is configured so that a user can specify at least one of the first identification information and the second identification information to set the public.

[0017] According to this disclosure, a user can efficiently set the public settings of variables to external devices by specifying at least one of the public settings of variables using first identification information that identifies an instance generated when a function block is executed and the public settings of variables using second identification information that is unique to the function block.

[0018] In the above disclosure, the user interface is configured to set a public setting for each of at least one variable stored in an instance corresponding to first identification information designated by a user.

[0019] According to this disclosure, a user can also set public settings for at least one variable stored in an instance corresponding to the specified first identification information, thereby enabling the public settings of variables to external devices to be set in more detail and efficiently.

[0020] In the above disclosure, the public setting information includes information that prioritizes the public setting made using the first identification information over the public setting made using the second identification information.

[0021] According to this disclosure, a user can prioritize the public setting of variables using first identification information that identifies an instance over the public setting of variables using second identification information that is specific to a function block, thereby avoiding conflicts between the public setting of variables in an instance and the public setting of variables in a function block.

[0022] In the above disclosure, the public setting information includes information that prioritizes the public setting made using the second identification information over the public setting made using the first identification information.

[0023] According to this disclosure, a user can prioritize public settings of variables using second identification information specific to a function block over public settings of variables using first identification information that identifies an instance, thereby avoiding conflicts between public settings of variables in an instance and public settings of variables in a function block.

[0024] In the above disclosure, the user interface is configured to allow selection of whether the disclosure setting made using the first identification information or the second identification information is to be given priority.

[0025] According to this disclosure, a user can select which of the public variable settings using first identification information that identifies an instance and the public variable settings using second identification information that is specific to a function block to prioritize, thereby making it possible to avoid conflicts between the public variable settings in an instance and the public variable settings in a function block by taking priority into consideration.

[0026] According to another example of the present disclosure, there is provided a control method for a support device that supports a control device that controls a control target in accordance with a user program. The control method includes the steps of providing a user interface for a user to set a public setting for at least one variable generated during execution of the user program to an external device, and generating public setting information based on the public setting set by the user using the user interface. The control device manages the public setting of the at least one variable generated during execution of the user program to the external device based on the public setting information. The public setting information includes at least one of information for setting whether to allow the external device to read the at least one variable according to at least one role, and information for setting whether to allow the external device to execute the at least one variable according to the at least one role. The user interface is configured so that the user sets the public setting by specifying one of the at least one role.

[0027] According to this disclosure, a user can specify one of at least one role to set at least one of whether to allow an external device to read at least one variable and whether to allow an external device to execute at least one variable, thereby enhancing security regarding the disclosure of variables to external devices.

[0028] According to another example of the present disclosure, there is provided a support program that supports a control device that controls a control target in accordance with a user program. The support program causes a computer to execute the steps of: providing a user interface for a user to set a public setting for at least one variable generated during execution of the user program to an external device; and generating public setting information based on the public setting set by the user using the user interface. The control device manages the public setting of the at least one variable generated during execution of the user program to the external device based on the public setting information. The public setting information includes at least one of information for setting whether to allow the external device to read the at least one variable according to at least one role, and information for setting whether to allow the external device to execute the at least one variable according to the at least one role. The user interface is configured so that the user sets the public setting by specifying one of the at least one role.

[0029] According to this disclosure, a user can specify one of at least one role to set at least one of whether to allow an external device to read at least one variable and whether to allow an external device to execute at least one variable, thereby enhancing security regarding the disclosure of variables to external devices.

[0030] 1 is a diagram illustrating an example of a control system to which a support device according to an embodiment is applied; FIG. 2 is a diagram illustrating an example of instantiation of a function block (FB definition); FIG. 3 is a diagram illustrating an example of the hardware configuration of a control device; FIG. 4 is a diagram illustrating an example of the hardware configuration of a support device; FIG. 5 is a diagram illustrating an example of the hardware configuration of an external device; FIG. 6 is a sequence diagram illustrating the flow of processing of the support device, the control device, a moving machine, and the external device; FIG. 7 is a diagram illustrating an example of a development screen which is a user interface provided by the support device; FIG. 8 is a diagram illustrating an example of a user setting screen which is a user interface provided by the support device; FIG. 9 is a diagram illustrating an example of a user setting screen which is a user interface provided by the support device; FIG. 10 is a diagram illustrating an example of a public setting screen which is a user interface provided by the support device; FIG. 11 is a diagram illustrating an example of a public setting screen which is a user interface provided by the support device;

[0031] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present disclosure will be described in detail with reference to the accompanying drawings. In the drawings, the same or corresponding parts are designated by the same reference numerals and the description thereof will not be repeated.

[0032] <A. Application Example> An example of a situation in which the support device 100 of the present disclosure is applied will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of a control system 1 to which the support device 100 according to the embodiment is applied. The control system 1 is an FA system that automates a production process. As shown in Fig. 1, the control system 1 includes a control device 200, a moving machine 400 that is a control target of the control device 200, an external device 300 that exchanges data with the control device 200, and a support device 100 that supports the control device 200.

[0033] The control device 200 is a device such as a PLC that executes a user program 230 for controlling a controlled object. The control device 200 is communicatively connected to the moving machine 400 via a control network 10. The control network 10 is preferably a field network that performs periodic communication and guarantees data arrival time. Known field networks that perform periodic communication include EtherCAT (registered trademark), EtherNet / IP (registered trademark), and CompoNet (registered trademark). The control device 200 may also be communicatively connected to the moving machine 400 via a remote I / O (Input / Output) device or I / O unit as the control network 10.

[0034] The control device 200 is communicatively connected to an external device 300 via an information network 20. The information network 20 is preferably a network that complies with a communication standard that enables data exchange independent of, for example, the vendor or the type of operating system (OS). Known examples of such communication standards include OPC UA. Note that the communication standard adopted by the information network 20 is not limited to OPC UA. For example, the information network 20 may be a network that complies with a communication standard specific to a particular vendor or OS.

[0035] When the information network 20 is a network conforming to the OPC UA standard, the control device 200 functions as an OPC UA server, and the external device 300 functions as an OPC UA client. In such an OPC UA-compliant control system 1, the external device 300, which is an OPC UA client, can easily access data managed by the control device 200, which is an OPC UA server. Services provided by such a control system 1 are also referred to as "network publication services" below.

[0036] The control device 200 is communicably connected to the support device 100 via a USB (Universal Serial Bus) connection or the like.

[0037] The driving equipment 400 includes various industrial devices for automating production processes. The driving equipment 400 includes, for example, a robot controller 400A that controls a robot 401A, a servo driver 400B that controls a servo motor 401B, and a sensor 400C that collects various data. These driving equipment 400 are controlled by the control device 200 via the control system network 10.

[0038] The external device 300 acquires data managed by the control device 200 via the information network 20. The external device 300 may be, for example, a human-machine interface (HMI), a laptop or desktop personal computer (PC), a smartphone, a tablet terminal, or another information processing device with a display function. In FIG. 1 , HMI 300A and HMI 300B are illustrated as examples of the external device 300. The external device 300 is not limited to an information processing device with a display function such as an HMI, but may also be a control device (such as a PLC) separate from the control device 200. For example, the control system 1 may be configured such that multiple control devices 200 are communicatively connected to each other, allowing data managed by each of the multiple control devices 200 to be exchanged among the multiple control devices 200.

[0039] The support device 100 may be, for example, a laptop or desktop PC, a smartphone, a tablet terminal, or any other information processing device capable of developing a user program 230 for the control device 200. A development tool 150 may be installed in the support device 100. The development tool 150 is an application for supporting the control device 200 and is realized by executing a support program 130 (described later). The development tool 150 provides a designer with a user interface for developing the user program 230. An example of the development tool 150 is "Sysmac Studio" manufactured by Omron Corporation. The designer can develop the user program 230 using the user interface provided by the development tool 150 and install the developed user program 230 on the control device 200. For example, the user program 230 is transmitted to the control device 200 as an executable file compiled by the support device 100.

[0040] In the control system 1 configured as described above, for security reasons, the user must make a setting in advance (publication setting) as to whether or not to make the data managed by the control device 200 public to the external device 300. The "user" includes the designer of the user program 230, the user of the control system 1, or the administrator of the control system 1. "Publication" includes at least one of reading a variable and writing to a variable. The data managed by the control device 200 includes at least one variable stored in an instance generated when the user program 230 is executed.

[0041] A "variable" is a concept that represents any numeric value or character string used by the control device 200 while the user program 230 is running. The term "variable" is used as the opposite of a constant, whose value never changes. Furthermore, a "variable" is not limited to input / output data exchanged with the outside world or temporary data during internal processing, but can also be considered a container (memory area) that stores the input / output data or temporary data.

[0042] The user program 230 may be written in any programming language. For example, the user program 230 may be defined using at least one of a ladder diagram (LD), an instruction list (IL), structured text (ST), and a sequential function chart (SFC). The user program 230 may also be defined in a general-purpose programming language such as JavaScript (registered trademark) or C.

[0043] The user program 230 according to the embodiment is created in accordance with "IEC 61131-3," a standard for programming a PLC, which is an example of the control device 200, and is made up of program organization units called POUs (Program Organization Units). The user program 230 includes function blocks (hereinafter also referred to as "FBs") as components of the POUs.

[0044] A "function block" is a modularized function used repeatedly within the user program 230. More specifically, a function block is a POU used to create a component (e.g., a type) such as a timer or counter, whose output variable may vary for the same input variable depending on the state of the moving device 400 to be controlled. A function block has at least one variable predefined for use when the function block is executed. "At least one variable" includes, for example, an input variable, an output variable, an input / output variable, and an internal variable. An input variable is a variable used within a function block as input data to be input to the function block. An output variable is a variable used within a function block as output data to be output from the function block. An input / output variable is a variable used within a function block as input / output data for the function block. An internal variable is a variable used for temporary data storage within the function block.

[0045] A function block prepared in advance as a type is also called an FB definition. When a function block (FB definition) is placed in the user program 230, it is treated individually as an instance in the user program 230 and becomes capable of actually operating in the user program 230. Normally, the term "function block" includes both a function block (FB definition) that means a type and a function block that is incorporated into the user program 230 and instantiated, but in the embodiment, "function block" is treated as a term that refers to a function block (FB definition) that means a type.

[0046] The instantiation of a function block (FB definition) will be described with reference to FIG. 2. FIG. 2 is a diagram showing an example of instantiation of a function block (FB definition). As shown in FIG. 2, FB1 (FB definition) has at least one variable (Var1, Var2, ...) defined in advance. When such FB1 (FB definition) is placed in the user program 230, it is individually treated in the user program 230 as FB1 corresponding to instance 1 and FB1 corresponding to instance 2.

[0047] An "instance" is a function block (FB definition) placed on the user program 230. Each instance defined on the user program 230 uses a separate memory area. By creating multiple instances based on one function block (FB definition) on the user program 230, the user can cause the control device 200 to process different input / output data with the same function according to the user program 230.

[0048] As shown in FIG. 2, a function block (FB definition) has a unique "namespace" as identification information. For example, a function block (FB definition) is associated with "FB1" as its namespace. An instance also has a unique "instance name" as identification information. For example, FB1 corresponding to instance 1 is associated with "FB1 instance 1" as its instance name, and FB1 corresponding to instance 2 is associated with "FB1 instance 2" as its instance name.

[0049] 1, the control device 200 includes a variable space 210, an address space 220, a user program 230, a communication management program 240, user setting information 250, and public setting information 260. This information is stored in a storage device 202 of the control device 200, which will be described later.

[0050] The variable space 210 is a memory area that contains at least one variable that is generated during execution of the user program 230. In the example of Fig. 1, the variable space 210 contains multiple variables such as variable A, variable B, and variable C. These variables can be updated in the process in which the control device 200 executes the user program 230 to control the moving machine 400.

[0051] Address space 220 is a memory area that includes the address of at least one variable node corresponding to at least one variable stored in variable space 210. In the example of Fig. 1, address space 220 includes the addresses of variable node A, variable node B, and variable node C. The addresses of variable node A, variable node B, and variable node C each include information for accessing variable A, variable B, and variable C included in variable space 210.

[0052] The user program 230 is a program that describes processing for the control device 200 to control the movable machine 400 that is the control target. The user program 230 is generated by the support device 100 and installed in the control device 200.

[0053] The communication management program 240 is a program for causing the control device 200 to function as an OPC UA server, and describes a process for the control device 200 to disclose variables that can be disclosed to the external device 300 in response to an access request from the external device 300. The communication management program 240 is generated by the support device 100 and installed in the control device 200.

[0054] The user setting information 250 includes login information for managing users who request access to data (variables, etc.) managed by the control device 200 using the external device 300. Hereinafter, a user who requests access to data managed by the control device 200 using the external device 300 will also be referred to as an "access user" to distinguish them from "users" such as the designer of the user program 230, the user of the control system 1, or the administrator of the control system 1. Note that the "user" and the "access user" may be the same person or different people. Access users who can access data managed by the control device 200 are registered in advance in the control device 200 as the user setting information 250. The user setting information 250 is generated by the support device 100 and downloaded to the control device 200.

[0055] The public setting information 260 includes information for specifying the public setting of data managed by the control device 200 for the external device 300. The public setting information 260 is generated by the support device 100 and downloaded to the control device 200.

[0056] The control device 200 includes a disclosure management unit 270. The disclosure management unit 270 discloses data that can be disclosed to the external device 300 in response to an access request from the external device 300 in accordance with the communication management program 240. For example, when the disclosure management unit 270 receives an access request for a variable from the external device 300, it authenticates the accessing user based on the user setting information 250. After properly authenticating the user, the disclosure management unit 270 determines whether disclosure of the variable that is the target of the access request is permitted based on the disclosure setting information 260. If disclosure of the variable that is the target of the access request is permitted, the disclosure management unit 270 extracts an address for accessing the variable that is the target of the access request from the address space 220 and discloses the address to the external device 300 that made the request. The external device 300 can access the requested variable based on the address obtained from the control device 200.

[0057] In this way, in the control system 1, the control device 200 can disclose variables generated during execution of the user program 230 to the external device 300 in response to a request from the external device 300. Furthermore, the control device 200 can authenticate the accessing user based on the user setting information, and can disclose to the external device 300 only variables that are permitted to be disclosed based on the disclosure setting information.

[0058] However, it is important to strengthen security regarding the disclosure of variables. Therefore, in order to strengthen security, the support device 100 according to the embodiment is configured so that a user can specify at least one role and set at least one variable to be publicly accessible to the external device 300 according to the at least one role.

[0059] Specifically, the support device 100 includes a providing unit 110 and a public setting unit 120 as functions of the development tool 150. The providing unit 110 provides a user interface (a public setting screen, described later) that allows a user to set public settings for at least one variable stored in an instance generated during execution of the user program 230 to the external device 300. The user interface is configured to allow a user to specify one of at least one role and set public settings for at least one variable to the external device 300.

[0060] The "public setting" includes at least one of setting whether or not the external device 300 is allowed to read at least one variable depending on at least one role, and setting whether or not the external device 300 is allowed to execute (e.g., write) at least one variable depending on at least one role.

[0061] The "role" includes the role, title, organization, or position of the accessing user, such as the designer of the user program 230, the user of the control system 1, or the administrator of the control system 1. In the control system 1 according to the embodiment, the "role" includes an observer, an operator, a maintainer, a designer, and an administrator. An observer is someone who simply observes (views) data (variables, etc.) managed by the control device 200. An operator is someone who operates the control device 200. A maintainer is someone who maintains the control device 200, the moving machine 400, and the like included in the control system 1. A designer is someone who designs the control device 200, the moving machine 400, and the like included in the control system 1. An administrator is someone who manages the control device 200, the moving machine 400, and the like included in the control system 1, as well as manages the observer, operator, maintainer, designer, and the like. The support device 100 is configured so that public settings can be made according to the role to which the accessing user belongs, among these multiple roles.

[0062] Furthermore, since the number of variables generated when the control device 200 executes the user program 230 is enormous, it is very time-consuming to set the public settings for each variable. Therefore, the support device 100 according to the embodiment is configured to be able to set the public settings for variables to the external device 300 by specifying at least one of the public settings for variables using an instance name that identifies an instance generated when the function block is executed and the public settings for variables using a name space unique to the function block.

[0063] Specifically, the user interface provided by the provision unit 110 of the support device 100 is configured to allow the user to specify at least one of an instance name and a namespace and set whether or not to expose at least one variable to the external device 300.

[0064] The public setting unit 120 generates public setting information 260 based on a user's setting using a user interface (public setting screen) provided by the providing unit 110. The public setting information 260 includes at least one of information for setting whether or not the external device 300 is permitted to read at least one variable according to at least one role, and information for setting whether or not the external device 300 is permitted to execute (e.g., write) at least one variable according to at least one role. The public setting information 260 generated by the public setting unit 120 is downloaded to the control device 200.

[0065] With the support device 100 having such a configuration, the user can specify one of at least one role to determine whether to expose at least one variable to the external device 300, and further set which of the exposed variables to be read-only and which to be executable, thereby strengthening security regarding the exposure of variables to the external device 300. Furthermore, since the user can set the exposure of variables to the external device 300 for each instance name or each namespace, there is no need for the user to set the exposure for each of the enormous number of variables generated when the user program 230 is executed, and the effort required for the exposure setting can be minimized.

[0066] <B. Configuration of the Control Device> The hardware configuration of the control device 200 will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the hardware configuration of the control device 200. As shown in Fig. 3, the control device 200 mainly includes a processor 201, a storage device 202, a memory 203, a chipset 204, a control system interface 205, an information system interface 206, a USB controller 207, and a storage medium interface 208.

[0067] The processor 201 is a computing entity (computer) that executes various processes by executing various programs. The processor 201 is configured, for example, as a central processing unit (CPU) or a microprocessing unit (MPU). The processor 201 has the function of executing various processes by executing programs, but some or all of these functions may be implemented using dedicated hardware circuits such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). The processor 201 is not limited to a processor in the narrow sense that executes processes using stored programs, such as a CPU or MPU, but may also include hardwired circuits such as an ASIC or FPGA. Therefore, the processor 201 can also be interpreted as a processing circuitry whose processes are predefined by computer-readable code and / or hardwired circuits. The processor 201 may be configured as a single chip or multiple chips. Furthermore, the processor 201 and related processing circuits may be configured as multiple computers interconnected by wire or wirelessly via a local area network, a wireless network, or the like. The processor 201 and associated processing circuitry may be configured as a cloud computer that performs computations remotely based on input data and outputs the computation results to other devices at remote locations.

[0068] The storage device 202 stores various programs executed by the processor 201, various data, and the like. The storage device 202 may be one or more non-transitory computer-readable media, or may be one or more computer-readable storage media. Examples of the storage device 202 include a hard disk drive (HDD) and a solid state drive (SSD). In the control device 200 according to the embodiment, the storage device 202 stores a variable space 210, an address space 220, a user program 230, a communication management program 240, user setting information 250, and public setting information 260.

[0069] The memory 203 includes a volatile storage area (for example, a working area) that temporarily stores program code, work memory, etc. when the processor 201 executes various programs. Examples of the memory 203 include volatile memory such as DRAM (dynamic random access memory) and SRAM (static random access memory), and non-volatile memory such as ROM (read only memory) and flash memory.

[0070] The chipset 204 has a relay function for managing and processing data exchange between the devices that make up the control device 200 .

[0071] The control system interface 205 is an interface that mediates the exchange of data between the control device 200 and the movable machine 400 .

[0072] The information system interface 206 is an interface that mediates the exchange of data between the control device 200 and the external device 300 .

[0073] The USB controller 207 is an interface that mediates the exchange of data between the control device 200 and the support device 100 .

[0074] The storage medium interface 208 is configured to allow the storage medium 209 to be detachably attached, and is an interface through which the control device 200 writes various types of data, such as the user program 230, the communication management program 240, the user setting information 250, and the public setting information 260, to the storage medium 209 or reads the various types of data from the storage medium 209. Note that the storage medium 209 may be one or more non-transitory computer readable media, such as a memory card, a removable disk, or a USB memory, or may be one or more computer readable storage media.

[0075] <C. Configuration of Support Device> The hardware configuration of the support device 100 will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of the hardware configuration of the support device 100. As shown in Fig. 4, the support device 100 mainly includes a processor 101, a storage device 102, a memory 103, a bus 104, a display unit 105, an input unit 106, a USB controller 107, and a storage medium interface 108.

[0076] The processor 101 is a computing entity (computer) that executes various programs to perform various processes. The processor 101 may be configured, for example, as a CPU or MPU. The processor 101 has the function of executing various processes by executing programs, but some or all of these functions may be implemented using dedicated hardware circuits such as an ASIC or FPGA. The processor 101 is not limited to a processor in the narrow sense that executes processes using stored programs, such as a CPU or MPU, but may also include hardwired circuits such as an ASIC or FPGA. Therefore, the processor 101 may also be interpreted as a processing circuitry whose processes are predefined by computer-readable code and / or hardwired circuits. The processor 101 may be configured as a single chip or multiple chips. Furthermore, the processor 101 and related processing circuits may be configured as multiple computers interconnected by wire or wirelessly via a local area network, a wireless network, or the like. The processor 101 and associated processing circuitry may be configured as a cloud computer that performs computations remotely based on input data and outputs the results of the computations to other devices at remote locations.

[0077] The storage device 102 stores various programs and various data executed by the processor 101. The storage device 102 may be one or more non-transitory computer readable media, or may be one or more computer readable storage media. Examples of the storage device 102 include an HDD and an SSD. In the support device 100 according to the embodiment, the storage device 102 stores a support program 130.

[0078] The memory 103 includes a volatile storage area (for example, a working area) that temporarily stores program code, work memory, etc. when the processor 101 executes various programs. Examples of the memory 103 include volatile memories such as DRAM and SRAM, and non-volatile memories such as ROM and flash memory.

[0079] The bus 104 has a relay function for managing and processing data exchange between the devices that make up the support device 100 .

[0080] The display unit 105 is, for example, a display. The display unit 105 may also be an interface for connecting a display configured to mediate data exchange between the support device 100 and the display. That is, the support device 100 may be configured to include a display, or may be separate from the display.

[0081] The input unit 106 is, for example, a peripheral device such as a keyboard or a mouse. The input unit 106 may also be an interface for connecting a peripheral device configured to mediate data exchange between the support device 100 and the peripheral device. That is, the support device 100 may be configured to include a peripheral device such as a keyboard or a mouse, or may be separate from the peripheral device.

[0082] The USB controller 107 is an interface that mediates the exchange of data between the support device 100 and the control device 200 .

[0083] The storage medium interface 108 is configured to allow the storage medium 109 to be detachably attached, and is an interface through which the support device 100 writes various data such as the support program 130 to the storage medium 109 or reads the various data from the storage medium 109. Note that the storage medium 109 may be one or more non-transitory computer readable media such as a memory card, a removable disk, or a USB memory, or may be one or more computer readable storage media.

[0084] <D. Configuration of External Device> The hardware configuration of the external device 300 will be described with reference to Fig. 5. Fig. 5 is a diagram showing an example of the hardware configuration of the external device 300. As shown in Fig. 5, the external device 300 mainly includes a processor 301, a storage device 302, a memory 303, a bus 304, a display unit 305, an input unit 306, a communication interface 307, and a storage medium interface 308.

[0085] The processor 301 is a computing entity (computer) that executes various programs to perform various processes. The processor 301 may be configured, for example, as a CPU or MPU. The processor 301 has the function of executing various processes by executing programs, but some or all of these functions may be implemented using dedicated hardware circuits such as an ASIC or FPGA. The processor 301 is not limited to a processor in the narrow sense that executes processes using stored programs, such as a CPU or MPU, but may also include hardwired circuits such as an ASIC or FPGA. Therefore, the processor 301 may also be interpreted as a processing circuitry whose processes are predefined by computer-readable code and / or hardwired circuits. The processor 301 may be configured as a single chip or multiple chips. Furthermore, the processor 301 and related processing circuits may be configured as multiple computers interconnected by wire or wirelessly via a local area network, a wireless network, or the like. The processor 301 and associated processing circuitry may be configured as a cloud computer that performs computations remotely based on input data and outputs the results of the computations to other devices at remote locations.

[0086] The storage device 302 stores various programs executed by the processor 301, various data, and the like. The storage device 302 may be one or more non-transitory computer-readable media, or may be one or more computer-readable storage media. Examples of the storage device 302 include an HDD and an SSD. In the external device 300 according to the embodiment, the storage device 302 stores a communication program 330. The communication program 330 is a program for causing the external device 300 to function as an OPC UA client, and describes a process for the external device 300 to request access to variables managed by the control device 200.

[0087] The memory 303 includes a volatile storage area (for example, a working area) that temporarily stores program code, work memory, etc. when the processor 301 executes various programs. Examples of the memory 303 include volatile memories such as DRAM and SRAM, and non-volatile memories such as ROM and flash memory.

[0088] The bus 304 has a relay function for managing and processing data exchange between the devices that make up the external device 300 .

[0089] The display unit 305 is, for example, a display. Note that the display unit 305 may also be an interface for connecting a display configured to mediate data exchange between the external device 300 and the display. In other words, the external device 300 may be configured to include a display, or may be separate from the display.

[0090] The input unit 306 is, for example, a peripheral device such as a keyboard or a mouse. Note that the input unit 306 may also be an interface for connecting a peripheral device configured to mediate data exchange between the external device 300 and the peripheral device. In other words, the external device 300 may be configured to include a peripheral device such as a keyboard or a mouse, or may be separate from the peripheral device.

[0091] The communication interface 307 is an interface that mediates the exchange of data between the external device 300 and the control device 200 .

[0092] The storage medium interface 308 is configured to allow a storage medium 309 to be attached / detached, and is an interface through which the external device 300 writes various data such as the communication program 330 to the storage medium 309 or through which the external device 300 reads the various data from the storage medium 309. Note that the storage medium 309 may be one or more non-transitory computer readable media such as a memory card, a removable disk, or a USB memory, or may be one or more computer readable storage media.

[0093] <E. Sequence Flow> The process flow of each of the support device 100, the control device 200, the movable device 400, and the external device 300 will be described with reference to FIG. 6 . FIG. 6 is a sequence diagram showing the process flow of each of the support device 100, the control device 200, the movable device 400, and the external device 300. Each step (hereinafter, indicated by "S") of the support device 100 shown in FIG. 6 is realized by the processor 101 executing the support program 130. Each step of the control device 200 shown in FIG. 6 is realized by the processor 201 executing the user program 230 and the communication management program 240. Each step of the external device 300 shown in FIG. 6 is realized by the processor 301 executing the communication program 330.

[0094] As shown in Fig. 6, when the support device 100 receives an operation to display the development screen, it displays the development screen on the display unit 105 (S11). As will be described in detail later with reference to Fig. 7, the user uses the development screen to develop a user program 230. The support device 100 compiles the user program 230 and transmits it to the control device 200 as an executable file (S12).

[0095] When the control device 200 receives the user program 230 transmitted from the support device 100, the control device 200 stores the user program 230 in the storage device 202 (S21).

[0096] When the support device 100 receives an operation to display the user setting screen, it displays the user setting screen on the display unit 105 (S13). As will be described in detail later with reference to Figures 8 and 9, the user can use the user setting screen to register a specific person as an access user of the network publication service and assign a role to the access user. The support device 100 generates user setting information 250 based on the input content on the user setting screen (S14). The support device 100 transmits the user setting information 250 to the control device 200 (S15).

[0097] When the control device 200 receives the user setting information 250 transmitted from the support device 100, the control device 200 stores the user setting information 250 in the storage device 202 (S22).

[0098] When the support device 100 accepts an operation to display the public setting screen, it displays the public setting screen on the display unit 105 (S16). As will be described in detail later with reference to Figures 10 to 14, the user uses the public setting screen to input information regarding the public setting of data (variables, etc.) managed by the control device 200 to the external device 300. The support device 100 generates public setting information 260 based on the input content on the public setting screen (S17). The support device 100 transmits the public setting information 260 to the control device 200 (S18).

[0099] When the control device 200 receives the public setting information 260 transmitted from the support device 100, the control device 200 stores the public setting information 260 in the storage device 202 (S23).

[0100] When the control device 200 receives an execution command for the user program 230, it executes the user program 230 to control the moving machine 400. If the user program 230 is a cyclic execution program, the control device 200 repeatedly executes a group of instructions included in the user program 230 at each predetermined control cycle. More specifically, the control device 200 executes the user program 230 from the first line to the last line in one control cycle, and then executes the user program 230 from the first line to the last line in the next control cycle again. The control device 200 generates a command value at each control cycle and outputs the command value to the moving machine 400.

[0101] As described above, the control device 200 executes the user program 230 to control the movable machine 400, and variables are stored in each instance that is predetermined by the user program 230.

[0102] When an accessing user accesses a variable generated during execution of the user program 230, the external device 300 accepts login information input by the accessing user (S31).

[0103] When the control device 200 receives login information input to the external device 300, it compares the login information with the login information included in the user setting information 250, and if the comparison shows that the login information input to the external device 300 matches the login information included in the user setting information 250, it determines that the authentication of the accessing user is valid.

[0104] When the accessing user specifies a variable that the accessing user desires to access, the external device 300 receives information for specifying the variable input by the accessing user (S33). The external device 300 requests the control device 200 to access the variable specified by the accessing user (S34).

[0105] When the control device 200 receives an access request from the external device 300, it determines whether or not disclosure of the variable that is the subject of the access request to the accessing user is permitted based on the disclosure setting information 260 (S25). If disclosure of the variable that is the subject of the access request to the accessing user is not permitted (NO in S25), the control device 200 proceeds to the next process without disclosing the variable that is the subject of the access request to the accessing user. On the other hand, if disclosure of the variable that is the subject of the access request to the accessing user is permitted (YES in S25), the control device 200 transmits an address for accessing the variable that is the subject of the access request to the external device 300 in order to disclose the variable that is the subject of the access request to the external device 300 (S26).

[0106] The external device 300 displays the variable that is the target of the access request on the display unit 305 based on the address received from the control device 200 (S34).

[0107] In this way, when an accessing user requests access to a variable, the control device 200 can make the variable public to the accessing user, provided that the public disclosure of the variable is permitted based on the disclosure settings set by the support device 100.

[0108] <F. User Program Development Screen> The development screen 151 of the user program 230 will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of the development screen, which is a user interface provided by the support device 100.

[0109] The user program 230 is written in a ladder diagram. On the development screen 151, the user can combine any function blocks and specify the input / output relationships of variables or function blocks to design the user program 230 corresponding to the moving machine 400 to be controlled.

[0110] The user program 230 includes at least one function block. For example, as shown in FIG. 7 , the user program 230 includes a function block (FB definition) with a namespace "FB1" and a function block (FB definition) with a namespace "FB2". FB1 is defined in the user program 230 as FB1 corresponding to instance 1 and FB1 corresponding to instance 2. The FB1 corresponding to instance 1 is given the instance name "FB1 instance 1". The FB1 corresponding to instance 2 is given the instance name "FB2 instance 1". FB2 is defined in the user program 230 as FB2 corresponding to instance 1 and FB2 corresponding to instance 2. The FB2 corresponding to instance 1 is given the instance name "FB2 instance 1". The FB2 corresponding to instance 2 is given the instance name "FB2 instance 2".

[0111] The function block corresponding to FB1 instance 1 executes its function based on variable 1 associated with its input. The execution result of the function block corresponding to FB1 instance 1 is reflected in variable 2 associated with its output. The function block corresponding to FB1 instance 2 executes its function based on variable 2 associated with its input. The execution result of the function block corresponding to FB1 instance 2 is reflected in variable 3 associated with its output. The function block corresponding to FB2 instance 1 executes its function based on variable 3 associated with its input. The execution result of the function block corresponding to FB2 instance 1 is reflected in variable 4 associated with its output. The function block corresponding to FB2 instance 2 executes its function based on variable 4 associated with its input. The execution result of the function block corresponding to FB2 instance 2 is reflected in variable 5 associated with its output.

[0112] In this way, the user can develop any user program 230 by combining variables or function blocks on the development screen 151.

[0113] <G. User Settings Screen> The user settings screen 152 will be described with reference to Figures 8 and 9. Figures 8 and 9 are diagrams showing an example of the user settings screen 152, which is a user interface provided by the support device 100. The user settings screen 152 shown in Figure 8 is a user interface for registering an accessing user. As shown in Figure 8, the user settings screen 152 includes input fields 1521, 1522, and 1523, and icons 1524 and 1525.

[0114] Input field 1521 is an input field for entering a user name. Input field 1522 is an input field for entering a password. Input field 1523 is an input field for entering a confirmation password. Icon 1524 is an icon operated to confirm input. Icon 1525 is an icon operated to cancel input.

[0115] On the user setting screen 152, the user inputs the username of a specific person whom the user wishes to register in the network publication service in the input field 1521, and inputs the password of the specific person in the input fields 1522 and 1523, and then operates the icon 1524. In this way, the user can register the specific person as an access user of the network publication service on the user setting screen 152.

[0116] 9 is a user interface for assigning roles to each registered accessing user. As shown in FIG. 9, the user setting screen 152 includes selection fields 1531 and 1532 and icons 1533 and 1534.

[0117] The selection field 1531 is a selection field for the user to select an arbitrary access user from at least one registered access user. In the example of FIG. 9 , the selection field 1531 includes, as options, an access user assigned with "User A," an access user assigned with "User B," and an access user assigned with "User C." The selection field 1532 is a selection field for the user to assign an arbitrary role to each access user from a plurality of predetermined roles. In the example of FIG. 9 , the selection field 1532 includes, as options, "observer," "operator," "maintenance technician," "designer," and "administrator." Note that the selection field 1532 may include roles other than observer, operator, maintenance technician, designer, and administrator.

[0118] Using the user name of the accessing user shown in selection field 1531 as a clue, the user can select, in a pull-down format, one role from at least one role included in selection field 1532 for each accessing user. For example, in the example of Fig. 9, user A is assigned the role of administrator, user B is assigned the role of maintainer, and user C is assigned the role of operator.

[0119] In this way, the user can use the user setting screen 152 to register an accessing user and assign a role to the registered accessing user.

[0120] <H. Public Settings Screen> The public settings screen 154 will be described with reference to Figures 10 to 14. Figures 10 to 14 are diagrams showing an example of the public settings screen 154, which is a user interface provided by the support device 100. As shown in Figures 10 and 11, the public settings screen 154 includes icons 1545 and 1548 and selection fields 1543, 1544, 1546, and 1547.

[0121] The selection field 1543 is a selection field for the user to select an arbitrary function block from at least one function block used in the user program 230. In the examples of FIGS. 10 and 11 , the selection field 1543 includes a function block labeled "FB1" and a function block labeled "FB2" as options. The selection field 1544 is a selection field for the user to assign an arbitrary role to the function block selected in the selection field 1543 from a plurality of predetermined roles. In the example of FIG. 10 , the selection field 1544 includes an "observer," an "operator," a "maintenance technician," a "designer," and an "administrator" as options. Note that the selection field 1544 may include roles other than the observer, operator, maintainer, designer, and administrator. The icon 1545 is an icon operated when specifying the function block selected in the selection field 1543.

[0122] The selection field 1546 is a selection field for the user to select an arbitrary instance from at least one instance defined in the user program 230. In the examples of FIGS. 10 and 11 , the selection field 1546 includes, as options, an instance labeled "FB1 instance 1," an instance labeled "FB1 instance 2," an instance labeled "FB2 instance 1," and an instance labeled "FB2 instance 2." The selection field 1547 is a selection field for the user to assign an arbitrary role to the instance selected in the selection field 1546 from a plurality of predetermined roles. In the example of FIG. 11 , the selection field 1547 includes, as options, "observer," "operator," "maintenance technician," "designer," and "manager." Note that the selection field 1547 may include roles other than observer, operator, maintainer, designer, and manager. The icon 1548 is an icon operated when specifying the instance selected in the selection field 1546.

[0123] Here, the access authority for each role will be described with reference to Fig. 12 and Fig. 13. Fig. 12 and Fig. 13 are diagrams showing an example of the access authority for each role. As shown in Fig. 12, the access authority for each role is determined in advance according to the importance of the role.

[0124] For example, as shown in Fig. 12, if the role assigned to an accessing user is "Observer," the variables that the accessing user is permitted to disclose are variables that correspond to variable nodes assigned to "Observer." In other words, an accessing user who is an "Observer" can access only variables that "Observer" can access.

[0125] If the role assigned to an accessing user is "operator," the variables that the accessing user is permitted to disclose are variables that correspond to the variable nodes assigned to each of "observer" and "operator." In other words, an accessing user who is an "operator" can access variables that each of "observer" and "operator" can access.

[0126] If the role assigned to an accessing user is "maintainer," the variables that the accessing user is permitted to disclose are variables that correspond to the variable nodes assigned to each of "observer," "operator," and "maintainer." In other words, an accessing user who is a "maintainer" can access variables that each of "observer," "operator," and "maintainer" can access.

[0127] If the role assigned to an accessing user is "designer," the variables that the accessing user is permitted to disclose are variables that correspond to the variable nodes assigned to each of "observer," "operator," "maintainer," and "designer." In other words, an accessing user who is a "designer" can access variables that each of "observer," "operator," "maintainer," and "designer" can access.

[0128] If the role assigned to an accessing user is "administrator," the variables that the accessing user is permitted to disclose are variables that correspond to the variable nodes assigned to each of "observer," "operator," "maintenance," "designer," and "administrator." In other words, the accessing user who is "administrator" can access variables that each of "observer," "operator," "maintenance," "designer," and "administrator" can access.

[0129] In this way, the access user who is an "observer" has the fewest number of variables to which access authority is assigned, and the access user who is an "administrator" has the largest number of variables to which access authority is assigned. In the above example, the variable nodes assigned to each of the "observer," "operator," "maintenance technician," "designer," and "administrator" can be set in advance by the user using the support device 100. For example, the user can use the support device 100 to assign accessible variables to each of the "observer," "operator," "maintenance technician," "designer," and "administrator" from among at least one variable managed by the control device 100.

[0130] 13, if the role assigned to the accessing user is "Observer," the function that can be executed for the variables that are permitted to be made public is the Browse function. In other words, the accessing user who is an "Observer" can only view the names of the variables that are permitted to be made public.

[0131] If the role assigned to the accessing user is "operator" or "maintainer," the functions that can be executed on the variables that are permitted to be made public are the browse function and the read function. In other words, the accessing user who is an "operator" or a "maintainer" can only view the names of the variables that are permitted to be made public and read the values ​​of the variables.

[0132] If the role assigned to an accessing user is "designer" or "administrator," the functions that can be executed on variables that are permitted to be made public are the Browse function, the Read function, and the Write function. That is, an accessing user who is a "designer" or an "administrator" can view the names of variables that are permitted to be made public, read the values ​​of the variables, and write values ​​to the variables. Note that writing a value to a variable corresponds to executing the variable.

[0133] 13 is an example, and other access rights may be granted to each of the observer, operator, maintainer, designer, and administrator. For example, the observer may be permitted only the Browse function, while the operator, maintainer, designer, and administrator may be permitted all of the Browse function, Read function, and Write function. Alternatively, the observer, operator, maintainer, designer, and administrator may be permitted different functions, or may have some or all of the same functions.

[0134] 10 , when a user specifies a function block (namespace) and sets it to be made public, the user specifies one function block from among the function blocks marked with "FB1" and "FB2" included in selection field 1543, and operates icon 1545. This allows the user to select one function block from at least one function block included in selection field 1543.

[0135] Furthermore, for a function block selected in selection field 1543, the user can select one role from at least one role included in selection field 1544 in a pull-down format. For example, in the example of FIG. 10 , an operator is assigned to the function block labeled "FB2." As a result, the control device 200 allows only the variables that are permitted to be made public to the operator, among the variables generated during execution of the function block labeled "FB2." That is, the control device 200 is configured to make the variables generated during execution of the function block labeled "FB2" public to each of the operator, maintainer, designer, and manager, based on the public setting information 260. In this case, the control device 200 also makes the variables generated during execution public to the accessing user according to the role, regardless of whether FB2 instance 1 or FB2 instance 2 is executed.

[0136] 11 , when a user specifies an instance (instance name) and sets it to public, the user specifies one instance from among “FB1 instance 1,” “FB1 instance 2,” “FB2 instance 1,” and “FB2 instance 2” included in selection field 1546, and operates icon 1548. This allows the user to select one instance from at least one instance included in selection field 1546.

[0137] Furthermore, the user can select one role from at least one role included in selection field 1547 in a pull-down format for the instance selected in selection field 1546. For example, in the example of FIG. 11 , an administrator is assigned to FB2 instance 1. As a result, the control device 200 allows only variables that are permitted to be made public to the administrator, among the variables generated during execution of FB2 instance 1. That is, the control device 200 is configured to make public the variables generated during execution of FB2 instance 1 only to the administrator, based on the public setting information 260. Note that for instances other than FB2 instance 1, i.e., FB1 instance 1, FB1 instance 2, and FB2 instance 2, the control device 200 determines whether to make variables public according to the individual public setting.

[0138] In this way, by assigning roles to each of the function blocks and instances, the user can set the variables to be made public according to the predetermined roles of the accessing users, thereby enhancing the security regarding the disclosure of variables to the external device 300.

[0139] Furthermore, the user can set variables to be public using a namespace specific to the function block, and can set variables to be public using an instance name that identifies an instance generated when the function block is executed. This eliminates the need for the user to set public variables for each of the vast number of variables generated when the user program 230 is executed, minimizing the effort required for setting public variables. The user can also reduce the time required for setting public variables and the number of errors in setting public variables. As a result, the user can reduce development costs by consolidating the effort and time required for setting public variables into other advanced tasks.

[0140] Furthermore, by using a namespace to set variables publicly, a user can set variables to be publicly accessible for a function block selected by the user, without considering which instance the function block corresponds to. On the other hand, by using an instance name to set variables publicly accessible, a user can set variables to be publicly accessible only for a variable selected by the user among multiple instances configured with the same function block. This allows the user to set variables publicly accessible to the external device 300 in more detail and efficiently.

[0141] 14, the support device 100 may be configured to be able to set, for an instance specified by the support device 100 itself, whether or not at least one variable stored in the instance is to be made public to the external device 300. For example, as shown in Fig. 14, the public setting screen 154 includes a name field 1551 indicating the name of each variable stored in one instance, a data type field 1552 indicating the data type of each variable, and a network public field 1553 indicating the type of network publicity.

[0142] When a user selects a selected instance in the selection field 1546 shown in FIGS. 10 and 11 , at least one variable corresponding to the role used in the selected instance is displayed as an option in the name field 1551. Using the name of the variable displayed in the name field 1551 as a clue, the user can select "public" or "private" for each variable in the network disclosure field 1553 in a pull-down format. For example, in the example of FIG. 14 , for FB2 instance 1, which is permitted to be disclosed as a whole instance and to which an administrator is assigned, "public" is selected for Var1, Var2, and Var3, which are accessible to the administrator. In this case, the control device 200 permits the external device 300 to disclose Var1, Var2, and Var3. On the other hand, for FB2 instance 1, which is permitted to be disclosed as a whole instance and to which an administrator is assigned, "private" is selected for Var4, which is accessible to the administrator. In this case, the control device 200 does not permit the external device 300 to disclose Var4, even if the accessing user is the administrator.

[0143] In this way, the user can further set the public settings for at least one variable stored in the instance for which the user has permitted public disclosure, thereby enabling the public settings of the variables to the external device 300 to be set in more detail and efficiently.

[0144] <I. Modifications> The present disclosure is not limited to the above-described embodiment, and various modifications and applications are possible. Specifically, the support device 100 according to the embodiment can set variables to be public using a namespace and set variables to be public using an instance name. Therefore, the support device 100 may further include a configuration that eliminates inconveniences that may arise when both public settings are set simultaneously.

[0145] For example, if a user assigns an operator to FB2, the publishing setting is made so that variables generated during execution of the function block with "FB2" are made public to access users to whom an operator, maintainer, designer, or administrator is assigned. On the other hand, if a user assigns an administrator to FB2 instance 1, the publishing setting is made so that variables generated during execution of FB2 instance 1 are made public only to access users to whom an administrator is assigned. In such a case, the publishing setting using the namespace allows variables to be published for the function block with "FB2" to access users to whom an operator, maintainer, designer, or administrator is assigned, whereas the publishing setting using the instance allows variables to be published only to access users to whom an administrator is assigned for FB2 instance 1, which may result in a contradiction between the two.

[0146] Therefore, the support device 100 may be configured to be able to set only one of the public setting using a namespace and the public setting using an instance.

[0147] 15 to 17, the support device 100 may be configured to prioritize either the public setting using a namespace or the public setting using an instance. 15 to 17 are diagrams showing modified examples of a public setting screen 154, which is a user interface provided by the support device 100.

[0148] 15 , the disclosure setting information 260 may include information for setting whether to give priority to variables specified by an instance name over variables specified by a namespace and to disclose them to the external device 300. In this way, even if, for example, the disclosure setting using a namespace permits disclosure of variables to access users assigned with an operator, maintainer, designer, or administrator for a function block labeled "FB2," while the disclosure setting using an instance permits disclosure of variables to only access users assigned with an administrator for FB2 instance 1, the control device 200 will disclose the variables used in FB2 instance 1 to the external device 300 only to access users assigned with an administrator, based on the disclosure setting information 260, thereby avoiding inconsistency between the two.

[0149] 16 , the public setting information 260 may include information for setting whether to give priority to variables specified by a namespace over variables specified by an instance name and to disclose them to the external device 300. In this way, even if, for example, the public setting using a namespace permits the disclosure of variables to access users to which an operator, a maintainer, a designer, or an administrator is assigned for a function block labeled “FB2,” while the public setting using an instance permits the disclosure of variables to only access users to which an administrator is assigned for FB2 instance 1, the control device 200 will disclose to the external device 300, based on the public setting information 260, the variables used in FB2 instance 1 using FB2, to access users to which an operator, a maintainer, a designer, or an administrator is assigned, thereby avoiding inconsistencies between the two.

[0150] 17 , the public setting screen 154 includes a selection field 1549 for the user to set which of the namespace and instance name variables should be given priority in the public setting and whether to make them public to the external device 300. When the user selects, in the selection field 1549, the namespace or instance name, whichever is given priority in the public setting, the support device 100 generates the public setting information 260 by giving priority to the one selected by the user. In this way, for example, if the user selects the instance name in the selection field 1549, the control device 200 will make the variables used in FB2 instance 1 public to the external device 300 only to the access user assigned by the administrator, based on the public setting information 260, thereby avoiding inconsistencies between the two.

[0151] 18 and 19, the support device 100 may be configured to assign multiple roles to each of the namespace and the instance, instead of just one role. Figures 18 and 19 are diagrams showing modified examples of a public setting screen, which is a user interface provided by the support device 100.

[0152] 18 , the user can select, in a pull-down style, a plurality of roles from at least one role included in a selection field 1544 for a function block selected in a selection field 1543. For example, in the example of FIG. 18 , an observer and an operator are assigned to a function block labeled "FB2." In this case, the control device 200 is configured to make the variables generated during execution of the function block labeled "FB2" public to each of the observer and the operator, based on the public setting information 260.

[0153] 19 , the user can select multiple roles from at least one role included in a selection field 1547 in a pull-down format for the instance selected in a selection field 1546. For example, in the example of FIG. 19 , a designer and an administrator are assigned to FB2 instance 1. In this case, the control device 200 is configured to make the variables generated when FB2 instance 1 is executed public to each of the designer and the administrator based on the public setting information 260.

[0154] <J. Supplementary Notes> As described above, the present embodiment includes the following disclosures.

[0155] (Configuration 1) A support device (100) that supports a control device (200) that controls a control target in accordance with a user program (230), comprising: a providing unit (110) that provides a user interface for a user to set public settings for at least one variable generated when the user program is executed to an external device (300); and a public setting unit (120) that generates public setting information (260) based on the public setting set by the user using the user interface, wherein the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information, and the public setting information includes at least one of information that sets whether or not the external device is allowed to read the at least one variable according to at least one role, and information that sets whether or not the external device is allowed to execute the at least one variable according to the at least one role, and the user interface is configured so that the user sets the public setting by specifying one of the at least one role.

[0156] (Configuration 2) The support device of Configuration 1, wherein the at least one role includes a first role and a second role that is permitted to disclose a greater number of the at least one variable to the external device than the first role.

[0157] (Configuration 3) A support device of Configuration 2, wherein the at least one variable that is made public to the external device when the second role is specified includes all of the at least one variable that is permitted to be made public to the external device when the first role is specified, and the at least one variable that is permitted to be made public to the external device when the first role is specified does not include all of the at least one variable that is permitted to be made public to the external device when the second role is specified.

[0158] (Configuration 4) A support device of any of configurations 1 to 3, wherein the user program includes first identification information that identifies an instance generated when a function block included in the user program is executed, the function block has unique second identification information, and the at least one variable used when executed is predetermined, and the user interface is configured so that the user can specify at least one of the first identification information and the second identification information to perform the public setting.

[0159] (Configuration 5) The support device of Configuration 4, wherein the user interface is configured to set the public setting for each of the at least one variable stored in the instance corresponding to the first identification information specified by the user.

[0160] (Configuration 6) The support device of Configuration 4 or Configuration 5, wherein the public setting information includes information that prioritizes the public setting made using the first identification information over the public setting made using the second identification information.

[0161] (Configuration 7) The support device of Configuration 4 or Configuration 5, wherein the public setting information includes information that prioritizes the public setting made using the second identification information over the public setting made using the first identification information.

[0162] (Configuration 8) The support device of Configuration 4 or 5, wherein the user interface is configured to allow selection of which of the first identification information and the second identification information is used to prioritize the disclosure setting.

[0163] (Configuration 9) A control method for a support device (100) that supports a control device (200) that controls a control target according to a user program (230), comprising: a step (S16) of providing a user interface for a user to set public settings for at least one variable generated when the user program is executed to an external device (300); and a step (S17) of generating public setting information based on the public setting set by the user using the user interface, wherein the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information, and the public setting information includes at least one of information for setting whether or not the external device is allowed to read the at least one variable according to at least one role, and information for setting whether or not the external device is allowed to execute the at least one variable according to the at least one role, and the user interface is configured so that the user sets the public setting by specifying one of the at least one role.

[0164] (Configuration 10) A support program (130) that supports a control device (200) that controls a control target according to a user program (230), the support program causing a computer (101) to perform the following steps: providing a user interface (S16) for a user to set public settings for at least one variable generated when the user program is executed to an external device; and generating public setting information (S17) based on the public setting set by the user using the user interface; the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information; the public setting information includes at least one of information for setting whether or not the external device is allowed to read the at least one variable according to at least one role, and information for setting whether or not the external device is allowed to execute the at least one variable according to the at least one role; and the user interface is configured so that the user specifies one of the at least one role to set the public setting.

[0165] <K. Advantages> According to the support device 100 according to the embodiment, a user can specify one of at least one role and set whether or not to disclose at least one variable to the external device 300, thereby enhancing security regarding disclosure of variables to the external device 300.

[0166] The embodiments disclosed herein should be considered to be illustrative in all respects and not restrictive. The scope of the present invention is defined by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims.

[0167] 1 Control system, 10 Control system network, 20 Information system network, 100 Support device, 101, 201, 301 Processor, 102, 202, 302 Storage device, 103, 203, 303 Memory, 104, 304 Bus, 105, 305 Display unit, 106, 306 Input unit, 107, 207 USB controller, 108, 208, 308 Storage medium interface, 109, 209, 309 Storage medium, 110 Provision unit, 120 Public setting unit, 130 Support program, 150 Development tool, 151 Development screen, 152 User setting screen, 154 Public setting screen, 200 Control device, 204 Chip set, 205 Control system interface, 206 Information system interface, 210 Variable space, 220 Address space, 230 User program, 240 communication management program, 250 user setting information, 260 public setting information, 270 public management unit, 300 external device, 307 communication interface, 330 communication program, 400 driving equipment, 400A robot controller, 400B servo driver, 400C sensor, 401A robot, 401B servo motor, 1521, 1522, 1523 input field, 1524, 1525, 1533, 1534, 1545, 1548 icon, 1531, 1532, 1543, 1544, 1546, 1547, 1549 selection field, 1551 name field, 1552 data type field, 1553 network public field.

Claims

1. A support device that supports a control device that controls a control target in accordance with a user program, comprising: a providing unit that provides a user interface for a user to set public settings for at least one variable generated when the user program is executed to an external device; and a public setting unit that generates public setting information based on the public setting set by the user using the user interface, wherein the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information, and the public setting information includes at least one of information that sets whether or not to allow the external device to read the at least one variable depending on at least one role, and information that sets whether or not to allow the external device to execute the at least one variable depending on the at least one role, and the user interface is configured so that the user sets the public setting by specifying one of the at least one role.

2. The support device of claim 1, wherein the at least one role includes a first role and a second role that has a greater number of the at least one variable that is allowed to be exposed to the external device than the first role.

3. The support device described in claim 2, wherein the at least one variable that is made public to the external device when the second role is specified includes all of the at least one variable that is permitted to be made public to the external device when the first role is specified, and the at least one variable that is permitted to be made public to the external device when the first role is specified does not include all of the at least one variable that is permitted to be made public to the external device when the second role is specified.

4. A support device as described in any one of claims 1 to 3, wherein the user program includes first identification information that identifies an instance generated when a function block included in the user program is executed, the function block has unique second identification information, and the at least one variable used when executed is predetermined, and the user interface is configured to enable the user to specify at least one of the first identification information and the second identification information to perform the public setting.

5. The support device of claim 4, wherein the user interface is configured to set the public settings for each of the at least one variable stored in the instance corresponding to the first identification information specified by the user.

6. A support device as described in claim 4, wherein the public setting information includes information that prioritizes the public setting made using the first identification information over the public setting made using the second identification information.

7. A support device as described in claim 4, wherein the public setting information includes information that prioritizes the public setting made using the second identification information over the public setting made using the first identification information.

8. The support device according to claim 4, wherein the user interface is configured to enable selection of whether the public setting made using the first identification information or the second identification information is to be given priority.

9. A control method for a support device that supports a control device that controls a control target in accordance with a user program, comprising the steps of: providing a user interface for a user to set a public setting for at least one variable generated when the user program is executed to an external device; and generating public setting information based on the public setting set by the user using the user interface, wherein the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information, and the public setting information includes at least one of information for setting whether or not to allow the external device to read the at least one variable according to at least one role, and information for setting whether or not to allow the external device to execute the at least one variable according to the at least one role, and the user interface is configured so that the user sets the public setting by specifying one of the at least one role.

10. A support program that supports a control device that controls a control target in accordance with a user program, the support program causing a computer to execute the steps of: providing a user interface for a user to set public settings for at least one variable generated when the user program is executed to an external device; and generating public setting information based on the public setting set by the user using the user interface; the control device manages the public setting of the at least one variable generated when the user program is executed to the external device based on the public setting information; the public setting information includes at least one of information for setting whether or not to allow the external device to read the at least one variable according to at least one role, and information for setting whether or not to allow the external device to execute the at least one variable according to the at least one role; and the user interface is configured to allow the user to specify one of the at least one role to set the public setting.

Citation Information

Patent Citations

  • Control system, development assistance apparatus and development assistance program

    JP2019159632A

  • Programmable display, programmable system with the same, operation method for programmable display, programmable display operation program, computer readable recording medium, and apparatus with program stored therein

    JP2017146804A

  • Data collection system, data collection method, and program

    JP2021036392A