WO2023228357A1 - Contrôleur logique programmable, système de commande, procédé de collecte de données et programme - Google Patents

Contrôleur logique programmable, système de commande, procédé de collecte de données et programme Download PDF

Info

Publication number
WO2023228357A1
WO2023228357A1 PCT/JP2022/021567 JP2022021567W WO2023228357A1 WO 2023228357 A1 WO2023228357 A1 WO 2023228357A1 JP 2022021567 W JP2022021567 W JP 2022021567W WO 2023228357 A1 WO2023228357 A1 WO 2023228357A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
line data
unit
line
device data
Prior art date
Application number
PCT/JP2022/021567
Other languages
English (en)
Japanese (ja)
Inventor
知洋 古川
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2022/021567 priority Critical patent/WO2023228357A1/fr
Priority to JP2022563986A priority patent/JPWO2023228357A1/ja
Publication of WO2023228357A1 publication Critical patent/WO2023228357A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Definitions

  • the present invention relates to a programmable logic controller, a control system, a data collection method, and a program.
  • a programmable logic controller is a controller that controls manufacturing equipment, transport equipment, inspection equipment, etc. in factory automation.
  • programmable logic controllers are connected to many external devices via networks and control the external devices by sending and receiving a lot of data.
  • Patent Document 1 discloses a control device that can efficiently collect line data necessary to identify the cause of an abnormality by providing dynamically changeable filtering conditions when collecting line data.
  • Patent Document 2 discloses a display device that can efficiently analyze line data by displaying line data and status logs of control devices and target devices in a chronologically correlated manner.
  • the present disclosure has been made in order to solve the above-mentioned problems, and provides a programmable logic controller, etc. that can facilitate the task of identifying the cause of abnormalities occurring in communication with external devices.
  • the purpose is to provide.
  • a programmable logic controller includes a communication section, a program execution section, a device data collection section, a line data collection section, and a data output section.
  • the communication unit communicates with external equipment.
  • the program execution unit executes a user program for controlling a controlled object.
  • the device data collection unit collects a plurality of device data stored in a plurality of devices that are storage areas referenced by the program execution unit, and stores each of the plurality of device data with time information when each device data was collected. It is associated and saved in the first buffer.
  • the line data collection unit collects a plurality of line data that satisfies collection conditions from among the data communicated by the communication unit, associates the plurality of line data with time information at which each line data was communicated, and stores the line data in a second buffer. Save to.
  • the data output unit outputs the plurality of device data stored in the first buffer and the plurality of line data stored in the second buffer.
  • a plurality of device data stored in a plurality of devices is collected, each of the collected plurality of device data is associated with time information when each device data was collected, and the data to be communicated with an external device is A plurality of pieces of line data that satisfy the collection conditions are collected, and the collected pieces of line data are associated with time information at which each piece of line data was communicated. Therefore, according to the present disclosure, it is possible to facilitate the task of identifying the cause of an abnormality occurring in communication with an external device.
  • a diagram showing the configuration of a control system according to Embodiment 1 A block diagram showing the hardware configuration of a PLC and an interface device according to Embodiment 1.
  • Block diagram showing the functional configuration of the control system according to Embodiment 1 A diagram showing an example of device data collected by PLC in Embodiment 1
  • a diagram showing an example of line data collected by PLC in Embodiment 1 A diagram showing an example of a display screen displayed on the interface device in Embodiment 1.
  • a diagram showing an example when device data or line data is selected on the display screen shown in FIG. A diagram showing an example when a device is selected on the display screen shown in FIG. 6
  • Flowchart showing the flow of data collection processing executed by the PLC according to the first embodiment Flowchart showing the flow of display output processing executed by the interface device according to Embodiment 1
  • FIG. 1 shows the configuration of a control system 1 according to the first embodiment.
  • the control system 1 is an FA (factory automation) system installed in a factory, and corresponds to a production system that produces products.
  • the control system 1 performs various processing, typified by processing, monitoring, and inspection, on the workpieces flowing on the production line.
  • control system 1 includes a PLC (programmable logic controller) 10, an interface device 20, and an external device 30.
  • PLC programmable logic controller
  • the PLC 10 is a controller for controlling a controlled object in factory automation.
  • the objects to be controlled are manufacturing equipment, transport equipment, inspection equipment, etc. installed in a factory.
  • the PLC 10 transmits various control commands to each of a plurality of control targets installed in a factory by executing a user program created in the interface device 20. Thereby, the PLC 10 comprehensively controls the manufacturing line in factory automation.
  • PLC10 is an example of a control device.
  • the interface device 20 is a terminal device operated by a user.
  • the interface device 20 is, for example, a general-purpose or industrial computer.
  • the interface device 20 can create and edit a user program for controlling the PLC 10.
  • the interface device 20 may also be called an engineering tool, a program creation support device, or the like.
  • the interface device 20 is communicably connected to the PLC 10 via a USB (Universal Serial Bus) cable, LAN (Local Area Network), or other communication line.
  • USB Universal Serial Bus
  • LAN Local Area Network
  • the external device 30 is a device used in factory automation.
  • External equipment 30 includes equipment to be controlled by PLC 10 in factory automation.
  • the external device 30 includes input devices such as sensors and cameras, and output devices such as actuators and arm robots.
  • the operation of the output device is controlled by the PLC 10 according to the detected value of the input device.
  • external devices 30 may be one or multiple.
  • the external devices 30 may include devices that are not to be controlled by the PLC 10, such as databases, server devices, etc.
  • External device 30 may be called a field device.
  • the external device 30 is communicably connected to the PLC 10 via a communication cable 31.
  • the communication cable 31 is an industrial control network realized by communication lines installed within a factory.
  • the communication cable 31 may be, for example, a USB cable or EtherNET (registered trademark), or may be EtherCAT (registered trademark) or EtherNet/IP (registered trademark) used as an industrial network protocol.
  • the PLC 10 and the interface device 20 each include a processor 11, a main memory 12, an auxiliary memory 13, a clock section 14, an input section 15, an output section 16, a communication section 17, Equipped with. Each of these elements is connected via an internal bus.
  • the processor 11 includes a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphics Processing Unit), and the like.
  • the processor 11 implements various functions of the PLC 10 and the interface device 20 by executing programs stored in the auxiliary memory 13, and executes the processes described below.
  • the main memory 12 includes volatile storage devices such as DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory).
  • a program is loaded into the main memory 12 from the auxiliary memory 13. Further, the main memory 12 is used as a work area for the processor 11.
  • the auxiliary memory 13 includes a nonvolatile storage device such as a ROM (Read Only Memory) and a flash memory.
  • Auxiliary memory 13 stores various data used in processing by processor 11.
  • the auxiliary memory 13 supplies data used by the processor 11 to the processor 11 according to instructions from the processor 11, and stores data supplied from the processor 11.
  • the clock section 14 includes elements typified by a crystal resonator and an oscillation circuit.
  • the clock section 14 provides a clock signal to the processor 11 .
  • Clock signals are utilized to measure time.
  • the input unit 15 includes input devices such as switches, input keys, and pointing devices.
  • the input unit 15 acquires information input by the user and notifies the processor 11 of the acquired information.
  • the output unit 16 includes output devices such as an LED (Light Emitting Diode), an LCD (Liquid Crystal Display), and a speaker.
  • the output unit 16 presents various information to the user according to instructions from the processor 11.
  • the communication unit 17 includes a communication interface circuit for communicating with external devices in accordance with well-known communication standards such as USB and Ethernet (registered trademark).
  • the communication unit 17 receives a signal from the outside and outputs data indicated by this signal to the processor 11. Furthermore, the communication unit 17 transmits a signal indicating data output from the processor 11 to an external device.
  • the communication unit 17 of the PLC 10 communicates with the communication unit 17 of the interface device 20. Furthermore, the communication unit 17 of the PLC 10 communicates with the external device 30 via the communication cable 31.
  • the processor 11 functionally includes a program acquisition section 110, a parameter setting section 120, a program execution section 130, a device data collection section 140, a line data collection section 150, It includes a data storage section 160 and a data output section 170. Further, in the interface device 20, the processor 11 functionally includes a program creation section 210, a display output section 220, and a selection section 230.
  • Each of these functions is realized by software, firmware, or a combination of software and firmware.
  • Software and firmware are written as programs and stored in the auxiliary memory 13.
  • the processor 11 implements each function by executing the program stored in the auxiliary memory 13.
  • the program creation unit 210 creates a user program 21 according to an operation received from the user via the input unit 15.
  • the user program 21 is data that defines procedures for processing executed by the PLC 10.
  • the user program 21 is created using, for example, a graphical programming language or a high-level programming language.
  • the graphical programming language is, for example, a motion program in a flowchart format such as a ladder language or SFC (sequential function chart).
  • the high-level programming language is, for example, the C language.
  • the user program 21 will be described as a ladder program created in a ladder language.
  • a development tool for the user program 21 is installed on the interface device 20.
  • the user operates the input unit 15 to combine a plurality of predefined types of commands on the development tool.
  • the user program 21 can be designed in accordance with the configuration of the external device 30.
  • the program creation unit 210 transmits the created user program 21 to the PLC 10 via the communication unit 17 in response to an instruction from the user.
  • the program acquisition unit 110 acquires the user program 21 created in the interface device 20.
  • the program acquisition unit 110 communicates with the interface device 20 via the communication unit 17, and receives the transmitted user program 21.
  • the parameter setting unit 120 sets various parameters related to the operation of the PLC 10.
  • the parameters set by the parameter setting unit 120 include, for example, a device to be controlled, a file to be used, a timer setting value, a storage destination and storage format of device data and line data, and the like.
  • the parameter setting unit 120 sets such parameters based on information input by the user from the input unit 15 of the PLC 10. Alternatively, the parameter setting unit 120 may receive parameters from the interface device 20 and set the parameters.
  • the program execution unit 130 executes the user program 21 acquired by the program acquisition unit 110. Specifically, in order to control the controlled object, the program execution unit 130 generates a control command for the controlled object according to an arbitrarily created user program 21. Then, the program execution unit 130 transmits the generated control command to the controlled object via the communication cable 31. Thereby, the program execution unit 130 causes the controlled object to execute the operation according to the user program 21.
  • the device data collection unit 140 collects device data.
  • device data also called device value
  • the device is data stored in a device.
  • the device is also called a device memory, and means a storage area on the main memory 12 provided for storing device data.
  • Examples of the device include a relay device that holds 1 bit of information, a word device that holds 1 word of information, and the like.
  • Device data includes, for example, an input state input from an input device such as a sensor or a camera among the external devices 30, an output state output from an output device such as an actuator or an arm robot among the external devices 30, and a user information. It shows the status of internal relays, timers, counters, data memory, etc. set on the program 21.
  • the program execution unit 130 uses the main memory 12 as a storage area for device data when executing the user program 21 to control the control target. Specifically, the program execution unit 130 controls the controlled object while temporarily storing data related to control according to the user program 21 in the main memory 12 as device data. Specifically, the data related to control is a measurement value measured by a sensor, a camera, etc., a control value transmitted from the PLC 10 to a controlled object, a state value indicating a control result by the controlled object, etc.
  • the device data collection unit 140 collects a plurality of device data stored in a plurality of devices, which are storage areas that the program execution unit 130 refers to when executing the user program 21 and controlling a control target. Then, the device data collection unit 140 stores the collected plurality of device data in a first buffer, which is a storage area on the main memory 12, in association with time information at which each device data was collected.
  • FIG. 4 shows an example of multiple device data stored in the first buffer.
  • time represents the time when each device data was collected by the device data collection unit 140.
  • Target represents identification information of a device that is a target of each device data.
  • Value represents the value of each device data.
  • the "value” is, for example, a measured value, a control value, a state value, etc. related to control according to the user program 21 as described above.
  • the device data collection unit 140 collects a plurality of pieces of device data used when the program execution unit 130 controls the control target according to the user program 21, in association with the time information at which each piece of device data was collected.
  • Device data linked to time information can be called “device log data.” Note that the time information associated with each device data is not limited to the time itself, and may be, for example, the value of a scan counter as long as it is information indicating the time.
  • the line data collection unit 150 collects a plurality of line data that satisfy the collection conditions from among the communication data communicated with the external device 30 by the communication unit 17.
  • the communication data is data such as packets and protocols transmitted between the PLC 10 and the external device 30 via the communication cable 31.
  • the communication data includes data transmitted from the PLC 10 to the external device 30 and data transmitted from the external device 30 to the PLC 10.
  • communication data data indicating a control command transmitted from the PLC 10 to a device to be controlled
  • data indicating a control result transmitted from the device to be controlled to the PLC 10 data indicating the state of the external device 30, a sensor, a camera.
  • data indicating the state of the external device 30 data indicating the state of the external device 30, a sensor, a camera.
  • Various data exist, such as data measured by etc.
  • the collection conditions are filtering conditions set in advance to filter out unnecessary data from communication data. Specifically, the collection condition is satisfied when the data communicated by the communication unit 17 is data for operating the user program 21 or the device being used with preset parameters.
  • the preset parameters are parameters set by the parameter setting section 120.
  • Data operating a device means data written to or read from the device.
  • data for operating the device used by the user program 21 corresponds to data written to or read from the device when the program execution unit 130 is executing the user program 21.
  • data for operating a device being used with preset parameters corresponds to data written to the device or data read from the device using parameters used when the PLC 10 performs various operations.
  • line data collection unit 150 does not collect communication data if the communication data corresponds to a read command. Furthermore, communication data that is relayed to another device, that is, communication data where neither the destination nor the source is the PLC 10, does not satisfy the collection condition. Therefore, the line data collection unit 150 does not collect communication data to be relayed to other devices.
  • the line data collection unit 150 accesses the communication unit 17 and determines whether the communication data satisfies the collection conditions set in this way. do. As a result of the determination, the line data collection unit 150 does not collect communication data that does not satisfy the collection conditions, but collects data that satisfies the collection conditions as line data.
  • the line data collection unit 150 stores the collected line data in a second buffer, which is a storage area on the main memory 12, in association with time information at which the line data was communicated.
  • the second buffer is a storage area different from the first buffer in which device data on the main memory 12 is stored.
  • FIG. 5 shows an example of multiple line data stored in the second buffer.
  • time represents the time when each line data was transmitted and received.
  • Src represents the device that is the transmission source of each line data.
  • Dst represents the device to which each line data is transmitted.
  • the line data collection unit 150 links the line data communicated with the external device 30 when the program execution unit 130 controls the controlled object according to the user program 21 to the time information communicated. collect.
  • Line data linked to time information can be called "line log data.” Note that the time information associated with each line data is not limited to the time itself, and may be, for example, the value of a scan counter as long as it is information indicating the time.
  • the line data collection unit 150 collects line data for operating the device used by the user program 21 or parameters from among the data communicated by the communication unit 17.
  • line data necessary to identify the cause of the abnormality can be efficiently collected from a huge amount of line data. I can do it.
  • even a user with little knowledge can easily collect only the line data for operating the device being used. can.
  • the collection condition is satisfied when the communication data is data for operating a device used by the user program 21 or parameters. Therefore, even if the user program 21 or parameters are changed, the line data collection unit 150 can collect appropriate line data.
  • the line data collection unit 150 collects line data corresponding to the changed user program 21 or parameters without requiring the user to take the trouble of resetting the collection conditions every time the user program 21 or parameters are changed. be able to.
  • the data storage unit 160 saves the plurality of device data stored in the first buffer and the plurality of line data stored in the second buffer. It is saved in the auxiliary memory 13 of the PLC 10.
  • the storage condition is a condition that determines the timing for moving multiple device data and multiple line data from the main memory 12 to the auxiliary memory 13.
  • the storage condition may be such that when at least one of the size of the plurality of device data stored in the first buffer and the size of the plurality of line data stored in the second buffer exceeds a predetermined threshold, It is filled.
  • the storage condition may be satisfied when a predetermined periodic timing arrives.
  • the data storage unit 160 stores a plurality of device data and a plurality of line data in a storage destination set by the user in a storage format set by the user.
  • the user can specify a desired data folder in the auxiliary memory 13 as the storage destination.
  • the user can specify a desired data file format as the storage format.
  • the parameter setting unit 120 sets the storage destination and storage format according to such user specifications.
  • the user can freely specify the storage destination and storage format. Therefore, a plurality of device data and a plurality of line data associated with time information can be stored for easy use by the user.
  • the data output unit 170 outputs the plurality of device data and the plurality of line data stored by the data storage unit 160 to the interface device 20. Specifically, when a predetermined output timing arrives or in response to a request from the interface device 20, the data output unit 170 outputs the plurality of device data and the plurality of line data stored by the data storage unit 160. is transmitted to the interface device 20 via the communication unit 17.
  • the display output unit 220 acquires multiple device data and multiple line data output from the PLC 10, and displays the acquired multiple device data and multiple line data. Specifically, upon acquiring a plurality of device data and a plurality of line data from the PLC 10, the display output section 220 displays the display screen 40 shown in FIG. 6 on the LCD in the output section 16.
  • the display output unit 220 displays a display screen 40 that includes a program monitor 41, a line data list 42, a device data list 43, and a device monitor 44.
  • the program monitor 41 displays the contents of the user program 21.
  • the line data list 42 displays a list of a plurality of line data collected by the PLC 10.
  • the device data list 43 displays a list of a plurality of device data collected by the PLC 10.
  • the device monitor 44 displays current values of multiple devices. In this way, the display output section 220 displays the plurality of line data and the plurality of device data stored by the data storage section 160 in a list format.
  • the user can select any one of the plurality of line data displayed in the line data list 42 and the plurality of device data displayed in the device data list 43.
  • Data or device data can be selected.
  • the user operates the input unit 15 of the interface device 20 to click desired line data or device data from the line data list 42 and the device data list 43.
  • the selection unit 230 selects one of the plurality of device data displayed by the display output unit 220 or one of the plurality of line data displayed by the display output unit 220. Select one of the line data.
  • the display output unit 220 displays the time associated with the selected device data among the plurality of line data displayed in the line data list 42. Highlight the line data associated with the closest time information.
  • the display output unit 220 selects the most suitable time information associated with the selected line data among the plurality of device data displayed in the device data list 43. Highlight device data with associated time information.
  • FIG. 7 shows an example where one device data or one line data is selected.
  • the display output unit 220 displays the time of the selected device data among the plurality of line data displayed in the line data list 42.
  • the line data surrounded by a broken line is highlighted as the line data with the closest time to "2021/11/10 9:00:16:100".
  • the display output unit 220 displays the selected line data from among the plurality of device data displayed in the device data list 43.
  • the device data surrounded by a broken line is highlighted as the device data with the closest time to "2021/11/10 9:00:16:100" which is the time of the line data.
  • the data should be displayed in a manner that allows it to be distinguished from other data, such as displaying the data in a different color or size from other data, or displaying the data in a blinking manner. means.
  • the user can select any one device from among the multiple devices displayed on the device monitor 44.
  • the user operates the input unit 15 of the interface device 20 to click on a desired device from the device monitor 44.
  • the selection unit 230 selects one of the plurality of devices displayed by the display output unit 220 in accordance with such user operations. Note that when selecting a device, the user is not limited to selecting a device from among the plurality of devices displayed on the device monitor 44, and may select a device used in the user program 21.
  • the display output unit 220 selects one of the plurality of device data displayed in the device data list 43 and the plurality of line data displayed in the line data list 42. Highlights all device data and line data that operated the device.
  • FIG. 8 shows an example where one device from the device monitors 44 is selected.
  • the display output unit 220 displays all the device data whose target is “D6” among the plurality of device data displayed in the device data list 43. Highlight device data. Specifically, the display output unit 220 highlights a plurality of device data surrounded by broken lines in FIG. 8 .
  • the display output unit 220 also highlights the line data that is closest to the time information associated with each device data whose target is "D6" among the plurality of line data displayed in the line data list 42. do. Specifically, the display output unit 220 highlights the plurality of line data surrounded by broken lines in FIG. 8 .
  • the data collection process shown in FIG. 9 is an example of a data collection method executed by the PLC 10.
  • the data collection process starts when the PLC 10 receives an instruction to execute the user program 21.
  • the user program 21 is created in advance by the program creation section 210 in the interface device 20, and is acquired by the program acquisition section 110 in the PLC 10.
  • the processor 11 of the PLC 10 functions as the program execution unit 130 and executes the user program 21 (step S11).
  • the processor 11 When the user program 21 is executed, the processor 11 functions as the device data collection unit 140 and collects device data stored in the device referenced when the user program 21 is executed (step S12). Then, the processor 11 stores the collected device data in the first buffer in association with the time information at which the device data was collected (step S13).
  • the processor 11 determines whether or not it has communicated with the external device 30 via the communication unit 17 (step S14). When communicating with the external device 30 (step S14; YES), the processor 11 next determines whether the communication data satisfies the collection conditions (step S15).
  • the processor 11 If it is determined that the communication data satisfies the collection conditions (step S14; YES), the processor 11 functions as the line data collection unit 150 and collects the communication data as line data (step S16). Then, the processor 11 stores the collected line data in the second buffer in association with the time information at which the line data was communicated (step S17).
  • step S14 if the processor 11 is not communicating with the external device 30 (step S14; NO), or if the communication data does not satisfy the collection conditions even if it is communicating with the external device 30 (step S15; NO), the processor 11 skips steps S16 and S17.
  • the processor 11 determines whether a predetermined storage condition is satisfied (step S18). If the storage condition is satisfied (step S18; YES), the processor 11 functions as the data storage section 160 and stores the device data and line data in the auxiliary memory 13 (step S19). On the other hand, if the storage condition is not satisfied (step S18; NO), the processor 11 skips step S19.
  • the processor 11 After that, the processor 11 returns the process to step S11. Then, the processor 11 repeats the processes of steps S11 to S19 until the execution of the user program 21 is finished, and collects device data and line data during the process. With the above, the collection process shown in FIG. 9 ends.
  • the display output process shown in FIG. 10 is an example of a display output method executed by the interface device 20.
  • the display output process is executed by the display output unit 220 when the interface device 20 receives a command to display device data and line data.
  • the display output unit 220 acquires the device data and line data collected and stored in the PLC 10 (step S21).
  • the display output unit 220 displays the acquired device data and line data (step S22). For example, the display output unit 220 displays a display screen 40 including a program monitor 41, a line data list 42, a device data list 43, and a device monitor 44, as shown in FIG.
  • the display output unit 220 determines whether any device data has been selected by the user from the displayed device data list 43 (step S23). If device data is selected (step S23; YES), the display output unit 220 highlights the line data whose time is closest to the time of the selected device data, as shown in FIG. 7 (step S24). .
  • step S23 if device data is not selected (step S23; NO), the display output unit 220 skips step S24.
  • the display output unit 220 determines whether any line data from the displayed line data list 42 has been selected by the user (step S25). If line data is selected (step S25; YES), the display output unit 220 highlights the device data whose time is closest to the time of the selected line data (step S26), as shown in FIG. .
  • step S25 if line data is not selected (step S25; NO), the display output unit 220 skips step S26.
  • the display output unit 220 determines whether any device has been selected by the user on the device monitor 44 (step S27). If a device is selected (step S27; YES), the display output unit 220 highlights the device data and line data corresponding to the selected device, as shown in FIG. 8 (step S28).
  • step S27; NO the display output unit 220 skips step S28.
  • the display output unit 220 returns the process to step S23. Then, the display output unit 220 repeats the processing of steps S23 to S28 while the display screen 40 is displayed. This allows the user to recognize the relationship between device data and line data when the user program 21 is executed.
  • the PLC 10 collects a plurality of device data stored in a plurality of devices that are storage areas referenced by the program execution unit 130, and each of the collected device data is associated with the time information at which each device data was collected, a plurality of line data that satisfy the collection conditions are collected from among the data communicated by the communication unit 17, and each line data is Correlate with the communicated time information.
  • Embodiment 2 Next, a second embodiment will be described. Descriptions of configurations and functions similar to those in Embodiment 1 will be omitted as appropriate.
  • the collection conditions for the line data collection unit 150 to collect line data are such that the data communicated by the communication unit 17 is transmitted by the user program 21 or the device being used with preset parameters. If the data to be manipulated is met.
  • the collection condition is satisfied when the data communicated by the communication unit 17 is data related to the function used by the user program 21 or preset parameters. It will be done.
  • the collection conditions in Embodiments 1 and 2 can be referred to as “first collection conditions” and "second collection conditions,” respectively.
  • data related to a function used by the user program 21 or preset parameters means data required to realize the function.
  • data related to the function is SNTP (Simple Network Time Protocol). Therefore, in this case, SNTP satisfies the collection condition.
  • SMB Server Message Block
  • the line data collection unit 150 accesses the communication unit 17 and determines whether the communication data satisfies the collection conditions set in this way. do. As a result of the determination, the line data collection unit 150 does not collect communication data that does not satisfy the collection conditions, but collects data that satisfies the collection conditions as line data.
  • the line data collection unit 150 stores the collected line data in a second buffer, which is a storage area on the main memory 12, in association with time information at which the line data was communicated.
  • the other configurations and functions are the same as in the first embodiment.
  • the line data collection unit 150 collects line data related to the functions used in the user program 21 or parameters from among the data communicated by the communication unit 17.
  • line data necessary to identify the cause of the abnormality can be efficiently collected from a huge amount of line data. I can do it. Further, since there is no need to be aware of the protocols used by each function, even a user with little knowledge can easily collect only the line data of the protocols related to each function.
  • the collection condition is satisfied when the communication data is data related to a function used in the user program 21 or parameters. Therefore, even if the user program 21 or parameters are changed, the line data collection unit 150 can collect appropriate line data.
  • the line data collection unit 150 collects line data corresponding to the changed user program 21 or parameters without requiring the user to take the trouble of resetting the collection conditions every time the user program 21 or parameters are changed. be able to.
  • the user can, for example, manually set which of the collection conditions described in Embodiment 1 and the collection conditions described in Embodiment 2 is to be used.
  • the collection conditions described in Embodiment 1 and the collection conditions described in Embodiment 2 may be combined using a logical OR or AND and used as conditions for the line data collection unit 150 to collect line data. good.
  • processor 11 may also be dedicated hardware.
  • the dedicated hardware is, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • each part may be realized by dedicated hardware, and the other part may be realized by software or firmware.
  • the processor 11 can implement the above-mentioned functions using hardware, software, firmware, or a combination thereof.
  • the distribution method of such programs is arbitrary; for example, it can be distributed on computer-readable recording media such as CD-ROM (Compact Disk ROM), DVD (Digital Versatile Disk), MO (Magneto Optical Disk), memory card, etc. It may be stored and distributed, or it may be distributed via a communication network such as the Internet.
  • CD-ROM Compact Disk ROM
  • DVD Digital Versatile Disk
  • MO Magnetic Optical Disk
  • memory card etc. It may be stored and distributed, or it may be distributed via a communication network such as the Internet.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

Dans un contrôleur logique programmable (10), une unité de communication (17) communique avec un équipement externe (30). Une unité d'exécution de programme (130) exécute un programme utilisateur pour commander un objet commandé. Une unité de collecte de données de dispositif (140) collecte une pluralité d'ensembles de données de dispositif stockées dans une pluralité de dispositifs, qui sont des zones de stockage référencées par l'unité d'exécution de programme (130), et associe et stocke, dans une première mémoire tampon, chacun de la pluralité d'ensembles de données de dispositif avec des informations concernant le moment auquel l'ensemble de données de dispositif a été collecté. Une unité de collecte de données de ligne (150) collecte une pluralité d'ensembles de données de ligne qui satisfont des conditions de collecte à partir des données communiquées par l'unité de communication (17), et associe et stocke, dans une seconde mémoire tampon, la pluralité d'ensembles de données de ligne avec des informations concernant le moment auquel chaque ensemble de données de ligne a été communiqué. Une unité de sortie de données (170) délivre la pluralité d'ensembles de données de dispositif stockées dans la première mémoire tampon et la pluralité d'ensembles de données de ligne stockées dans la seconde mémoire tampon.
PCT/JP2022/021567 2022-05-26 2022-05-26 Contrôleur logique programmable, système de commande, procédé de collecte de données et programme WO2023228357A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2022/021567 WO2023228357A1 (fr) 2022-05-26 2022-05-26 Contrôleur logique programmable, système de commande, procédé de collecte de données et programme
JP2022563986A JPWO2023228357A1 (fr) 2022-05-26 2022-05-26

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/021567 WO2023228357A1 (fr) 2022-05-26 2022-05-26 Contrôleur logique programmable, système de commande, procédé de collecte de données et programme

Publications (1)

Publication Number Publication Date
WO2023228357A1 true WO2023228357A1 (fr) 2023-11-30

Family

ID=88918741

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/021567 WO2023228357A1 (fr) 2022-05-26 2022-05-26 Contrôleur logique programmable, système de commande, procédé de collecte de données et programme

Country Status (2)

Country Link
JP (1) JPWO2023228357A1 (fr)
WO (1) WO2023228357A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003302260A (ja) * 2002-04-09 2003-10-24 Denso Corp データ表示装置
JP2008033683A (ja) * 2006-07-28 2008-02-14 Omron Corp 制御システム設定装置
JP2019161388A (ja) * 2018-03-12 2019-09-19 オムロン株式会社 制御装置、制御方法、および制御プログラム
JP2019197461A (ja) * 2018-05-11 2019-11-14 オムロン株式会社 解析支援装置及び解析支援方法
JP2020013526A (ja) * 2018-10-23 2020-01-23 株式会社キーエンス プログラマブルロジックコントローラおよびメインユニット

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003302260A (ja) * 2002-04-09 2003-10-24 Denso Corp データ表示装置
JP2008033683A (ja) * 2006-07-28 2008-02-14 Omron Corp 制御システム設定装置
JP2019161388A (ja) * 2018-03-12 2019-09-19 オムロン株式会社 制御装置、制御方法、および制御プログラム
JP2019197461A (ja) * 2018-05-11 2019-11-14 オムロン株式会社 解析支援装置及び解析支援方法
JP2020013526A (ja) * 2018-10-23 2020-01-23 株式会社キーエンス プログラマブルロジックコントローラおよびメインユニット

Also Published As

Publication number Publication date
JPWO2023228357A1 (fr) 2023-11-30

Similar Documents

Publication Publication Date Title
EP3246827B1 (fr) Procédé pour automatiser une configuration d'historique au moyen d'un attribut de métadonnées basé sur un contrôleur
CN110050237B (zh) 数据收集装置、数据收集方法及记录介质
US20060217842A1 (en) Network opening method in manufacturing
EP3767410A1 (fr) Système de commande, contrôleur et procédé de commande
WO2023228357A1 (fr) Contrôleur logique programmable, système de commande, procédé de collecte de données et programme
WO2019176386A1 (fr) Système de commande, procédé de commande et programme de commande
JP2022158228A (ja) 監視装置およびプログラマブルロジックコントローラシステム
JP7102801B2 (ja) 制御システム、制御装置および表示装置
JP6322122B2 (ja) 中央監視制御システム、サーバ装置、検出情報作成方法、及び、検出情報作成プログラム
US11215974B2 (en) Factory automation (FA) system, controller, and control method
US11226611B2 (en) Control device, control method, and control program
JP6969454B2 (ja) 制御装置、制御方法、および、制御プログラム
EP3506034B1 (fr) Système de commande
WO2015162792A1 (fr) Unité fonctionnelle, unité d'entrée analogique, et système contrôleur programmable
JP5360382B2 (ja) Plcのプログラム開発支援装置
JP7412119B2 (ja) データ活用システム
JP5413793B2 (ja) 測定システム
JP2022158229A (ja) プログラマブルロジックコントローラシステム

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022563986

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: 22943759

Country of ref document: EP

Kind code of ref document: A1