Control system, support device and computer program product
By generating and sending input and output corresponding information in the control system and providing a monitoring operation screen, it solves the problem of difficulty in identifying the cause of unexpected system shutdown during equipment operation, and achieves the effect of quickly locating the cause.
Patent Information
- Application Number
- CN202080067978.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-03
- Filing Date
- 2020-03-03
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-03-03
AI Technical Summary
In the existing technology, it is difficult and delayed to identify the cause of unexpected system shutdown when the equipment is running. Especially when foreign matter enters the light curtain or equipment malfunctions, it is difficult to quickly locate the cause.
A control system is designed that supports the device to generate the relationship between the output signal and the input signal defined in the user program, generates input and output corresponding information, and sends it to the display device, and the display device provides a monitoring operation screen based on this information. Allows the user to quickly locate the cause of the system stop.
It realizes a solution to quickly identify the cause when the system stops, reduces the labor and time for creating monitoring operation screens, meets the requirements of safety controllers, and eliminates the need to connect a support device.
Smart Images

Figure CN114514484B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control system, a support device and a computer program product. Background Art
[0002] In a control device such as a PLC (Programmable Logic Controller) or a safety controller, the value of one or more output signals is cyclically determined from one or more input signals according to a control logic specified by a user program.
[0003] For example, Japanese Patent Application Publication No. 2017-167653 (Patent Document 1) and Japanese Patent Application Publication No. 2018-151866 (Patent Document 2) disclose technologies for analyzing and evaluating the relationship between one or more input signals and one or more output signals.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Publication No. 2017-167653
[0007] Patent Document 2: Japanese Patent Application Publication No. 2018-151866 Summary of the invention
[0008] Problems to be solved by the invention
[0009] The techniques disclosed in Patent Documents 1 and 2 are typically executed by an information processing device called a support device. During operation of the equipment, the control device is often not connected to the support device.
[0010] When an unexpected system stop occurs during the operation of the equipment, it is troublesome to connect the support device to find out the cause, and the cause identification will be delayed. Such an unexpected system stop may be caused by, for example, foreign matter (insects, metal pieces being processed, etc.) entering the light projection and receiving range of the light curtain and being misjudged as an abnormality, or by equipment failure.
[0011] Therefore, a solution is desired that can quickly identify the cause of an unexpected system stoppage.
[0012] Means for solving problems
[0013] A control system according to one embodiment of the present invention includes: a support device for developing a user program executed by a controller; and a display device for providing a monitoring operation screen with reference to information maintained by the controller. The controller includes a safety controller. The support device includes: a generation unit for extracting the relationship between an output signal and one or more input signals defined in the user program and generating input-output correspondence information; and a sending unit for sending the input-output correspondence information or screen data reflecting the input-output correspondence information to the display device. The display device provides a monitoring operation screen showing the current values of the specified output signal and the corresponding one or more input signals with reference to the values of the input signals and output signals maintained by the controller based on the input-output correspondence information or the screen data reflecting the input-output correspondence information. The input-output correspondence information includes a safety signature indicating the identity with the user program executed by the safety controller.
[0014] According to this structure, information for finding out the cause of an unexpected system stop can be easily and quickly obtained by referring to the monitoring operation screen provided by the display device without connecting the support device to the controller. In addition, according to this structure, the requirements required of a safety controller can be met.
[0015] The input-output correspondence information may also include an address for referencing each value of the input signal and the output signal, and information for identifying one or more input signals associated with the output signal. According to this structure, the display device can uniquely identify the input signal corresponding to each output signal, and can uniquely identify the destination for obtaining each value of the input signal and the output signal.
[0016] The display device may include a screen generation unit that generates a monitoring operation screen based on the input-output correspondence information. According to this configuration, the monitoring operation screen is generated by sending the input-output correspondence information to the display device, thereby reducing the labor and time spent on creating the monitoring operation screen.
[0017] The sending unit can send input / output correspondence information in addition to screen data for providing an arbitrary monitoring operation screen in the display device. According to this structure, since the input / output correspondence information is sent to the display device together with the screen data, the operator's labor and time are not increased.
[0018] The screen data reflecting the input-output correspondence information may also be configured to show the current value of one or more input signals corresponding to any specified output signal generated based on the input-output correspondence information. According to this configuration, since the screen data generated based on the input-output correspondence information is sent to the display device, the process of generating the monitoring operation screen can be omitted, so the processing involved in the display can be accelerated.
[0019] The generating unit may also trace the user program for each output signal included in the user program, thereby determining one or more input signals that determine the value of the output signal. According to this structure, the correspondence between the output signal included in the user program and one or more input signals can be easily determined.
[0020] Alternatively, the controller functioning as the communication slave device exchanges data via the controller functioning as the communication master device, and the display device refers to the values of the input signal and the output signal held by the controller functioning as the communication slave device via the controller functioning as the communication master device. According to this structure, a monitoring operation screen can also be provided in the control system composed of the communication master device and the communication slave device.
[0021] According to another embodiment of the present invention, a support device for developing a user program executed by a controller is provided. The controller is connected to a display device that provides a monitoring operation screen with reference to information maintained by the controller. The controller includes a safety controller. The support device includes: a generation unit that extracts the relationship between an output signal and one or more input signals defined in the user program and generates input-output correspondence information; and a sending unit that sends the input-output correspondence information or screen data reflecting the input-output correspondence information to the display device. Based on the input-output correspondence information or the screen data reflecting the input-output correspondence information, the display device provides a monitoring operation screen showing the current value of the specified output signal and the corresponding one or more input signals with reference to the values of the input and output signals maintained by the controller. The input-output correspondence information includes a safety signature indicating the identity with the user program executed by the safety controller.
[0022] According to another embodiment of the present invention, there is provided a computer program product including a support program, wherein the support program is used to develop a user program executed by a controller. The controller is connected to a display device that provides a monitoring operation screen with reference to information maintained by the controller. The controller includes a safety controller. The support program causes the computer to perform the following steps: extracting the relationship between an output signal and one or more input signals defined in the user program, generating input-output correspondence information; and sending the input-output correspondence information or screen data reflecting the input-output correspondence information to the display device. The display device provides a monitoring operation screen showing the current value of the specified output signal and the corresponding one or more input signals, based on the input-output correspondence information or the screen data reflecting the input-output correspondence information, with reference to the values of the input signals and output signals maintained by the controller. The input-output correspondence information includes a safety signature indicating the identity with the user program executed by the safety controller.
[0023] Effects of the Invention
[0024] According to the present invention, it is possible to realize a solution capable of quickly identifying the cause of an unexpected system stoppage. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a schematic diagram showing an example of a scenario to which the present invention is applied.
[0026] Figure 2 It is a schematic diagram showing a configuration example of a control system according to the present embodiment.
[0027] Figure 3 It is a schematic diagram showing a hardware configuration example of a standard controller constituting the control system according to the present embodiment.
[0028] Figure 4 It is a schematic diagram showing a hardware configuration example of a safety controller constituting the control system according to the present embodiment.
[0029] Figure 5 It is a schematic diagram showing a hardware configuration example of a safety slave coupler constituting the control system according to the present embodiment.
[0030] Figure 6 This is a schematic diagram showing a hardware configuration example of a safety driver and a servo motor constituting the control system according to the present embodiment.
[0031] Figure 7 It is a schematic diagram showing a hardware configuration example of a display device constituting the control system of the present embodiment.
[0032] Figure 8 It is a schematic diagram showing a hardware configuration example of a support device constituting the control system of the present embodiment.
[0033] Fig. 9 This is a diagram for explaining problems that may occur in a control system.
[0034] Fig.10 This is a schematic diagram generally showing the solution means in the control system of the present embodiment.
[0035] Fig.11 This is a diagram showing an example of a program that is an analysis object of the control system of the present embodiment.
[0036] Fig.12 This is a diagram showing an example of a monitoring screen provided by the display device of the control system of the present embodiment.
[0037] Fig.13 This is a diagram showing an example of a monitoring screen provided by the display device of the control system of the present embodiment.
[0038] Fig.14 This is a diagram showing an example of the input-output correspondence information used in the control system of the present embodiment.
[0039] Fig.15 This is a schematic diagram for explaining the data transfer process in the control system of the present embodiment.
[0040] Fig.16 This is a flowchart showing the processing steps involved in the generation of the input-output correspondence information in the control system of the present embodiment.
[0041] Fig.17 This is a flowchart showing the processing steps involved in the transfer of the input-output correspondence information in the control system of the present embodiment.
[0042] Fig.18 This is a flowchart showing the processing steps involved in the provision of a monitoring screen using the input-output correspondence information in the control system of the present embodiment.
[0043] Fig.19 This is a diagram showing an example of the function sharing in the control system of the present embodiment.
[0044] Fig. 20 This is a schematic diagram showing an example of the structure of the control system of a modified example of the present embodiment. Detailed Embodiment
[0045] 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.
[0046] <A. Application Example>
[0047] First, an example of the scenario to which the present invention is applied will be described.
[0048] Figure 1 Schematic diagram showing an example of a scenario in which the present invention is applied. Figure 1 As an example of a controller, the control system 1 includes a standard controller 100 and a safety controller 200. In the standard controller 100 and the safety controller 200, a user program is executed.
[0049] In this specification, a "user program" is a command group that specifies the control operation (control logic) executed by the controller, and is arbitrarily created according to the control object. In the following description, the user program executed by the standard controller 100 is called a standard control program, and the user program executed by the safety controller 200 is called a safety program. The control system 1 includes a support device 600 for developing these user programs.
[0050] The control system 1 further includes a display device 500 that provides a monitoring operation screen by referring to the information held by the controller.
[0051] In this specification, the “monitoring operation screen” refers to a user interface that presents the state of a control target including information held by a controller to a user and that can accept user operations.
[0052] In this application example, the support device 600 performs a generation process to extract the relationship between the output signal defined in the user program and one or more input signals to generate the input-output correspondence information 570. In addition, the support device 600 performs a transmission process to transmit the input-output correspondence information 570 or the screen data reflecting the input-output correspondence information 570 to the display device 500.
[0053] The display device 500 provides a monitoring operation screen showing the current values of a specified output signal and one or more corresponding input signals, based on the input-output correspondence information 570 or screen data reflecting the input-output correspondence information 570 and with reference to the values of the input signals and output signals maintained by the controller (standard controller 100 and / or safety controller 200).
[0054] By adopting such a structure, even if an unexpected system stop occurs, the cause of the system stop (for example, an abnormal value of an arbitrary input signal, etc.) can be easily and quickly determined by referring to the monitoring operation screen presented by the display device 500 without using the support device 600.
[0055] In this specification, the "input signal" includes signals input from a controlled object or the like to an input unit directly connected to or connected to a controller via a network. As input signals, for example, on / off signals (digital inputs) detected by a photoelectric sensor or the like, physical signals (analog inputs) detected by a temperature sensor or the like, and pulse signals (pulse inputs) generated by a pulse encoder or the like can be cited. In the following embodiments, it is assumed that a user program is developed in a variable programming environment, and therefore, "input variables" representing the respective values of the input signals are treated as variables substantially equivalent to the "input signals".
[0056] In this specification, the "output signal" includes signals output from an output unit directly connected to or connected to a controller via a network. As output signals, for example, on / off commands (digital outputs) for driving a relay or the like, speed commands (analog outputs) indicating the rotational speed of a servo motor or the like, and displacement commands (pulse outputs) indicating the amount of movement of a stepping motor or the like can be cited. In the following embodiments, it is assumed that a user program is developed in a variable programming environment, and therefore, "output variables" representing the respective values of the outputs are treated as variables substantially equivalent to the "output signals".
[0057] <B. Control System 1>
[0058] Next, a structural example of the control system 1 of the present embodiment will be described. Figure 2 It is a schematic diagram showing a structural example of the control system 1 of the present embodiment.
[0059] Refer to Figure 2 , the control system 1 mainly includes a standard controller 100 and a safety controller 200, a safety slave coupler 300, and one or more safety drivers 400 connected to the standard controller 100 via a field network 2.
[0060] As an example of the protocol of the field network 2, EtherCAT (registered trademark) can also be adopted.
[0061] The standard controller 100 executes standard control of an arbitrary controlled object according to a pre-created standard control program. The safety controller 200 independently executes safety control of an arbitrary controlled object with respect to the standard controller 100.
[0062] In this specification, "standard control" is a general term for processes for controlling a controlled object according to predetermined requirement specifications. On the other hand, "safety control" is a general term for processes for preventing the safety of people from being threatened by equipment or machinery, etc. "Safety control" is designed to meet the requirements for implementing safety functions specified in IEC 61508 or the like.
[0063] The safety slave coupler 300 can receive input signals from any safety device 350 and provide them to the safety controller 200, and / or output instructions from the safety controller 200 to any safety device 350. Additionally, the safety device 350 is sometimes also directly connected to the safety controller 200.
[0064] The safety drive 400 drives the servo motor 450 electrically connected thereto. The safety drive 400 also has safety functions related to the drive of the servo motor 450.
[0065] The standard controller 100 can be connected to the display device 500 and / or the support device 600.
[0066] The display device 500 is also referred to as an HMI (Human Machine Interface), a PT (Programmable Terminal), and provides a monitoring operation screen with reference to the information held by the controller (the standard controller 100 and / or the safety controller 200), and sends an instruction corresponding to the user operation to the standard controller 100.
[0067] The support device 600 provides an environment for developing user programs (the standard control program 1104 and / or the safety program 2104) executed by the controller (the standard controller 100 and / or the safety controller 200). In addition to the creation and modification of programs executed by the standard controller 100 and / or the safety controller 200, the support device 600 can also provide support functions for various settings required for the operation of the control system 1.
[0068] <C. Structural Example of Devices Included in Control System 1>
[0069] Next, a structural example of the devices included in the control system 1 will be described.
[0070] (c1: Standard Controller 100)
[0071] Figure 3 It is a schematic diagram showing a hardware structural example of the standard controller 100 that constitutes the control system of this embodiment. Refer to Figure 3 , the standard controller 100 includes a processor 102, a main memory 104, a storage 110, an upper network controller 106, a field network controller 108, a USB (Universal Serial Bus) controller 120, a memory card interface 112, and a local bus controller 116. These components are connected via a processor bus 118.
[0072] The processor 102 mainly corresponds to an operation processing unit that performs control operations related to standard control, and is composed of a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), etc. Specifically, the processor 102 reads a program (for example, a system program 1102 and a standard control program 1104) stored in the storage 110, and executes it in the main memory 104, thereby realizing control operations corresponding to the control object and various processes described later.
[0073] The main memory 104 is composed of a volatile storage device such as DRAM (Dynamic Random Access Memory) or SRAM (Static Random Access Memory). The storage 110 is composed of a nonvolatile storage device such as SSD (Solid State Drive) or HDD (Hard Disk Drive).
[0074] The memory 110 stores a system program 1102 for realizing basic functions, a standard control program 1104 created according to a control target, and setting information 1106 for defining processes in the standard controller 100 .
[0075] The host network controller 106 exchanges data with any information processing device via the host network.
[0076] The field network controller 108 exchanges data with any device via the field network 2. Figure 2 In the illustrated configuration, the field network controller 108 functions as a communication master device of the field network 2 .
[0077] The USB controller 120 exchanges data with the support device 600 and the like via a USB connection.
[0078] The memory card interface 112 receives a memory card 114 as an example of a removable storage medium. The memory card interface 112 can read and write arbitrary data to and from the memory card 114 .
[0079] The local bus controller 116 exchanges data with any unit connected to the standard controller 100 via the local bus.
[0080] (c2: safety controller 200)
[0081] Figure 42 is a schematic diagram showing a hardware configuration example of the safety controller 200 constituting the control system 1 of the present embodiment. Figure 4 , the safety controller 200 includes a processor 202, a main memory 204, a storage 210, a field network controller 208, a USB controller 220, and a safety local bus controller 216. These components are connected via a processor bus 218.
[0082] The processor 202 mainly corresponds to a calculation processing unit that executes control calculations related to safety control, and is composed of a CPU, a GPU, or the like.
[0083] The main memory 204 is composed of a volatile storage device such as a DRAM or an SRAM, etc. The storage 210 is composed of a nonvolatile storage device such as an SSD or an HDD, etc., for example.
[0084] The memory 210 stores a system program 2102 for realizing basic functions, a safety program 2104 created according to required safety functions, and setting information 2106 for defining processes in the safety controller 200 .
[0085] The field network controller 208 exchanges data with any device via the field network 2. Figure 2 In the illustrated configuration, the field network controller 208 functions as a communication slave device of the field network 2 .
[0086] The USB controller 220 exchanges data with an information processing device such as the support device 600 via a USB connection.
[0087] The secure local bus controller 216 exchanges data with any secure IO unit 230 connected to the safety controller 200 via the secure local bus.
[0088] (c3: Safety slave coupler 300)
[0089] Figure 5 2 is a schematic diagram showing a hardware configuration example of the safety slave coupler 300 constituting the control system 1 of the present embodiment. Figure 5 , the safety slave coupler 300 includes a processor 302, a main memory 304, a storage 310, a field network controller 308, and a safety local bus controller 316. These components are connected via a processor bus 318.
[0090] The processor 302 mainly corresponds to a calculation processing unit that executes control calculations for operating the safety slave coupler 300, and is composed of a CPU or a GPU, etc.
[0091] The main memory 304 is constituted by a volatile storage device such as a DRAM or an SRAM, etc. The storage 310 is constituted by a nonvolatile storage device such as an SSD or an HDD, etc., for example.
[0092] The memory 310 stores a system program 3102 for realizing basic functions and setting information 3106 for defining processes in the safety slave coupler 300 .
[0093] The field network controller 308 exchanges data with any device via the field network 2. Figure 2 In the illustrated configuration, the field network controller 308 functions as a communication slave device of the field network 2 .
[0094] The safety local bus controller 316 exchanges data with any safety IO unit 330 connected to the safety slave coupler 300 via the safety local bus.
[0095] (c4: safety driver 400 and servo motor 450)
[0096] Figure 6 Schematic diagram showing a hardware configuration example of the safety driver 400 and the servo motor 450 constituting the control system 1 of the present embodiment. Figure 6 The safety driver 400 includes a field network controller 402 , a control unit 410 , a drive circuit 430 , and a feedback receiving circuit 432 .
[0097] The control unit 410 performs the calculations required to operate the safety driver 400. As an example, the control unit 410 includes processors 412 and 414, a main memory 416, and a storage 420. The processor 412 mainly performs the control calculations for driving the servo motor 450, and the processor 414 mainly performs the control calculations for providing the safety functions involved in the servo motor 450. The processors 412 and 414 are both composed of a CPU and the like. Figure 6 A structure implemented by a single processor may also be adopted.
[0098] The main memory 416 is constituted by a volatile storage device such as a DRAM or an SRAM, etc. The storage 420 is constituted by a nonvolatile storage device such as an SSD or an HDD, etc., for example.
[0099] The memory 420 stores a servo control program 4202 for realizing servo control, a motion safety program 4204 for realizing a motion safety function, and setting information 4206 for defining processes in the safety driver 400 .
[0100] The drive circuit 430 includes a converter circuit, an inverter circuit, and the like, and generates power of a specified voltage, current, and phase according to a command from the control unit 410 , and supplies the power to the servo motor 450 .
[0101] The feedback receiving circuit 432 receives a feedback signal from the servo motor 450 , and outputs the reception result to the control unit 410 .
[0102] The servo motor 450 typically includes a three-phase AC motor 452 and an encoder 454 mounted on a rotating shaft of the three-phase AC motor 452 .
[0103] (c5: display device 500)
[0104] Figure 7 1 is a schematic diagram showing an example of a hardware configuration of a display device 500 constituting a control system according to the present embodiment. As an example, the display device 500 is implemented using hardware conforming to a general-purpose architecture (for example, a general-purpose personal computer).
[0105] Reference Figure 7 The display device 500 includes a processor 502 , a main memory 504 , an input unit 506 , a display unit 508 , a storage 510 , a memory card interface 512 , and a communication controller 520 . These components are connected via a processor bus 518 .
[0106] The processor 502 is composed of a CPU or a GPU, etc., reads out the program stored in the storage 510 (for example, an OS (Operating System) 5102 and a screen generation program 5104), expands and executes it in the main memory 504, thereby realizing processing related to display and monitoring. Furthermore, the storage 510 also stores screen data 5106 and input / output corresponding information 570 (details will be described later).
[0107] The main memory 504 is constituted by a volatile storage device such as a DRAM or an SRAM, etc. The storage 510 is constituted by a nonvolatile storage device such as an HDD or an SSD, etc., for example.
[0108] The storage 510 stores an OS 5102 for realizing basic functions and screen data 5106 for providing functions as the display device 500 .
[0109] The input unit 506 is typically composed of a touch panel or the like, and receives user operations. A keyboard, a mouse, or the like may also be used as the input unit 506. The display unit 508 is composed of a display, various indicators, and the like, and outputs the processing results from the processor 502.
[0110] The memory card interface 512 receives a memory card 514 as an example of a removable storage medium. The memory card interface 512 can read and write arbitrary data to and from the memory card 514.
[0111] The communication controller 520 exchanges data with the standard controller 100 and the like via any local communication.
[0112] (c6: Support device 600)
[0113] Figure 8 1 is a schematic diagram showing a hardware configuration example of the support device 600 constituting the control system 1 of the present embodiment. As an example, the support device 600 is implemented using hardware (for example, a general-purpose personal computer) conforming to a general-purpose architecture.
[0114] Reference Figure 8 The support device 600 includes a processor 602 , a main memory 604 , an input unit 606 , an output unit 608 , a storage 610 , an optical drive 612 , and a USB controller 620 . These components are connected via a processor bus 618 .
[0115] The processor 602 is composed of a CPU or a GPU, etc., reads out a program (for example, an OS 6102 and a support program 6104 ) stored in the storage 610 , and executes it in the main memory 604 , thereby realizing various processes described later.
[0116] The main memory 604 is composed of a volatile storage device such as a DRAM or an SRAM, etc. The storage 610 is composed of a nonvolatile storage device such as an HDD or an SSD, etc., for example.
[0117] The storage 610 stores an OS 6102 for realizing basic functions, a support program 6104 for providing functions as the support device 600 , and project data 6106 created by a user in a development environment.
[0118] The support device 600 provides a development environment capable of integratedly performing settings for each device included in the control system 1 and creating programs executed by each device. The project data 6106 includes data generated by such an integrated development environment. Typically, the project data 6106 includes a standard control source program 6108, standard controller setting information 6110, a safety source program 6112, safety controller setting information 6114, and safety driver setting information 6116.
[0119] After being converted into target code, the standard control source program 6108 is sent to the standard controller 100 and is used as the standard control program 1104 (see Figure 3) is saved. Similarly, the standard controller setting information 6110 is also sent to the standard controller 100 and is used as the setting information 1106 (refer to Figure 3 ) to save.
[0120] After being converted into target code, the security source program 6112 is sent to the security controller 200 and used as the security program 2104 (see Figure 4 ) is saved. Similarly, the safety controller setting information 6114 is also sent to the safety controller 200 and is used as the setting information 2106 (refer to Figure 4 ) to save.
[0121] The secure driver setting information 6116 is sent to the secure driver 400 and is used as the setting information 4206 (see Figure 6 ) to save.
[0122] The input unit 606 is composed of a keyboard, a mouse, etc., and receives user operations. The output unit 608 is composed of a display, various indicators, a printer, etc., and outputs the processing results from the processor 602.
[0123] The USB controller 620 exchanges data with the standard controller 100 and the like via a USB connection.
[0124] The support device 600 includes an optical drive 612 that reads a program stored in a storage medium 614 (eg, an optical storage medium such as a DVD (Digital Versatile Disc)) that stores a computer-readable program in a nonvolatile manner and installs the program in the storage 610 or the like.
[0125] The support program 6104 etc. executed by the support device 600 may be installed via a computer-readable storage medium 614, or may be installed by downloading from a server device on a network etc. In addition, the functions provided by the support device 600 of this embodiment may sometimes be implemented in the form of a part of a module provided by the OS.
[0126] Furthermore, the support device 600 may be removed from the standard controller 100 while the control system 1 is operating.
[0127] (c7: other methods)
[0128] exist Figure 3 to Figure 8In this case, a structural example of providing required functions by executing a program using one or more processors is shown. However, dedicated hardware circuits (for example, ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array), etc.) can also be used to implement part or all of these provided functions.
[0129] In addition, hardware that follows a general architecture (for example, an industrial personal computer based on a general personal computer) can also be used to implement the main parts of the standard controller 100, the safety controller 200, and the safety slave coupler 300. In this case, virtualization technology can also be used to execute multiple operating systems with different purposes in parallel, and execute required applications on each operating system. Also, a structure in which functions such as the display device 500 and the support device 600 are integrated in the standard controller 100 can be adopted.
[0130] <D. Problem>
[0131] Next, problems that may occur in the control system 1 will be described.
[0132] Fig. 9 is a diagram for explaining problems that may occur in the control system 1. Refer to Fig. 9 , in the control system 1, the standard controller 100 executes standard control, and the safety controller 200 executes safety control.
[0133] The safety controller 200 exchanges safety IO data with the safety slave coupler 300 and the safety driver 400.
[0134] In the case where EtherCAT is adopted as the protocol of the field network 2, devices connected to the field network 2 share data via communication frames that circulate through the field network 2. Communication frames containing safety IO data are relayed from a certain communication slave device to other communication slave devices via the standard controller 100 that is the communication master device. Through the relay of such communication frames, safety IO data can be exchanged between the safety controller 200, the safety slave coupler 300, and the safety driver 400.
[0135] More specifically, by using a protocol called FSoE (FailSafe over Ether CAT), a logical connection can be formed between the safety controller 200, the safety slave coupler 300, and the safety driver 400.
[0136] That is, a controller (safety controller 200) functioning as a communication slave device exchanges data via a controller (standard controller 100) functioning as a communication master device.
[0137] For example, it is assumed that due to safety control performed by the safety controller 200, an arbitrary controlled object (for example, an arbitrary production device) stops (safety action).
[0138] In a case where the cause of the stop of the controlled object is determined, the support device 600 is connected to the safety controller 200, and while reading the safety program 2104 executed by the support device 600 and confirming the process value (variable value) managed by the safety controller 200, the safety IO (or safety device 350) that is the cause of the stop is determined, and necessary measures are taken.
[0139] As a more specific procedure, a user (maintenance staff) connects the support device 600 to the safety controller 200, operates the support device 600 to read the safety program 2104 (program upload), and starts monitoring the process value (variable value) managed by the safety controller 200 (variable monitoring). Based on the monitoring results of the safety program 2104 and the process value, a safety input that sets the safety output to False is determined. Then, the user operates the safety device 350 corresponding to the determined safety input and takes measures for restoring the safety input.
[0140] On the other hand, the operation of connecting the support device 600 to the safety controller 200 to determine the cause takes time, and thus may cause an opportunity loss of the production device. Therefore, it is desirable to introduce a structure that can more quickly determine the cause.
[0141] <E. Solution means>
[0142] Next, a solution means for the above-described problems that may occur in the control system 1 will be described.
[0143] The control system 1 of the present embodiment provides the following structure: In the display device 500, the control state in the standard control executed by the standard controller 100 and / or the safety control executed by the safety controller 200 can be easily presented. The support device 600 extracts the relationship between the output signal defined in the user program (standard control program 1104 and / or safety program 2104) and one or more input signals and generates input-output correspondence information 570.
[0144] More specifically, in the development environment of the standard control program 1104 executed by the standard controller 100 and / or the safety program 2104 executed by the safety controller 200, the support device 600 generates the input-output correspondence information 570 based on the arithmetic logic of the standard control program 1104 and / or the safety program 2104. Then, the support device 600 sends the generated input-output correspondence information 570 or the screen data reflecting the input-output correspondence information 570 to the display device 500.
[0145] Based on the input-output correspondence information 570 or the screen data reflecting the input-output correspondence information 570, the display device 500 refers to the values of the input signals and output signals held by the controller (the standard controller 100 and / or the safety controller 200), and provides a monitoring operation screen showing the current values of the specified output signal and the corresponding one or more input signals. More specifically, the display device 500 refers to the provided input-output correspondence information 570 and provides a screen for confirming the control state in the standard control executed by the standard controller 100 and / or the safety control executed by the safety controller 200.
[0146] Fig.10 It is a schematic diagram generally showing the solution means in the control system 1 of the present embodiment. Refer to Fig.10 , the support device 600 analyzes the standard control source program 6108 and / or the safety source program 6112 included in the project data 6106, and generates the input-output correspondence information 570 based on the arithmetic logic included in the program to be monitored.
[0147] Based on the generated input-output correspondence information 570, the support device 600 provides a screen for confirming the control state.
[0148] <F. Processing examples and screen examples>
[0149] Next, the processing examples and screen examples in the control system 1 of the present embodiment will be described.
[0150] Fig.11 It is a diagram showing an example of the program to be analyzed in the control system 1 of the present embodiment. Fig.11 It shows an example of the safety source program 6112 (safety program 2104). In Fig.11 the shown safety source program 6112, the arithmetic logic with four input variables 641, 642, 643, 644 and three output variables 651, 652, 653 as input and output is specified.
[0151] More specifically, the output variable 651 representing the output signal of "SafetyRelay1" (meaning safety relay 1) is calculated as the logical product (AND gate 631) of the input variable 641 representing the input signal of "ESOP1" (meaning emergency stop switch 1), the input variable 642 representing the input signal of "ESOP2" (meaning emergency stop switch 2), the input variable 643 representing the input signal of "SLC1" (meaning light curtain 1), and the input variable 644 representing the input signal of "FromStd1" (meaning input 1 from standard PLC).
[0152] Furthermore, an output variable 652 indicating an output signal of “SafetyRelay2” (meaning safety relay 2 ) is calculated as a logical product (AND gate 632 ) of input variables 641 , 642 , and 643 .
[0153] In addition, the output variable 653 indicating the output signal “ToStd1” (meaning output 1 to the standard PLC) is calculated as the logical product (AND gate 633 ) of the input variables 641 and 642 .
[0154] based on Fig.11 The operation logic shown determines the input-output correspondence information 570.
[0155] Fig.12 and Fig.13 It is a diagram showing an example of a monitoring screen provided by the display device 500 of the control system 1 according to the present embodiment.
[0156] Fig.12 as well as Fig.13 The monitoring screen 530 shown includes an output variable list 540 showing a list of output variables included in the monitoring target program, and an input variable list 550 showing a list of input variables included in the monitoring target program.
[0157] Output variable list 540 contains Fig.11 The output variables 651, 652, 653 shown correspond to the output variable entries 541, 542, 543 respectively. The input variable list 550 contains Fig.11 The input variables 641 , 642 , 643 , 644 shown correspond to the input variable entries 551 , 552 , 553 , 554 , respectively.
[0158] The monitoring screen 530 includes a target message 532 indicating the program or controller to be monitored. The user can identify the program or controller to be monitored by referring to the content of the target message 532.
[0159] In the case where the standard control program 1104 and / or the safety program 2104 are provided to the display device 500, a display button 560 for displaying the contents of these programs may also be prepared.
[0160] exist Fig.12 and Fig.13 , an example is shown in which both output variable 651 and output variable 652 are False.
[0161] First, in order to determine the reason why the output variable 651 becomes False, such as Fig.12 As shown, the user selects the output variable entry 541 corresponding to the output variable 651. Then, in the input variable list 550, the input variable entries 551, 552, 553, 554 corresponding to the input variables 641, 642, 643, 644 that determine the value of the output variable 651 are displayed.
[0162] The user knows that the input variable 643 has become False by referring to the content of the input variable entry 553 of the input variable list 550 and the display method different from others. In other words, the user knows that the reason why the output variable 651 has become False is that the input variable 643 has become False.
[0163] Next, in order to determine the reason why the output variable 652 becomes False, as Fig.13 As shown, the user selects the output variable entry 542 corresponding to the output variable 652. Then, in the input variable list 550, input variable entries 551, 552, 553 corresponding to the input variables 641, 642, 643 that determine the value of the output variable 651 are displayed.
[0164] The user knows that the input variable 643 has become False by referring to the content of the input variable entry 553 of the input variable list 550 and the display method different from others. In other words, the user knows that the reason why the output variable 652 has become False is that the input variable 643 has become False.
[0165] As described above, in the control system 1 of this embodiment, even when any control target stops, the cause can be identified on the display device 500 without connecting the support device 600 to the standard controller 100 and / or the safety controller 200 .
[0166] Thus, in the control system 1 of the present embodiment, when the support device 600 transmits the screen data 5106 to the display device 500 or the like, it also transmits the input / output correspondence information 570 generated by analyzing the standard control source program 6108 and / or the security source program 6112 included in the item data 6106. Based on the input / output correspondence information 570, the display device 500 can easily determine the cause when any controlled object stops.
[0167] More specifically, when the user (maintenance personnel) operates the support device 600 to transmit the screen data 5106 to the display device 500, it also transmits the input / output correspondence information 570 generated by analyzing the standard control source program 6108 and / or the security source program 6112. Thereby, the display device 500 can provide information about the process values (variable values) managed by the standard controller 100 and / or the security controller 200.
[0168] After that, when some problems occur, the user (maintenance personnel or equipment operator) operates the display device 500 to display the monitoring screen 530 generated based on the input / output correspondence information 570. According to the user operation, the display device 500 obtains the values of the respective variables to be monitored from the object controller or device according to the definitions included in the input / output correspondence information 570.
[0169] The display device 500 obtains the values of the respective variables to be monitored from the controller or device using a preset communication command. Then, the user determines the input variable that causes the output signal to become False according to the relationship between the output variable and the input variable displayed on the display device 500. Finally, the user performs necessary handling on the device or the like assigned to the determined input variable to restore the input signal.
[0170] <G. Input / Output Correspondence Information 570>
[0171] Next, an example of the input / output correspondence information 570 used in the control system 1 of the present embodiment will be described.
[0172] Fig.14 It is a diagram showing an example of the input / output correspondence information 570 used in the control system 1 of the present embodiment. Refer to Fig.14 As shown, the input / output correspondence information 570 includes an input variable definition section 574, an output variable definition section 575, and an association definition section 576. The input / output correspondence information 570 also includes a security signature 571, object node information 572, and object unit information 573.
[0173] The security signature 571 can be validated when the safety controller 200 is used as a monitoring object. The security signature 571 is information used to ensure that the security program 2104 executed by the safety controller 200 has not been tampered with, and indicates the identity with the user program (security program 2104) executed by the safety controller 200. The same signature as the security signature pre-assigned when the security program 2104 is generated can also be used as the security signature 571. Alternatively, a value calculated according to the security program 2104 and a prescribed calculation formula (such as a CRC value) can also be set as the security signature 571.
[0174] The object node information 572 and the object unit information 573 are information for specifying the controller to be monitored in the control system 1. These information may also constitute a part of the reference address. The object node information 572 specifies the position (node address) where the controller to be monitored is configured on the field network 2. The object unit information 573 is auxiliary information for specifying the controller to be monitored, and specifies the position (unit address) of the unit to be monitored in the device (composed of a plurality of units) specified by the object node information 572.
[0175] exist Fig.14 In the example shown, it is specified that the unit at the unit address "1" of the device at the node address "4" is the monitoring target.
[0176] The input variable definition part 574 includes a quantity definition 5740. The input variable definition part 574 also includes, for each variable, a variable name 5741, a data type 5742, a comment 5743, a data position 5744, an offset 5745, and a data length 5746. These elements are defined for each input variable by separating them with commas.
[0177] The quantity definition 5740 begins with "NumInput" and specifies the number of input variables included in the input-output correspondence information 570. Fig.14 In the example shown, four input variables are shown.
[0178] The variable name 5741 indicates the variable name of an input variable such as "ESTOP1".
[0179] Data type 5742 indicates the data type of an input variable such as "SAFEBOOL" (safe Boolean type).
[0180] Comment 5743 indicates comments on variables such as "Emergency Stop Switch 1".
[0181] The data location 5744 indicates a reference address such as "Location = / / Unit#1 / 0x7000:01". The data location 5744 may be, for example, a memory address of the target controller.
[0182] Offset 5745 is auxiliary information for accessing an input variable, and indicates an offset from data position 5744. When data position 5744 includes a frame of a communication protocol or the like, unnecessary data can be excluded by specifying offset 5745.
[0183] The data length 5746 indicates the length of the data read as an input variable. The data length 5746 specifies, for example, the number of bits or bytes. From the starting point specified by the data position 5744 and the offset 5745, data of the length specified by the data length 5746 is read.
[0184] The output variable definition part 575 includes a quantity definition 5750. The output variable definition part 575 also includes, for each variable, a variable name 5751, a data type 5752, a comment 5753, a data position 5754, an offset 5755, and a data length 5756. These elements are defined for each output variable by separating them with commas.
[0185] The quantity definition 5750 begins with "NumOutput" and specifies the number of output variables included in the input-output correspondence information 570. Fig.14 In the example shown, three output variables are shown.
[0186] The variable name 5751 indicates the variable name of an output variable such as "SafeRelay1".
[0187] Data type 5752 indicates the data type of an output variable such as "SAFEBOOL" (safe Boolean type).
[0188] Comment 5753 indicates a comment on a variable such as "Safety Relay 1".
[0189] The data location 5754 indicates a reference address such as "Location = / / Unit#1 / 0x6000:02". The data location 5754 may be, for example, a memory address of the target controller.
[0190] Offset 5755 is auxiliary information for accessing an output variable, and indicates an offset from data position 5754. When data position 5754 includes a frame of a communication protocol or the like, by specifying offset 5755, data can be written at a specific position in the frame.
[0191] The data length 5756 indicates the length of the data to be written as the output variable. The data length 5756 specifies, for example, the number of bits or bytes. From the start point specified by the data position 5754 and the offset 5755, data of the length specified by the data length 5756 is written.
[0192] The association definition unit 576 starts with "IOMatrix" and specifies one or more input variables associated with each output variable. More specifically, for each variable, the association definition unit 576 includes an output variable name 5761, the number of input variables 5762, and one or more input variable names 5763. These elements are separated by commas and defined for each output variable.
[0193] The output variable name 5761 specifies the variable name of the target output signal.
[0194] The number of input variables 5762 specifies the number of input variables associated with the target output variable. The number of input variables 5762 specifies the number of input variables input to the logical product (AND) for determining the value of the target output variable.
[0195] The input variable name 5763 specifies the variable name of the input variable associated with the target output variable. The input variable names specified in the input variable name 5763 are selected from one or more input variables specified in the input variable definition unit 574.
[0196] Fig.14 The data structure of the input-output correspondence information 570 shown is an example, and any data structure can be adopted as long as it can implement the functions explicitly or implicitly described in this specification.
[0197] As described above, the input-output correspondence information 570 includes addresses (data positions 5744 and 5754) for referring to the respective values of the input signal and the output signal, and information (association definition unit 576) for determining one or more input signals associated with the output signal.
[0198] <H. Data Transfer>
[0199] Next, the data transfer process in the control system 1 of the present embodiment will be described. Fig.15 is a schematic diagram for explaining the data transfer process in the control system 1 of the present embodiment. Refer to Fig.15 , for example, when EtherCAT is adopted as the protocol of the field network 2, communication frames 8 are circulated and transmitted on the field network 2.
[0200] For example, the input data representing the input signal input from the safety device 350 to the safety slave coupler 300 is written (data writing) into the communication frame 8 reaching the safety device 350. The communication frame 8 written with the input data is transmitted to the standard controller 100 and then to the safety controller 200. The safety controller 200 reads the input data included in the arriving communication frame 8 and executes safety control.
[0201] In this way, since the communication frame 8 is transmitted via the standard controller 100 (communication master device of the field network 2 ), the standard controller 100 can refer to (can refer to) the data exchanged between the safety slave coupler 300 and the safety controller 200 .
[0202] The display device 500 connected to the standard controller 100 can refer to (access) not only the process values managed by the standard controller 100, but also the process values exchanged between the safety slave coupler 300 and the safety controller 200. In addition, in FSoE, data can be exchanged in a command / response format using a plurality of communication frames 8. In this case, the data exchanged in the standard controller 100 can also be referred to.
[0203] In this way, the display device 500 can refer to the values of the input signal and the output signal held by the controller (safety controller 200 ) functioning as the communication slave via the controller (standard controller 100 ) functioning as the communication master.
[0204] <I. Processing steps>
[0205] Next, the processing procedure in the control system 1 of the present embodiment will be described.
[0206] (i1: Generation of input-output correspondence information 570)
[0207] Fig.16 This is a flowchart showing a processing procedure related to the generation of the input-output correspondence information 570 in the control system 1 of the present embodiment. Fig.16 The steps are typically implemented by the processor 602 of the support device 600 executing the support program 6104 .
[0208] Reference Fig.16 , the support device 600 accepts the selection of the object program (standard control source program 6108 and / or safety source program 6112) from the user (step S100). The support device 600 determines whether the selected object program is a safety program (step S102). If the selected object program is a safety program ("Yes" in step S102), the support device 600 determines whether the selected safety program has completed the validity confirmation (step S104). If the selected safety program has not completed the validity confirmation ("No" in step S104), the subsequent processing is terminated.
[0209] If the selected object program is not a safety program ("No" in step S102), or if the appropriateness of the selected safety program has been confirmed ("Yes" in step S104), the support device 600 extracts the variables mapped as output variables in the object program (step S106), and extracts the variables mapped as input variables in the object program (step S108).
[0210] The support device 600 selects one of the output variables extracted in step S106 as the target output variable (step S110). The support device 600 identifies the location in the target program that ultimately determines the value of the target output variable (step S112), traces the target program from the identified location, and extracts all input variables associated with the value of the target output variable (step S114). Then, the support device 600 associates all the input variables extracted in step S114 with the target output variable (step S116).
[0211] Next, the support device 600 determines whether all the output variables extracted in step S106 have been processed (step S118). If there is an output variable that has not been processed among the extracted output variables ("No" in step S118), the support device 600 selects one output variable that has not been processed among the extracted output variables as the target output variable (step S120). Then, the support device 600 repeats the processing from step S112 onwards.
[0212] If the processing of all output variables extracted in step S106 is completed ("Yes" in step S118), the support device 600 outputs a list of each output variable and the input variables associated with the output variable as input-output correspondence information 570 (step S122). Then, the processing of generating the input-output correspondence information 570 ends.
[0213] As described above, the support device 600 traces back the user program for each output signal included in the user program (safety program), thereby identifying one or more input signals that determine the value of the output signal.
[0214] (i2: Transmission of input / output correspondence information 570)
[0215] Fig.17 This is a flowchart showing a processing procedure related to the transmission of the input-output correspondence information 570 in the control system 1 of the present embodiment. Fig.17 The steps are typically implemented by the processor 602 of the support device 600 executing the support program 6104 .
[0216] Reference Fig.17The support device 600 receives the selection of the screen data 5106 to be transferred from the user (step S200). The support device 600 determines whether the input / output correspondence information 570 is generated in addition to the selected screen data 5106 to be transferred (step S202).
[0217] If the input / output correspondence information 570 has not been generated (No in step S202), the support device 600 transfers only the screen data 5106 to be transferred to the support device 600 (step S204). Then, the process ends.
[0218] If the input-output correspondence information 570 is generated ("Yes" in step S202), the support device 600 refers to the standard controller setting information 6110 representing the settings of the standard controller 100 and / or the safety controller setting information 6114 representing the settings of the safety controller 200, determines the reference target address for obtaining the input variables and output variables contained in the input-output correspondence information 570 (step S206), and incorporates it into the input-output correspondence information 570 (step S208).
[0219] Then, the support device 600 determines whether the input-output correspondence information 570 already exists in the display device 500 as the transmission destination (step S210). If the input-output correspondence information 570 already exists in the display device 500 as the transmission destination ("Yes" in step S210), the support device 600 deletes the input-output correspondence information 570 of the display device 500 as the transmission destination (step S212).
[0220] If the input / output correspondence information 570 does not exist in the display device 500 as the transmission destination (No in step S210), or after deleting the input / output correspondence information 570 (step S212), the support device 600 transmits the screen data 5106 and the input / output correspondence information 570 as the transmission object to the display device 500 (step S214). In this way, the support device 600 sends the input / output correspondence information 570 to the display device 500 in addition to the screen data 5106 for providing an arbitrary monitoring operation screen in the display device 500. Then, the processing ends.
[0221] (i3: Monitoring screen using input / output correspondence information 570)
[0222] Fig.18 This is a flowchart showing a processing procedure related to providing a monitoring screen using the input / output correspondence information 570 in the control system 1 of the present embodiment. The display device 500 generates a monitoring operation screen based on the input / output correspondence information 570 . Fig.18Each step is typically implemented by the processor 502 of the display device 500 executing the screen generation program 5104 .
[0223] Reference Fig.18 , the display device 500 is instructed to monitor the screen (refer to Fig.12 as well as Fig.13 When the display of the input / output correspondence information 570 starts ("Yes" in step S300), it is determined whether the input / output correspondence information 570 has been transmitted (step S302). If the input / output correspondence information 570 has not been transmitted ("No" in step S302), the process ends.
[0224] If the input-output correspondence information 570 has been transmitted (“Yes” in step S302 ), the display device 500 reads the input-output correspondence information 570 (step S304 ), and determines whether the read input-output correspondence information 570 includes a security signature (step S306 ).
[0225] If the read input-output correspondence information 570 includes a security signature ("Yes" in step S306), the display device 500 obtains the security signature from the target security controller 200 (step S308), and determines whether the obtained security signature is consistent with the security signature of the input-output correspondence information 570 (step S310). If the obtained security signature is inconsistent with the security signature of the input-output correspondence information 570 ("No" in step S310), the process ends.
[0226] If the acquired security signature matches the security signature of input / output correspondence information 570 (Yes in step S310 ), display device 500 internally generates a list of one or more input variables associated with each output variable based on the read input / output correspondence information 570 (step S312 ).
[0227] Then, the display device 500 obtains the values of the output variables and the input variables based on the corresponding reference addresses according to the generated list (step S314), and generates and displays a monitoring screen for the selected output variable (step S316). In this way, the screen data reflecting the input-output correspondence information 570 is configured to show the current values of one or more input signals corresponding to any specified output signal generated based on the input-output correspondence information 570.
[0228] The display device 500 determines whether or not an instruction to end the display of the monitoring screen has been given (step S318). If no instruction to end the display of the monitoring screen has been given (No in step S318), the process from step S314 onwards is repeatedly executed.
[0229] When the display device 500 is instructed to end the display of the monitoring screen (YES in step S318 ), the display device 500 ends the processing.
[0230] <J. Modification>
[0231] (j1: Function sharing)
[0232] In the above description, an example is shown in which the support device 600 generates the input-output correspondence information 570, and the display device 500 stores the generated input-output correspondence information 570 and generates a monitoring screen using the input-output correspondence information 570, but the present invention is not limited to this, and each function may be installed as appropriate.
[0233] That is, (1) the function of generating the input / output correspondence information 570 , (2) the function of storing the generated input / output correspondence information 570 , and (3) the function of generating a monitoring screen using the input / output correspondence information 570 can be configured in any device within the control system 1 .
[0234] Furthermore, the function of (2) saving the generated input / output correspondence information 570 and the function of (3) generating a monitoring screen using the input / output correspondence information 570 may be combined to generate a monitoring screen including the associated information of the variable values included in the input / output correspondence information 570. In this case, the function of (2) saving the generated input / output correspondence information 570 is absorbed by the function of (3) generating a monitoring screen using the input / output correspondence information 570.
[0235] Fig.19 FIG. 1 is a diagram showing an example of function sharing in the control system 1 of the present embodiment. Fig.19 8 function sharing examples No. 1 to 8 are shown in FIG.
[0236] The function sharing example No. 1 corresponds to the above-mentioned embodiment. The display device 500 generates the monitoring screen 530 based on the input / output correspondence information 570 .
[0237] The function sharing example No. 2 is a method in which the input / output correspondence information 570 is stored in the safety controller 200 instead of the display device 500 . The display device 500 reads the input / output correspondence information 570 from the safety controller 200 , and generates the monitoring screen 530 based on the read input / output correspondence information 570 .
[0238] Function sharing example No. 3 is similar to function sharing example No. 2, in which input / output correspondence information 570 is not stored in display device 500 but in standard controller 100. Display device 500 reads input / output correspondence information 570 from standard controller 100, and generates monitoring screen 530 based on the read input / output correspondence information 570.
[0239] The function sharing example No. 4 is an implementation using an integrated controller that integrates the standard controller 100 and the display device 500. In this function sharing example, the integrated controller is responsible for storing the input / output correspondence information 570 and generating the monitoring screen 530.
[0240] The function sharing examples No. 5 to 7 correspond to a configuration in which the function of (2) storing the generated input / output correspondence information 570 is incorporated into the function of (3) generating a monitoring screen using the input / output correspondence information 570 .
[0241] More specifically, in the function sharing example No. 5, the support device 600 generates the input / output correspondence information 570 and generates the screen data reflecting the input / output correspondence information 570. The display device 500 provides the monitoring screen 530 based on the screen data reflecting the input / output correspondence information 570.
[0242] In the function sharing example No. 6, the support device 600 generates the input / output correspondence information 570 and generates the screen data reflecting the input / output correspondence information 570. The integrated controller provides the monitoring screen 530 based on the screen data reflecting the input / output correspondence information 570.
[0243] In the function sharing example No. 7, the display device 500 itself generates the input / output correspondence information 570 and generates the screen data reflecting the input / output correspondence information 570. The display device 500 provides the monitoring screen 530 based on the screen data reflecting the input / output correspondence information 570.
[0244] In the function sharing example No. 8, the safety controller 200 generates input / output correspondence information 570 and stores the generated input / output correspondence information 570. The display device 500 reads the input / output correspondence information 570 from the safety controller 200 and generates the monitoring screen 530 based on the read input / output correspondence information 570.
[0245] also, Fig.19 The illustrated example of function sharing is merely an example, and any function sharing may be adopted depending on the control system to be implemented.
[0246] (j2: Addition of field network)
[0247] exist Figure 2 2 shows a control system 1 having a field network 2. However, even in a configuration in which a field network is added to the configuration of such a control system 1, it is possible to provide the above-mentioned monitoring screen.
[0248] Fig. 20 Schematic diagram showing a configuration example of a control system 1A according to a modified example of the present embodiment. Fig. 20 The control system 1A includes a field network 4 in addition to the field network 2 . The standard controller 100 can perform data communication with one or more safety IO terminals 700 and the robot 800 via the field network 2 .
[0249] The protocol used in the field network 4 may be the same as or different from the protocol used in the field network 2. For example, EtherNet / IP or the like may be used as the different protocol.
[0250] In this way, the monitoring screen of this embodiment can be realized in any control system configuration.
[0251] <K. Note>
[0252] The present embodiment described above includes the following technical ideas.
[0253] [Structure 1]
[0254] A control system (1), wherein the control system (1) comprises:
[0255] A support device (600) for developing a user program executed by a controller (100, 200); and
[0256] A display device (500) provides a monitoring operation screen by referring to the information held by the controller,
[0257] The supporting device comprises:
[0258] A generating unit (S100-S122) extracts the relationship between the output signal defined in the user program and one or more input signals, and generates input-output correspondence information (570); and
[0259] a sending unit (S200-S214) for sending the input-output correspondence information or the screen data reflecting the input-output correspondence information to the display device,
[0260] The display device provides a monitoring operation screen (S300~S318) showing the current value of the specified output signal and the corresponding one or more input signals based on the input-output correspondence information or the screen data reflecting the input-output correspondence information and referring to the values of the input signal and the output signal maintained by the controller.
[0261] [Structure 2]
[0262] In the control system described in Structure 1,
[0263] The input-output correspondence information includes addresses (5744, 5754) for referring to the values of the input signal and the output signal, and information (576) for specifying one or more input signals associated with the output signal.
[0264] [Structure 3]
[0265] In the control system described in structure 1 or 2,
[0266] The display device includes a screen generation unit (S316) that generates the monitoring operation screen based on the input-output correspondence information.
[0267] [Structure 4]
[0268] In the control system described in any one of structures 1 to 3,
[0269] The transmitting unit transmits the input-output correspondence information in addition to screen data for providing an arbitrary monitoring operation screen on the display device ( S214 ).
[0270] [Structure 5]
[0271] In the control system described in any one of structures 1 to 4,
[0272] The screen data reflecting the input / output correspondence information is configured to show current values of one or more input signals corresponding to any designated output signal, which are generated based on the input / output correspondence information.
[0273] [Structure 6]
[0274] In the control system described in any one of structures 1 to 5,
[0275] The controller comprises a safety controller (200),
[0276] The input-output correspondence information includes a safety signature (571) indicating identity with a user program executed by the safety controller.
[0277] [Structure 7]
[0278] In the control system described in any one of structures 1 to 6,
[0279] The generating unit traces back the user program for each output signal included in the user program, thereby identifying one or more input signals that determine the value of the output signal.
[0280] [Structure 8]
[0281] In the control system described in any one of structures 1 to 7,
[0282] A controller (200) functioning as a communication slave device exchanges data via a controller (100) functioning as a communication master device.
[0283] The display device refers to the values of the input signal and the output signal held by the controller functioning as the communication slave via the controller functioning as the communication master.
[0284] [Structure 9]
[0285] A support device (600) for developing a user program executed by a controller (100, 200), wherein:
[0286] The controller is connected to a display device (500) that provides a monitoring operation screen by referring to information held by the controller.
[0287] The supporting device comprises:
[0288] A generating unit (S100-S122) extracts the relationship between the output signal defined in the user program and one or more input signals, and generates input-output correspondence information (570); and
[0289] a sending unit (S200-S214) for sending the input-output correspondence information or the screen data reflecting the input-output correspondence information to the display device,
[0290] The display device provides a monitoring operation screen (S300~S318) showing the current value of the specified output signal and the corresponding one or more input signals based on the input-output correspondence information or the screen data reflecting the input-output correspondence information and referring to the values of the input signal and the output signal maintained by the controller.
[0291] [Structure 10]
[0292] A support program (6104) for developing a user program executed by a controller (100, 200), wherein:
[0293] The controller is connected to a display device (500) that provides a monitoring operation screen by referring to information held by the controller.
[0294] The support program causes the computer to perform the following steps:
[0295] Steps (S100-S122), extracting the relationship between the output signal defined in the user program and one or more input signals, and generating input-output correspondence information (570); and
[0296] Steps (S200 to S214), sending the input-output corresponding information or the screen data reflecting the input-output corresponding information to the display device.
[0297] Based on the input-output corresponding information or the screen data reflecting the input-output corresponding information, the display device refers to the values of the input signal and the output signal held by the controller, and provides a monitoring operation screen (S300 to S318) showing the current values of the specified output signal and one or more corresponding input signals.
[0298] <L. Advantage>
[0299] According to the control system 1 of the present embodiment, for example, when the device of the production equipment stops due to the safety function, the list of input signals associated with the stopped output signal and their current values can be presented on the display device. By referring to the information presented in this way, it is possible to easily determine the input signal that caused the equipment to stop. Basically, the cause can be查明 only by the display device, so there is no need to connect a support device or the like to the controller, and rapid recovery can be achieved.
[0300] The embodiments disclosed this time should be considered illustrative in all aspects and not restrictive. The scope of the present invention is represented by the claims, not by the above description, and is intended to include the meaning equivalent to the claims and all modifications within the scope.
[0301] Reference Numeral Explanation
[0302] 1, 1A: control system; 2, 4: field network; 8: communication frame; 100: standard controller; 102, 202, 302, 412, 414, 502, 602: processor; 104, 204, 304, 416, 504, 604: main memory; 106: upper network controller; 108, 208, 308, 402: field network controller; 110, 210, 310, 420, 510, 610: storage; 112, 512: memory card interface; 114, 514: memory card; 116: local bus controller; 118, 218, 318, 518, 618: processor bus; 120, 220, 620: controller; 200: safety controller ; 216, 316: safety local bus controller; 230, 330: unit; 300: safety slave coupler; 350: safety device; 400: safety driver; 410: control unit; 430: drive circuit; 432: feedback receiving circuit; 450: servo motor; 452: three-phase AC motor; 454: encoder; 500: display device; 506, 606: input unit; 508: display unit; 520: communication controller; 530: monitoring screen; 532: object message; 540: output variable list; 541, 542, 543: output variable entry; 550: input variable list; 551, 552, 553, 554: input variable entry; 560: display button; 570 : Input and output corresponding information; 571: Security signature; 572: Object node information; 573: Object unit information; 574: Input variable definition unit; 575: Output variable definition unit; 576: Association definition unit; 600: Support device; 608: Output unit; 612: Optical drive; 614: Storage medium; 631, 632, 633: Door; 641, 642, 643, 644: Input variable; 651, 652, 653: Output variable; 700: Terminal; 5746, 5756: Data length; 800: Robot; 1102, 2102, 3102: System program; 1104: Standard control program; 1106, 2106, 3106, 4206: Setting information ;2104: Safety program;4202: Servo control program;4204: Motion safety program;5104: Screen generation program;5106: Screen data;5740, 5750: Quantity definition;5741, 5751: Variable name;5742, 5752: Data type;5743, 5753: Comment;5744, 5754: Data position;5745, 5755: Offset;5761: Output variable name;5762: Input variable quantity;5763: Input variable name;6104: Support program;6106: Project data;6108: Standard control source program;6110: Standard controller setting information;6112: Safety source program;6114: Safety controller setting information;6116: Security driver setting information. ;
Claims
1. A control system, wherein: The control system has: support means for developing user programs executed by the controller; and a display device that provides a monitoring operation screen by referring to the information held by the controller, The controller includes a safety controller, The supporting device comprises: A generating unit, which extracts the relationship between the output signal defined in the user program and one or more input signals, and generates input-output correspondence information; as well as a sending unit configured to send the input-output correspondence information or screen data reflecting the input-output correspondence information to the display device, The display device provides a monitoring operation screen showing the current values of the designated output signal and the corresponding one or more input signals, based on the input-output correspondence information or the screen data reflecting the input-output correspondence information, with reference to the values of the input signal and the output signal maintained by the controller. The input / output correspondence information includes a safety signature indicating identity with a user program executed by the safety controller.
2. The control system according to claim 1, wherein: The input-output correspondence information includes an address for referring to each value of the input signal and the output signal, and information for specifying one or more input signals associated with the output signal.
3. The control system according to claim 1, wherein: The display device includes a screen generation unit configured to generate the monitoring operation screen based on the input-output correspondence information.
4. The control system according to any one of claims 1 to 3, wherein: The transmitting unit transmits the input-output correspondence information in addition to screen data for providing an arbitrary monitoring operation screen on the display device.
5. The control system according to any one of claims 1 to 3, wherein: The screen data reflecting the input / output correspondence information is configured to show current values of one or more input signals corresponding to any designated output signal, which are generated based on the input / output correspondence information.
6. The control system according to any one of claims 1 to 3, wherein: The generating unit traces back the user program for each output signal included in the user program, thereby identifying one or more input signals that determine the value of the output signal.
7. The control system according to any one of claims 1 to 3, wherein: The controller functioning as a communication slave exchanges data via the controller functioning as a communication master. The display device refers to the values of the input signal and the output signal held by the controller functioning as the communication slave via the controller functioning as the communication master.
8. A support device for developing a user program executed by a controller, wherein: The controller is connected to a display device that provides a monitoring operation screen by referring to information held by the controller, and the controller includes a safety controller. The supporting device comprises: A generating unit, which extracts the relationship between the output signal defined in the user program and one or more input signals, and generates input-output correspondence information; as well as a sending unit configured to send the input-output correspondence information or screen data reflecting the input-output correspondence information to the display device, The display device provides a monitoring operation screen showing the current values of the designated output signal and the corresponding one or more input signals, based on the input-output correspondence information or the screen data reflecting the input-output correspondence information, with reference to the values of the input signal and the output signal maintained by the controller. The input / output correspondence information includes a safety signature indicating identity with a user program executed by the safety controller.
9. A computer program product comprising a support program for developing a user program executed by a controller, wherein: The controller is connected to a display device that provides a monitoring operation screen by referring to information held by the controller, and the controller includes a safety controller. The support program causes the computer to perform the following steps: Extracting the relationship between the output signal defined in the user program and one or more input signals, and generating input-output correspondence information; as well as sending the input / output correspondence information or the screen data reflecting the input / output correspondence information to the display device, The display device provides a monitoring operation screen showing the current values of the designated output signal and the corresponding one or more input signals, based on the input-output correspondence information or the screen data reflecting the input-output correspondence information, with reference to the values of the input signal and the output signal maintained by the controller. The input / output correspondence information includes a safety signature indicating identity with a user program executed by the safety controller.
