Support device, control method, and support program
The support device addresses the inefficiency in setting public settings for FA systems by using identification information to manage variable exposure, enabling efficient and detailed control over variable access in FA systems.
Patent Information
- Application Number
- PCT/JP2024/008449
- 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
In Factory Automation (FA) systems, setting public settings for numerous variables generated by control devices when executing user programs is labor-intensive and inefficient, especially due to the large number of variables involved.
A support device provides a user interface to set public settings for variables using either first identification information that identifies instances or second identification information unique to function blocks, allowing users to efficiently manage which variables are exposed to external devices, with options to prioritize settings to avoid conflicts.
This approach enables users to efficiently set public settings for variables, reducing the effort required for configuration and minimizing errors, while allowing detailed and efficient control over variable exposure to external devices.
Smart Images

Figure JP2024008449_19092024_PF_FP_ABST
Abstract
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] For security reasons, the user of the control device must set in advance whether or not to make variables, which are data managed by the control device, public to external devices (hereinafter also referred to as "public setting"). However, since the number of variables generated when the control device executes a user program is enormous, it is very time-consuming to set public settings for each variable.
[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 namespace, but there is still room for improvement in terms of efficiently setting the public settings for a huge number of variables.
[0009] An object of the present disclosure is to solve the above-mentioned problems and to provide a technology that enables a user to efficiently set variables to be made public to an external device.
[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 whether at least one variable stored in an instance generated during execution of the user program is to be made public to an external device; and a public setting unit that generates public setting information based on the user's setting using the user interface. The control device manages whether at least one variable stored in the instance generated during execution of the user program is to be made public to the external device based on the public setting information. The user program includes first identification information that identifies an instance generated during execution of a function block included in the user program. The function block has unique second identification information and at least one variable to be used during execution is predetermined. The user interface is configured to allow a user to specify at least one of the first identification information and the second identification information to set whether at least one variable is to be made public to the external device.
[0011] 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.
[0012] In the above disclosure, the user interface is configured to allow a user to set whether or not to disclose to an external device at least one variable stored in an instance corresponding to first identification information specified by the user.
[0013] 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.
[0014] In the above disclosure, the disclosure setting information includes information that sets whether at least one variable specified by the first identification information is to be disclosed to an external device in priority over at least one variable specified by the second identification information.
[0015] 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.
[0016] In the above disclosure, the disclosure setting information includes information that sets whether at least one variable specified by the second identification information is to be disclosed to an external device in priority over at least one variable specified by the first identification information.
[0017] 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.
[0018] In the above disclosure, the user interface is configured to allow setting as to whether at least one variable corresponding to either the first identification information or the second identification information is to be preferentially disclosed to the external device.
[0019] 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.
[0020] 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 whether at least one variable stored in an instance generated during execution of the user program is to be made public to an external device, and generating public setting information based on the user's setting using the user interface. The control device manages whether at least one variable stored in the instance generated during execution of the user program is to be made public to the external device based on the public setting information. The user program includes first identification information that identifies an instance generated during execution of a function block included in the user program. The function block has unique second identification information and at least one variable used during execution is predetermined. The user interface is configured to allow a user to specify at least one of the first identification information and the second identification information to set whether at least one variable is to be made public to the external device.
[0021] 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.
[0022] 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 whether at least one variable stored in an instance generated during execution of the user program is to be made public to an external device; and generating public setting information based on the user's setting using the user interface. The control device manages whether at least one variable stored in the instance generated during execution of the user program is to be made public to the external device based on the public setting information. The user program includes first identification information that identifies an instance generated during execution of a function block included in the user program. The function block has unique second identification information and at least one variable to be used during execution is predetermined. The user interface is configured to allow a user to specify at least one of the first identification information and the second identification information to set whether at least one variable is to be made public to the external device.
[0023] 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.
[0024] 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, the 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 public 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;
[0025] 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.
[0026] <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.
[0027] 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.
[0028] 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.
[0029] 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.
[0030] The control device 200 is communicably connected to the support device 100 via a USB (Universal Serial Bus) connection or the like.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] The disclosure setting information 260 includes information for specifying whether or not the data managed by the control device 200 is to be made public to the external device 300. The disclosure setting information 260 is generated by the support device 100 and downloaded to the control device 200.
[0050] 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.
[0051] 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.
[0052] However, 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 namespace unique to the function block.
[0053] 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 whether at least one variable stored in an instance generated during execution of the user program 230 should be made public to the external device 300. The user interface is configured to allow a user to specify at least one of an instance name and a namespace and set whether at least one variable should be made public to the external device 300. The public setting unit 120 generates public setting information 260 based on the user's setting using the user interface (public setting screen) provided by the providing unit 110. The public setting information 260 generated by the public setting unit 120 is downloaded to the control device 200.
[0054] With the support device 100 having such a configuration, the user can set variables to be made public to the external device 300 for each instance name or for each namespace, so there is no need to set public settings for each of the huge number of variables that are generated when the user program 230 is executed, and the effort required for setting public settings can be minimized.
[0055] <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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] The chipset 204 has a relay function for managing and processing data exchange between the devices that make up the control device 200 .
[0060] The control system interface 205 is an interface that mediates the exchange of data between the control device 200 and the movable machine 400 .
[0061] The information system interface 206 is an interface that mediates the exchange of data between the control device 200 and the external device 300 .
[0062] The USB controller 207 is an interface that mediates the exchange of data between the control device 200 and the support device 100 .
[0063] 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.
[0064] <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.
[0065] 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.
[0066] 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.
[0067] 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.
[0068] The bus 104 has a relay function for managing and processing data exchange between the devices that make up the support device 100 .
[0069] 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.
[0070] 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.
[0071] The USB controller 107 is an interface that mediates the exchange of data between the support device 100 and the control device 200 .
[0072] 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.
[0073] <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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] The bus 304 has a relay function for managing and processing data exchange between the devices that make up the external device 300 .
[0078] 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.
[0079] 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.
[0080] The communication interface 307 is an interface that mediates the exchange of data between the external device 300 and the control device 200 .
[0081] 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.
[0082] <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.
[0083] 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).
[0084] 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).
[0085] 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 FIG. 8, the user uses the user setting screen to register a specific person as an access user of the network publication service. 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).
[0086] 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).
[0087] 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 9 to 11, the user uses the public setting screen to input information regarding whether or not to make data (variables, etc.) managed by the control device 200 public 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).
[0088] 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).
[0089] 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.
[0090] 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.
[0091] 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).
[0092] 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.
[0093] 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).
[0094] 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).
[0095] 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).
[0096] 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.
[0097] <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.
[0098] 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.
[0099] 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".
[0100] 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.
[0101] In this way, the user can develop any user program 230 by combining variables or function blocks on the development screen 151.
[0102] <G. User Setting Screen> The user setting screen 152 will be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of the user setting screen 152, which is a user interface provided by the support device 100. As shown in Fig. 8, the user setting screen 152 includes input fields 1521, 1522, and 1523, and icons 1524 and 1525.
[0103] 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.
[0104] 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.
[0105] <H. Public Settings Screen> The public settings screen 154 will be described with reference to Figures 9 to 11. Figures 9 to 11 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 9 and 10, the public settings screen 154 includes icons 1541, 1542, 1545, and 1548, and selection fields 1543 and 1546.
[0106] Icon 1541 is an icon that is operated when the selected variable is to be made public as a method of disclosing the variable. Icon 1542 is an icon that is operated when the selected variable is not to be made public as a method of disclosing the variable.
[0107] Selection field 1543 is a selection field that allows the user to select an arbitrary function block from at least one function block used in the user program 230. In the examples of Figures 9 and 10, selection field 1543 includes, as options, a function block labeled "FB1" and a function block labeled "FB2." Icon 1545 is an icon that is operated when specifying the function block selected in selection field 1543.
[0108] Selection field 1546 is a selection field that allows the user to select any instance from at least one instance defined in user program 230. In the examples of Figures 9 and 10, 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." Icon 1548 is an icon that is operated when specifying the instance selected in selection field 1546.
[0109] 9 , 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.
[0110] When the user operates icon 1541 while selecting one function block in selection field 1543, the user can set all variables used in the selected function block to be made public to the accessing user. For example, if the user operates icon 1541 while selecting FB2, the control device 200 allows the disclosure of all variables generated during execution of the function block marked "FB2." In this case, the control device 200 discloses variables generated during execution to the accessing user regardless of whether FB2 instance 1 or FB2 instance 2 is executed.
[0111] On the other hand, when the user operates icon 1542 while selecting one function block in selection field 1543, the user can set all variables used in the selected function block to not be disclosed to the accessing user. For example, if the user operates icon 1542 while selecting FB2, the control device 200 does not allow disclosure of all variables generated during execution of the function block marked "FB2." In this case, the control device 200 does not disclose to the accessing user the variables generated during execution, regardless of whether FB2 instance 1 or FB2 instance 2 is executed.
[0112] 10 , 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.
[0113] When the user operates icon 1541 with an instance selected in selection field 1546, the user can set all variables used in the selected instance to be made public to accessing users. For example, if the user operates icon 1541 with FB2 instance 1 selected, the control device 200 allows all variables generated during execution of FB2 instance 1 to be made public. 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 settings.
[0114] On the other hand, when the user operates icon 1542 with one instance selected in selection field 1546, the user can set all variables used in the selected instance to not be made public to accessing users. For example, if the user operates icon 1542 with FB2 instance 1 selected, the control device 200 will not allow the disclosure of all variables generated during execution of FB2 instance 1. 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 disclose variables according to the individual disclosure settings.
[0115] In this way, the user can set variables to be public using a namespace specific to the function block, and can also set variables to be public using instance names that identify instances generated during execution of the function block. This eliminates the need for the user to set public variables for each of the vast number of variables generated during execution of the user program 230, minimizing the effort required for setting public variables. Furthermore, the user can reduce the time required for setting public variables and the likelihood 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, more advanced tasks.
[0116] 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.
[0117] 11 , 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. 11 , 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.
[0118] When a user selects to make a selected instance public in the selection field 1546 shown in FIGS. 9 and 10 , at least one variable 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 publication field 1553 in a pull-down format. For example, in the example of FIG. 11 , for FB2 instance 1, which is permitted to be published as an entire instance, "public" is selected for Var1, Var2, and Var3. In this case, the control device 200 permits publication of Var1, Var2, and Var3 to the external device 300. On the other hand, for FB2 instance 1, which is permitted to be published as an entire instance, "private" is selected for Var4. In this case, the control device 200 does not permit publication of Var4 to the external device 300.
[0119] 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.
[0120] The support device 100 may be configured so that the user can set permission or prohibition of reading variables and permission or prohibition of writing variables on the public setting screen 154 .
[0121] <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.
[0122] For example, if the user operates icon 1542 with FB2 selected, the control device 200 sets the disclosure so that all variables generated during execution of the function block labeled "FB2" are not permitted to be disclosed. On the other hand, if the user operates icon 1541 with FB2 instance 1 selected, the control device 200 sets the disclosure so that all variables generated during execution of FB2 instance 1 are permitted to be disclosed. In such a case, the disclosure setting using the namespace does not permit the disclosure of variables for the function block labeled "FB2," whereas the disclosure setting using the instance permits the disclosure of variables for FB2 instance 1, which may result in a contradiction between the two.
[0123] 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.
[0124] 12 to 14, the support device 100 may be configured to prioritize either the public setting using a namespace or the public setting using an instance. 12 to 14 are diagrams showing modified examples of a public setting screen 154, which is a user interface provided by the support device 100.
[0125] 12 , the public setting information 260 may include information for setting whether to give priority to variables specified by instance names over variables specified by namespaces and to disclose them to the external device 300. In this way, even if, for example, the public setting using namespaces does not permit the disclosure of variables for a function block labeled "FB2," while the public setting using instances permits the disclosure of variables for FB2 instance 1, the control device 200 will disclose the variables used in FB2 instance 1 to the external device 300 based on the public setting information 260, thereby avoiding inconsistencies between the two.
[0126] 13 , 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 does not permit the publication of variables for a function block labeled "FB2," while the public setting using an instance permits the publication of variables for FB2 instance 1, the control device 200 will not publish the variables used in FB2 instance 1 using FB2 to the external device 300 based on the public setting information 260, thereby avoiding inconsistencies between the two.
[0127] 14 , the public setting screen 154 includes a selection field 1549 for the user to set which of the namespace and instance name corresponding variables will be given priority in public disclosure to the external device 300. When the user selects, in the selection field 1549, the namespace or instance name for which public disclosure settings will be given priority, the support device 100 generates public setting information 260 by giving priority to the name selected by the user. In this way, for example, when the user selects an 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 based on the public setting information 260, thereby avoiding inconsistencies between the two.
[0128] <J. Supplementary Notes> As described above, the present embodiment includes the following disclosures.
[0129] (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 whether or not at least one variable stored in an instance generated when the user program is executed is to be made public to an external device (300); and a public setting unit (120) that generates public setting information (260) based on the user's setting using the user interface, wherein the control device manages whether or not the at least one variable stored in the instance generated when the user program is executed is to be made public to the external device based on the public setting information, the user program includes first identification information that identifies the 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 during execution is predetermined, and the user interface is configured to allow the user to specify at least one of the first identification information and the second identification information to set whether or not to make the at least one variable public to the external device.
[0130] (Configuration 2) The support device of Configuration 1, wherein the user interface is configured to be able to set whether or not to disclose to the external device each of the at least one variable stored in the instance corresponding to the first identification information specified by the user.
[0131] (Configuration 3) A support device of configuration 1 or configuration 2, wherein the disclosure setting information includes information for setting whether to disclose to the external device the at least one variable specified by the first identification information in priority over the at least one variable specified by the second identification information.
[0132] (Configuration 4) A support device of configuration 1 or configuration 2, wherein the disclosure setting information includes information for setting whether to disclose to the external device the at least one variable specified by the second identification information in priority over the at least one variable specified by the first identification information.
[0133] (Configuration 5) The support device of Configuration 1 or 2, wherein the user interface is configured to be able to set whether to prioritize the at least one variable corresponding to either the first identification information or the second identification information to be disclosed to the external device.
[0134] (Configuration 6) A control method for a support device (100) that supports a control device (200) that controls a control target in accordance with a user program (230), comprising: a step (S16) of providing a user interface for a user to set whether or not at least one variable stored in an instance generated when the user program is executed is to be made public to an external device (300); and a step (S17) of generating public setting information based on the user setting using the user interface, wherein the control device manages whether or not the at least one variable stored in the instance generated when the user program is executed is to be made public to the external device based on the public setting information; the user program includes first identification information that identifies the 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 allow the user to specify at least one of the first identification information and the second identification information to set whether or not to make the at least one variable public to the external device.
[0135] (Configuration 7) A support program (130) that supports a control device (200) that controls a control target in accordance with a user program (230), the support program causing a computer (101) to execute the following steps: providing a user interface (S16) for a user to set whether or not at least one variable stored in an instance generated when the user program is executed is to be made public to an external device; and generating public setting information based on the user's setting using the user interface (S17). The control device manages, based on the public setting information, whether or not the at least one variable stored in the instance generated when the user program is executed is to be made public to the external device; the user program includes first identification information that identifies the 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 allow the user to specify at least one of the first identification information and the second identification information to set whether or not to make the at least one variable public to the external device.
[0136] <K. Advantages> According to the support device 100 according to the embodiment, 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.
[0137] 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.
[0138] 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, 1541, 1542, 1545, 1548 icon, 1543, 1546, 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 whether or not at least one variable stored in an instance generated when the user program is executed is to be made public to an external device; and a public setting unit that generates public setting information based on the user's setting using the user interface; the control device manages whether or not the at least one variable stored in the instance generated when the user program is executed is to be made public to the external device based on the public setting information; the user program includes first identification information that identifies the 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 at the time of execution is predetermined; and the user interface is configured to allow the user to specify at least one of the first identification information and the second identification information to set whether or not the at least one variable is to be made public to the external device.
2. The support device of claim 1, wherein the user interface is configured to enable setting as to whether or not each of at least one variable stored in the instance corresponding to the first identification information specified by the user is to be made public to the external device.
3. A support device as described in claim 1 or claim 2, wherein the public setting information includes information for setting whether or not to make the at least one variable specified by the first identification information public to the external device in priority over the at least one variable specified by the second identification information.
4. A support device as described in claim 1 or claim 2, wherein the public setting information includes information setting whether or not to make the at least one variable specified by the second identification information public to the external device in priority over the at least one variable specified by the first identification information.
5. A support device as described in claim 1 or claim 2, wherein the user interface is configured to be able to set whether or not the at least one variable corresponding to either the first identification information or the second identification information is to be preferentially disclosed to the external device.
6. 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 whether or not at least one variable stored in an instance generated during execution of the user program is to be made public to an external device; and generating public setting information based on the user's setting using the user interface; the control device manages whether or not the at least one variable stored in the instance generated during execution of the user program is to be made public to the external device based on the public setting information; the user program includes first identification information that identifies the instance generated during execution of a function block included in the user program; the function block has unique second identification information, and the at least one variable used during execution is predetermined; and the user interface is configured to allow the user to specify at least one of the first identification information and the second identification information to set whether or not the at least one variable is to be made public to the external device.
7. 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 whether or not at least one variable stored in an instance generated during execution of the user program is to be made public to an external device; and generating public setting information based on the user's setting using the user interface; the control device manages whether or not the at least one variable stored in the instance generated during execution of the user program is to be made public to the external device based on the public setting information; the user program includes first identification information that identifies the instance generated during execution of a function block included in the user program; the function block has unique second identification information, and the at least one variable used during execution is predetermined; and the user interface is configured to allow the user to specify at least one of the first identification information and the second identification information to set whether or not the at least one variable is to be made public to the external device.
Citation Information
Patent Citations
Display device for control and its program and recording medium with the same program recorded
JP2002297208A
Programmable controller system, support device for the same, and programmable controller
JP2014099066A
Control unit, control method, and program
JP2019096211A
Control system, development assistance apparatus and development assistance program
JP2019159632A
