WO2023243012A1 - 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム - Google Patents
制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム Download PDFInfo
- Publication number
- WO2023243012A1 WO2023243012A1 PCT/JP2022/024002 JP2022024002W WO2023243012A1 WO 2023243012 A1 WO2023243012 A1 WO 2023243012A1 JP 2022024002 W JP2022024002 W JP 2022024002W WO 2023243012 A1 WO2023243012 A1 WO 2023243012A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- monitor information
- execution time
- program
- information
- size
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13082—Parallel execution of bit operations
Definitions
- the present disclosure relates to a control system, a programmable logic controller, a visualization method, and a program.
- Patent Document 1 discloses a technique for monitoring and outputting the execution time of a subroutine executed in a PLC to a programming console.
- each time a PLC finishes executing a program it executes an end process that includes processes such as checking the operation of the PLC and logging process to collect device data. Then, the PLC repeatedly executes the scan, with the process including the program execution process and the end process as one scan.
- the execution time of the end process is not measured and the execution time of the end process cannot be confirmed, making it difficult to investigate the cause if there is a problem with the end process. There's a problem.
- the present disclosure has been made in view of the above circumstances, and provides a control system, a programmable logic controller, a visualization method, and a program that can check the execution time of an end process executed every time the execution of a program ends.
- the purpose is to provide.
- control system includes: A control system including a programmable logic controller that executes at least one program, and a programming support device for creating the program, end processing execution time measuring means for measuring the execution time of an end processing executed each time execution of the program ends; Display means for displaying the execution time of the end process on the screen of the programming support device.
- control system a programmable logic controller, a visualization method, and a program that can confirm the execution time of an end process executed every time execution of a program ends.
- a diagram showing a functional configuration of a control system according to an embodiment Block diagram showing the hardware configuration of PLC according to the embodiment
- a block diagram showing a hardware configuration of a programming support device according to an embodiment Diagram for explaining areas of a storage unit in which monitor information according to an embodiment is stored
- a diagram showing an example of monitor information displayed on a screen according to an embodiment A diagram showing an example of monitor information displayed on a screen according to an embodiment
- the control system 1 is a system for controlling an FA (Factory Automation) device (not shown) connected to a PLC.
- the control system 1 includes a PLC 100 and a programming support device 200, as shown in FIG.
- the PLC 100 is communicably connected to the programming support device 200 via a network cable or wirelessly (not shown).
- the PLC 100 is a device for controlling FA equipment, and executes a program created by a user.
- the PLC 100 of this embodiment has a multi-core processor including a plurality of processor cores, and executes programs by the multi-core processor.
- a processor core included in a multi-core processor will be simply referred to as a "core.”
- the programming support device 200 is a device for creating a program to be executed by the PLC 100.
- a programming tool is installed in the programming support device 200.
- the programming tool is an application for creating a program to be executed on the PLC 100.
- a user creates a program to be executed by the PLC 100 using a programming tool.
- the programming tool has a function of visualizing the performance of the PLC 100 when the program is executed, and the user uses the programming tool to check the performance of the PLC 100. Indices indicating the performance of the PLC 100 include scan time, which will be described later.
- the PLC 100 executes end processing after the user executes the creation program.
- End processing is processing that is executed every time execution of a program ends, and includes various processing.
- the content of the end process may be automatically set when the program is created, or may be set in the programming support device 200 by the user who created the program.
- the end processing includes, for example, a process of checking the operation of the PLC 100, a logging process of collecting device data of the PLC, a process of reading and writing data from an external device, a process of resetting a watchdog timer, and the like.
- the processor core of the PLC 100 repeatedly executes scans, including program processing, standby processing, and end processing as one scan.
- the time required to execute one scan is called “scan time.”
- the scan time is determined by the sum of the program execution time, the standby processing execution time, and the end processing execution time.
- the execution time of this standby process will be referred to as "wait time”.
- the control system 1 of this embodiment makes it possible to visualize the scan time and the details of the scan time.
- FIG. 2 shows the hardware configuration of the PLC 100.
- the PLC 100 includes a multi-core processor 11 that executes various processes, a main memory section 12 used as a work area of the multi-core processor 11, an auxiliary memory section 13 that stores various data used for processing of the multi-core processor 11, and a programming memory section 12. It has a first communication unit 14 for communicating with external devices including the support device 200, and a second communication unit 15 for communicating with FA equipment.
- the main storage section 12 , the auxiliary storage section 13 , the first communication section 14 , and the second communication section 15 are all connected to the multi-core processor 11 via a bus 16 .
- the multi-core processor 11 is a CPU (Central Processing Unit) that has multiple cores.
- the multi-core processor 11 implements various functions of the PLC 100 by executing programs stored in the auxiliary storage unit 13.
- the main storage unit 12 includes a RAM (Random Access Memory). A program is loaded into the main storage section 12 from the auxiliary storage section 13 .
- the main storage unit 12 is used as a work area for the multi-core processor 11.
- the auxiliary storage unit 13 includes a nonvolatile memory represented by EEPROM (Electrically Erasable Programmable Read-Only Memory).
- EEPROM Electrically Erasable Programmable Read-Only Memory
- the auxiliary storage unit 13 stores various data used in processing by the multi-core processor 11 in addition to programs.
- the auxiliary storage unit 13 supplies data used by the multi-core processor 11 to the multi-core processor 11 according to instructions from the multi-core processor 11, and stores data supplied from the multi-core processor 11.
- the first communication unit 14 includes a network interface circuit for communicating with external devices including the programming support device 200.
- the first communication unit 14 receives a signal from an external device and outputs data indicated by this signal to the multi-core processor 11. Further, the first communication unit 14 transmits a signal indicating data output from the multi-core processor 11 to an external device.
- the second communication unit 15 includes a network interface circuit for communicating with the FA equipment controlled by the PLC 100.
- the second communication unit 15 receives a signal from the FA device and outputs data indicated by this signal to the multi-core processor 11. Further, the second communication unit 15 transmits a signal indicating data output from the multi-core processor 11 to the FA equipment.
- FIG. 3 shows the hardware configuration of the programming support device 200.
- the programming support device 200 includes a processor 21 that executes various processes, a main storage section 22 used as a work area of the processor 21, an auxiliary storage section 23 that stores various data used for processing of the processor 21, and a PLC 100. It has a communication section 24 for communicating with external devices including, an input section 25 for acquiring input information, and an output section 26 for presenting various information.
- the main storage section 22 , the auxiliary storage section 23 , the communication section 24 , the input section 25 , and the output section 26 are all connected to the processor 21 via a bus 27 .
- the processor 21 includes a CPU.
- the processor 21 implements various functions of the programming support device 200 by executing programs stored in the auxiliary storage unit 23.
- the main storage unit 22 includes a RAM. A program is loaded into the main storage section 22 from the auxiliary storage section 23 .
- the main storage unit 22 is used as a work area for the processor 21.
- the auxiliary storage unit 23 includes a nonvolatile memory typified by EEPROM.
- the auxiliary storage unit 23 stores various data used in processing by the processor 21 in addition to programs.
- the auxiliary storage unit 23 supplies data used by the processor 21 to the processor 21 according to instructions from the processor 21, and stores data supplied from the processor 21.
- the communication unit 24 includes a network interface circuit for communicating with external devices including the PLC 100.
- the communication unit 24 receives a signal from an external device and outputs data indicated by this signal to the processor 21. Furthermore, the communication unit 24 transmits a signal indicating data output from the processor 21 to an external device.
- the input unit 25 includes input devices such as input keys and pointing devices.
- the input unit 25 acquires information input by the user of the programming support device 200 and notifies the processor 21 of the acquired information.
- the output unit 26 includes output devices such as an LCD (Liquid Crystal Display) and a speaker.
- the output unit 26 may constitute a touch screen that is integrally formed with a pointing device that constitutes the input unit 25.
- the output unit 26 presents various information to the user according to instructions from the processor 21.
- the multi-core processor 11 has four cores "Core1”, “Core2”, “Core3” and “Core4", and the programs created by the user are referred to as “PRG1", “PRG2” and “PRG3". It is assumed that “PRG1” and “PRG2” are executed by “Core1”, and “PRG3” is executed by "Core2”. In addition, “Core1” executes the end processing of “FUNC1” and “FUNC2” after executing “PRG1” and “PRG2”, and “Core2” executes the end processing of “FUNC3” after executing “PRG3”. shall be carried out.
- the PLC 100 includes a program execution time measurement unit 101 that measures program execution time, an end processing execution time measurement unit 102 that measures end processing execution time, and a calculation unit 103 that calculates waiting time.
- a storage unit 104 that stores monitor information, which will be described later, a size information response unit 105 that transmits a size information response including size information of monitor information to the programming support device 200, and a programming support device that sends a monitor information response including monitor information to the programming support device. 200.
- the program execution time measuring unit 101 measures the execution time of a program executed in each of a plurality of cores.
- the program execution time measuring unit 101 is realized by the multi-core processor 11. Note that the program execution time measuring section 101 is an example of a program execution time measuring means.
- the program execution time measuring unit 101 measures the execution times of “PRG1” and “PRG2” executed by “Core1” as “3.000 [ms]” and “7.000 [ms]”, respectively.
- the execution time of "PRG3" executed by "Core2” is measured as "4.600 [ms]”.
- the end processing execution time measurement unit 102 measures the execution time of the end processing executed in each of the plurality of cores.
- the end processing execution time measuring unit 102 is realized by the multi-core processor 11. Note that the end processing execution time measuring unit 102 is an example of an end processing execution time measuring means.
- the end processing execution time measuring unit 102 measures the execution times of "FUNC1" and "FUNC2" executed by “Core1” as "5.000 [ms]” and "3.000 [ms]", respectively. However, the execution time of "FUNC3" executed by "Core2” is measured as "8.000 [ms]”.
- the calculation unit 103 calculates the waiting time that occurs in order to match the start timing of the end processing executed in each of the plurality of cores. Furthermore, the calculation unit 103 stores information on program execution time, end processing execution time, and waiting time in the storage unit 104. Arithmetic unit 103 is realized by multi-core processor 11. Note that the calculation unit 103 is an example of calculation means.
- the calculation unit 103 subtracts "4.600 [ms]” from the sum of the execution times of the programs of "Core 1", "10.000 [ms]", and calculates "5.400 [ms]” for "Core 2". Calculated as waiting time.
- the calculation unit 103 calculates, for "Core1", the execution times of "PRG1” and “PRG2” of "3.000 [ms]” and “7.000 [ms]”, and the execution times of "FUNC1" and “FUNC2". "5.000 [ms]” and "3.000 [ms]", for "Core2", the execution time of "PRG3” is "4.600 [ms]", the execution time of "FUNC3” is "8.000 [ms]” ]” and a waiting time “5.400 [ms]” are stored in the storage unit 104.
- the calculation unit 103 calculates statistical information on the program execution time, end processing execution time, and waiting time of each core, and stores the statistical information in the storage unit 104.
- the statistical information is, for example, maximum value, minimum value, moving average, etc.
- the calculation unit 103 measures the total number of times the program has been executed in each core, and stores information on the total number of times the program has been executed in the storage unit 104 .
- the storage unit 104 stores monitor information that includes information on program execution time, end processing execution time information, waiting time information, and information on the cumulative number of program executions.
- the monitor information is information displayed on the screen of the programming support device 200.
- the storage unit 104 is realized by the auxiliary storage unit 13. Note that the storage unit 104 is an example of storage means.
- FIG. 4 shows a schematic diagram of the area of the storage unit 104 in which monitor information is stored.
- the storage unit 104 has an area for storing information on a plurality of items including monitor information, and the calculation unit 103 stores information on items such as measured execution time, calculated waiting time, etc.
- the monitor information is updated by comparing it with the information stored in the area corresponding to the item.
- the monitor information in FIG. 4 includes information on the program execution time, the cumulative number of program executions, the waiting time, and the end processing execution time for each of the plurality of cores. Further, the program execution time, the total number of program executions, and the end processing execution time each include a current value indicating the latest value and statistical information.
- the size information response unit 105 determines the size of the monitor information stored in the storage unit 104 in response to a size information request transmitted from the programming support device 200, and generates a size information response that includes size information indicating the determined size. , to the programming support device 200.
- the size information response unit 105 is realized by the multi-core processor 11 and the first communication unit 14. Note that the size information response unit 105 is an example of size information response means.
- the size information request is a request sent from the programming support device 200, and is a request to obtain size information of monitor information.
- the size information of the monitor information is information indicating the size of the monitor information excluding free space in the area of the storage unit 104 shown in FIG. 4.
- the size information response unit 105 when the size information response unit 105 receives a size information request, the size information response unit 105 selects lines 1 to 10, lines 14 to 20, lines 24 to 33 in the area of the storage unit 104 shown in FIG. The size of the monitor information is calculated, and a size information response including size information indicating the calculated size is transmitted to the programming support device 200.
- the obtained size will be referred to as "X [byte]".
- the monitor information response unit 106 transmits a monitor information response that includes the monitor information stored in the storage unit 104 to the programming support device 200 in response to the monitor information request transmitted from the programming support device 200.
- the monitor information response unit 106 divides the monitor information and sends it to the programming support device 200 by including the monitor information of the size specified in the monitor information request in the monitor information response.
- the monitor information response unit 106 is realized by the multi-core processor 11 and the first communication unit 14. Note that the monitor information response unit 106 is an example of monitor information response means.
- the monitor information request is a request sent from the programming support device 200, and is a request to obtain monitor information.
- the monitor information request specifies the size of monitor information to be included in the monitor information response.
- the monitor information response unit 106 when the monitor information response unit 106 receives a monitor information request specifying a size of “0.6X [byte]”, the monitor information response unit 106 receives “0.6 .6X [byte]” worth of monitor information is specified. For example, the monitor information response unit 106 sends monitor information whose size is “0.6 information and identification. Then, the monitor information response unit 106 transmits a monitor information response including the specified information to the programming support device 200. Further, when the monitor information response unit 106 receives the next monitor information request specifying the size of “0.4 Include the transmission information in the monitor information response and send it. That is, the monitor information response unit 106 transmits to the programming support device 200 a monitor information response that includes information on the 24th to 33rd lines in the area of the storage unit 104 shown in FIG.
- the programming support device 200 includes a size information acquisition unit 201 that acquires size information of monitor information, a monitor information acquisition unit 202 that acquires monitor information, and a display unit 203 that displays monitor information on a screen. Equipped with
- FIG. 5 shows how the programming support device 200 displays the monitor information on the screen after acquiring the monitor information.
- the window 300 is displayed on the screen by the function of the programming tool installed in the programming support device 200.
- the window 300 in FIG. 5 includes a button 301 to start displaying monitor information, a button 302 to end displaying monitor information, a bar graph 303 to show the breakdown of scan time in each core, and a button 302 to start displaying monitor information.
- a table 304 showing scan time values in the core a radio button 305 for displaying the current value in the table 309 or table 310, a radio button 306 for displaying the maximum value in the table 309 or table 310, and a program.
- This includes a button 307 for displaying a table 309 of execution times of programs, a button 308 for displaying a table 310 of execution times of end processing, and a table 309 of program execution times.
- a table 310 of end processing execution times is displayed instead of a table 309 of program execution times, as shown in FIG.
- a bar graph 303 shows the ratio of program execution time, waiting time, and end processing execution time to the entire scan time.
- Table 304 shows program execution time, waiting time, end processing execution time, and scan time in each core.
- the program execution time table 309 in FIG. 5 shows the execution time and cumulative number of executions for each program executed by each core.
- the end processing execution time table 310 in FIG. 6 shows the execution time for each end processing executed by each core and the total execution time of the end processing in each core.
- the size information acquisition unit 201 transmits a size information request to the PLC 100 to acquire size information of monitor information to be displayed on the screen.
- the size information acquisition section 201 is realized by the processor 21, the communication section 24, and the input section 25. Note that the size information acquisition unit 201 is an example of size information acquisition means.
- the size information acquisition unit 201 transmits a size information request to the PLC 100 to acquire size information of monitor information to be displayed on the window 300. Then, the size information acquisition unit 201 receives the size information response including the size information transmitted from the size information response unit 105.
- the monitor information acquisition unit 202 compares the size indicated by the size information included in the size information response transmitted from the size information response unit 105 with the size of information that can be included in one monitor information response, and Find the number of times monitor information requests are sent to. Then, the monitor information acquisition unit 202 transmits a monitor information request for acquiring monitor information to be displayed on the screen, which specifies the size of the monitor information to be included in the monitor information response, the number of times the monitor information request is sent.
- the monitor information acquisition unit 202 is realized by the processor 21 and the communication unit 24. Note that the monitor information acquisition unit 202 is an example of monitor information acquisition means.
- the size of information that can be included in one monitor information response is, for example, the size of information that can be included in one packet in communication between programming support device 200 and PLC 100.
- the size of information that can be included in one monitor information response is assumed to be "0.6X [byte]”. If the size indicated by the size information included in the size information response is “X [bytes]”, the monitor information acquisition unit 202 determines that two packets are required to acquire the monitor information to be displayed on the screen, and The number of times information requests are sent is determined to be two. The monitor information acquisition unit 202 transmits two monitor information requests to the PLC 100 to acquire monitor information.
- the monitor information acquisition unit 202 first transmits a first monitor information request specifying a size of "0.6X [byte]" to the PLC 100.
- the monitor information acquisition unit 202 receives a monitor information response that includes “0.6X [byte]” worth of monitor information from the monitor information response unit 106.
- the monitor information response to the first monitor information request includes information on the 1st to 10th lines and the 14th to 20th lines in the area of the storage unit 104 shown in FIG.
- the monitor information acquisition unit 202 Upon receiving the monitor information response to the first monitor information request, transmits a second monitor information request specifying a size of "0.4X [byte]" to the PLC 100. Then, the monitor information acquisition unit 202 receives the monitor information response containing the remaining monitor information from the monitor information response unit 106.
- the monitor information response to the second monitor information request includes information on the 24th to 33rd lines in the area of the storage unit 104 shown in FIG.
- the monitor information acquisition unit 202 acquires the monitor information on the 1st to 10th lines, the 14th to 20th lines, and the 24th to 33rd lines of the area of the storage unit 104 shown in FIG. do.
- the display unit 203 displays the program execution time, waiting time, and end processing execution time for each of the plurality of cores on the screen of the programming support device 200.
- the display section 203 is realized by the processor 21 and the output section 26. Note that the display unit 203 is an example of a display means.
- the display unit 203 displays the program execution time, waiting time, end processing execution time, etc., as shown in a window 300 in FIG. 5, based on the monitor information acquired by the monitor information acquisition unit 202.
- FIG. 7 is a flowchart showing the measurement process executed by the PLC 100 according to the present embodiment.
- the measurement process in FIG. 7 is, for example, a process that is executed when an operation to execute a program is received from a user.
- the program execution time measuring unit 101 measures the execution time of a program executed in each of a plurality of cores (step S101).
- the program execution time measuring unit 101 measures the execution time of “PRG1” and “PRG2” executed by “Core1” and the execution time of “PRG3” executed by “Core2”.
- the program execution time measuring unit 101 determines whether the execution of the program of each core has ended (step S102). When the program execution time measurement unit 101 determines that the execution of the program on each core has ended (step S102; YES), the end processing execution time measurement unit 102 measures the execution time of the end processing executed on each of the plurality of cores. is measured (step S103). On the other hand, if the program execution time measurement unit 101 determines that the execution of the program of each core has not finished (step S102; NO), it remains on standby.
- the end processing execution time measuring unit 102 determines whether execution of the end processing of each core has ended (step S104). When the end processing execution time measurement unit 102 determines that the execution of the end processing of each core has ended (step S104; YES), the calculation unit 103 calculates the waiting time for each core (step S105). On the other hand, if the end processing execution time measurement unit 102 determines that the execution of the end processing of each core has not been completed (step S104; NO), it remains on standby.
- the calculation unit 103 stores information on the execution time of the program, information on the execution time of the end process, and information on the waiting time in the storage unit 104 (step S106).
- FIG. 8 is a sequence diagram showing the processing executed between the PLC 100 and the programming support device 200 according to the present embodiment.
- the size information acquisition unit 201 of the programming support device 200 transmits a size information request to the PLC 100 for acquiring size information of monitor information to be displayed on the screen (step S201).
- the size information acquisition unit 201 transmits a size information request to the PLC 100 to acquire size information of monitor information to be displayed on the window 300.
- the size information response unit 105 of the PLC 100 receives the size information request from the size information acquisition unit 201, it calculates the size of the monitor information stored in the storage unit 104 (step S202). Then, the size information response unit 105 transmits a size information response including size information indicating the calculated size to the programming support device 200 (step S203).
- the size information response unit 105 when the size information response unit 105 receives a size information request, the size information response unit 105 selects lines 1 to 10, lines 14 to 20, lines 24 to 33 in the area of the storage unit 104 shown in FIG. The size of the monitor information is calculated as "X [byte]". Then, the size information response unit 105 transmits a size information response including size information indicating the calculated size to the programming support device 200.
- the monitor information acquisition unit 202 of the programming support device 200 determines the size indicated by the size information included in the size information response and the information that can be included in one monitor information response.
- the number of times n (n is a natural number greater than or equal to 1) of monitor information requests to be sent to the PLC 100 is determined by comparing the size and size (step S204). Then, the monitor information acquisition unit 202 transmits to the PLC 100 a monitor information request for acquiring monitor information to be displayed on the screen, which specifies the size of the monitor information to be included in the monitor information response (step S205).
- monitor information response unit 106 of the PLC 100 When the monitor information response unit 106 of the PLC 100 receives the monitor information request from the monitor information acquisition unit 202, it transmits a monitor information response that includes monitor information of the specified size to the programming support device 200 (step S206).
- step S205 and step S206 are repeated the number of times of transmission n.
- the monitor information acquisition unit 202 in order to obtain the monitor information to be displayed on the screen, the number of times the monitor information request is sent is determined to be two. Then, the monitor information acquisition unit 202 transmits a first monitor information request specifying a size of "0.6X [byte]" to the PLC 100.
- the monitor information response unit 106 receives the first monitor information request, it transmits the first monitor information response including the monitor information of the size specified in the first monitor information request to the programming support device 200. .
- the monitor information acquisition unit 202 Upon receiving the first monitor information response, the monitor information acquisition unit 202 then transmits a second monitor information request specifying a size of "0.4X [byte]" to the PLC 100. Then, upon receiving the second monitor information request, the monitor information response unit 106 sends a second monitor information response including the monitor information of the size specified in the second monitor information request to the programming support device 200. Send. Then, the monitor information acquisition unit 202 receives the second monitor information response.
- the display unit 203 of the programming support device 200 displays the monitor information included in the received monitor information responses on the screen (step S207).
- the display unit 203 displays the program execution time, waiting time, end processing execution time, etc., as shown in a window 300 in FIG. 5, based on the monitor information acquired by the monitor information acquisition unit 202.
- the present embodiment it is possible to measure the program execution time, waiting time, and end processing execution time for each core, and to visualize these times. This allows the user to optimize the allocation of programs and end processing to each core and easily distribute the load. Further, the user can easily consider shortening the scan time and investigate the cause of trouble when executing a program created by the user.
- the programming support device specifies the size of monitor information to be displayed on the screen, and monitor information of the specified size is transmitted from the PLC. Therefore, in communication between the programming support device and the PLC, unnecessary information other than the monitor information displayed on the screen is not transmitted or received, so that the communication load can be minimized.
- the programming support device grasps the size information of the monitor information before acquiring the monitor information, and if the monitor information cannot fit into one packet, acquires the monitor information using a plurality of packets. Thereby, when the number of programs to be executed changes, monitor information can be acquired flexibly.
- the program execution time measurement unit 101 may further measure the execution time of an interrupt program included in the program.
- the display unit 203 may display the execution time of the interrupt program on the screen.
- the storage unit 104 further stores information on the execution time of the interrupt program and information on the number of times the interrupt program is executed, and the monitor information includes information on the execution time of the interrupt program and information on the number of times the interrupt program is executed. Contains information.
- the user when designing an interrupt program, the user can check how much the interrupt program will affect the scan time, so the user can easily design the interrupt program. Furthermore, if the scan time increases due to the design of the interrupt program, the user can easily identify the cause.
- the monitor information is displayed on the screen of the programming support device 200, but the present invention is not limited to this.
- the monitor information may be displayed on the screen of another device connected to the PLC 100, or may be displayed on the screen of the PLC 100.
- the PLC 100 and programming support device 200 according to the embodiment can be used to control the personal computer or information terminal device. It is also possible to function as a support device 200.
- the distribution method of such a program is arbitrary; for example, it may be stored and distributed on a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card. or distributed via a communication network such as the Internet.
- a computer-readable recording medium such as a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or a memory card.
- a communication network such as the Internet.
- control system a programmable logic controller, a visualization method, and a program that can confirm the execution time of an end process executed every time execution of a program ends.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
Description
少なくとも1つのプログラムを実行するプログラマブルロジックコントローラと、前記プログラムを作成するためのプログラミング支援装置と、を含む制御システムにおいて、
前記プログラムの実行が終了する度に実行されるエンド処理の実行時間を計測するエンド処理実行時間計測手段と、
前記エンド処理の実行時間を前記プログラミング支援装置の画面に表示する表示手段と、を備える。
実施形態に係る制御システム1は、PLCに接続された、図示しないFA(Factory Automation)機器を制御するためのシステムである。制御システム1は、図1に示すように、PLC100と、プログラミング支援装置200と、を含む。PLC100は、図示しないネットワークケーブル又は無線によりプログラミング支援装置200と通信可能に接続される。
以上、本開示の実施形態を説明したが、本開示を実施するにあたっては、種々の形態による変形及び応用が可能である。
Claims (8)
- 少なくとも1つのプログラムを実行するプログラマブルロジックコントローラと、前記プログラムを作成するためのプログラミング支援装置と、を含む制御システムにおいて、
前記プログラムの実行が終了する度に実行されるエンド処理の実行時間を計測するエンド処理実行時間計測手段と、
前記エンド処理の実行時間を前記プログラミング支援装置の画面に表示する表示手段と、を備える
制御システム。 - 前記エンド処理の内容は、前記プログラムを作成したユーザにより、前記プログラミング支援装置において設定される、
請求項1に記載の制御システム。 - 前記プログラマブルロジックコントローラは、
複数のプログラムを、複数のコアを含むマルチコアプロセッサにより実行し、
前記複数のコアのそれぞれにおいて実行されるプログラムの実行時間を計測するプログラム実行時間計測手段と、
前記複数のコアのそれぞれにおいて実行される前記エンド処理の実行の開始タイミングを一致させるために生じる待ち時間を算出する演算手段と、を備え、
前記エンド処理実行時間計測手段は、前記複数のコアのそれぞれにおいて実行される前記エンド処理の実行時間を計測し、
前記表示手段は、前記複数のコアのそれぞれについて、前記プログラムの実行時間と、前記待ち時間と、前記エンド処理の実行時間と、を前記画面に表示する、
請求項1又は2に記載の制御システム。 - 前記プログラム実行時間計測手段は、前記プログラムに含まれる割込みプログラムの実行時間をさらに計測し、
前記表示手段は、前記割込みプログラムの実行時間を前記画面に表示する、
請求項3に記載の制御システム。 - 前記プログラマブルロジックコントローラは、
前記プログラムの実行時間の情報と、前記エンド処理の実行時間の情報と、前記待ち時間の情報と、が含まれるモニタ情報を、記憶手段に格納し、
前記プログラミング支援装置は、
前記画面に表示するモニタ情報のサイズを示すサイズ情報を取得するためのサイズ情報要求を、前記プログラマブルロジックコントローラに送信するサイズ情報取得手段と、
前記画面に表示するモニタ情報を取得するためのモニタ情報要求を、前記プログラマブルロジックコントローラに送信するモニタ情報取得手段と、を備え、
前記プログラマブルロジックコントローラは、
前記サイズ情報要求に応じて、前記記憶手段に格納されたモニタ情報のサイズを求め、求めたサイズを示すサイズ情報が含まれるサイズ情報応答を、前記プログラミング支援装置に送信するサイズ情報応答手段と、
前記モニタ情報要求に応じて、前記記憶手段に格納されたモニタ情報が含まれるモニタ情報応答を、前記プログラミング支援装置に送信するモニタ情報応答手段と、を備え、
前記モニタ情報取得手段は、前記サイズ情報応答手段から送信されたサイズ情報応答に含まれるサイズ情報が示すサイズと、一つのモニタ情報応答に含めることができる情報のサイズと、を比較して、前記プログラマブルロジックコントローラに送信するモニタ情報要求の送信回数を求め、前記モニタ情報応答に含めるモニタ情報のサイズを指定した前記モニタ情報要求を、前記送信回数だけ送信し、
前記モニタ情報応答手段は、前記モニタ情報要求において指定されたサイズ分のモニタ情報を前記モニタ情報応答に含めることにより、前記モニタ情報を分割して前記プログラミング支援装置に送信し、
前記表示手段は、前記モニタ情報応答に含まれるモニタ情報を前記画面に表示する、
請求項3又は4に記載の制御システム。 - 複数のプログラムを、複数のコアを含むマルチコアプロセッサにより実行するプログラマブルロジックコントローラであって、
前記複数のコアのそれぞれにおいて実行されるプログラムの実行時間を計測するプログラム実行時間計測手段と、
前記複数のコアのそれぞれにおいて実行される、前記プログラムの実行が終了する度に実行されるエンド処理の実行時間を計測するエンド処理実行時間計測手段と、
前記複数のコアのそれぞれにおいて実行される前記エンド処理の実行の開始タイミングを一致させるために生じる待ち時間を算出する演算手段と、
前記プログラムの実行時間の情報と、前記エンド処理の実行時間の情報と、前記待ち時間の情報と、が含まれるモニタ情報を格納する記憶手段と、
画面に表示するモニタ情報を取得するためのモニタ情報要求に応じて、前記記憶手段に格納されたモニタ情報が含まれるモニタ情報応答を送信するモニタ情報応答手段と、を備える、
プログラマブルロジックコントローラ。 - 少なくとも1つのプログラムを実行するプログラマブルロジックコントローラと、前記プログラムを作成するためのプログラミング支援装置と、を含む制御システムにおいて実行される可視化方法であって、
エンド処理実行時間計測手段が、前記プログラムの実行が終了する度に実行されるエンド処理の実行時間を計測し、
表示手段が、前記エンド処理の実行時間を前記プログラミング支援装置の画面に表示する、
可視化方法。 - 複数のプログラムを、複数のコアを含むマルチコアプロセッサにより実行するコンピュータを、
前記複数のコアのそれぞれにおいて実行されるプログラムの実行時間を計測するプログラム実行時間計測手段、
前記複数のコアのそれぞれにおいて実行される、前記プログラムの実行が終了する度に実行されるエンド処理の実行時間を計測するエンド処理実行時間計測手段、
前記複数のコアのそれぞれにおいて実行される前記エンド処理の実行の開始タイミングを一致させるために生じる待ち時間を算出する演算手段、
前記プログラムの実行時間の情報と、前記エンド処理の実行時間の情報と、前記待ち時間の情報と、が含まれるモニタ情報を格納する記憶手段、
画面に表示するモニタ情報を取得するためのモニタ情報要求に応じて、前記記憶手段に格納されたモニタ情報が含まれるモニタ情報応答を送信するモニタ情報応答手段、
として機能させるプログラム。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022565638A JP7221465B1 (ja) | 2022-06-15 | 2022-06-15 | 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム |
US18/724,208 US20250060722A1 (en) | 2022-06-15 | 2022-06-15 | Control system, programmable logic controller, and recording medium |
PCT/JP2022/024002 WO2023243012A1 (ja) | 2022-06-15 | 2022-06-15 | 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム |
CN202280086369.1A CN118475887A (zh) | 2022-06-15 | 2022-06-15 | 控制系统、可编程逻辑控制器、可视化方法及程序 |
DE112022005271.6T DE112022005271T5 (de) | 2022-06-15 | 2022-06-15 | Steuersystem, speicherprogrammierbare Steuerung, Visualisierungsverfahren und Programm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2022/024002 WO2023243012A1 (ja) | 2022-06-15 | 2022-06-15 | 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023243012A1 true WO2023243012A1 (ja) | 2023-12-21 |
Family
ID=85197950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2022/024002 WO2023243012A1 (ja) | 2022-06-15 | 2022-06-15 | 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム |
Country Status (5)
Country | Link |
---|---|
US (1) | US20250060722A1 (ja) |
JP (1) | JP7221465B1 (ja) |
CN (1) | CN118475887A (ja) |
DE (1) | DE112022005271T5 (ja) |
WO (1) | WO2023243012A1 (ja) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08123514A (ja) * | 1994-10-24 | 1996-05-17 | Mitsubishi Electric Corp | プログラマブルコントローラ |
JP2016110458A (ja) * | 2014-12-08 | 2016-06-20 | 株式会社キーエンス | プログラマブル・ロジック・コントローラ、基本ユニット、制御方法およびプログラム |
US20190033814A1 (en) * | 2016-04-22 | 2019-01-31 | Beckhoff Automation Gmbh | Real-time environment and programmable logic controller |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5507587B2 (ja) * | 2012-01-11 | 2014-05-28 | ファナック株式会社 | 補助指令の実行機能を有する数値制御装置 |
JP6171386B2 (ja) * | 2013-02-15 | 2017-08-02 | オムロン株式会社 | コントローラ、情報処理装置およびプログラム |
WO2019207679A1 (ja) * | 2018-04-25 | 2019-10-31 | 三菱電機株式会社 | モニタ支援装置、プログラマブルロジックコントローラ、モニタ支援方法およびモニタ支援プログラム |
CN113841093B (zh) * | 2019-05-23 | 2022-11-22 | 三菱电机株式会社 | 可编程逻辑控制器、计算机、方法以及计算机可读取的记录介质 |
US11467846B2 (en) * | 2019-08-02 | 2022-10-11 | Tenstorrent Inc. | Overlay layer for network of processor cores |
-
2022
- 2022-06-15 WO PCT/JP2022/024002 patent/WO2023243012A1/ja active Application Filing
- 2022-06-15 JP JP2022565638A patent/JP7221465B1/ja active Active
- 2022-06-15 DE DE112022005271.6T patent/DE112022005271T5/de active Pending
- 2022-06-15 US US18/724,208 patent/US20250060722A1/en active Pending
- 2022-06-15 CN CN202280086369.1A patent/CN118475887A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08123514A (ja) * | 1994-10-24 | 1996-05-17 | Mitsubishi Electric Corp | プログラマブルコントローラ |
JP2016110458A (ja) * | 2014-12-08 | 2016-06-20 | 株式会社キーエンス | プログラマブル・ロジック・コントローラ、基本ユニット、制御方法およびプログラム |
US20190033814A1 (en) * | 2016-04-22 | 2019-01-31 | Beckhoff Automation Gmbh | Real-time environment and programmable logic controller |
Also Published As
Publication number | Publication date |
---|---|
US20250060722A1 (en) | 2025-02-20 |
JPWO2023243012A1 (ja) | 2023-12-21 |
DE112022005271T5 (de) | 2024-08-14 |
JP7221465B1 (ja) | 2023-02-13 |
CN118475887A (zh) | 2024-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8789024B2 (en) | Integration of visualization with source code in the Eclipse development environment | |
US6606658B1 (en) | Apparatus and method for server resource usage display by comparison of resource benchmarks to determine available performance | |
EP2787442B1 (en) | Controller, information processing apparatus, and program | |
EP2470995B1 (en) | A method of determining the state of a tile based deferred rendering processor and apparatus thereof | |
CN111639025B (zh) | 一种软件测试方法、装置、电子设备及存储介质 | |
JPWO2014030221A1 (ja) | 仮想計算機システム、管理計算機及び仮想計算機管理方法 | |
CN109144697B (zh) | 一种任务调度方法、装置、电子设备及存储介质 | |
US11487258B2 (en) | Controller and control management system | |
US20150363252A1 (en) | Determining and correcting software server error conditions | |
JP2018026060A (ja) | プログラマブル表示器、更新処理装置、更新方法、情報処理方法およびプログラム | |
US8544009B2 (en) | Method, apparatus, and product for scheduling of distributed processing based on average execution time and communication time | |
JP7221465B1 (ja) | 制御システム、プログラマブルロジックコントローラ、可視化方法及びプログラム | |
US10331818B2 (en) | Simulation system and simulation method | |
WO2013111334A1 (ja) | 管理計算機、自動化作業手順出力方法、及び計算機読み取り可能な記憶媒体 | |
US10819798B2 (en) | On-site system | |
CN114860455A (zh) | 一种请求处理方法、装置、设备及存储介质 | |
US10935965B2 (en) | Operation management apparatus | |
JP6163926B2 (ja) | 仮想マシン管理装置、仮想マシン管理方法、及びプログラム | |
JP5678729B2 (ja) | 情報処理装置、作業重視度算出方法、および作業重視度算出プログラム | |
WO2019176286A1 (ja) | 制御装置、制御方法、および、制御プログラム | |
US20250173243A1 (en) | Monitoring system, monitoring device, monitoring method, and recording medium | |
US10303832B2 (en) | Architecture generating device | |
JP7612114B1 (ja) | 評価支援装置、評価支援システム、評価支援方法、および評価支援プログラム | |
CN112487414A (zh) | 一种进程命令行的获取方法、装置、设备以及存储介质 | |
JP2020188369A5 (ja) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2022565638 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22946830 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18724208 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202280086369.1 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 112022005271 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22946830 Country of ref document: EP Kind code of ref document: A1 |