Controller system, control unit and storage medium

By introducing security units and restriction components into the controller system, controlling the use of data receiving and receiving interfaces, evaluating and managing data security, the security threat problem of the control unit receiving and receiving data through the interface is solved, and more reliable data transmission security is achieved. .

CN112689806BActive Publication Date: 2024-10-18OMRON CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201980058579.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-19
Publication Date
2024-10-18
Estimated Expiration
2039-12-19

AI Technical Summary

Technical Problem

In the existing technology, when the control unit receives and receives data through the interface, it may lead to leakage of confidential information or virus infection, posing security threats.

Method used

A controller system is designed, including a control unit and a safety unit. It controls the receipt and reception of data through restriction components and management components, ensuring that data is processed through the safety interface after being connected to the safety unit. It evaluates data security and stops transmission when it does not meet the standards. , and notify the user.

Benefits of technology

It effectively reduces the security threats to the control unit, prevents unauthorized data leakage and virus spread, and ensures the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112689806B_ABST
    Figure CN112689806B_ABST
Patent Text Reader

Abstract

This invention provides a controller system, a control unit, and a storage medium that can reduce security threats to the control unit. The controller system includes: a control unit for performing control operations to control a controlled object; and a security unit responsible for security. The control unit includes: a first interface for transmitting and receiving data with external devices; a communication controller for communicating with the security unit; and a limiting component that, if the communication controller detects a connection between the control unit and the security unit, restricts data transmission and reception with external devices via the first interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a controller system for controlling a control object and data transmission and reception via an interface, and more particularly to a controller system, a control unit and a storage medium. Background Art

[0002] In the production site where factory automation (FA) is used, a programmable logic controller (PLC) including a control unit can be used to control various devices and various devices configured in each device. The control unit has an interface for receiving and sending data with external devices such as a secure digital (SD) memory card. The control unit reads data stored in the external device or writes data to the external device through the interface.

[0003] As an example of a technology for transmitting and receiving data between a PLC and an external device via an interface, Japanese Patent Gazette No. 2008-293241 (Patent Document 1) discloses "including: an operating unit for accepting operating instructions from a user; a first interface for sending data to the PLC; a second interface for connecting a portable external memory; and a control unit for reading data written in the external memory connected to the second interface and sending the data to the PLC via the first interface."

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2008-293241 Summary of the invention

[0007] Problems to be solved by the invention

[0008] If data transmission and reception via the interface is not controlled, important data such as confidential information may flow out of the control unit, or inappropriate data such as viruses may be stored inside the control unit, posing a security threat. Therefore, a technology that can reduce security threats to the control unit is needed.

[0009] The present disclosure is made in view of the above-mentioned actual situation and provides a technology that can reduce the security threat to the control unit.

[0010] Technical means of solving problems

[0011] In one example of the present disclosure, a controller system includes: a control unit that performs a control operation for controlling a control object; and a security unit that is responsible for the security of the control unit. The control unit includes: a first interface that mediates data transmission and reception with an external device; a communication controller that is responsible for communication with the security unit; and a restriction component that restricts the transmission and reception of data with the external device via the first interface if the communication controller detects a connection between the control unit and the security unit.

[0012] According to the present disclosure, the controller system can reduce the security threat to the control unit by limiting the direct data transmission and reception between the external device and the control unit, which may pose a security threat.

[0013] In one example of the present disclosure, the security unit further comprises: a second interface for mediating data transmission and reception with the external device; and a management component for managing the transmission and reception of the data with the external device via the second interface. The management component allows the control unit to transmit and receive the data with the external device via the second interface when the use of the first interface is restricted by the restriction component.

[0014] According to the present disclosure, the controller system can reduce the security threat to the control unit by making the security unit responsible for direct communication with the external device which may pose a security threat.

[0015] In one example of the present disclosure, the restriction component sends data for writing to the external device by the control unit via the first interface to the security unit through the communication controller while restricting the use of the first interface, and the management component allows the sent data for writing to be written to the external device via the second interface.

[0016] According to the present disclosure, the controller system can select either the first interface of the control unit or the second interface of the security unit as a writing destination of data without changing the setting of the user program.

[0017] In one example of the present disclosure, the security unit further includes: an evaluation unit that evaluates the security of data exchanged with the external device. The management unit sends the data to the control unit when the security of the data exchanged with the external device is above a predetermined benchmark, and stops sending the data to the control unit when the security of the data is lower than the benchmark.

[0018] According to the present disclosure, the controller system can determine whether to send data to the control unit based on the security of the data read from the external device via the second interface, thereby more reliably reducing the security threat to the control unit.

[0019] In one example of the present disclosure, the security unit further includes: a notification component configured to notify a user, wherein the notification component performs notification when the security of the data exchanged with the external device is lower than the standard.

[0020] According to the present disclosure, the controller system may notify the user that the security unit has detected data with low security.

[0021] In one example of the present disclosure, the external device is a storage medium that is attachable and detachable to at least one of the first interface and the second interface.

[0022] According to the present disclosure, the controller system can easily perform at least one of reading and writing data via the interface.

[0023] In one example of the present disclosure, the restriction unit performs any one of the following: only reading data from the external device; only writing data from the external device; and prohibiting reading and writing of data from the external device.

[0024] According to the present disclosure, the controller system can set restrictions corresponding to the security of each external device for each interface by changing the content of the setting information using the support device.

[0025] In one example of the present disclosure, the limiting means sends and receives the data only with the external device specified in advance.

[0026] According to the present disclosure, the controller system can prevent security threats caused by data transmission from external devices that are not pre-approved.

[0027] In one example of the present disclosure, a control unit that performs control operations for controlling a control object includes: a first interface that mediates data transmission and reception with an external device; a communication controller that is responsible for communicating with a security unit, and the security unit is responsible for the security of the control unit; and a restriction component that restricts the transmission and reception of data with the external device via the first interface if the communication controller detects a connection between the control unit and the security unit.

[0028] According to the present disclosure, the control unit can reduce the security threat to the own unit by limiting the direct data transmission between the external device and the own unit that may become a security threat.

[0029] In one example of the present disclosure, a control program of a control unit for executing a control operation for controlling a control object causes the control unit to perform the following steps: detecting the connection between the control unit and the security unit through a communication controller responsible for communicating with the security unit, the security unit being responsible for the security of the control unit; and maintaining the following state, i.e., limiting the first interface for sending and receiving data with an external device via an intermediary to send and receive data with the external device.

[0030] According to the present disclosure, the control program can reduce the security threat to the control unit by limiting the direct data transmission and reception between the external device and the control unit, which may pose a security threat.

[0031] Effects of the Invention

[0032] According to the present disclosure, the threat to the security of the control unit can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is an external view showing a configuration example of the controller system 1 according to the present embodiment.

[0034] Figure 2 1 is a schematic diagram showing a hardware configuration example of the control unit 100 constituting the controller system 1 according to the present embodiment.

[0035] Figure 3 1 is a schematic diagram showing a hardware configuration example of the safety unit 200 constituting the controller system 1 according to the present embodiment.

[0036] Figure 4 (a) and Figure 4 (b) is a diagram for explaining whether the first interface 110 can be used or not depending on the connection state between the control unit 100 and the security unit 200 .

[0037] Figure 5 1 is a flowchart showing a process flow when the control unit 100 and the safety unit 20 of the controller system 1 are not connected.

[0038] Figure 6 1 is a flowchart showing a process flow when the control unit 100 and the safety unit 200 of the controller system 1 are in a connected state.

[0039] Figure 7 (a) Figure 7 (b) and Figure 7 (c) is a diagram showing that the writing destination of data is changed according to the connection state of the safety unit 200 without changing the contents of the user program.

[0040] Figure 8This is a diagram showing the change of the data writing destination in more detail.

[0041] Fig. 9 This is a diagram for explaining whether communication is permitted or not depending on the security of data read from an external device.

[0042] Fig.10 It is a flowchart showing the flow of processing corresponding to data security of the controller system 1 .

[0043] Fig.11 (a) and Fig.11 (b) is a diagram for explaining the change of the setting information 182 and the restriction of data transmission and receiving using the changed setting information 182.

[0044] Fig.12 (a) and Fig.12 (b) is a diagram showing an example of a case where the setting information of the memory card interface 113 is changed.

[0045] Fig.13 (a) and Fig.13 (b) is a diagram showing an example of a case where the setting information of the USB controller 112 is changed.

[0046] Fig.14 (a) and Fig.14 (b) is a diagram showing an example of a case where the setting information of the network controller 111 is changed.

[0047] Fig.15 This is a diagram showing another example of how the setting information of the USB controller 112 is changed.

[0048] [Explanation of Symbols]

[0049] 1: Controller system

[0050] 30, 130, 230: Communication controller

[0051] 100: Control unit

[0052] 102, 202: Processor

[0053] 104, 204: Chipset

[0054] 106, 206: Main storage device

[0055] 108, 208: Secondary storage device

[0056] 111, 115, 116, 117, 211, 215, 216: Network controller

[0057] 110: First interface

[0058] 112, 212: USB controller

[0059] 113, 213: Memory card interface

[0060] 122: Internal bus controller

[0061] 124, 224: Indicator

[0062] 150: Control Engine

[0063] 152, 252: Hardware Abstraction Layer

[0064] 170: Restriction module

[0065] 180, 280: System program

[0066] 182, 282: Setting information

[0067] 184, 284: User program

[0068] 190, 290: Driver

[0069] 191, 291: Cable

[0070] 192, 292: USB memory

[0071] 193, 293: SD memory card

[0072] 194: File sharing system client

[0073] 195, 295: Kernel

[0074] 200: Security unit

[0075] 210: Second interface

[0076] 250: Security Engine

[0077] 260: Evaluation Department

[0078] 270: Management Module

[0079] 294: File sharing system server

[0080] 400: Functional unit

[0081] 450: Power supply unit

[0082] 500: Support device

[0083] 501: Display unit

[0084] 502: Operation input unit

[0085] 510: First setting image

[0086] 511: Second setting image

[0087] 520: Memory setting items

[0088] 522: USB setting items

[0089] 524: Network settings items

[0090] 530, 536: Project selection column

[0091] 610: Memory settings list

[0092] 612: USB settings list

[0093] 614: Network Settings Overview

[0094] 900: Function block

[0095] 901, 902, 903, 904: Input section

[0096] 905, 906, 907, 908, 909: Output unit

[0097] S100~S105, S200~S209, S300~S306: Steps DETAILED DESCRIPTION

[0098] The embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the same or corresponding parts in the drawings are denoted by the same reference numerals and their description will not be repeated.

[0099] <A. Controller system 1>

[0100] First, the configuration of the controller system 1 according to the present embodiment will be described.

[0101] Figure 1 2 is an external view showing a configuration example of a controller system 1 according to the present embodiment. Figure 1 , the controller system 1 includes a control unit 100, a security unit 200, one or more functional units 400, and a power supply unit 450. In addition, the controller system 1 may also include a support device 500 that can access at least one of the control unit 100 and the security unit 200. The support device 500 includes a display unit 501 that displays an image, and an operation input unit 502 that accepts user operations. The operation input unit 502 includes, for example, at least one of a keyboard and a mouse.

[0102] The support device 500 is a device that supports the preparation required for the control unit 100 to control the control object. Specifically, the support device 500 provides a development environment for the program executed by at least one of the control unit 100 and the safety unit 200, and a setting environment for setting parameters (configuration) of various devices connected to at least one of the control unit 100 and the safety unit 200. The development environment includes, for example, a program creation and editing tool, an analyzer, a compiler, etc. In addition, the support device 500 provides a function of sending the user program described later to at least one of the control unit 100 and the safety unit 200, and a function of online correction and change of the user program, etc.

[0103] The control unit 100 and the security unit 200 are connected via an arbitrary data transmission path (eg, PCI Express or Ethernet (registered trademark)). The control unit 100 and one or more functional units 400 are connected via an internal bus (not shown).

[0104] The control unit 100 performs central processing in the controller system 1. The control unit 100 performs control calculations for controlling a control target in accordance with a required specification of an arbitrary design. Figure 1 In the illustrated structural example, the control unit 100 has one or more interfaces. More specifically, the control unit 100 has a Universal Serial Bus (USB) controller 112, a memory card interface 113, and interfaces including network controllers 115, 116, and 117. Hereinafter, the network controllers 115, 116, and 117 of the control unit 100 are also collectively referred to as the network controller 111.

[0105] The security unit 200 is connected to the control unit 100 and is responsible for the security of the control unit 100 . Figure 1 In the illustrated configuration example, the security unit 200 has one or more interfaces. More specifically, the security unit 200 has a USB controller 212, a memory card interface 213, and interfaces including network controllers 215 and 216. Hereinafter, the network controllers 215 and 216 of the security unit 200 are also collectively referred to as the network controller 211.

[0106] The functional unit 400 provides various functions for realizing the control of various control objects by the controller system 1. The functional unit 400 may typically include an input / output (I / O) unit, a communication unit, a motion controller unit, a temperature adjustment unit, a pulse counter unit, etc. Examples of the I / O unit include a digital input (DI) unit, a digital output (DO) unit, an analog output (AI) unit, an analog output (AO) unit, a pulse capture input unit, and a composite unit obtained by mixing multiple types.

[0107] The power supply unit 450 supplies power of a predetermined voltage to each unit constituting the controller system 1 .

[0108] <B. Example of hardware configuration of each unit>

[0109] Next, a hardware configuration example of each unit constituting the controller system 1 according to the present embodiment will be described.

[0110] (b1: control unit 100)

[0111] Figure 2 1 is a schematic diagram showing a hardware configuration example of the control unit 100 constituting the controller system 1 of the present embodiment. Figure 2 The control unit 100 includes a processor 102 such as a central processing unit (CPU) or a graphic processing unit (GPU), a chipset 104, a main storage device 106, a secondary storage device 108, a communication controller 130, a USB controller 112, a memory card interface 113, network controllers 115, 116, 117, an internal bus controller 122 and an indicator 124 as main components.

[0112] The processor 102 reads various programs stored in the secondary storage device 108, expands and executes them in the main storage device 106, thereby realizing control operations and various processes described below. The chipset 104 realizes the overall processing of the control unit 100 by exchanging data between the processor 102 and various components.

[0113] In addition to storing system programs (such as Figure 4 In addition to the system program 180 shown in (b) of FIG. 1 , a control program that runs on the execution environment provided by the system program 180 is also stored.

[0114] The communication controller 130 is responsible for communication with the security unit 200. As the communication controller 130, for example, a communication chip corresponding to PCI Express or Ethernet can be used.

[0115] The USB controller 112 is responsible for sending and receiving data with any information processing device via a USB connection. The USB controller 112 is configured to be removable from the USB memory 192, for example. More specifically, the USB controller 112 mediates the reading of data such as a control program or various settings from the USB memory 192. Alternatively, the USB controller 112 mediates the writing of data such as a control program or various settings to the USB memory 192.

[0116] The memory card interface 113 is responsible for sending and receiving data with any information processing device. The memory card interface 113 is configured to be able to load and remove the SD memory card 193, for example. More specifically, the memory card interface 113 mediates the reading of control programs and various settings from the SD memory card 193. Alternatively, the memory card interface 113 mediates the writing of control programs and various settings to the SD memory card 193.

[0117] The network controller 111 is responsible for sending and receiving data with any device via the network. The network controller 111 is configured to be able to attach and detach a local area network (LAN) cable 191, for example. The network controller 111 may also use industrial network protocols such as Ethernet control automation technology (EtherCAT, registered trademark), Ethernet industrial protocol (EtherNet / IP, registered trademark), DeviceNet (registered trademark), and CompoNet (registered trademark).

[0118] Thus, the USB controller 112, the memory card interface 113, and the network controller 111 are interfaces for mediating data transmission between the control unit 100 and external devices. Hereinafter, the USB controller 112, the memory card interface 113, and the network controller 111 are also collectively referred to as the first interface 110.

[0119] The internal bus controller 122 is responsible for sending and receiving data with one or more functional units 400 constituting the controller system 1. For the internal bus, a communication protocol unique to the manufacturer may be used, or a communication protocol that is the same as or complies with any industrial network protocol may be used.

[0120] The indicator 124 informs the user of the safety or operating status of the control unit 100, etc. It includes one or more light emitting diodes (LEDs) disposed on the surface of the unit.

[0121] Figure 2In the figure, a structural example is shown in which the necessary functions are provided by executing a program by the processor 102, but a dedicated hardware circuit (for example, an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA)) can also be used to install part or all of these provided functions. Alternatively, the main part of the control unit 100 can also be implemented using hardware according to a general architecture (for example, an industrial personal computer based on a general-purpose personal computer). In this case, virtual technology can also be used to execute multiple operating systems (OS) with different purposes in parallel, and execute necessary applications on each OS.

[0122] (b2: safety unit 200)

[0123] Figure 3 2 is a schematic diagram showing an example of a hardware configuration of the safety unit 200 constituting the controller system 1 according to the present embodiment. Figure 3 The security unit 200 includes a processor 202 such as a CPU or a GPU, a chipset 204, a primary storage device 206, a secondary storage device 208, a communication controller 230, a USB controller 212, a memory card interface 213, network controllers 215, 216 and an indicator 224 as main components.

[0124] The processor 202 reads various programs stored in the secondary storage device 208, expands and executes them in the main storage device 206, thereby realizing security for the control unit 100. The chipset 204 exchanges data between the processor 202 and various components, thereby realizing the overall processing of the security unit 200.

[0125] In addition to storing system programs (such as Figure 4 In addition to the system program 280 shown in (b) of FIG. 1 , a security system program that runs on the execution environment provided by the system program 280 is also stored.

[0126] The communication controller 230 is responsible for communication with the control unit 100. As the communication controller 230, similar to the communication controller 130 in the control unit 100, for example, a communication chip compatible with PCI Express or Ethernet can be used.

[0127] The USB controller 212 is responsible for sending and receiving data with any information processing device via a USB connection. The USB controller 212 is configured to be removable from the USB memory 292, for example. More specifically, the USB controller 212 mediates the control program or various settings data from the USB memory 292. Alternatively, the USB controller 212 mediates the writing of the control program or various settings data to the USB memory 292.

[0128] The memory card interface 213 is responsible for sending and receiving data with any information processing device. The memory card interface 213 is configured to be able to load and remove the SD memory card 293, for example. More specifically, the memory card interface 213 mediates the reading of control programs and various settings from the SD memory card 293. Alternatively, the memory card interface 213 mediates the writing of control programs and various settings to the SD memory card 293.

[0129] The network controller 211 is responsible for sending and receiving data with any device via the network. The network controller 211 is configured to be able to attach and detach the LAN cable 291, for example. The network controller 211 may also use a general-purpose network protocol such as Ethernet.

[0130] Thus, the USB controller 212, the memory card interface 213, and the network controller 211 are interfaces for mediating data transmission between the secure unit 200 and the external device. Hereinafter, the USB controller 212, the memory card interface 213, and the network controller 211 are also collectively referred to as the second interface 210.

[0131] The external devices including the USB memory, SD memory card, and LAN cable in the above description are storage media that can be attached to and detached from at least one of the first interface 110 and the second interface 210. Thus, the controller system 1 can easily perform at least one of reading and writing data via the interface.

[0132] The indicator 224 informs the user of the safety or operating status of the safety unit 200, and includes one or more LEDs disposed on the unit surface.

[0133] Figure 3 , a configuration example is shown in which the processor 202 executes a program to provide necessary functions, but a dedicated hardware circuit (such as ASIC or FPGA, etc.) may be used to implement part or all of these provided functions. Alternatively, the main part of the security unit 200 may be implemented using hardware according to a general-purpose architecture (such as an industrial personal computer based on a general-purpose personal computer). In this case, virtualization technology may be used to execute multiple OSs with different purposes in parallel, and necessary applications may be executed on each OS.

[0134] <C. Whether the first interface 110 can be used>

[0135] Next, a description will be given of a process of reducing a security threat by the control unit 100 of the controller system 1 according to the present embodiment. Figure 4 (a) and Figure 4 (b) is a diagram for explaining whether the first interface 110 can be used or not depending on the connection state between the control unit 100 and the security unit 200 .

[0136] Reference Figure 4 (a), when the control unit 100 and the security unit 200 are not electrically connected, data can be sent and received between the control unit 100 and the external device via the first interface 110. The so-called control unit 100 and the security unit 200 are not connected, including the control unit 100 and other units other than the security unit 200 are electrically connected. The other units are, for example, the functional unit 400.

[0137] The control unit 100 includes a Figure 2 The secondary storage device 108 , the first interface 110 (USB controller 112 , memory card interface 113 , and network controller 111 ), and the communication controller 130 are described.

[0138] The secondary storage device 108 of the control unit 100 includes a system program 180 , setting information 182 , and a user program 184 .

[0139] The system program 180 includes a driver 190 , which is a control program for utilizing the first interface 110 .

[0140] The setting information 182 is information for defining the structure or setting of the control unit 100. More specifically, the setting information 182 includes information for the restriction module 170 described later to determine whether data can be received and sent via the first interface 110. The data is sent and received between the control engine 150 described later and the external device. In addition, the setting information 182 can be preset or the set content can be changed by the user operation using the support device 500. The change of the setting information 182 will be described later.

[0141] The user program 184 is created according to the user's control purpose. That is, it is a program arbitrarily designed according to the line (process) of the object to be controlled using the control unit 100. The user program 184 cooperates with the sequence program, for example, to achieve the user's control purpose. That is, the user program 184 realizes the programmed action by using the commands, functions, functional modules, etc. provided by the sequence program.

[0142] Furthermore, the control unit 100 includes a control engine 150 and a restriction module 170. When the power supply unit 450 starts supplying power to the control unit 100, the processor 102 acquires the system program 180 and setting information 182 stored in the secondary storage device 108 from the secondary storage device 108, and expands them in the main storage device 106. Thus, the processor 102 functions as the control engine 150 and the restriction module 170.

[0143] The control engine 150 transmits and receives data with the external device through the mediation of the first interface 110 .

[0144] The restriction module 170 detects whether the control unit 100 is connected to the security unit 200 through the communication controller 130. Furthermore, when the connection between the control unit 100 and the security unit 200 is not detected, the restriction module 170 allows the control engine 150 to send and receive data with the external device via the first interface 110 based on the setting information 182. In the setting information 182, the following setting is preliminarily made, that is, when the control unit 100 and the security unit 200 are in a disconnected state, the driver 190 controlling the first interface 110 is activated, and the restriction module can mediate the sending and receiving of data between the control unit 100 and the external device.

[0145] Next, refer to Figure 4 (b) When the control unit 100 and the security unit 200 are electrically connected, data transmission between the control unit 100 and the external device via the first interface 110 is restricted.

[0146] The restriction module 170 detects whether the control unit 100 is connected to the security unit 200 through the communication controller 130. If the connection between the control unit 100 and the security unit 200 is detected, the restriction module 170 restricts the sending and receiving of data based on the setting information 182. In the setting information 182, the following setting is preliminarily made: when the control unit 100 and the security unit 200 are in a connected state, the driver 190 that controls the first interface 110 is disabled and cannot mediate the sending and receiving of data between the control engine 150 and the external device. Based on the setting information 182, the restriction module 170 restricts the sending and receiving of data between the control engine 150 and the external device via the first interface 110. The controller system 1 can reduce the security threat to the control unit 100 by restricting the direct sending and receiving of data between the external device and the control unit 100, which may be a security threat.

[0147] Figure 5 and Figure 6 , the processing flow corresponding to the presence or absence of the connection status of the controller system 1 and the control unit 100 and the safety unit 200 is shown.

[0148] Figure 5 1 is a flowchart showing a process flow when the control unit 100 and the safety unit 200 are in a disconnected state in the controller system 1. Figure 5 In the processing, the description will be given assuming that the functional unit 400, which is a unit other than the safety unit 200, and the control unit 100 are in a connected state.

[0149] Reference Figure 5 , the functional unit 400 is started up using the power supply from the power supply unit 450 (step S100).

[0150] Next, the control unit 100 is activated with power supply from the power supply unit 450 (step S200 ).

[0151] Next, the control unit 100 confirms whether the unit is connected through the communication controller 130 (step S202). The control unit 100 transmits a signal for confirming the connection through the communication controller 130, for example.

[0152] The function unit 400 receives the connection confirmation from the control unit 100, thereby responding to the control unit 100 (step S102). The function unit 400 transmits a signal of the connection response through the communication controller, for example.

[0153] The control unit 100 receives the connection response and performs model confirmation (step S204 ). More specifically, the control unit 100 transmits a signal for confirming which unit is connected through the communication controller 130 .

[0154] The functional unit 400 receives the model confirmation from the control unit 100 and responds by sending the model of its own unit to the control unit 100 (step S104 ).

[0155] By receiving the model response, the control unit 100 acquires the system program 180 and the setting information 182 corresponding to the model from the secondary storage device 108 (step S206 ).

[0156] The control unit 100 activates the driver 190 included in the system program 180 to enable data transmission between the control engine 150 and the external device via the first interface 110 (step S208 ).

[0157] Next, Figure 6 1 is a flowchart showing a process flow when the control unit 100 and the safety unit 200 are in a connected state in the controller system 1 .

[0158] Reference Figure 6, the security unit 200 is activated by the power supply from the power supply unit 450 (step S101).

[0159] Also, the control unit 100 is activated with power supply from the power supply unit 450 (step S200 ).

[0160] Next, the control unit 100 confirms whether the unit is connected through the communication controller 130 (step S202). The control unit 100 transmits a signal for confirming the connection through the communication controller 130, for example.

[0161] The safety unit 200 responds to the control unit 100 by receiving the connection confirmation from the control unit 100 (step S103 ). The safety unit 200 transmits a signal of the connection response through the communication controller 230 , for example.

[0162] The control unit 100 receives the connection response and performs model confirmation (step S204 ). More specifically, the control unit 100 transmits a signal for confirming which unit is connected through the communication controller 130 .

[0163] The security unit 200 receives the model confirmation from the control unit 100 and responds by sending the model of the security unit 200 to the control unit 100 (step S105 ).

[0164] The control unit 100 acquires the system program 180 and the setting information 182 corresponding to the model from the secondary storage device 108 (step S207 ).

[0165] The control unit 100 disables the driver 190 included in the system program 180, and restricts the data transmission between the control engine 150 and the external device via the first interface 110 (step S209). For example, the control unit 100 cannot transmit or receive data between the control engine 150 and the external device via the first interface 110. When the control unit 100 is connected to the security unit 200, the operation mode of the control unit 100 can be set to a mode that improves security.

[0166] When the restriction module 170 restricts data transmission between the control unit 100 and the external device, data transmission can be performed via the second interface of the security unit 200. More specifically, the management module 270 of the security unit 200 allows data transmission between the control engine 150 and the external device via the second interface 210.

[0167] Refer again Figure 4 (b), the security unit 200 includes a method for using Figure 3 The secondary storage device 208 , the second interface 210 , the communication controller 230 , and the indicator 224 are illustrated.

[0168] The secondary storage device 208 of the security unit 200 includes a system program 280 , setting information 282 , and a user program 284 .

[0169] The system program 280 includes a driver 290 , which is a control program for utilizing the second interface 210 .

[0170] The configuration information 282 is information for defining the structure or configuration of the security unit 200. More specifically, the configuration information 282 includes information for the management module 270 to determine whether data can be sent and received via the second interface 210. Data is sent and received between the security engine 250 to be described later and an external device.

[0171] The user program 284 is created according to the user's control purpose. That is, it is a program arbitrarily designed according to the line (process) of the object to be controlled using the safety unit 200. The user program 284 cooperates with the sequence program, for example, to achieve the user's control purpose. That is, the user program 284 realizes the programmed action by using the commands, functions, functional modules, etc. provided by the sequence program.

[0172] Furthermore, the security unit 200 includes a security engine 250 and a management module 270. When power is supplied to the security unit 200 from the power supply unit 450, the processor 202 acquires the system program 280 and setting information 282 stored in the secondary storage device 208 from the secondary storage device 208, and expands them in the main storage device 206. Thus, the processor 202 functions as the security engine 250 and the management module 270.

[0173] The security engine 250 exchanges data with an external device through the second interface 210 .

[0174] The management module 270 allows data to be sent and received with the external device via the second interface 210 when the use of the first interface 110 is restricted by the restriction module 170. For example, when data is sent from the control engine 150 to the security engine 250 via the communication controller 130 and the communication controller 230, the management module 270 allows the security engine 250 to write the data to the external device via the second interface 210. The data is, for example, data for writing from the control engine 150 to the external device. In addition, the communication controller 130 and the communication controller 230 are also collectively referred to as the communication controller 30 below.

[0175] Furthermore, the management module 270 allows, for example, data to be read from an external device to the security engine 250 via the second interface 210. The data is, for example, data to be read from the external device to the control engine 150. The read data is sent from the security engine 250 to the control engine 150 through the communication controller 30.

[0176] In the setting information 282, the following setting is preliminarily made: when the control unit 100 and the security unit 200 are in a connected state, the driver 290 controlling the second interface 210 is activated, and the management module can mediate the data transmission between the security unit 200 and the external device. The controller system 1 can reduce the security threat of the control unit 100 by making the security unit 200 responsible for the direct transmission with the external device which may be a security threat.

[0177] <D. Data writing process when use of the first interface 110 is restricted>

[0178] use Figure 7 (a) Figure 7 (b) and Figure 7 (c) and Figure 8 The following describes a data writing process when the use of the first interface 110 is restricted.

[0179] Figure 7 (a) Figure 7 (b) and Figure 7 (c) is a diagram showing that the data writing destination is changed according to the connection state of the safety unit 200 without changing the contents of the user program. Figure 7 (a), in the control unit 100, the processor 102 executes the user program 184. The content of the user program 184 is the content of writing data to the SD memory card 193 via the first interface 110 between the control engine 150 and the memory card interface 113. The restriction module 170 detects whether it is connected to the security unit 200. In the case of being disconnected from the security unit 200, the restriction module 170 allows data to be written to the SD memory card 193 via the memory card interface 113 based on the setting information 182.

[0180] Next, refer to Figure 7 (b), and Figure 7(a) Similarly, in the control unit 100, the processor 102 executes the user program 184. Here, when the connection with the security unit 200 is in progress, the restriction module 170 prohibits writing data to the SD memory card 193 via the memory card interface 113 based on the setting information 182. When the use of the first interface is restricted in this way, the restriction module 170 sends the data for writing to the SD memory card of the control engine 150 to the security unit 200 through the communication controller 30.

[0181] The management module 270 of the security unit 200 allows the data transmitted through the communication controller 30 to be written to the SD memory card 293 via the memory card interface 213 based on the setting information 282 .

[0182] Figure 7 (c) represents Figure 7 (a) and Figure 7 (b) is a diagram showing an example of a function block 900 when writing is performed with the same content of the user program 184 in both. The function block 900 represents one function included in the user program 184.

[0183] Reference Figure 7 (c) Function block 900 includes input units 901 to 904 and output units 905 to 909. Input units 901 to 904 receive settings related to the writing process to SD memory card 193 via memory card interface 113. Output units 905 to 909 output the results of the process of performing the settings.

[0184] The input units 901 to 904 receive input of settings for the restriction module 170. Examples of the values ​​include specific values ​​such as "FileID", "WriteBUf" or "Size" as will be described below.

[0185] The input unit 901 indicated by "Execute" receives a setting for designating whether to execute a process. As an example, the input unit 901 receives an input of "True" or "False".

[0186] The input unit 902 indicated by "FileID" receives input regarding the file ID of the file to be written to the SD memory card 193. As an example, the input unit 902 receives input of "%FileID".

[0187] The input unit 903 indicated by "WriteBuf" receives input regarding data to be written to the SD memory card 193. As an example, the input unit 903 receives input of "1000".

[0188] The input unit 904 indicated by "Size" receives input regarding the number of elements to be written to the SD memory card 193. As an example, the input unit 904 receives an input of "500".

[0189] When the setting is performed normally, a signal indicating normal completion is output from the output unit 905 indicated by "Done". A signal indicating that the setting process is in progress is output from the output unit 906 indicated by "Busy". When the setting is not performed normally, a signal indicating abnormal completion is output from the output unit 907. At this time, an error ID for identifying the error content is also output from the output unit 908. In addition, the number of elements actually written to the SD memory card 193 is output from the output unit 909.

[0190] Include Figure 7 The user program 184 of the function block 900 shown in (c) is Figure 7 (a) and Figure 7 More specifically, the controller system 1 can select any one of the first interface 110 of the control unit 100 and the second interface 210 of the security unit 200 as the writing destination of the data without changing the setting of the user program 184. The setting of the user program 184 is, for example, the content of the data input to each input unit of the function block 900.

[0191] Figure 8 This is a diagram showing the change of the data writing destination in more detail. Figure 8 The control unit 100 of the controller system includes a Figure 7 (a) Figure 7 (b) and Figure 7 The control unit 100 further includes a hardware abstraction layer 152, a kernel 195, and a file sharing system client 194 in addition to these structures.

[0192] The safety unit 200 includes a Figure 7 (a) Figure 7 (b) and Figure 7 The user program 284, the security engine 250, the driver 290, the second interface 210, and the communication controller 230 described in (c) and the like. In addition to these structures, the security unit 200 also includes a hardware abstraction layer 252, a kernel 295, and a file sharing system server 294.

[0193] The kernel 195 of the control unit 100 is a program that prepares for starting a computer program executed on the OS or allocates a necessary memory area from a memory space.

[0194] The hardware abstraction layer 152 is a program placed between the kernel 195 and the hardware including the first interface 110. The kernel 195 is a program that can be controlled according to a common specification in order to conceal the difference in control methods or operation methods that differ depending on the hardware.

[0195] The kernel 295 of the security unit 200 has the same function as the kernel 195 of the control unit 100. Furthermore, the hardware abstraction layer 252 of the security unit 200 has the same function as the hardware abstraction layer 152 of the control unit 100. That is, the kernel 195 of the security unit 200 is a program that performs preparation for starting a computer program executed on the OS or allocates a necessary memory area from a memory space. Furthermore, the hardware abstraction layer 252 is a program placed between the kernel 295 and the hardware including the second interface 210. In order to conceal the difference in the control method or operation method that is different for each hardware, the kernel 295 can be controlled according to a common specification.

[0196] The user program 184 is executed in the control unit 100. When the security unit 200 is in a non-connected state, the driver 190 is activated, and the data to be written is written to the SD memory card 193 via the first interface 110. The first interface 110 at this time is, for example, the memory card interface 113. When the security unit 200 is in a non-connected state, the process of executing the user program 184 to the process of writing data via the memory card interface 113, as shown by the dotted arrow 810, is executed.

[0197] On the other hand, when the security unit 200 is in the connected state, the user program 184 is similarly executed in the control unit 100. However, the driver 190 is not activated, and the file sharing system client 194 sends the data for writing to the security unit 200 via the communication controller 30. The file sharing system client 194 corresponds to a part of the functions of the restriction module 170 described so far, for example.

[0198] The file sharing system server 294 of the security unit 200 writes the data received through the communication controller 30 to the external device via the second interface 210. The second interface 210 at this time is, for example, the memory card interface 213. The file sharing system server 294 is, for example, equivalent to a part of the functions of the management module 270 described so far. In the case of the connection state of the security unit 200, the processing of executing the user program 184 to the processing of writing data via the memory card interface 213 is executed as shown by the solid arrow 820. As a result, the controller system 1 can select either the first interface 110 of the control unit 100 or the second interface 210 of the security unit 200 as the writing destination of the data without changing the setting of the user program 184.

[0199] <E. Processing appropriate for data security>

[0200] Fig. 9 This figure explains whether communication is permitted or not according to the security of data read from an external device. Fig. 9 , the security engine 250 of the security unit 200 includes an evaluation unit 260 . Fig. 9 The other structures of the controller system 1 are Figure 4 The structure is the same as described in (b).

[0201] The evaluation unit 260 evaluates the security of data transmitted and received with the external device. More specifically, the evaluation unit 260 evaluates the security of data read from the external device to the security engine 250 via the second interface 210, for example.

[0202] When the security of the data evaluated by the evaluation unit 260 is less than a predetermined standard, the management module 270 Fig. 9 As shown, the transmission of data from the security engine 250 to the control engine 150 through the communication controller 30 is blocked. Data related to the benchmark for evaluating security is stored in the secondary storage device 208, for example, and is read out when the evaluation unit 260 performs the evaluation. In addition, the management module 270 transmits data from the security engine 250 to the control engine 150 through the communication controller 30 when the security of the data evaluated by the evaluation unit 260 is above a predetermined benchmark. Thus, the controller system 1 can determine whether to send data to the control unit 100 based on the security of the data read from the external device via the second interface 210, and can more reliably reduce the security threat to the control unit 100.

[0203] In addition, the management module 270 may also determine whether to block or allow the transmission of data based on whether the security of the data meets the pre-defined conditions. The management module 270 blocks the transmission of data if the security of the data does not meet the pre-defined conditions. In contrast, the management module 270 allows the transmission of data if the security of the data meets the pre-defined conditions.

[0204] When the safety of the data evaluated by the evaluation unit 260 is lower than the reference, the safety unit 200 makes the indicator 224 light up or turns on and off. Thus, the controller system 1 can notify the user that the safety unit 200 has detected data with low safety. In addition, when the safety of the data evaluated by the evaluation unit 260 is lower than the reference, the indicator 124 provided in the control unit 100 can be replaced by the indicator 224 and light up or turn on and off. Moreover, both the indicator 224 and the indicator 124 can be made to light up. Furthermore, when the safety of the data evaluated by the evaluation unit 260 is lower than the reference, the safety unit 200 can also output an audio message from a speaker (not shown) provided in the controller system 1 to notify the user.

[0205] Fig.10 It is a flowchart showing the flow of processing corresponding to data security of the controller system 1 .

[0206] Reference Fig.10 The security engine 250 of the security unit 200 receives data from the external device via the second interface 210 (step S300). The security engine 250 receives data from the SD memory card 293 via the memory card interface 213, for example.

[0207] The evaluation unit 260 of the security engine 250 determines the safety of the received data (step S302). The evaluation unit 260 performs, for example, a virus scan to determine whether the data contains a computer virus or the like.

[0208] When the security is lower than the reference level due to the inclusion of viruses or the like in the data (YES in step S302), the management module 270 blocks the transmission of data from the security engine 250 to the control engine 150 through the communication controller 30 (step S304). Next, the management module 270 may unhook the external device including the SD memory card 293, or may stop supplying power to the external device.

[0209] Next, the security engine 250 turns on the indicator 224 or turns it on and off (step S306).

[0210] Returning to the process of step S302 , if the data does not contain a virus or the like and the security is above the standard (NO in step S302 ), the security unit 200 ends the process of this flowchart.

[0211] <F. Restrictions on the memory card interface 113>

[0212] An example of limiting the data transmission and reception of the memory card interface 113 is described below.

[0213] Fig.11 (a) and Fig.11 (b) is a diagram for explaining the change of the setting information 182 and the restriction of data transmission and receiving using the changed setting information 182. Fig.11 In (a), the control unit 100 exchanges data for changing the setting information 182 with the support device 500 via the USB controller 112. More specifically, the control engine 150 receives the data for setting from the support device 500 electrically connected to the USB controller 112, and changes the setting information 182. The data for setting is generated by the user who confirms the setting screen displayed on the display unit 501 of the support device 500 and operates the operation input unit 502.

[0214] Reference Fig.11 (b), as described above, the processor 102 expands the system program 180 and the setting information 182 in the main storage device 106, thereby functioning as the control engine 150 and the restriction module 170. Fig.11 Before the setting information 182 of (a) is changed, for example, reading and writing of the SD memory card via the memory card interface 113 is prohibited. In contrast, after the setting information 182 is changed, for example, the restriction module allows reading and writing of the SD memory card via the memory card interface 113.

[0215] Fig.12 (a) and Fig.12 (b) is a diagram showing an example of a case where the setting information of the memory card interface 113 is changed. Fig.12 (a), the display unit 501 of the support device 500 displays a first setting image 510. The first setting image 510 is an image displayed when the setting information 182 is changed by the user operating the operation input unit 502. The first setting image 510 includes a memory setting item 520, a USB setting item 522, and a network setting item 524. The memory setting item 520 is an item for setting restrictions related to reading and writing of data of the memory card interface 113. The USB setting item 522 is an item for setting restrictions related to reading and writing of data of the USB controller 112. The network setting item 524 is an item for setting restrictions related to reading and writing of data of the network controller 111.

[0216] for Fig.12 The memory setting item 520 of the first setting image 510 of (a) is set to "Read Write NG". The USB setting item 522 and the network setting item 524 are both set to "Not Used". Fig.12 (b), the memory setting list 610 includes "Setting Option" indicating items that can be set in the memory setting item 520, and "Description" indicating the content of the settable item. The memory setting list 610 is stored in, for example, the secondary storage device 108. The memory setting list 610 is read from the secondary storage device 108 by the user operating the operation input unit 502, and the image of the memory setting list 610 is displayed on the display unit 501. By displaying the image of the memory setting list 610 on the display unit 501, the user can confirm the content of the items that can be selected in the memory setting item 520.

[0217] The memory setting list 610 includes, for example, "Read Write NG", "WriteOnly", "Read Only", "Read Write OK (Redirect)", and "Read Write OK" in "Setting Option". Furthermore, the memory setting list 610 indicates the content of each item of "Setting Option" in "Description".

[0218] "Description" of "Read Write NG" indicates that reading and writing of the control unit 100 are prohibited. "Description" of "WriteOnly" indicates that only writing of the control unit 100 is permitted (reading is prohibited). "Description" of "Read Only" indicates that only reading of the control unit is permitted (writing is prohibited). "Read Write OK (Redirect)" prohibits writing of the control unit 100. However, it indicates that writing is permitted using the security unit 200. "Description" of "Read Write OK" indicates that reading and writing of the control unit 100 are permitted.

[0219] Refer again Fig.12 (a) In the first setting image 510, the user selects any one of the items in the item selection column 530 by operating the operation input unit 502. For example, if "Read Write OK" is selected, the content of the item in the memory setting item 520 is changed from "Read Write NG" to "Read Write OK". Fig.11 The change of the setting information 182 of the use support device 500 of (a) is performed by the user operating the operation input unit 502 to select any item. And, by changing the content of the memory setting item 520 from "Read Write NG" to "Read Write OK", the above Fig.11 The sending and receiving of data via the memory card interface 113 in (b) is changed from "prohibiting the control unit 100 from reading and writing" to "permitting the control unit 100 from reading and writing".

[0220] In the above description, the setting for limiting the data transmission and reception via the memory card interface 113 is described, but this setting can also be applied to other interfaces included in the first interface 110 other than the memory card interface 113, and can also be applied to interfaces included in the second interface 210. The controller system 1 can set restrictions corresponding to the security of each external device for each interface by changing the content of the setting information 182 using the support device 500.

[0221] <G. Limitations of USB controller 112>

[0222] An example of limiting the data transmission and reception of the USB controller 112 is described below.

[0223] Fig.13 (a) and Fig.13 (b) is a diagram showing an example of a case where the setting information of the USB controller 112 is changed. Fig.13 (a), the display unit 501 of the support device 500 displays the first setting image 510. As described above, the USB setting item 522 of the first setting image 510 is set to the item content of "Not Used", and the user operates the operation input unit 502 to change it to "Tool Only", for example. By changing it to "Tool Only", the control unit 100 can only send and receive data with a predetermined external device. In this way, the controller system 1 can prevent security threats caused by sending and receiving data to an external device that is not approved in advance.

[0224] Reference Fig.13 (b), the USB setting list 612 includes "Setting Option" indicating the items that can be set in the USB setting item 522, and "Description" that explains the contents of the settable items. The USB setting list 612 is stored in, for example, the secondary storage device 108. The USB setting list 612 is read from the secondary storage device 108 by the user operating the operation input unit 502, and the image of the USB setting list 612 is displayed on the display unit 501. By displaying the image of the USB setting list 612 on the display unit 501, the user can confirm the contents of the items that can be selected in the USB setting item 522.

[0225] The USB setting list 612 includes, for example, "Not Used", "One-Way (Incoming Only)", "One-Way (Outgoing Only)", and "Two Way" in "Setting Option". Furthermore, the USB setting list 612 indicates the content of each item of "Setting Option" in "Description".

[0226] The "Description" of "Not Used" indicates that reading and writing of the control unit 100 are prohibited. The "Description" of "Tool Only" indicates that only reading of a predetermined external device is allowed in the control unit 100. The "Description" of "All works" indicates that reading and writing of the control unit 100 are allowed. In the above content, the setting for limiting the sending and receiving of data via the USB controller 112 is explained, but this setting can also be applied to other interfaces included in the first interface 110 other than the USB controller 112, and can also be applied to interfaces included in the second interface 210.

[0227] <H. Restrictions on the network controller 111>

[0228] An example of limiting the data transmission and reception by the network controller 111 is described below.

[0229] Fig.14 (a) and Fig.14 (b) is a diagram showing an example of a case where the setting information of the network controller 111 is changed. Fig.14 (a) , the display unit 501 of the support device 500 displays the first setting image 510. The network setting item 524 of the first setting image 510 is set to "Not Used" as described above, and the user operates the operation input unit 502 to change it to "One-Way (Incoming Only)", for example.

[0230] Reference Fig.14 (b), the network setting list 614 includes "Setting Option" indicating the items that can be set in the network setting item 524, and "Description" that explains the contents of the settable items. The network setting list 614 is stored in, for example, the secondary storage device 108. The network setting list 614 is read from the secondary storage device 108 by the user operating the operation input unit 502, and the image of the network setting list 614 is displayed on the display unit 501. By displaying the image of the network setting list 614 on the display unit 501, the user can confirm the contents of each item that can be selected in the network setting item 524.

[0231] The network setting list 614 includes, for example, "Not Used", "One-Way (Incoming Only)", "One-Way (Outcoming Only)", and "Two-Way" in "Setting Option". Furthermore, the USB setting list 612 indicates the content of each item of "Setting Option" in "Description".

[0232] The "Description" of "Not Used" indicates that reading and writing of the control unit 100 are prohibited. The "Description" of "One-Way (Incoming Only)" indicates that only reception is allowed (transmission is prohibited) in the control unit 100. The "Description" of "One-Way (Outcoming Only)" indicates that only transmission of the control unit 100 is allowed (reception is prohibited). The "Description" of "Two-Way" indicates that two-way communication of transmission and reception is allowed.

[0233] In the above content, the setting for limiting the data transmission and reception via the network controller 111 is described, but this setting can also be applied to other interfaces included in the first interface 110 other than the network controller 111, or can also be applied to interfaces included in the second interface 210.

[0234] <I. Other restrictions>

[0235] As another example of data transmission and receiving, another example of changing the setting information in the USB controller 112 will be described.

[0236] Fig.15 FIG. 2 is a diagram showing another example of changing the setting information of the USB controller 112. Fig.15 , the display unit 501 of the support device 500 displays the second setting image 511. In the device setting item 540 of the second setting image 511, the setting items of the plurality of devices connected via USB are shown. By operating the operation input unit 502 by the user, a device such as "Storage" is selected from the plurality of devices included in the device setting item 540, and the item content of the setting item 526 of the "Storage" is selected from the item selection column 536. By the user operation using the operation input unit 502, "Read Write NG" is selected from the item selection column 536, thereby changing the content of the setting item 526. The controller system 1 can change the setting items of each device connected via USB.

[0237] <J. Notes>

[0238] As described above, this embodiment includes the following disclosure.

[0239] [Structure 1]

[0240] A controller system 1, comprising:

[0241] The control unit 100 executes a control operation to control the control object; and

[0242] The safety unit 200 is responsible for the safety of the control unit.

[0243] The control unit 100 comprises:

[0244] The first interface 110 mediates the transmission and reception of data with external devices;

[0245] A communication controller 30, responsible for communicating with the security unit 200; and

[0246] The limiting component 170 limits the transmission and reception of the data with the external device via the first interface 110 if the communication controller 30 detects the connection between the control unit 100 and the security unit 200 .

[0247] [Structure 2]

[0248] According to the controller system described in structure 1, the safety unit 200 further comprises:

[0249] The second interface 210 mediates the transmission and reception of data with the external device; and

[0250] The management component 270 manages the data transmission and reception between the second interface 210 and the external device.

[0251] The management component 270 allows the control unit 100 to exchange the data with the external device via the second interface 210 when the use of the first interface 110 is restricted by the restriction component 170 .

[0252] [Structure 3]

[0253] According to the controller system described in Structure 2,

[0254] The limiting component 170 sends the data for writing to the external device by the control unit 100 via the first interface 110 to the security unit 200 through the communication controller 30 when limiting the use of the first interface 110.

[0255] The management component 270 allows the transmitted data for writing to be written to the external device via the second interface 210 .

[0256] [Structure 4]

[0257] According to the controller system described in structure 2 or 3, the safety unit 200 further includes:

[0258] The evaluation unit 260 evaluates the security of the data sent and received with the external device.

[0259] The management component 270 sends the data to the control unit 100 when the security of the data exchanged with the external device is above a predetermined standard, and stops sending the data to the control unit 100 when the security of the data is lower than the standard.

[0260] [Structure 5]

[0261] According to the controller system described in Structure 4, the safety unit 200 further includes:

[0262] Notification component 224, notifies the user,

[0263] The notification unit 224 makes a notification when the security of the data exchanged with the external device is lower than the standard.

[0264] [Structure 6]

[0265] According to the controller system described in any one of Structures 2 to 5, the external device is a storage medium that can be attached to and detached from at least one of the first interface 110 and the second interface 210 .

[0266] [Structure 7]

[0267] A controller system according to any one of structures 1 to 6, wherein the limiting component 170 performs any one of the following: only reading data from the external device; only writing data to the external device; and prohibiting reading and writing data to the external device.

[0268] [Structure 8]

[0269] According to the controller system described in any one of Configurations 1 to 6, the limiting component 170 sends and receives the data only with the predetermined external device.

[0270] [Structure 9]

[0271] A control unit 100 performs a control operation for controlling a control object, and includes:

[0272] The first interface 110 mediates the transmission and reception of data with external devices;

[0273] a communication controller 30 responsible for communicating with a security unit 200 , wherein the security unit 200 is responsible for the security of the control unit 100 ; and

[0274] The limiting component 170 limits the transmission and reception of the data with the external device via the first interface 110 if the communication controller 30 detects the connection between the control unit 100 and the security unit 200 .

[0275] [Structure 10]

[0276] A control program is a control program of a control unit 100, wherein the control unit 100 executes a control operation for controlling a control object, and

[0277] The control program enables the control unit 100 to execute:

[0278] Step S202 of detecting the connection between the control unit 100 and the security unit 200 by means of the communication controller 30 responsible for communication with the security unit 200, the security unit 200 being responsible for security for the control unit 100; and

[0279] The step S209 is to maintain the state that the first interface 110 that is used to transmit and receive data with the external device through the intermediary is restricted from transmitting and receiving the data with the external device.

[0280] The embodiments disclosed this time should be considered as illustrative in all aspects and not restrictive. The scope of the present invention is indicated by the claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the claims.

Claims

1. A controller system, comprising: A control unit that stores a user program from outside and executes a control operation for controlling a control object according to the user program; as well as A security unit, responsible for the security of the control unit, The control unit comprises: The first interface is used to mediate the transmission and reception of data between the mediator and the external device; a communication controller, responsible for communicating with the security unit; and The limiting component limits the sending and receiving of the data with the external device via the first interface of the control unit if the control unit is electrically connected to the security unit and the connection between the control unit and the security unit is detected by the communication controller.

2. The controller system according to claim 1, wherein: The safety unit also includes: A second interface mediating the transmission and reception of data with the external device; and A management component manages the sending and receiving of the data with the external device via the second interface, and the management component allows the control unit to send and receive the data with the external device via the second interface when the use of the first interface is restricted by the restriction component.

3. The controller system according to claim 2, wherein: The limiting component sends data for writing to the external device by the control unit via the first interface to the security unit through the communication controller when limiting the use of the first interface. The management section allows the data transmitted for the writing to be written to the external device via the second interface.

4. The controller system according to claim 2 or 3, wherein: The security unit further includes: an evaluation unit for evaluating the security of data sent and received with the external device; The management unit sends the data to the control unit when the security of the data exchanged with the external device is higher than a predetermined standard, and stops sending the data to the control unit when the security of the data is lower than the standard.

5. The controller system according to claim 4, wherein: The security unit further comprises: a notification component for notifying the user, The notifying means makes a notification when the security of the data exchanged with the external device is lower than the standard.

6. The controller system according to any one of claims 2 or 3, wherein: The external device is a storage medium that is attachable and detachable to at least one of the first interface and the second interface.

7. The controller system according to any one of claims 1 to 3, wherein: The limiting means performs any one of the following: only reading data from the external device; only writing data from the external device; and prohibiting reading and writing of data from the external device.

8. The controller system according to any one of claims 1 to 3, wherein: The limiting means sends and receives the data only with the predetermined external device.

9. A control unit storing a user program from outside and executing a control operation for controlling a control object according to the user program, and comprising: The first interface is used to mediate the transmission and reception of data between the mediator and the external device; A communication controller, responsible for communicating with a security unit, wherein the security unit is responsible for the security of the control unit; as well as The limiting component limits the sending and receiving of the data with the external device via the first interface of the control unit if the control unit is electrically connected to the security unit and the connection between the control unit and the security unit is detected by the communication controller.

10. A storage medium storing a control program, wherein the control program is a control program of a control unit, wherein the control unit stores a user program from outside and executes a control operation for controlling a control object according to the user program, and The control program causes the control unit to execute the following steps: If the control unit is electrically connected to the safety unit, and the connection between the control unit and the safety unit is detected by a communication controller responsible for communication with the safety unit, the safety unit is responsible for the safety of the control unit; A state is maintained in which the first interface of the control unit, which restricts data transmission and reception with an external device via an intermediary, performs data transmission and reception with the external device.

Citation Information

Patent Citations

  • Cpu of plc, system program for plc, and recording medium storing system program for plc

    CN103403633A

  • Display device

    JP2008293241A

  • Controller and information processing device

    JP2014157483A

  • Access limiting device, on-vehicle communication system and communication limiting method

    JP2014168219A

  • Programmable logic controller, system, control method, and program

    JP2016081301A