WO2018037513A1 - Programmable logic controller - Google Patents

Programmable logic controller Download PDF

Info

Publication number
WO2018037513A1
WO2018037513A1 PCT/JP2016/074711 JP2016074711W WO2018037513A1 WO 2018037513 A1 WO2018037513 A1 WO 2018037513A1 JP 2016074711 W JP2016074711 W JP 2016074711W WO 2018037513 A1 WO2018037513 A1 WO 2018037513A1
Authority
WO
WIPO (PCT)
Prior art keywords
comment
command
plc
history information
information
Prior art date
Application number
PCT/JP2016/074711
Other languages
French (fr)
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/JP2016/074711 priority Critical patent/WO2018037513A1/en
Priority to CN201680088579.9A priority patent/CN109643091B/en
Priority to JP2017512057A priority patent/JP6207799B1/en
Publication of WO2018037513A1 publication Critical patent/WO2018037513A1/en

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 that controls equipment in the FA (Factory Automation) field.
  • FIG. 1 Facilities in the FA field are generally realized by combining multiple devices.
  • a plurality of devices constituting equipment in the FA field are controlled by a programmable logic controller that integrates control processing and information processing (see Patent Document 1 and Patent Document 2).
  • the programmable logic controller shown in Patent Document 1 stores the change of the control program for controlling the device as history information
  • the programmable logic controller shown in Patent Document 2 stores the operation timing of the device as history information. Yes.
  • the programmable logic controllers shown in Patent Literature 1 and Patent Literature 2 store history information, thereby facilitating investigation of the cause when a problem occurs in equipment in the FA field.
  • Patent Document 1 and Patent Document 2 since the programmable logic controller shown in Patent Document 1 and Patent Document 2 only stores the change of the control program or the operation timing of the device as history information, the cause when a problem occurs in the facility in the FA field. There was a problem that it was difficult to investigate.
  • the present invention has been made in view of the above, and an object thereof is to obtain a programmable logic controller capable of easily investigating the cause when a problem occurs in equipment in the FA field.
  • the present invention provides a storage unit that stores a control program, and at least a part of a command other than a change in the control program that accepts a command and receives the command. And a control unit that acquires a comment associated with the command.
  • the programmable logic controller includes a history storage unit that stores history information in which at least some commands are associated with acquired comments.
  • the programmable logic controller according to the present invention has an effect that it is easy to investigate the cause when a problem occurs in the facility in the FA field.
  • FIG. Functional block diagram of the programmable logic controller according to the first embodiment The figure which shows the hardware constitutions of the programmable logic controller which concerns on Embodiment 1.
  • history information created by the flowchart shown in FIG. The figure which shows the other example of the comment setting screen displayed on the display apparatus of a computer, when adding a comment to the log
  • FIG. 1 is a diagram illustrating a configuration of a control system including a programmable logic controller according to the first embodiment.
  • FIG. 2 is a diagram illustrating an example of comment necessity information stored by the programmable logic controller illustrated in FIG.
  • FIG. 3 is a diagram illustrating an example of history information stored in the programmable logic controller illustrated in FIG. 1.
  • the control system 1 constitutes equipment in the FA (Factory Automation) field, and as shown in FIG. 1, a plurality of devices 2, 3, 4 installed in the facility and a plurality of devices 2, 3, 4 Programmable Logic Controllers (hereinafter referred to as PLC) 5, a computer 6 connected to PLC 5, and an HMI (Human Machine Interface) 7 connected to PLC 5.
  • PLC Programmable Logic Controller
  • the devices 2, 3, and 4 are sensors or driving devices. Examples of the sensor include a sensor that detects a flow rate, pressure, concentration, or temperature installed in the facility.
  • the drive device include a drive device that performs an operation that is a switch, an adjustment valve, a solenoid valve, a motor, or a pump installed in the facility.
  • control system 1 includes a network N that connects the devices 2, 3, 4, the PLC 5, the computer 6, and the HMI 7 so that they can communicate with each other.
  • the network N is a computer network that connects the computer 6, the PLC 5, and the HMI 7 so that they can communicate with each other.
  • the network N is a LAN (Local Area Network) installed in the FA facility, but the network N is not limited to the LAN.
  • the computer 6 creates a control program CP to be executed by the PLC 5 and transmits it to the PLC 5.
  • the PLC 5 controls the devices 2, 3, and 4 by executing the control program CP.
  • the PLC 5 is defined by JIS (Japanese Industrial Standards) B 3502: 2011.
  • the HMI 7 is used for a user to input various commands to the PLC 5.
  • the HMI 7 is a touch panel type terminal device in Embodiment 1, but the HMI 7 is not limited to a touch panel type terminal device.
  • the PLC 5 includes a memory 51 for storing information, a power switch 52 for turning on / off the power of the PLC 5, a reset switch 53 for resetting the PLC 5 itself, an external storage medium storage device 54, and an eject switch 55.
  • the external storage medium storage device 54 is detachable from the external storage medium, and stores the parameters acquired during execution of the control program CP in the external storage medium in the first embodiment.
  • the information stored in the external storage medium is not limited to the parameters acquired during the execution of the control program CP.
  • the external storage medium storage device 54 is detached from the external storage medium when the user operates the eject switch 55.
  • the external storage medium is composed of an SD memory card (Secure Digital memory card) or an SRAM (Static Random Access Memory) cassette, but is not limited to an SD memory card or an SRAM cassette. , An optical disk, or a magneto-optical disk.
  • the eject switch 55 is operated when the external storage medium is removed from the PLC 5.
  • the power switch 52, the reset switch 53, and the eject switch 55 are switches of the PLC 5, and are physical switches that are directly operated by the user.
  • the PLC 5 accepts various commands transmitted by the switches 52, 53, 55, the computer 6 or the HMI 7 during the execution of the control program CP.
  • the commands received by the PLC 5 are a program change command for changing at least a part of the control program CP, “power on” that is an operation for the power switch 52, “power off” that is an operation for the power switch 52, and a command for the reset switch 53
  • the operation includes “manual reset” which is an operation and “eject” which is an operation on the eject switch 55.
  • the commands received by the PLC 5 are “cable attachment” indicating that the cable used for the network N is attached to the PLC 5, “cable removal” indicating that the cable used for the network N is removed from the PLC 5, the computer 6 or the HMI 7 "Remote reset” to reset the operation of the PLC 5 by the operation from the “Remote stop” to stop the execution of the control program CP of the PLC 5 by the operation from the computer 6 or HMI 7, and control to the PLC 5 by the operation from the computer 6 or the HMI 7 It includes a “remote run” that causes the program CP to be executed.
  • the command received by the PLC 5 is “a command for changing a value stored in the storage area of the memory 51” by an operation from the computer 6, and “a value stored in the storage area of the memory 51 is read by an operation from the computer 6. And a “command for writing a value to the storage area of the memory 51” by an operation from the computer 6.
  • the commands received by the PLC 5 are “commands for reading various files stored in the memory 51” by operations from the computer 6 and “commands for writing various files to the memory 51” by operations from the computer 6.
  • the various files are a setting file that defines information for executing the control program CP, or a logging file that stores parameters acquired during the execution of the control program CP. It is not limited.
  • the commands other than the change of the control program CP include “power on” that is an operation for the power switch 52, “power off” that is an operation for the power switch 52, “manual reset” that is an operation for the reset switch 53, and eject “Eject” which is an operation for the switch 55 is included.
  • the computer 6 creates comment necessity information AI shown as an example in FIG. 2 and transmits it to the PLC 5. That is, the comment necessity information AI can be set by the computer 6.
  • the comment necessity information AI is set in advance with a command that needs to be associated with a comment.
  • the comment necessity information AI associates a command and a comment on a one-to-one basis.
  • the comment necessity information AI shown in FIG. 2 includes “power on” that is an operation on the power switch 52 among commands other than the control program CP change, and “person in charge: Yamada for device test. Is associated with the comment.
  • FIG. 2 shows “power on” and “device M0 change” as commands other than the control program CP change.
  • the commands other than the control program CP change are “power on” and It is not limited to “change device M0”. That is, according to the present invention, commands other than the change of the control program CP set in the comment necessity information AI are set to “power off”, “manual reset”, “eject”, “cable attachment”, “cable removal”, “ “Remote reset”, “remote stop”, “remote run”, “command for reading the value stored in the storage area of the memory 51”, “command for writing the value stored in the storage area of the memory 51”, A “command for reading various files stored in the memory 51” or a “command for writing various files in the memory 51” may be used.
  • PLC 5 When PLC 5 receives a command set in comment necessity information AI during execution of control program CP, PLC 5 associates the comment associated with the command received in comment necessity information AI with the received command.
  • FIG. 4 is a diagram illustrating a hardware configuration of a computer of the control system according to the first embodiment.
  • the computer 6 according to the first embodiment executes a computer program, and as shown in FIG. 4, a CPU (Central Processing Unit) 61, a RAM (Random Access Memory) 62, and a ROM (Read Only Memory). ) 63, a storage device 64, an input device 65, a display device 66, and a communication interface 67.
  • the CPU 61, RAM 62, ROM 63, storage device 64, input device 65, display device 66, and communication interface 67 are connected to each other via the bus B6.
  • the CPU 61 executes programs stored in the ROM 63 and the storage device 64 while using the RAM 62 as a work area.
  • the program stored in the ROM 63 is BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface), but the program stored in the ROM 63 is not limited to BIOS or UEFI.
  • the program stored in the storage device 64 is an operating system program and a programming tool program.
  • the program stored in the storage device 64 is not limited to the operating system program and the programming tool program.
  • the storage device 64 is an SSD (Solid State Drive) or an HDD (Hard Disk Drive), but the storage device 64 is not limited to an SSD or an HDD.
  • the input device 65 receives an operation input from the user.
  • the input device 65 is a keyboard or a mouse, but is not limited to a keyboard or a mouse.
  • the display device 66 displays characters and images.
  • the communication interface 67 communicates with the PLC 5 via the network N.
  • FIG. 5 is a diagram illustrating a hardware configuration of the HMI of the control system according to the first embodiment.
  • the HMI 7 according to the first embodiment includes a CPU 71, a RAM 72, a ROM 73, a storage device 74, an input device 75, a display device 76, and a communication interface 77.
  • the CPU 71, RAM 72, ROM 73, storage device 74, input device 75, display device 76, and communication interface 77 are connected via a bus B7.
  • the display device 76 includes a liquid crystal display (LCD: Liquid Crystal Display), an organic EL display (OELD: Organic Electro-Luminescence Display), or an inorganic EL display (IELD: Inorganic Electro-Luminescence Display).
  • LCD Liquid Crystal Display
  • OELD Organic Electro-Luminescence Display
  • IELD Inorganic Electro-Luminescence Display
  • the input device 75 receives an operation input from the user.
  • the input device 75 is a touch screen superimposed on the display device 76.
  • the input device 75 detects contact or proximity of a finger, pen, or stylus pen.
  • the input device 75 detects a position on the input device 75 when a finger, a pen, or a stylus pen touches or approaches.
  • a plurality of fingers, pens, and stylus pens detected by the input device 75 may be collectively referred to as “finger”.
  • a position where the finger detected by the input device 75 is in contact with or close to the finger may be referred to as a “detected position”.
  • the input device 75 transmits the finger contact together with the detection position to the CPU 71.
  • the input device 75 includes a touch screen that employs a capacitance method, a resistive film method, a surface acoustic wave method, an ultrasonic method, an infrared method, an electromagnetic induction method, or a load detection method as a detection method.
  • the communication interface 77 communicates with the PLC 5 via the network N.
  • the CPU 71 executes a program stored in the ROM 73 while using the RAM 72 as a work area.
  • the program stored in the ROM 73 is realized by software, firmware, or a combination of software and firmware.
  • the CPU 71 detects the finger contact detected by the input device 75, the detection position where the contact is detected, the change in the detection position where the contact is detected, the interval at which the finger contact is detected, and the number of times the finger contact is detected.
  • the type of gesture is determined based on at least one of the following.
  • a gesture is an operation performed on the input device 75 using a finger.
  • the gestures that the CPU 71 determines via the input device 75 include, but are not limited to, touch, long touch, release, swipe, tap, double tap, long tap, drag, flick, pinch in, and pinch out.
  • the storage device 74 has an area for storing information that can be read by a computer.
  • the storage device 74 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory.
  • a nonvolatile semiconductor memory or a volatile semiconductor memory a RAM, a ROM, a flash memory, an EPROM, or an EEPROM can be used.
  • the storage device 74 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
  • FIG. 6 is a functional block diagram of the programmable logic controller according to the first embodiment.
  • the PLC 5 is a unit that executes the control program CP, acquires and stores information on the devices 2, 3, and 4, and controls the operation of the devices 2, 3, and 4.
  • the PLC 5 is a unit that receives a command during execution of the control program CP, and stores history information HI in which a command received according to the comment necessity information AI is associated with a comment.
  • the PLC 5 stores a storage unit 56 that stores the control program CP and comment necessity information AI.
  • the PLC 5 includes a history storage unit 58 that stores history information HI, a control unit 59 that is connected to the computer 6 and the HMI 7 and receives commands, a monitoring unit 81 that monitors the history information HI stored in the history storage unit 58, A notification unit 82 connected to the monitoring unit 81.
  • Operation units operated by the user of the power switch 52, the reset switch 53, and the eject switch 55 are exposed to the outside of the PLC 5.
  • the power switch 52, the reset switch 53, and the eject switch 55 are push button switches that can push the operation unit, but are not limited to push button switches.
  • a control program CP created using the computer 6 is written through the control unit 59, and a part of the control program CP is executed by the computer 6 through the control unit 59 during execution of the control program CP. Is changed.
  • comment necessity storage unit 57 comment necessity information AI created using the computer 6 is written via the control unit 59.
  • the control unit 59 executes the control program CP to control the devices 2, 3, and 4.
  • the control unit 59 receives a command during execution of the control program CP.
  • the control unit 59 associates the command with a comment that is set to need to be associated with the comment necessity information AI.
  • the comment is acquired from the comment necessity information AI.
  • the control unit 59 stores, in the history storage unit 58, history information HI in which a command set to be associated with a comment by the comment necessity information AI and a comment acquired from the comment necessity information AI are associated with each other.
  • the control unit 59 acquires, from the comment necessity information AI, a comment associated with a command that is set to require that a comment is associated with the comment necessity information AI.
  • a comment associated with at least a part of commands other than the CP change is acquired.
  • the command that is set to be associated with the comment is a command set in the comment necessity information AI.
  • the commands that are set to be required to be associated with a comment are a command that is associated with a comment in the comment necessity information AI, and a command that has a comment that is associated with the comment necessity information AI is “not set”. Both.
  • the history storage unit 58 stores history information HI in which a command set to be required to be associated with a comment by the comment necessity information AI and a comment acquired from the comment necessity information AI are associated with each other.
  • the history storage unit 58 stores the history information HI in which the command set to be required to be associated with the comment by the comment necessity information AI and the comment acquired from the comment necessity information AI are associated with each other.
  • the history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 is associated with the comments acquired by the control unit 59 is stored.
  • the monitoring unit 81 determines whether or not there is a command in the history information HI in which a comment is set to be associated with the comment necessity information AI and the comment is not supported during execution of the control program CP of the control unit 59. The determination is made every predetermined time set in advance. That is, the monitoring unit 81 determines whether a command that is set in the comment necessity information AI and is not associated with a comment exists in the history information HI while the control program CP of the control unit 59 is being executed. The determination is made every predetermined time.
  • the notification unit 82 notifies the user that a command not attached is present in the history information HI.
  • the notification unit 82 is set so that a comment is associated with the history information HI stored in the history storage unit 58 by the comment necessity information AI during execution of the control program CP of the control unit 59 and the comment is not supported. Notify the user that the command exists.
  • the notification unit 82 notifies the user by emitting or blinking yellow or red light, but the notification method of the notification unit 82 is not limited to this.
  • FIG. 7 is a diagram illustrating a hardware configuration of the programmable logic controller according to the first embodiment.
  • the PLC 5 includes a CPU unit 5A that processes and executes the control program CP, and an I / O (Input / Output) unit 5B connected to the devices 2, 3, and 4.
  • I / O Input / Output
  • three I / O units 5B are provided and connected to one of the devices 2, 3, and 4, respectively.
  • the I / O unit 5B includes at least a circuit board 5B1 and a CPU (not shown) that is mounted on the circuit board 5B1 and stores and executes a computer program.
  • the CPU unit 5A includes a circuit board 5A1, a CPU 5A2 that is mounted on the circuit board 5A1 and executes the control program CP, and a memory 51 that is connected to the CPU 5A2 via the internal bus B1.
  • the CPU unit 5A includes a communication interface 5A4 for communicating with the computer 6, a bus interface 5A5 connected to the I / O unit 5B, a control program CP, a computer program for calculating history information HI, and a computer program for monitoring the history information HI.
  • the CPU 5A2, memory 51, communication interface 5A4, bus interface 5A5, storage device 5A6, LED 5A7, power switch 52, reset switch 53, eject switch 55, and external storage medium storage device 54 are connected via the internal bus B1. ing.
  • the bus interface 5A5 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2.
  • the bus interface 5A5 is connected to the I / O unit 5B via the expansion bus B2.
  • the storage device 5A6 is an SSD or an HDD, but is not limited to an SSD or an HDD.
  • control unit 59 and the monitoring unit 81 that is, the function of the PLC 5, read and execute the control program CP stored in the storage device 5A6, the computer program for calculating the history information HI, and the computer program for monitoring the history information HI. It is realized by doing.
  • the control program CP, the computer program for calculating the history information HI, and the computer program for monitoring the history information HI are realized by software, firmware, or a combination of software and firmware.
  • the functions of the storage unit 56, the comment necessity storage unit 57, and the history storage unit 58 are realized by the storage device 5A6.
  • the function of the notification unit 82 is realized by the LED 5A7.
  • the LED 5A7 is turned on or blinked when notifying the user by the CPU 5A2 and is turned off when not informing the user.
  • the memory 51 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory.
  • RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory) can be used.
  • the memory 51 may be composed of at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
  • FIG. 8 is a flowchart illustrating an example of an operation for creating history information of the programmable logic controller according to the first embodiment.
  • FIG. 9 is a diagram showing an example of history information created by the flowchart shown in FIG.
  • FIG. 10 is a flowchart illustrating an example of an operation of monitoring history information of the programmable logic controller according to the first embodiment.
  • FIG. 11 is a diagram showing an example of a comment setting screen displayed on the display device of the computer when a comment is added to the history information shown in FIG.
  • FIG. 12 is a diagram illustrating an example of a state in which a comment is added to the history information illustrated in FIG. 9.
  • the PLC 5 stores the comment necessity information AI in the comment necessity storage unit 57 before executing the control program CP.
  • the PLC 5 stores the comment necessity information AI shown in FIG.
  • the PLC 5 controls the devices 2, 3, and 4 by executing the control program CP.
  • the PLC 5 receives a command during the execution of the control program CP, the PLC 5 executes the flowchart shown in FIG.
  • the PLC 5 accepts a command when executing the flowchart shown in FIG. 8 (step ST1).
  • the PLC 5 refers to the comment necessity information AI stored in the comment necessity storage unit 57 (step ST2).
  • the PLC 5 determines whether the received command is set in the comment necessity information AI, that is, whether it is necessary to associate a comment with the received command (step ST3). If the PLC 5 determines that it is not necessary to associate a comment with the received command (step ST3: No), the flowchart shown in FIG.
  • the PLC 5 acquires a comment associated with the received command from the comment necessity information AI, and acquires the received command and acquisition.
  • the history information HI-1A shown in FIG. 9 in which the comment is associated with the date and time when the command is received is stored (step ST4), and the flowchart shown in FIG. 8 is ended.
  • the PLC 5 executes the flowchart shown in FIG. 8 to create the history information HI-1A shown in FIG.
  • the history information HI-1A shown in FIG. 9 stores commands in the order received.
  • the history information HI-1A illustrated in FIG. 9 associates a comment with each of the command “power on”, the command “power on”, and the command “change device M0”.
  • the comment associated with the command “write during RUN” of the comment necessity information AI shown in FIG. 2 is “not set”, the history information HI-1A shown in FIG. No comment is associated with “writing during RUN”.
  • the PLC 5 executes the flowchart shown in FIG. 10 every predetermined time during the execution of the control program CP.
  • PLC5 performs the flowchart shown in FIG. 10 independently of the flowchart shown in FIG.
  • the PLC 5 executes the flowchart shown in FIG. 10 first, the history information HI stored in the history storage unit 58 is referred to, and whether or not there is a command with no comment associated with the history information HI. Determine.
  • the PLC 5 acquires a command with no comment associated with the history information HI (step ST11).
  • step ST11 the PLC 5 ends the flowchart shown in FIG. 10 when there is no command that is not associated with the history information HI.
  • the PLC 5 refers to the comment necessity information AI in the comment necessity storage unit 57 (step ST12).
  • the PLC 5 determines whether or not a command not associated with the comment acquired in step ST11 is set in the comment necessity information AI (step ST13).
  • the PLC 5 determines that the command not associated with the comment acquired in step ST11 is set in the comment necessity information AI (step ST13: Yes)
  • the PLC 5 notifies the notification unit 82 (step ST14). Then, the flowchart shown in FIG.
  • the PLC 5 determines that the command not associated with the comment acquired in step ST11 is not set in the comment necessity information AI (step ST13: No)
  • the flowchart shown in FIG. 10 ends.
  • the history information HI-1A shown in FIG. 9 does not associate a comment with the command “write during RUN”.
  • the PLC 5 obtains a command “write during RUN” not associated with a comment from the history information HI-1A.
  • the comment necessity information AI shown in FIG. 2 sets the command “write during RUN”.
  • the PLC 5 causes the notification unit 82 to notify in step ST14.
  • the comment setting screen 100 determines a command information display area 101 for displaying information of a command not associated with a comment, a comment input area 102 for inputting a comment, and a comment input to the comment input area 102 And an area 103.
  • the user operates the input device 65 to input a comment in the comment input area 102 of the comment setting screen 100 shown in FIG.
  • the history information HI-1A as shown in FIG. 12, a comment is added to a command not associated with a comment.
  • the command information display area 101 of the comment setting screen 100 shown in FIG. 11 displays information of the command “write during RUN”.
  • the user inputs “person in charge: Yamada change contents Y” as a comment in the comment input area 102 of the comment setting screen 100 shown in FIG.
  • the comment “person in charge: Yamada change Y” is added to the command “write in RUN”.
  • the PLC 5 stores the history information HI-1A shown in FIG. 12, so that the control unit 59 accepts the program change command, and the history storage unit 58 accepts the program change received by the control unit 59. History information HI-1A in which commands and comments are associated is stored.
  • FIG. 13 is a diagram illustrating another example of comment necessity information of the programmable logic controller according to the first embodiment.
  • FIG. 14 is a diagram showing another example of the history information created by the flowchart shown in FIG.
  • FIG. 15 is a diagram showing another example of a comment setting screen displayed on the display device of the computer when a comment is added to the history information shown in FIG.
  • FIG. 16 is a diagram illustrating an example of a state in which a comment is added to the history information illustrated in FIG.
  • the user performs “power on” that is an operation on the power switch 52 among commands other than the change of the control program CP, and “power off” that is an operation on the power switch 52 among commands other than the change of the control program CP.
  • the PLC 5 may desire to associate a comment with the command “manual reset” in the history information HI.
  • the comment necessity information AI-1 associates the command “power-on” with the comment “person in charge: Sato regular start-up”, the command “power-off”, A comment “Responsible person: Sato Regular end” is associated.
  • the comment associated with the command “manual reset” is “not set”.
  • the PLC 5 executes the flowchart shown in FIG. 8 to execute the history information shown in FIG. HI-1B is created.
  • the history information HI-1B shown in FIG. 14 stores commands in the order received.
  • the history information HI-1B shown in FIG. 14 associates a comment with each of the command “power on” and the command “power off”.
  • the comment associated with the command “manual reset” of the comment necessity information AI-1 shown in FIG. 13 is “not set”, the history information HI-1B shown in FIG. No comment is associated with the command “Manual reset”.
  • the user When associating a comment with the command “manual reset” of the history information HI-1B shown in FIG. 14, the user operates the input device 65 of the computer 6 to display the comment setting screen 100 shown in FIG. 66. The user operates the input device 65 to input a comment in the comment input area 102 of the comment setting screen 100 and operate the determination area 103 as shown in FIG. Then, in the history information HI-1B, as shown in FIG. 16, a comment is added to the command “manual reset”. In the first embodiment, the user enters a comment in the comment input area 102 of the comment setting screen 100 shown in FIG. 15 as “Responsible person: Sato, because the control system has entered an abnormal state, and is manually reset. The history information HI-1B shown in FIG. 16 is commented on the command “Manual reset”. “Responsible person: Sato Reset manually because the control system is in an abnormal state. It is as follows. "
  • the history storage stores the history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with the comments.
  • Part 58 is provided.
  • the PLC 5 stores commands other than the change of the control program CP in association with the comments.
  • the PLC 5 When the PLC 5 receives a command set to require that a comment is associated with the comment necessity information AI, the PLC 5 stores the history information HI in which the received command is associated with the comment in the history storage unit 58.
  • a preset command can be stored in association with a comment.
  • the PLC 5 can change the comment associated with the command because the comment necessity information AI can be set by the computer 6.
  • the PLC 5 receives a comment for the accepted command when receiving a command set to require a comment to be associated with the comment necessity information AI.
  • a command can be associated with a comment without input.
  • the PLC 5 includes the notification unit 82 that notifies that there is a command for which no comment is set in the history information HI, it is possible to grasp that the command not associated with the comment is stored in the history information HI. it can.
  • the PLC 5 can store the operation on the switches 52, 53, and 55 in the history information HI in association with the comment.
  • the PLC 5 since the PLC 5 stores the program change command in the history information HI in association with the comment in addition to the command other than the change of the control program CP, the history of the control system 1 can be grasped.
  • the PLC 5 is “powered on” every morning and “powered off” every night, and the “manual reset” operation for the reset switch 53 is not often performed.
  • the PLC 5 receives the “manual reset” during the execution of the control program CP, and as shown in FIG. 16, the history information HI
  • the reason why “manual reset” needs to be performed on -1B can be recorded in a comment, which can be used for analysis when a problem occurs in the subsequent operation.
  • the PLC 5 adds a comment to the command “manual reset” by setting the comment associated with the command “manual reset” to “unset” in the comment necessity information AI-1 Can do.
  • the PLC 5 can associate the reason for the manual reset input by the user as a comment with respect to the command “manual reset” as shown in the history information HI-1B shown in FIG. It is possible to easily solve the problem that has occurred.
  • FIG. 17 is a diagram illustrating an example of comment necessity information stored by the programmable logic controller according to the second embodiment.
  • FIG. 18 is a flowchart illustrating an example of an operation of creating history information of the programmable logic controller according to the second embodiment.
  • FIG. 19 is a diagram showing an example of history information created by the flowchart shown in FIG. 17 to 19, the same parts as those of the first embodiment are denoted by the same reference numerals and the description thereof is omitted.
  • the PLC 5 according to the second embodiment has the same configuration as that of the first embodiment except that a part of the process of the flowchart for creating the history information HI is different from that of the first embodiment.
  • the user changes the value stored in the storage area of the memory 51, adjusts the operation of each device 2, 3, 4 of the control system 1 and stores the value in the storage area of the memory 51. Set the value to the optimal value.
  • the user desires to store the status when the value stored in the storage area of the memory 51 is changed in the history information HI.
  • the user sets the comment necessity information AI-2 shown in FIG. 17 by the computer 6 and transmits it to the PLC 5.
  • the comment necessity information AI-2 stored in the PLC 5 is a command “device” which is a command for changing a value stored in the storage area “D0” of the memory 51, as shown in FIG. “D0 change” is set.
  • the comment associated with the command “change device D0” is “not set” because the user wants to sequentially input comments.
  • the control unit 59 of the PLC 5 stores a predetermined number of commands that are set in the comment necessity information AI-2 and the comment is “not set” in the history information HI, and “not set”. After the number of stored commands exceeds a predetermined number, the notification unit 82 notifies the user.
  • the predetermined number of the PLC 5 is 2, but the predetermined number is not limited to 2.
  • the PLC 5 When the history information HI is created, the PLC 5 according to the second embodiment stores the command “change device D0” in the history information HI (step ST4), and then the comment stored in the history information HI is “not set”. It is determined whether or not the number of commands “change device D0” exceeds a predetermined number (step ST5). When the PLC 5 determines that the number of commands “change device D0” whose comment stored in the history information HI is “not set” does not exceed a predetermined number (step ST5: No), the process returns to step ST1. In the second embodiment, the PLC 5 determines that the number of commands “change device D0” whose comment is “unset” is 1 or 2, and does not exceed the predetermined number (step ST5: No). Return to step ST1.
  • step ST5: Yes When the PLC 5 determines that the number of commands “change device D0” whose comment stored in the history information HI is “not set” has exceeded a predetermined number (step ST5: Yes), the notification unit 82 is used to notify the user. Is notified that the predetermined number has been exceeded (step ST6), and the flowchart shown in FIG. 18 is terminated.
  • step ST6 when the number of commands “change device D0” whose comment is “not set” is 3, the PLC 5 determines that the predetermined number has been exceeded (step ST5: Yes) and notifies the user. Then (step ST6), the flowchart shown in FIG.
  • the history information HI-2 shown in FIG. 19 stores a command “change device D0” exceeding a predetermined number.
  • the user inputs a comment to each command “change device D0”.
  • the PLC 5 has history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 is stored, the cause when a problem occurs in the control system 1 can be easily determined, and the cause when a problem occurs in equipment in the FA field can be easily determined. be able to.
  • the PLC 5 notifies the notification unit 82 when the number of commands stored in the history information HI and whose comment is “unset” exceeds a predetermined number. Comments can be entered as appropriate in the “setting” command.
  • FIG. 20 is a functional block diagram of the programmable logic controller according to the third embodiment.
  • the same parts as those of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
  • the comment necessity information AI is directly input from the computer 6 to the comment necessity storage unit 57 without going through the control unit 59 and through the control unit 59.
  • the configuration is the same as that of the first embodiment except that the history information HI stored in the history storage unit 58 is directly read from the computer 6.
  • the PLC 5-3 according to the third embodiment executes the same operation as that of the first embodiment, but may execute the same operation as that of the second embodiment.
  • the PLC 5-3 has a history in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 for storing the information HI is provided, it is possible to easily investigate the cause when a problem occurs in the control system 1, and to investigate the cause when a problem occurs in the facility in the FA field. It can be made easier.
  • FIG. 21 is a diagram illustrating an example of a comment setting screen notified to the user of the programmable logic controller according to the fourth embodiment.
  • the same parts as those of the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
  • the PLC 5 according to the fourth embodiment confirms the history information HI and notifies the user of the history information HI, instead of notifying the notification unit 82 in step ST14 of the flowchart of FIG. Except for displaying the comment setting screen 100 on the display device 66, the configuration is the same as in the first embodiment and the same processing as in the first embodiment is executed. Furthermore, the PLC 5 according to the fourth embodiment may display the comment setting screen 100 shown in FIG. 21 on the display device 66 and notify the notification unit 82 in step ST14.
  • the PLC 5 includes history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 is stored, the cause when a problem occurs in the control system 1 can be easily determined, and the cause when a problem occurs in equipment in the FA field can be easily determined. be able to.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Landscapes

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

Abstract

Provided is a programmable logic controller (PLC (5)), comprising a storage unit (56) which stores a control program (CP), and a control unit (59) which accepts commands and acquires comments which are associated with at least a portion of the commands, from among the accepted commands, aside from the commands for changing the control program (CP). The PLC (5) further comprises a comment requirement storage unit (57) which stores comment requirement information (AI) in which the commands for which the association of the comments therewith is required have been preset, and a history storage unit (58) which stores history information (HI) in which the at least a portion of the commands is associated with the acquired comments.

Description

プログラマブルロジックコントローラProgrammable logic controller
 本発明は、FA(Factory Automation)分野の設備を制御するプログラマブルロジックコントローラに関する。 The present invention relates to a programmable logic controller that controls equipment in the FA (Factory Automation) field.
 FA分野の設備は、複数の機器を組み合わせて実現されることが一般的である。FA分野の設備を構成する複数の機器は、制御処理及び情報処理を統合したプログラマブルロジックコントローラにより制御される(特許文献1及び特許文献2参照)。 ∙ Facilities in the FA field are generally realized by combining multiple devices. A plurality of devices constituting equipment in the FA field are controlled by a programmable logic controller that integrates control processing and information processing (see Patent Document 1 and Patent Document 2).
 特許文献1に示されたプログラマブルロジックコントローラは、機器を制御する制御プログラムの変更を履歴情報として記憶し、特許文献2に示されたプログラマブルロジックコントローラは、機器の動作タイミングを履歴情報として記憶している。特許文献1及び特許文献2に示されたプログラマブルロジックコントローラは、履歴情報を記憶することにより、FA分野の設備に問題が発生した際の原因の究明を行いやすくしている。 The programmable logic controller shown in Patent Document 1 stores the change of the control program for controlling the device as history information, and the programmable logic controller shown in Patent Document 2 stores the operation timing of the device as history information. Yes. The programmable logic controllers shown in Patent Literature 1 and Patent Literature 2 store history information, thereby facilitating investigation of the cause when a problem occurs in equipment in the FA field.
特開平11-134011号公報Japanese Patent Application Laid-Open No. 11-134011 特開2003-248504号公報JP 2003-248504 A
 しかしながら、特許文献1及び特許文献2に示されたプログラマブルロジックコントローラは、制御プログラムの変更又は機器の動作タイミングを履歴情報として記憶するだけであるので、FA分野の設備に問題が発生した際の原因の究明を行いにくいという問題があった。 However, since the programmable logic controller shown in Patent Document 1 and Patent Document 2 only stores the change of the control program or the operation timing of the device as history information, the cause when a problem occurs in the facility in the FA field. There was a problem that it was difficult to investigate.
 本発明は、上記に鑑みてなされたものであって、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができるプログラマブルロジックコントローラを得ることを目的とする。 The present invention has been made in view of the above, and an object thereof is to obtain a programmable logic controller capable of easily investigating the cause when a problem occurs in equipment in the FA field.
 上述した課題を解決し、目的を達成するために、本発明は、制御プログラムを記憶する記憶部と、コマンドを受け付け、かつ、受け付けたコマンドのうちの制御プログラムの変更以外のコマンドの少なくとも一部のコマンドに対応付けられたコメントを取得する制御部と、を備えたプログラマブルロジックコントローラである。プログラマブルロジックコントローラは、少なくとも一部のコマンドと取得したコメントとを対応付けた履歴情報を記憶する履歴記憶部を備える。 In order to solve the above-described problems and achieve the object, the present invention provides a storage unit that stores a control program, and at least a part of a command other than a change in the control program that accepts a command and receives the command. And a control unit that acquires a comment associated with the command. The programmable logic controller includes a history storage unit that stores history information in which at least some commands are associated with acquired comments.
 本発明に係るプログラマブルロジックコントローラは、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができる、という効果を奏する。 The programmable logic controller according to the present invention has an effect that it is easy to investigate the cause when a problem occurs in the facility in the FA field.
実施の形態1に係るプログラマブルロジックコントローラを備える制御システムの構成を示す図The figure which shows the structure of a control system provided with the programmable logic controller which concerns on Embodiment 1. 図1に示されたプログラマブルロジックコントローラが記憶したコメント要否情報の一例を示す図The figure which shows an example of the comment necessity information which the programmable logic controller shown by FIG. 1 memorize | stored 図1に示されたプログラマブルロジックコントローラが記憶する履歴情報の一例を示す図The figure which shows an example of the log | history information which the programmable logic controller shown by FIG. 1 memorize | stores 実施の形態1に係る制御システムのコンピュータのハードウェア構成を示す図The figure which shows the hardware constitutions of the computer of the control system which concerns on Embodiment 1. 実施の形態1に係る制御システムのHMIのハードウェア構成を示す図The figure which shows the hardware constitutions of HMI of the control system which concerns on Embodiment 1. FIG. 実施の形態1に係るプログラマブルロジックコントローラの機能ブロック図Functional block diagram of the programmable logic controller according to the first embodiment 実施の形態1に係るプログラマブルロジックコントローラのハードウェア構成を示す図The figure which shows the hardware constitutions of the programmable logic controller which concerns on Embodiment 1. 実施の形態1に係るプログラマブルロジックコントローラの履歴情報を作成する動作の一例を示すフローチャートThe flowchart which shows an example of the operation | movement which produces the historical information of the programmable logic controller which concerns on Embodiment 1. 図8に示すフローチャートにより作成された履歴情報の一例を示す図The figure which shows an example of the log | history information created by the flowchart shown in FIG. 実施の形態1に係るプログラマブルロジックコントローラの履歴情報を監視する動作の一例を示すフローチャートThe flowchart which shows an example of the operation | movement which monitors the historical information of the programmable logic controller which concerns on Embodiment 1. 図9に示された履歴情報にコメントを追記する際にコンピュータの表示装置に表示するコメント設定画面の一例を示す図The figure which shows an example of the comment setting screen displayed on the display apparatus of a computer, when adding a comment to the log | history information shown by FIG. 図9に示された履歴情報にコメントが追記された状態の一例を示す図The figure which shows an example of the state by which the comment was added to the log | history information shown by FIG. 実施の形態1に係るプログラマブルロジックコントローラのコメント要否情報の他の例を示す図The figure which shows the other example of the comment necessity information of the programmable logic controller which concerns on Embodiment 1. 図8に示すフローチャートにより作成された履歴情報の他の例を示す図The figure which shows the other example of the log | history information created by the flowchart shown in FIG. 図9に示された履歴情報にコメントを追記する際にコンピュータの表示装置に表示するコメント設定画面の他の例を示す図The figure which shows the other example of the comment setting screen displayed on the display apparatus of a computer, when adding a comment to the log | history information shown by FIG. 図14に示された履歴情報にコメントが追記された状態の一例を示す図The figure which shows an example of the state by which the comment was added to the log | history information shown by FIG. 実施の形態2に係るプログラマブルロジックコントローラが記憶したコメント要否情報の一例を示す図The figure which shows an example of the comment necessity information which the programmable logic controller which concerns on Embodiment 2 memorize | stored 実施の形態2に係るプログラマブルロジックコントローラの履歴情報を作成する動作の一例を示すフローチャートThe flowchart which shows an example of the operation | movement which produces the historical information of the programmable logic controller which concerns on Embodiment 2. 図18に示すフローチャートにより作成された履歴情報の一例を示す図The figure which shows an example of the log | history information created by the flowchart shown in FIG. 実施の形態3に係るプログラマブルロジックコントローラの機能ブロック図Functional block diagram of a programmable logic controller according to the third embodiment 実施の形態4に係るプログラマブルロジックコントローラのユーザに通知するコメント設定画面の一例を示す図The figure which shows an example of the comment setting screen notified to the user of the programmable logic controller which concerns on Embodiment 4.
 以下に、本発明の実施の形態に係るプログラマブルロジックコントローラを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a programmable logic controller according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、実施の形態1に係るプログラマブルロジックコントローラを備える制御システムの構成を示す図である。図2は、図1に示されたプログラマブルロジックコントローラが記憶したコメント要否情報の一例を示す図である。図3は、図1に示されたプログラマブルロジックコントローラが記憶する履歴情報の一例を示す図である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration of a control system including a programmable logic controller according to the first embodiment. FIG. 2 is a diagram illustrating an example of comment necessity information stored by the programmable logic controller illustrated in FIG. FIG. 3 is a diagram illustrating an example of history information stored in the programmable logic controller illustrated in FIG. 1.
 制御システム1は、FA(Factory Automation)分野の設備を構成するものであり、図1に示すように、設備に設置される複数の機器2,3,4と、複数の機器2,3,4に接続したプログラマブルロジックコントローラ(Programmable Logic Controllers(以下、PLCと記す))5と、PLC5に接続したコンピュータ6と、PLC5に接続したHMI(Human Machine Interface)7とを備える。実施の形態1において、制御システム1は、三つの機器2,3,4を備えるが、三つに限定されない。実施の形態1において、機器2,3,4は、センサ又は駆動機器である。センサとしては、設備に設置される流量、圧力、濃度、又は温度を検出するセンサが挙げられる。駆動機器としては、設備に設置されるスイッチ、調整弁、電磁弁、モータ、又はポンプである動作を実行する駆動機器が挙げられる。 The control system 1 constitutes equipment in the FA (Factory Automation) field, and as shown in FIG. 1, a plurality of devices 2, 3, 4 installed in the facility and a plurality of devices 2, 3, 4 Programmable Logic Controllers (hereinafter referred to as PLC) 5, a computer 6 connected to PLC 5, and an HMI (Human Machine Interface) 7 connected to PLC 5. In Embodiment 1, although the control system 1 is provided with the three apparatuses 2, 3, and 4, it is not limited to three. In the first embodiment, the devices 2, 3, and 4 are sensors or driving devices. Examples of the sensor include a sensor that detects a flow rate, pressure, concentration, or temperature installed in the facility. Examples of the drive device include a drive device that performs an operation that is a switch, an adjustment valve, a solenoid valve, a motor, or a pump installed in the facility.
 また、制御システム1は、機器2,3,4とPLC5とコンピュータ6とHMI7とを通信可能に接続するネットワークNを備える。ネットワークNは、コンピュータ6とPLC5とHMI7とを相互に通信可能に接続するコンピュータネットワークである。実施の形態1において、ネットワークNは、FA設備に設置されるLAN(Local Area Network)であるが、ネットワークNは、LANに限定されない。 Further, the control system 1 includes a network N that connects the devices 2, 3, 4, the PLC 5, the computer 6, and the HMI 7 so that they can communicate with each other. The network N is a computer network that connects the computer 6, the PLC 5, and the HMI 7 so that they can communicate with each other. In Embodiment 1, the network N is a LAN (Local Area Network) installed in the FA facility, but the network N is not limited to the LAN.
 コンピュータ6は、PLC5で実行される制御プログラムCPを作成して、PLC5に送信する。PLC5は、制御プログラムCPを実行することにより、機器2,3,4を制御する。実施の形態1において、PLC5は、JIS(日本工業規格) B 3502:2011により規定されたものである。HMI7は、ユーザがPLC5に各種のコマンドを入力するために用いられるものである。HMI7は、実施の形態1において、タッチパネル式の端末装置であるが、HMI7は、タッチパネル式の端末装置に限定されない。 The computer 6 creates a control program CP to be executed by the PLC 5 and transmits it to the PLC 5. The PLC 5 controls the devices 2, 3, and 4 by executing the control program CP. In the first embodiment, the PLC 5 is defined by JIS (Japanese Industrial Standards) B 3502: 2011. The HMI 7 is used for a user to input various commands to the PLC 5. The HMI 7 is a touch panel type terminal device in Embodiment 1, but the HMI 7 is not limited to a touch panel type terminal device.
 PLC5は、情報を記憶するメモリ51と、PLC5自体の電源をオンオフするための電源スイッチ52と、PLC5自体をリセットするためのリセットスイッチ53と、外部記憶媒体記憶装置54と、イジェクトスイッチ55とを備える。外部記憶媒体記憶装置54は、外部記憶媒体が着脱自在であり、実施の形態1において、外部記憶媒体に制御プログラムCPの実行中に取得したパラメータを記憶する。外部記憶媒体に記憶する情報は、制御プログラムCPの実行中に取得したパラメータに限定されない。外部記憶媒体記憶装置54は、ユーザによりイジェクトスイッチ55が操作されることにより、外部記憶媒体が取り外される。 The PLC 5 includes a memory 51 for storing information, a power switch 52 for turning on / off the power of the PLC 5, a reset switch 53 for resetting the PLC 5 itself, an external storage medium storage device 54, and an eject switch 55. Prepare. The external storage medium storage device 54 is detachable from the external storage medium, and stores the parameters acquired during execution of the control program CP in the external storage medium in the first embodiment. The information stored in the external storage medium is not limited to the parameters acquired during the execution of the control program CP. The external storage medium storage device 54 is detached from the external storage medium when the user operates the eject switch 55.
 実施の形態1において、外部記憶媒体は、SDメモリカード(Secure Digital memory card)又はSRAM(Static Random Access Memory)カセットにより構成されるが、SDメモリカード又はSRAMカセットに限定されることなく、磁気ディスク、光ディスク、又は光磁気ディスクにより構成されても良い。イジェクトスイッチ55は、PLC5から外部記憶媒体を取り外す際に操作される。なお、電源スイッチ52、リセットスイッチ53及びイジェクトスイッチ55は、PLC5のスイッチであって、ユーザにより直接操作される物理的なスイッチである。 In the first embodiment, the external storage medium is composed of an SD memory card (Secure Digital memory card) or an SRAM (Static Random Access Memory) cassette, but is not limited to an SD memory card or an SRAM cassette. , An optical disk, or a magneto-optical disk. The eject switch 55 is operated when the external storage medium is removed from the PLC 5. The power switch 52, the reset switch 53, and the eject switch 55 are switches of the PLC 5, and are physical switches that are directly operated by the user.
 PLC5は、制御プログラムCPの実行中にスイッチ52,53,55、コンピュータ6又はHMI7が送信した各種のコマンドを受け付ける。PLC5が受け付けるコマンドは、制御プログラムCPの少なくとも一部を変更するためのプログラム変更コマンド、電源スイッチ52に対する操作である「電源オン」、電源スイッチ52に対する操作である「電源オフ」、リセットスイッチ53に対する操作である「手動リセット」、及びイジェクトスイッチ55に対する操作である「イジェクト」を含む。 The PLC 5 accepts various commands transmitted by the switches 52, 53, 55, the computer 6 or the HMI 7 during the execution of the control program CP. The commands received by the PLC 5 are a program change command for changing at least a part of the control program CP, “power on” that is an operation for the power switch 52, “power off” that is an operation for the power switch 52, and a command for the reset switch 53 The operation includes “manual reset” which is an operation and “eject” which is an operation on the eject switch 55.
 PLC5が受け付けるコマンドは、ネットワークNに用いられるケーブルがPLC5に取り付けられたことを示す「ケーブル取り付け」、ネットワークNに用いられるケーブルがPLC5から取り外されたことを示す「ケーブル取り外し」、コンピュータ6又はHMI7からの操作によりPLC5の動作をリセットする「リモートリセット」、コンピュータ6又はHMI7からの操作によりPLC5の制御プログラムCPの実行を停止する「リモートストップ」、及びコンピュータ6又はHMI7からの操作によりPLC5に制御プログラムCPを実行させる「リモートラン」を含む。 The commands received by the PLC 5 are “cable attachment” indicating that the cable used for the network N is attached to the PLC 5, “cable removal” indicating that the cable used for the network N is removed from the PLC 5, the computer 6 or the HMI 7 "Remote reset" to reset the operation of the PLC 5 by the operation from the "Remote stop" to stop the execution of the control program CP of the PLC 5 by the operation from the computer 6 or HMI 7, and control to the PLC 5 by the operation from the computer 6 or the HMI 7 It includes a “remote run” that causes the program CP to be executed.
 PLC5が受け付けるコマンドは、コンピュータ6からの操作により「メモリ51の記憶領域に記憶された値を変更するためのコマンド」、コンピュータ6からの操作により「メモリ51の記憶領域に記憶された値を読み出すためのコマンド」、及びコンピュータ6からの操作により「メモリ51の記憶領域に値を書き込むためのコマンド」を含む。PLC5が受け付けるコマンドは、コンピュータ6からの操作により「メモリ51に記憶された各種のファイルを読み出すためのコマンド」、及びコンピュータ6からの操作により「メモリ51に各種のファイルを書き込むためのコマンド」を含む。なお、実施の形態1において、各種のファイルは、制御プログラムCPを実行させるための情報を規定した設定ファイル、又は制御プログラムCPの実行中に取得したパラメータを記憶したロギングファイルであるが、これらに限定されない。 The command received by the PLC 5 is “a command for changing a value stored in the storage area of the memory 51” by an operation from the computer 6, and “a value stored in the storage area of the memory 51 is read by an operation from the computer 6. And a “command for writing a value to the storage area of the memory 51” by an operation from the computer 6. The commands received by the PLC 5 are “commands for reading various files stored in the memory 51” by operations from the computer 6 and “commands for writing various files to the memory 51” by operations from the computer 6. Including. In the first embodiment, the various files are a setting file that defines information for executing the control program CP, or a logging file that stores parameters acquired during the execution of the control program CP. It is not limited.
 なお、「電源オン」、「電源オフ」、「手動リセット」、「イジェクト」、「ケーブル取り付け」、「ケーブル取り外し」、「リモートリセット」、「リモートストップ」、「リモートラン」、「メモリ51の記憶領域に記憶された値を変更するためのコマンド」、「メモリ51の記憶領域に記憶された値を読み出すためのコマンド」、「メモリ51の記憶領域に値を書き込むためのコマンド」、「メモリ51に記憶された各種のファイルを読み出すためのコマンド」、及び「メモリ51に各種のファイルを書き込むためのコマンド」は、制御プログラムCPの変更以外のコマンドである。したがって、制御プログラムCPの変更以外のコマンドは、電源スイッチ52に対する操作である「電源オン」、電源スイッチ52に対する操作である「電源オフ」、リセットスイッチ53に対する操作である「手動リセット」、及びイジェクトスイッチ55に対する操作である「イジェクト」を含む。 “Power on”, “Power off”, “Manual reset”, “Eject”, “Cable attachment”, “Cable removal”, “Remote reset”, “Remote stop”, “Remote run”, “Memory 51 "Command for changing value stored in storage area", "Command for reading value stored in storage area of memory 51", "Command for writing value to storage area of memory 51", "Memory The “command for reading various files stored in 51” and the “command for writing various files in the memory 51” are commands other than the change of the control program CP. Accordingly, the commands other than the change of the control program CP include “power on” that is an operation for the power switch 52, “power off” that is an operation for the power switch 52, “manual reset” that is an operation for the reset switch 53, and eject “Eject” which is an operation for the switch 55 is included.
 また、コンピュータ6は、図2に一例を示すコメント要否情報AIを作成して、PLC5に送信する。即ち、コメント要否情報AIは、コンピュータ6により設定可能である。コメント要否情報AIは、コメントが対応付けられることが必要なコマンドを予め設定したものである。コメント要否情報AIは、コマンドと、コメントとを1対1で対応付けている。実施の形態1において、図2に示すコメント要否情報AIは、制御プログラムCPの変更以外のコマンドのうちの電源スイッチ52に対する操作である「電源オン」と、「担当者:山田 装置試験のため」というコメントとを対応付けている。図2に示すコメント要否情報AIは、制御プログラムCPの変更以外のコマンドのうちのメモリ51の記憶領域「M0」に記憶された値を変更するためのコマンドである「デバイスM0変更」と、「担当者:山田 条件Xの変更」というコメントとを対応付けている。図2に示すコメント要否情報AIは、制御プログラムCPを変更するためのプログラム変更コマンドである「RUN中書き込み」に対応付けられたコメントが「未設定」である。 Further, the computer 6 creates comment necessity information AI shown as an example in FIG. 2 and transmits it to the PLC 5. That is, the comment necessity information AI can be set by the computer 6. The comment necessity information AI is set in advance with a command that needs to be associated with a comment. The comment necessity information AI associates a command and a comment on a one-to-one basis. In the first embodiment, the comment necessity information AI shown in FIG. 2 includes “power on” that is an operation on the power switch 52 among commands other than the control program CP change, and “person in charge: Yamada for device test. Is associated with the comment. The comment necessity information AI shown in FIG. 2 is a command for changing the value stored in the storage area “M0” of the memory 51 among the commands other than the change of the control program CP, A comment “Responsible person: Yamada, change of condition X” is associated. In the comment necessity information AI shown in FIG. 2, the comment associated with “write during RUN”, which is a program change command for changing the control program CP, is “not set”.
 なお、図2は、制御プログラムCPの変更以外のコマンドとして「電源オン」及び「デバイスM0変更」を示しているが、本発明は、制御プログラムCPの変更以外のコマンドは、「電源オン」及び「デバイスM0変更」に限定されない。即ち、本発明は、コメント要否情報AIに設定される制御プログラムCPの変更以外のコマンドを、「電源オフ」、「手動リセット」、「イジェクト」、「ケーブル取り付け」、「ケーブル取り外し」、「リモートリセット」、「リモートストップ」、「リモートラン」、「メモリ51の記憶領域に記憶された値を読み出すためのコマンド」、「メモリ51の記憶領域に記憶された値を書き込むためのコマンド」、「メモリ51に記憶された各種のファイルを読み出すためのコマンド」、又は「メモリ51に各種のファイルを書き込むためのコマンド」としても良い。 FIG. 2 shows “power on” and “device M0 change” as commands other than the control program CP change. However, in the present invention, the commands other than the control program CP change are “power on” and It is not limited to “change device M0”. That is, according to the present invention, commands other than the change of the control program CP set in the comment necessity information AI are set to “power off”, “manual reset”, “eject”, “cable attachment”, “cable removal”, “ “Remote reset”, “remote stop”, “remote run”, “command for reading the value stored in the storage area of the memory 51”, “command for writing the value stored in the storage area of the memory 51”, A “command for reading various files stored in the memory 51” or a “command for writing various files in the memory 51” may be used.
 PLC5は、制御プログラムCPの実行中にコメント要否情報AIに設定されたコマンドを受け付けると、コメント要否情報AIにおいて受け付けたコマンドに対応付けられたコメントと、受け付けたコマンドとを対応付けた図3に示す履歴情報HIを記憶する。実施の形態1において、履歴情報HIは、図3に示すように、コメント要否情報AIに設定されたコマンドを受け付けた日時と、受け付けたコマンドと、コメントとを対応付ける。 When PLC 5 receives a command set in comment necessity information AI during execution of control program CP, PLC 5 associates the comment associated with the command received in comment necessity information AI with the received command. The history information HI shown in FIG. In the first embodiment, as shown in FIG. 3, the history information HI associates the date and time when the command set in the comment necessity information AI is received with the received command and the comment.
 図4は、実施の形態1に係る制御システムのコンピュータのハードウェア構成を示す図である。実施の形態1に係るコンピュータ6は、コンピュータプログラムを実行するものであって、図4に示すように、CPU(Central Processing Unit)61と、RAM(Random Access Memory)62と、ROM(Read Only Memory)63と、記憶装置64と、入力装置65と、表示装置66と、通信インタフェース67と、を含む。CPU61、RAM62、ROM63、記憶装置64、入力装置65、表示装置66及び通信インタフェース67は、バスB6を介して相互に接続されている。 FIG. 4 is a diagram illustrating a hardware configuration of a computer of the control system according to the first embodiment. The computer 6 according to the first embodiment executes a computer program, and as shown in FIG. 4, a CPU (Central Processing Unit) 61, a RAM (Random Access Memory) 62, and a ROM (Read Only Memory). ) 63, a storage device 64, an input device 65, a display device 66, and a communication interface 67. The CPU 61, RAM 62, ROM 63, storage device 64, input device 65, display device 66, and communication interface 67 are connected to each other via the bus B6.
 CPU61は、RAM62を作業領域として使用しながら、ROM63及び記憶装置64に記憶されているプログラムを実行する。ROM63に記憶されているプログラムは、BIOS(Basic Input/Output System)又はUEFI(Unified Extensible Firmware Interface)であるが、ROM63に記憶されているプログラムは、BIOS又はUEFIに限定されない。実施の形態1において、記憶装置64に記憶されているプログラムは、オペレーティングシステムプログラム及びプログラミングツールプログラムであるが、記憶装置64に記憶されているプログラムは、オペレーティングシステムプログラム及びプログラミングツールプログラムに限定されない。実施の形態1において、記憶装置64は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)であるが、記憶装置64は、SSD又はHDDに限定されない。 The CPU 61 executes programs stored in the ROM 63 and the storage device 64 while using the RAM 62 as a work area. The program stored in the ROM 63 is BIOS (Basic Input / Output System) or UEFI (Unified Extensible Firmware Interface), but the program stored in the ROM 63 is not limited to BIOS or UEFI. In the first embodiment, the program stored in the storage device 64 is an operating system program and a programming tool program. However, the program stored in the storage device 64 is not limited to the operating system program and the programming tool program. In the first embodiment, the storage device 64 is an SSD (Solid State Drive) or an HDD (Hard Disk Drive), but the storage device 64 is not limited to an SSD or an HDD.
 入力装置65は、ユーザからの操作入力を受け付ける。実施の形態1において、入力装置65は、キーボード又はマウスであるが、キーボード又はマウスに限定されない。表示装置66は、文字及び画像を表示する。通信インタフェース67は、ネットワークNを介してPLC5と通信を行う。 The input device 65 receives an operation input from the user. In the first embodiment, the input device 65 is a keyboard or a mouse, but is not limited to a keyboard or a mouse. The display device 66 displays characters and images. The communication interface 67 communicates with the PLC 5 via the network N.
 図5は、実施の形態1に係る制御システムのHMIのハードウェア構成を示す図である。実施の形態1に係るHMI7は、図5に示すように、CPU71と、RAM72と、ROM73と、記憶装置74と、入力装置75と、表示装置76と、通信インタフェース77とを備える。CPU71、RAM72、ROM73、記憶装置74、入力装置75、表示装置76、及び通信インタフェース77は、バスB7を介して接続されている。 FIG. 5 is a diagram illustrating a hardware configuration of the HMI of the control system according to the first embodiment. As shown in FIG. 5, the HMI 7 according to the first embodiment includes a CPU 71, a RAM 72, a ROM 73, a storage device 74, an input device 75, a display device 76, and a communication interface 77. The CPU 71, RAM 72, ROM 73, storage device 74, input device 75, display device 76, and communication interface 77 are connected via a bus B7.
 表示装置76は、液晶ディスプレイ(LCD:Liquid Crystal Display)、有機ELディスプレイ(OELD:Organic Electro-Luminescence Display)、又は無機ELディスプレイ(IELD:Inorganic Electro-Luminescence Display)により構成される。表示装置76は、文字、静止画像、動画像、記号、及び図形を表示する。 The display device 76 includes a liquid crystal display (LCD: Liquid Crystal Display), an organic EL display (OELD: Organic Electro-Luminescence Display), or an inorganic EL display (IELD: Inorganic Electro-Luminescence Display). The display device 76 displays characters, still images, moving images, symbols, and graphics.
 入力装置75は、ユーザからの操作入力を受け付ける。実施の形態1において、入力装置75は、表示装置76に重ねられたタッチスクリーンである。入力装置75は、指、ペン、又はスタイラスペンの接触又は近接を検出する。入力装置75は、指、ペン、又はスタイラスペンが接触又は近接したときの入力装置75上の位置を検出する。本明細書は、入力装置75が検出する複数の指、ペン、及びスタイラスペンを、総称して「指」と表記する場合がある。本明細書は、入力装置75が検出した指が接触又は近接した位置を「検出位置」と表記する場合がある。入力装置75は、指の接触を検出位置とともにCPU71に送信する。 The input device 75 receives an operation input from the user. In the first embodiment, the input device 75 is a touch screen superimposed on the display device 76. The input device 75 detects contact or proximity of a finger, pen, or stylus pen. The input device 75 detects a position on the input device 75 when a finger, a pen, or a stylus pen touches or approaches. In this specification, a plurality of fingers, pens, and stylus pens detected by the input device 75 may be collectively referred to as “finger”. In this specification, a position where the finger detected by the input device 75 is in contact with or close to the finger may be referred to as a “detected position”. The input device 75 transmits the finger contact together with the detection position to the CPU 71.
 入力装置75は、静電容量方式、抵抗膜方式、表面弾性波方式、超音波方式、赤外線方式、電磁誘導方式、又は荷重検出方式を検出方式として採用したタッチスクリーンにより構成される。通信インタフェース77は、ネットワークNを介してPLC5と通信を行う。 The input device 75 includes a touch screen that employs a capacitance method, a resistive film method, a surface acoustic wave method, an ultrasonic method, an infrared method, an electromagnetic induction method, or a load detection method as a detection method. The communication interface 77 communicates with the PLC 5 via the network N.
 CPU71は、RAM72を作業領域として使用しながら、ROM73に記憶されているプログラムを実行する。ROM73に記憶されているプログラムは、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。CPU71は、入力装置75により検出された指の接触、接触が検出された検出位置、接触が検出された検出位置の変化、指の接触が検出された間隔、及び指の接触が検出された回数の少なくとも1つに基づいて、ジェスチャの種別を判別する。ジェスチャは、指を用いて、入力装置75に対して行われる操作である。CPU71が、入力装置75を介して判別するジェスチャは、タッチ、ロングタッチ、リリース、スワイプ、タップ、ダブルタップ、ロングタップ、ドラッグ、フリック、ピンチイン、及びピンチアウトを含むが、これらに限定されない。 The CPU 71 executes a program stored in the ROM 73 while using the RAM 72 as a work area. The program stored in the ROM 73 is realized by software, firmware, or a combination of software and firmware. The CPU 71 detects the finger contact detected by the input device 75, the detection position where the contact is detected, the change in the detection position where the contact is detected, the interval at which the finger contact is detected, and the number of times the finger contact is detected. The type of gesture is determined based on at least one of the following. A gesture is an operation performed on the input device 75 using a finger. The gestures that the CPU 71 determines via the input device 75 include, but are not limited to, touch, long touch, release, swipe, tap, double tap, long tap, drag, flick, pinch in, and pinch out.
 記憶装置74は、コンピュータにより読み出し可能な情報を記憶する領域を有するものであり、実施の形態1において、記憶装置74は、不揮発性の半導体メモリ、又は揮発性の半導体メモリにより構成される。不揮発性の半導体メモリ、又は揮発性の半導体メモリとして、RAM、ROM、フラッシュメモリ、EPROM、又は、EEPROMを用いることができる。また、記憶装置74は、磁気ディスク、光ディスク、及び光磁気ディスクのうちの少なくとも一つにより構成されても良い。 The storage device 74 has an area for storing information that can be read by a computer. In the first embodiment, the storage device 74 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory. As a nonvolatile semiconductor memory or a volatile semiconductor memory, a RAM, a ROM, a flash memory, an EPROM, or an EEPROM can be used. The storage device 74 may be configured by at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
 図6は、実施の形態1に係るプログラマブルロジックコントローラの機能ブロック図である。 FIG. 6 is a functional block diagram of the programmable logic controller according to the first embodiment.
 実施の形態1において、PLC5は、制御プログラムCPを実行して、機器2,3,4の情報を取得して記憶するとともに、機器2,3,4の動作を制御するユニットである。PLC5は、制御プログラムCPの実行中にコマンドを受け付け、コメント要否情報AIにしたがって受け付けたコマンドとコメントとを対応付けた履歴情報HIを記憶するユニットである。 In the first embodiment, the PLC 5 is a unit that executes the control program CP, acquires and stores information on the devices 2, 3, and 4, and controls the operation of the devices 2, 3, and 4. The PLC 5 is a unit that receives a command during execution of the control program CP, and stores history information HI in which a command received according to the comment necessity information AI is associated with a comment.
 PLC5は、図6に示すように、電源スイッチ52、リセットスイッチ53、イジェクトスイッチ55及び外部記憶媒体記憶装置54に加え、制御プログラムCPを記憶する記憶部56と、コメント要否情報AIを記憶したコメント要否記憶部57とを備える。PLC5は、履歴情報HIを記憶する履歴記憶部58と、コンピュータ6及びHMI7に接続してコマンドを受け付ける制御部59と、履歴記憶部58に記憶された履歴情報HIを監視する監視部81と、監視部81に接続した通知部82とを備える。 As shown in FIG. 6, in addition to the power switch 52, the reset switch 53, the eject switch 55, and the external storage medium storage device 54, the PLC 5 stores a storage unit 56 that stores the control program CP and comment necessity information AI. A comment necessity storage unit 57. The PLC 5 includes a history storage unit 58 that stores history information HI, a control unit 59 that is connected to the computer 6 and the HMI 7 and receives commands, a monitoring unit 81 that monitors the history information HI stored in the history storage unit 58, A notification unit 82 connected to the monitoring unit 81.
 電源スイッチ52、リセットスイッチ53、及びイジェクトスイッチ55のユーザが操作する操作部は、PLC5の外側に露出している。実施の形態1において、電源スイッチ52、リセットスイッチ53、及びイジェクトスイッチ55は、操作部を押すことが可能な押しボタンスイッチであるが、押しボタンスイッチに限定されない。 Operation units operated by the user of the power switch 52, the reset switch 53, and the eject switch 55 are exposed to the outside of the PLC 5. In the first embodiment, the power switch 52, the reset switch 53, and the eject switch 55 are push button switches that can push the operation unit, but are not limited to push button switches.
 記憶部56は、制御部59を介して、コンピュータ6を用いて作成された制御プログラムCPが書き込まれるとともに、制御プログラムCPの実行中に制御部59を介してコンピュータ6により制御プログラムCPの一部が変更される。コメント要否記憶部57は、制御部59を介して、コンピュータ6を用いて作成されたコメント要否情報AIが書き込まれる。 In the storage unit 56, a control program CP created using the computer 6 is written through the control unit 59, and a part of the control program CP is executed by the computer 6 through the control unit 59 during execution of the control program CP. Is changed. In the comment necessity storage unit 57, comment necessity information AI created using the computer 6 is written via the control unit 59.
 制御部59は、制御プログラムCPを実行して機器2,3,4を制御する。制御部59は、制御プログラムCPの実行中にコマンドを受け付ける。制御部59は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドを受け付けると、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドに対応付けられたコメントをコメント要否情報AIから取得する。制御部59は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドと、コメント要否情報AIから取得したコメントとを対応付けた履歴情報HIを履歴記憶部58に記憶させる。制御部59は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドに対応付けられたコメントをコメント要否情報AIから取得することにより、受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドに対応付けられたコメントを取得する。なお、コメントが対応付けられることが必要と設定されたコマンドは、コメント要否情報AIに設定されたコマンドである。コメントが対応付けられることが必要と設定されたコマンドは、コメント要否情報AIにおいてコメントが対応付けられたコマンドと、コメント要否情報AIにおいて対応付けられたコメントが「未設定」であるコマンドとの双方である。 The control unit 59 executes the control program CP to control the devices 2, 3, and 4. The control unit 59 receives a command during execution of the control program CP. When the control unit 59 receives a command that is set to require a comment to be associated with the comment necessity information AI, the control unit 59 associates the command with a comment that is set to need to be associated with the comment necessity information AI. The comment is acquired from the comment necessity information AI. The control unit 59 stores, in the history storage unit 58, history information HI in which a command set to be associated with a comment by the comment necessity information AI and a comment acquired from the comment necessity information AI are associated with each other. Let The control unit 59 acquires, from the comment necessity information AI, a comment associated with a command that is set to require that a comment is associated with the comment necessity information AI. A comment associated with at least a part of commands other than the CP change is acquired. Note that the command that is set to be associated with the comment is a command set in the comment necessity information AI. The commands that are set to be required to be associated with a comment are a command that is associated with a comment in the comment necessity information AI, and a command that has a comment that is associated with the comment necessity information AI is “not set”. Both.
 履歴記憶部58は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドと、コメント要否情報AIから取得したコメントとを対応付けた履歴情報HIを記憶する。履歴記憶部58は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドと、コメント要否情報AIから取得したコメントとを対応付けた履歴情報HIを記憶することにより、制御部59が受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドと制御部59が取得したコメントとを対応付けた履歴情報HIを記憶する。 The history storage unit 58 stores history information HI in which a command set to be required to be associated with a comment by the comment necessity information AI and a comment acquired from the comment necessity information AI are associated with each other. The history storage unit 58 stores the history information HI in which the command set to be required to be associated with the comment by the comment necessity information AI and the comment acquired from the comment necessity information AI are associated with each other. The history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 is associated with the comments acquired by the control unit 59 is stored.
 監視部81は、制御部59の制御プログラムCPの実行中において、コメント要否情報AIによりコメントが対応付けられることが設定されかつコメントが未対応のコマンドが履歴情報HIに存在するか否かを予め設定された所定時間毎に判定する。即ち、監視部81は、制御部59の制御プログラムCPの実行中に、コメント要否情報AIに設定されたコマンドでかつコメントが対応付けられていないコマンドが履歴情報HIに存在するか否かを所定時間毎に判定する。監視部81は、コメント要否情報AIに設定されたコマンドでかつコメントが対応付けられていないコマンドが履歴情報HIに存在すると判定すると、コメント要否情報AIに設定されたコマンドでかつコメントが対応付けられていないコマンドが履歴情報HIに存在することを通知部82によりユーザに通知する。 The monitoring unit 81 determines whether or not there is a command in the history information HI in which a comment is set to be associated with the comment necessity information AI and the comment is not supported during execution of the control program CP of the control unit 59. The determination is made every predetermined time set in advance. That is, the monitoring unit 81 determines whether a command that is set in the comment necessity information AI and is not associated with a comment exists in the history information HI while the control program CP of the control unit 59 is being executed. The determination is made every predetermined time. When the monitoring unit 81 determines that a command that is set in the comment necessity information AI and that is not associated with a comment exists in the history information HI, the command that is set in the comment necessity information AI and the comment corresponds The notification unit 82 notifies the user that a command not attached is present in the history information HI.
 通知部82は、制御部59の制御プログラムCPの実行中に、履歴記憶部58に記憶された履歴情報HIに、コメント要否情報AIによりコメントが対応付けられることが設定されかつコメントが未対応のコマンドが存在することをユーザに通知する。実施の形態1において、通知部82は、黄色又は赤色の光を発光、又は点滅することによりユーザに通知するが、通知部82の通知方法は、これに限定されない。 The notification unit 82 is set so that a comment is associated with the history information HI stored in the history storage unit 58 by the comment necessity information AI during execution of the control program CP of the control unit 59 and the comment is not supported. Notify the user that the command exists. In Embodiment 1, the notification unit 82 notifies the user by emitting or blinking yellow or red light, but the notification method of the notification unit 82 is not limited to this.
 次に、PLC5のハードウェアの構成を説明する。図7は、実施の形態1に係るプログラマブルロジックコントローラのハードウェア構成を示す図である。PLC5は、図7に示すように、制御プログラムCPを処理、実行するCPUユニット5Aと、機器2,3,4に接続したI/O(Input/Output)ユニット5Bとを備える。実施の形態1において、I/Oユニット5Bは、三つ設けられ、それぞれ、機器2,3,4のいずれかに接続している。I/Oユニット5Bは、回路基板5B1と、回路基板5B1に実装されかつコンピュータプログラムを記憶し、実行する図示しないCPUと、を少なくとも備える。 Next, the hardware configuration of PLC5 will be described. FIG. 7 is a diagram illustrating a hardware configuration of the programmable logic controller according to the first embodiment. As shown in FIG. 7, the PLC 5 includes a CPU unit 5A that processes and executes the control program CP, and an I / O (Input / Output) unit 5B connected to the devices 2, 3, and 4. In the first embodiment, three I / O units 5B are provided and connected to one of the devices 2, 3, and 4, respectively. The I / O unit 5B includes at least a circuit board 5B1 and a CPU (not shown) that is mounted on the circuit board 5B1 and stores and executes a computer program.
 CPUユニット5Aは、回路基板5A1と、回路基板5A1に実装されかつ制御プログラムCPを実行するCPU5A2と、CPU5A2と内部バスB1を介して接続されたメモリ51と、を備える。CPUユニット5Aは、コンピュータ6と通信を行う通信インタフェース5A4と、I/Oユニット5Bに接続したバスインタフェース5A5と、制御プログラムCP、履歴情報HIを算出するコンピュータプログラム及び履歴情報HIを監視するコンピュータプログラムを記憶する記憶装置5A6と、LED(Light Emitting Diode)5A7と、電源スイッチ52と、リセットスイッチ53と、イジェクトスイッチ55と、外部記憶媒体記憶装置54とを備える。CPU5A2、メモリ51、通信インタフェース5A4、バスインタフェース5A5、記憶装置5A6、LED5A7と、電源スイッチ52と、リセットスイッチ53と、イジェクトスイッチ55及び外部記憶媒体記憶装置54は、内部バスB1を介して接続されている。 The CPU unit 5A includes a circuit board 5A1, a CPU 5A2 that is mounted on the circuit board 5A1 and executes the control program CP, and a memory 51 that is connected to the CPU 5A2 via the internal bus B1. The CPU unit 5A includes a communication interface 5A4 for communicating with the computer 6, a bus interface 5A5 connected to the I / O unit 5B, a control program CP, a computer program for calculating history information HI, and a computer program for monitoring the history information HI. Storage device 5A6, LED (Light Emitting Diode) 5A7, power switch 52, reset switch 53, eject switch 55, and external storage medium storage device 54. The CPU 5A2, memory 51, communication interface 5A4, bus interface 5A5, storage device 5A6, LED 5A7, power switch 52, reset switch 53, eject switch 55, and external storage medium storage device 54 are connected via the internal bus B1. ing.
 バスインタフェース5A5は、内部バスB1と拡張バスB2とを連絡するバスブリッジ回路である。バスインタフェース5A5は、拡張バスB2を介して、I/Oユニット5Bに接続されている。実施の形態1において、記憶装置5A6は、SSD又はHDDであるが、SSD又はHDDに限定されない。 The bus interface 5A5 is a bus bridge circuit that connects the internal bus B1 and the expansion bus B2. The bus interface 5A5 is connected to the I / O unit 5B via the expansion bus B2. In the first embodiment, the storage device 5A6 is an SSD or an HDD, but is not limited to an SSD or an HDD.
 制御部59及び監視部81の機能、即ちPLC5の機能は、CPU5A2が記憶装置5A6に記憶された制御プログラムCP、履歴情報HIを算出するコンピュータプログラム及び履歴情報HIを監視するコンピュータプログラムを読み出して実行することにより実現される。制御プログラムCP、履歴情報HIを算出するコンピュータプログラム及び履歴情報HIを監視するコンピュータプログラムは、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。 The functions of the control unit 59 and the monitoring unit 81, that is, the function of the PLC 5, read and execute the control program CP stored in the storage device 5A6, the computer program for calculating the history information HI, and the computer program for monitoring the history information HI. It is realized by doing. The control program CP, the computer program for calculating the history information HI, and the computer program for monitoring the history information HI are realized by software, firmware, or a combination of software and firmware.
 記憶部56、コメント要否記憶部57及び履歴記憶部58の機能は、記憶装置5A6により実現される。通知部82の機能は、LED5A7により実現される。実施の形態1において、LED5A7は、CPU5A2によりユーザに通知する際に点灯又は点滅され、ユーザに通知しない際に消灯される。メモリ51は、不揮発性の半導体メモリ、又は揮発性の半導体メモリにより構成される。不揮発性の半導体メモリ、又は揮発性の半導体メモリとして、RAM、ROM、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、又は、EEPROM(Electrically Erasable Programmable Read Only Memory)を用いることができる。また、メモリ51は、磁気ディスク、光ディスク、及び光磁気ディスクのうちの少なくとも一つにより構成されても良い。 The functions of the storage unit 56, the comment necessity storage unit 57, and the history storage unit 58 are realized by the storage device 5A6. The function of the notification unit 82 is realized by the LED 5A7. In the first embodiment, the LED 5A7 is turned on or blinked when notifying the user by the CPU 5A2 and is turned off when not informing the user. The memory 51 is configured by a nonvolatile semiconductor memory or a volatile semiconductor memory. As the nonvolatile semiconductor memory or volatile semiconductor memory, RAM, ROM, flash memory, EPROM (Erasable Programmable Read Only Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory) can be used. The memory 51 may be composed of at least one of a magnetic disk, an optical disk, and a magneto-optical disk.
 次に、実施の形態1に係るPLC5の動作の一例を図面に基づいて説明する。図8は、実施の形態1に係るプログラマブルロジックコントローラの履歴情報を作成する動作の一例を示すフローチャートである。図9は、図8に示すフローチャートにより作成された履歴情報の一例を示す図である。図10は、実施の形態1に係るプログラマブルロジックコントローラの履歴情報を監視する動作の一例を示すフローチャートである。図11は、図9に示された履歴情報にコメントを追記する際にコンピュータの表示装置に表示するコメント設定画面の一例を示す図である。図12は、図9に示された履歴情報にコメントが追記された状態の一例を示す図である。 Next, an example of the operation of the PLC 5 according to the first embodiment will be described with reference to the drawings. FIG. 8 is a flowchart illustrating an example of an operation for creating history information of the programmable logic controller according to the first embodiment. FIG. 9 is a diagram showing an example of history information created by the flowchart shown in FIG. FIG. 10 is a flowchart illustrating an example of an operation of monitoring history information of the programmable logic controller according to the first embodiment. FIG. 11 is a diagram showing an example of a comment setting screen displayed on the display device of the computer when a comment is added to the history information shown in FIG. FIG. 12 is a diagram illustrating an example of a state in which a comment is added to the history information illustrated in FIG. 9.
 PLC5は、制御プログラムCPを実行する前に、コメント要否記憶部57にコメント要否情報AIが記憶される。実施の形態1において、PLC5は、図2に示すコメント要否情報AIがコメント要否記憶部57に記憶される。そして、PLC5は、制御プログラムCPを実行することにより機器2,3,4を制御する。PLC5は、制御プログラムCPの実行中にコマンドを受け付けると、図8に示すフローチャートを実行する。PLC5は、図8に示すフローチャートを実行する際に、コマンドを受け付ける(ステップST1)。 The PLC 5 stores the comment necessity information AI in the comment necessity storage unit 57 before executing the control program CP. In the first embodiment, the PLC 5 stores the comment necessity information AI shown in FIG. The PLC 5 controls the devices 2, 3, and 4 by executing the control program CP. When the PLC 5 receives a command during the execution of the control program CP, the PLC 5 executes the flowchart shown in FIG. The PLC 5 accepts a command when executing the flowchart shown in FIG. 8 (step ST1).
 PLC5は、コメント要否記憶部57に記憶されたコメント要否情報AIを参照する(ステップST2)。PLC5は、受け付けたコマンドがコメント要否情報AIに設定されているか、即ち、受け付けたコマンドにコメントを対応付けることが必要か否かを判定する(ステップST3)。PLC5は、受け付けたコマンドにコメントを対応付けることが必要でないと判定する(ステップST3:No)と、図8に示すフローチャートを終了する。PLC5は、受け付けたコマンドにコメントを対応付けることが必要であると判定する(ステップST3:Yes)と、コメント要否情報AIから受け付けたコマンドに対応付けられたコメントを取得し、受け付けたコマンドと取得したコメントとをコマンドを受け付けた日時とともに対応付けた図9に示す履歴情報HI-1Aを記憶(ステップST4)して、図8に示すフローチャートを終了する。 The PLC 5 refers to the comment necessity information AI stored in the comment necessity storage unit 57 (step ST2). The PLC 5 determines whether the received command is set in the comment necessity information AI, that is, whether it is necessary to associate a comment with the received command (step ST3). If the PLC 5 determines that it is not necessary to associate a comment with the received command (step ST3: No), the flowchart shown in FIG. When the PLC 5 determines that it is necessary to associate a comment with the received command (step ST3: Yes), the PLC 5 acquires a comment associated with the received command from the comment necessity information AI, and acquires the received command and acquisition. The history information HI-1A shown in FIG. 9 in which the comment is associated with the date and time when the command is received is stored (step ST4), and the flowchart shown in FIG. 8 is ended.
 こうして、実施の形態1において、PLC5は、図8に示すフローチャートを実行して、図9に示す履歴情報HI-1Aを作成する。図9に示す履歴情報HI-1Aは、受け付けた順にコマンドを記憶している。図9に示す履歴情報HI-1Aは、コマンド「電源オン」と、コマンド「電源オン」と、コマンド「デバイスM0変更」とのそれぞれにコメントを対応付けている。実施の形態1において、図2に示すコメント要否情報AIのコマンド「RUN中書き込み」に対応付けられたコメントが「未設定」であるために、図9に示す履歴情報HI-1Aは、コマンド「RUN中書き込み」にコメントを対応付けていない。 Thus, in the first embodiment, the PLC 5 executes the flowchart shown in FIG. 8 to create the history information HI-1A shown in FIG. The history information HI-1A shown in FIG. 9 stores commands in the order received. The history information HI-1A illustrated in FIG. 9 associates a comment with each of the command “power on”, the command “power on”, and the command “change device M0”. In the first embodiment, since the comment associated with the command “write during RUN” of the comment necessity information AI shown in FIG. 2 is “not set”, the history information HI-1A shown in FIG. No comment is associated with “writing during RUN”.
 実施の形態1において、PLC5は、制御プログラムCPの実行中に、所定時間毎に図10に示すフローチャートを実行する。なお、PLC5は、図10に示すフローチャートを図8に示すフローチャートとは独立して実行する。PLC5は、図10に示すフローチャートを実行する際には、まず、履歴記憶部58に記憶された履歴情報HIを参照し、履歴情報HIにコメントが対応付けられていないコマンドが存在するか否かを判定する。PLC5は、履歴情報HIにコメントが対応付けられていないコマンドが存在する場合には、履歴情報HIからコメントが対応付けられていないコマンドを取得する(ステップST11)。なお、PLC5は、ステップST11において、履歴情報HIにコメントが対応付けられていないコマンドが存在しない場合には、図10に示すフローチャートを終了する。 In the first embodiment, the PLC 5 executes the flowchart shown in FIG. 10 every predetermined time during the execution of the control program CP. In addition, PLC5 performs the flowchart shown in FIG. 10 independently of the flowchart shown in FIG. When the PLC 5 executes the flowchart shown in FIG. 10, first, the history information HI stored in the history storage unit 58 is referred to, and whether or not there is a command with no comment associated with the history information HI. Determine. When there is a command with no comment associated with the history information HI, the PLC 5 acquires a command with no comment associated with the history information HI (step ST11). In step ST11, the PLC 5 ends the flowchart shown in FIG. 10 when there is no command that is not associated with the history information HI.
 PLC5は、コメント要否記憶部57のコメント要否情報AIを参照する(ステップST12)。PLC5は、ステップST11において取得したコメントが対応付けられていないコマンドが、コメント要否情報AIに設定されているか否かを判定する(ステップST13)。PLC5は、ステップST11において取得したコメントが対応付けられていないコマンドが、コメント要否情報AIに設定されていると判定する(ステップST13:Yes)と、通知部82に通知させて(ステップST14)、図10に示すフローチャートを終了する。PLC5は、ステップST11において取得したコメントが対応付けられていないコマンドが、コメント要否情報AIに設定されていないと判定する(ステップST13:No)と、図10に示すフローチャートを終了する。 The PLC 5 refers to the comment necessity information AI in the comment necessity storage unit 57 (step ST12). The PLC 5 determines whether or not a command not associated with the comment acquired in step ST11 is set in the comment necessity information AI (step ST13). When the PLC 5 determines that the command not associated with the comment acquired in step ST11 is set in the comment necessity information AI (step ST13: Yes), the PLC 5 notifies the notification unit 82 (step ST14). Then, the flowchart shown in FIG. When the PLC 5 determines that the command not associated with the comment acquired in step ST11 is not set in the comment necessity information AI (step ST13: No), the flowchart shown in FIG. 10 ends.
 実施の形態1において、図9に示す履歴情報HI-1Aは、コマンド「RUN中書き込み」にコメントを対応付けていない。このために、PLC5は、ステップST11において、コメントを対応付けていないコマンド「RUN中書き込み」を履歴情報HI-1Aから取得する。また、実施の形態1において、図2に示すコメント要否情報AIは、コマンド「RUN中書き込み」を設定している。このために、PLC5は、ステップST14において、通知部82に通知させる。 In the first embodiment, the history information HI-1A shown in FIG. 9 does not associate a comment with the command “write during RUN”. For this purpose, in step ST11, the PLC 5 obtains a command “write during RUN” not associated with a comment from the history information HI-1A. In the first embodiment, the comment necessity information AI shown in FIG. 2 sets the command “write during RUN”. For this purpose, the PLC 5 causes the notification unit 82 to notify in step ST14.
 実施の形態1に係るPLC5の履歴情報HIのコメントが対応付けられていないコマンドにコメントを追記する際の動作を説明する。コマンドにコメントを追記する際には、ユーザは、コンピュータ6の入力装置65を操作して、図11に示すコメント設定画面100を表示装置66に表示する。コメント設定画面100は、コメントが対応付けられていないコマンドの情報を表示するコマンド情報表示領域101と、コメントを入力するためのコメント入力領域102と、コメント入力領域102に入力したコメントを決定する決定領域103とを備える。ユーザは、入力装置65を操作して、図11に示すコメント設定画面100のコメント入力領域102にコメントを入力し、決定領域103を操作する。すると、履歴情報HI-1Aは、図12に示すように、コメントが対応付けられていないコマンドに対してコメントが追記される。 An operation when a comment is added to a command not associated with a comment of the history information HI of the PLC 5 according to the first embodiment will be described. When adding a comment to the command, the user operates the input device 65 of the computer 6 to display the comment setting screen 100 shown in FIG. 11 on the display device 66. The comment setting screen 100 determines a command information display area 101 for displaying information of a command not associated with a comment, a comment input area 102 for inputting a comment, and a comment input to the comment input area 102 And an area 103. The user operates the input device 65 to input a comment in the comment input area 102 of the comment setting screen 100 shown in FIG. Then, in the history information HI-1A, as shown in FIG. 12, a comment is added to a command not associated with a comment.
 実施の形態1では、図9に示す履歴情報HI-1Aにおいて、コマンド「RUN中書き込み」にコメントが対応付けられていなく、図2に示すコメント要否情報AIにおいて、コマンド「RUN中書き込み」が設定されているために、図11に示すコメント設定画面100のコマンド情報表示領域101は、コマンド「RUN中書き込み」の情報を表示する。実施の形態1において、ユーザは、図11に示すコメント設定画面100のコメント入力領域102に、コメントとして「担当者:山田 変更内容Y」を入力し、決定領域103を操作する。実施の形態1において、図12に示す履歴情報HI-1Aは、コマンド「RUN中書き込み」にコメント「担当者:山田 変更内容Y」が追記される。なお、実施の形態1において、PLC5は、図12に示す履歴情報HI-1Aを記憶することにより、制御部59がプログラム変更コマンドを受け付け、履歴記憶部58は、制御部59が受け付けたプログラム変更コマンドとコメントとを対応付けた履歴情報HI-1Aを記憶する。 In the first embodiment, in the history information HI-1A shown in FIG. 9, no comment is associated with the command “write in RUN”, and in the comment necessity information AI shown in FIG. Since it is set, the command information display area 101 of the comment setting screen 100 shown in FIG. 11 displays information of the command “write during RUN”. In the first embodiment, the user inputs “person in charge: Yamada change contents Y” as a comment in the comment input area 102 of the comment setting screen 100 shown in FIG. In the first embodiment, in the history information HI-1A shown in FIG. 12, the comment “person in charge: Yamada change Y” is added to the command “write in RUN”. In the first embodiment, the PLC 5 stores the history information HI-1A shown in FIG. 12, so that the control unit 59 accepts the program change command, and the history storage unit 58 accepts the program change received by the control unit 59. History information HI-1A in which commands and comments are associated is stored.
 次に、実施の形態1に係るPLC5の動作の他の例を図面に基づいて説明する。図13は、実施の形態1に係るプログラマブルロジックコントローラのコメント要否情報の他の例を示す図である。図14は、図8に示すフローチャートにより作成された履歴情報の他の例を示す図である。図15は、図9に示された履歴情報にコメントを追記する際にコンピュータの表示装置に表示するコメント設定画面の他の例を示す図である。図16は、図14に示された履歴情報にコメントが追記された状態の一例を示す図である。 Next, another example of the operation of the PLC 5 according to the first embodiment will be described with reference to the drawings. FIG. 13 is a diagram illustrating another example of comment necessity information of the programmable logic controller according to the first embodiment. FIG. 14 is a diagram showing another example of the history information created by the flowchart shown in FIG. FIG. 15 is a diagram showing another example of a comment setting screen displayed on the display device of the computer when a comment is added to the history information shown in FIG. FIG. 16 is a diagram illustrating an example of a state in which a comment is added to the history information illustrated in FIG.
 ユーザは、制御プログラムCPの変更以外のコマンドのうちの電源スイッチ52に対する操作である「電源オン」と、制御プログラムCPの変更以外のコマンドのうちの電源スイッチ52に対する操作である「電源オフ」とをPLC5に入力し、通常、制御プログラムCPの変更以外のコマンドのうちのリセットスイッチ53に対する操作である「手動リセット」をPLC5に入力しないことがある。この場合、ユーザは、何らかの理由によりコマンド「手動リセット」をPLC5に入力した際に、PLC5が履歴情報HIにコマンド「手動リセット」にコメントを対応付けることを望む場合がある。 The user performs “power on” that is an operation on the power switch 52 among commands other than the change of the control program CP, and “power off” that is an operation on the power switch 52 among commands other than the change of the control program CP. Is normally input to the PLC 5, and “manual reset”, which is an operation for the reset switch 53 among commands other than the change of the control program CP, is not input to the PLC 5. In this case, when the user inputs the command “manual reset” to the PLC 5 for some reason, the PLC 5 may desire to associate a comment with the command “manual reset” in the history information HI.
 この場合、コメント要否情報AI-1は、図13に示すように、コマンド「電源オン」と、「担当者:佐藤 定例の通常起動」というコメントとを対応付け、コマンド「電源オフ」と、「担当者:佐藤 定例の通常終了」というコメントとを対応付けている。図13に示すコメント要否情報AI-1は、コマンド「手動リセット」に対応付けられたコメントが「未設定」である。 In this case, as shown in FIG. 13, the comment necessity information AI-1 associates the command “power-on” with the comment “person in charge: Sato regular start-up”, the command “power-off”, A comment “Responsible person: Sato Regular end” is associated. In the comment necessity information AI-1 shown in FIG. 13, the comment associated with the command “manual reset” is “not set”.
 PLC5は、図13に示すコメント要否情報AI-1が設定されて制御プログラムCPを実行中にコマンド「手動リセット」を受け付けると、図8に示すフローチャートを実行することにより図14に示す履歴情報HI-1Bを作成する。図14に示す履歴情報HI-1Bは、受け付けた順にコマンドを記憶している。図14に示す履歴情報HI-1Bは、コマンド「電源オン」と、コマンド「電源オフ」とのそれぞれにコメントを対応付けている。実施の形態1において、図13に示すコメント要否情報AI-1のコマンド「手動リセット」に対応付けられたコメントが「未設定」であるために、図14に示す履歴情報HI-1Bは、コマンド「手動リセット」にコメントを対応付けていない。 When the command “manual reset” is received during execution of the control program CP with the comment necessity information AI-1 shown in FIG. 13 set, the PLC 5 executes the flowchart shown in FIG. 8 to execute the history information shown in FIG. HI-1B is created. The history information HI-1B shown in FIG. 14 stores commands in the order received. The history information HI-1B shown in FIG. 14 associates a comment with each of the command “power on” and the command “power off”. In the first embodiment, since the comment associated with the command “manual reset” of the comment necessity information AI-1 shown in FIG. 13 is “not set”, the history information HI-1B shown in FIG. No comment is associated with the command “Manual reset”.
 図14に示された履歴情報HI-1Bのコマンド「手動リセット」にコメントを対応付ける際には、ユーザは、コンピュータ6の入力装置65を操作して、図15に示すコメント設定画面100を表示装置66に表示する。ユーザは、入力装置65を操作して、図15に示すように、コメント設定画面100のコメント入力領域102にコメントを入力し、決定領域103を操作する。すると、履歴情報HI-1Bは、図16に示すように、コマンド「手動リセット」に対してコメントが追記される。なお、実施の形態1において、ユーザが、図15に示すコメント設定画面100のコメント入力領域102に、コメントとして「担当者:佐藤 制御システムが異常状態になったため、手動でリセット 詳細な状況は以下の通りである。」を入力して、図16に示す履歴情報HI-1Bは、コマンド「手動リセット」にコメント「担当者:佐藤 制御システムが異常状態になったため、手動でリセット 詳細な状況は以下の通りである。」を追記する。 When associating a comment with the command “manual reset” of the history information HI-1B shown in FIG. 14, the user operates the input device 65 of the computer 6 to display the comment setting screen 100 shown in FIG. 66. The user operates the input device 65 to input a comment in the comment input area 102 of the comment setting screen 100 and operate the determination area 103 as shown in FIG. Then, in the history information HI-1B, as shown in FIG. 16, a comment is added to the command “manual reset”. In the first embodiment, the user enters a comment in the comment input area 102 of the comment setting screen 100 shown in FIG. 15 as “Responsible person: Sato, because the control system has entered an abnormal state, and is manually reset. The history information HI-1B shown in FIG. 16 is commented on the command “Manual reset”. “Responsible person: Sato Reset manually because the control system is in an abnormal state. It is as follows. "
 実施の形態1に係るPLC5によれば、制御部59が受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドとコメントとを対応付けた履歴情報HIを記憶する履歴記憶部58を備える。このために、PLC5は、制御プログラムCPの変更以外のコマンドをコメントと対応付けて記憶する。その結果、PLC5は、制御システム1に問題が発生した際の原因の究明を行いやすくすることができ、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができる。 According to the PLC 5 according to the first embodiment, the history storage stores the history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with the comments. Part 58 is provided. For this purpose, the PLC 5 stores commands other than the change of the control program CP in association with the comments. As a result, the PLC 5 can facilitate the investigation of the cause when a problem occurs in the control system 1, and can facilitate the investigation of the cause when a problem occurs in equipment in the FA field.
 また、PLC5は、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドを受け付けると、受け付けたコマンドとコメントとを対応付けた履歴情報HIを履歴記憶部58に記憶させるので、予め設定したコマンドをコメントと対応付けて記憶することができる。 When the PLC 5 receives a command set to require that a comment is associated with the comment necessity information AI, the PLC 5 stores the history information HI in which the received command is associated with the comment in the history storage unit 58. A preset command can be stored in association with a comment.
 また、PLC5は、コメント要否情報AIがコンピュータ6により設定可能であるために、コマンドに対応付けるコメントを変更することができる。 Also, the PLC 5 can change the comment associated with the command because the comment necessity information AI can be set by the computer 6.
 また、PLC5は、コメント要否情報AIがコマンドとコメントを対応付けているので、コメント要否情報AIによりコメントが対応付けられることが必要と設定されたコマンドを受け付けると、受け付けたコマンドに対するコメントを入力することなく、コマンドとコメントとを対応付けることができる。 In addition, since the comment necessity information AI associates a command and a comment, the PLC 5 receives a comment for the accepted command when receiving a command set to require a comment to be associated with the comment necessity information AI. A command can be associated with a comment without input.
 また、PLC5は、履歴情報HIにコメントが未設定のコマンドが存在することを通知する通知部82を備えるので、コメントが対応付けられていないコマンドを履歴情報HIに記憶したことを把握することができる。 Further, since the PLC 5 includes the notification unit 82 that notifies that there is a command for which no comment is set in the history information HI, it is possible to grasp that the command not associated with the comment is stored in the history information HI. it can.
 また、PLC5は、制御プログラムCPの変更以外のコマンドがスイッチ52,53,55に対する操作であるので、スイッチ52,53,55に対する操作をコメントと対応付けて履歴情報HIに記憶することができる。 Further, since the command other than the change of the control program CP is an operation on the switches 52, 53, and 55, the PLC 5 can store the operation on the switches 52, 53, and 55 in the history information HI in association with the comment.
 また、PLC5は、制御プログラムCPの変更以外のコマンドに加えて、プログラム変更コマンドをコメントと対応付けて履歴情報HIに記憶するので、制御システム1の履歴を把握することができる。 Further, since the PLC 5 stores the program change command in the history information HI in association with the comment in addition to the command other than the change of the control program CP, the history of the control system 1 can be grasped.
 また、PLC5は、通常システムに問題等がなければ、毎朝「電源オン」され、毎晩「電源オフ」され、リセットスイッチ53に対する操作である「手動リセット」が実施されないことが多い。この場合に、PLC5は、図13に示すコメント要否情報AI-1が設定されていると、制御プログラムCPを実行中に「手動リセット」を受け付けると、図16に示すように、履歴情報HI-1Bになぜ「手動リセット」を実施する必要があったのかをコメントに記録することができ、その後の動作で問題が発生した場合の分析に役立てることができる。また、PLC5は、コメント要否情報AI-1において、コマンド「手動リセット」に対応付けられたコメントを「未設定」としておくことにより、ユーザがコマンド「手動リセット」に対してコメントを追記することができる。その結果、PLC5は、コマンド「手動リセット」に対して、図16に示す履歴情報HI-1Bに示すように、ユーザが入力した手動リセットに至った理由をコメントとして対応付けることが可能となり、その後に発生した問題の解決を行いやすくすることができる。 Also, if there is no problem in the normal system, the PLC 5 is “powered on” every morning and “powered off” every night, and the “manual reset” operation for the reset switch 53 is not often performed. In this case, when the comment necessity information AI-1 shown in FIG. 13 is set, the PLC 5 receives the “manual reset” during the execution of the control program CP, and as shown in FIG. 16, the history information HI The reason why “manual reset” needs to be performed on -1B can be recorded in a comment, which can be used for analysis when a problem occurs in the subsequent operation. Further, the PLC 5 adds a comment to the command “manual reset” by setting the comment associated with the command “manual reset” to “unset” in the comment necessity information AI-1 Can do. As a result, the PLC 5 can associate the reason for the manual reset input by the user as a comment with respect to the command “manual reset” as shown in the history information HI-1B shown in FIG. It is possible to easily solve the problem that has occurred.
実施の形態2.
 次に、本発明の実施の形態2に係るPLC5を図面に基づいて説明する。図17は、実施の形態2に係るプログラマブルロジックコントローラが記憶したコメント要否情報の一例を示す図である。図18は、実施の形態2に係るプログラマブルロジックコントローラの履歴情報を作成する動作の一例を示すフローチャートである。図19は、図18に示すフローチャートにより作成された履歴情報の一例を示す図である。図17から図19において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 2. FIG.
Next, PLC5 which concerns on Embodiment 2 of this invention is demonstrated based on drawing. FIG. 17 is a diagram illustrating an example of comment necessity information stored by the programmable logic controller according to the second embodiment. FIG. 18 is a flowchart illustrating an example of an operation of creating history information of the programmable logic controller according to the second embodiment. FIG. 19 is a diagram showing an example of history information created by the flowchart shown in FIG. 17 to 19, the same parts as those of the first embodiment are denoted by the same reference numerals and the description thereof is omitted.
 実施の形態2に係るPLC5は、履歴情報HIを作成するフローチャートの一部の処理が実施の形態1と異なる以外、実施の形態1と同じ構成である。実施の形態2において、ユーザは、メモリ51の記憶領域に記憶された値を変更し、制御システム1の各機器2,3,4の動作を調整して、メモリ51の記憶領域に記憶された値を最適値に設定する。実施の形態2において、ユーザは、メモリ51の記憶領域に記憶された値を変更した際の状況を履歴情報HIに記憶することを望む。 The PLC 5 according to the second embodiment has the same configuration as that of the first embodiment except that a part of the process of the flowchart for creating the history information HI is different from that of the first embodiment. In the second embodiment, the user changes the value stored in the storage area of the memory 51, adjusts the operation of each device 2, 3, 4 of the control system 1 and stores the value in the storage area of the memory 51. Set the value to the optimal value. In the second embodiment, the user desires to store the status when the value stored in the storage area of the memory 51 is changed in the history information HI.
 ユーザは、コンピュータ6により図17に示すコメント要否情報AI-2を設定し、PLC5に送信する。実施の形態2において、PLC5が記憶するコメント要否情報AI-2は、図17に示すように、メモリ51の記憶領域「D0」に記憶された値を変更するためのコマンドであるコマンド「デバイスD0変更」を設定する。また、図17に示すコメント要否情報AI-2は、ユーザがコメントを逐次入力したいので、コマンド「デバイスD0変更」に対応付けられたコメントが「未設定」である。 The user sets the comment necessity information AI-2 shown in FIG. 17 by the computer 6 and transmits it to the PLC 5. In the second embodiment, the comment necessity information AI-2 stored in the PLC 5 is a command “device” which is a command for changing a value stored in the storage area “D0” of the memory 51, as shown in FIG. “D0 change” is set. In the comment necessity information AI-2 shown in FIG. 17, the comment associated with the command “change device D0” is “not set” because the user wants to sequentially input comments.
 実施の形態2において、PLC5の制御部59は、コメント要否情報AI-2に設定されかつコメントが「未設定」のコマンドを履歴情報HIに予め設定された所定数記憶し、「未設定」のコマンドを記憶した数が所定数を超えた後に通知部82によりユーザに通知する。実施の形態2において、PLC5は、所定数を2とするが、所定数は2に限定されない。 In the second embodiment, the control unit 59 of the PLC 5 stores a predetermined number of commands that are set in the comment necessity information AI-2 and the comment is “not set” in the history information HI, and “not set”. After the number of stored commands exceeds a predetermined number, the notification unit 82 notifies the user. In the second embodiment, the predetermined number of the PLC 5 is 2, but the predetermined number is not limited to 2.
 実施の形態2に係るPLC5は、履歴情報HIを作成する際に、コマンド「デバイスD0変更」を履歴情報HIに記憶した(ステップST4)後、履歴情報HIに記憶されたコメントが「未設定」のコマンド「デバイスD0変更」の数が所定数を超えたか否かを判定する(ステップST5)。PLC5は、履歴情報HIに記憶されたコメントが「未設定」であるコマンド「デバイスD0変更」の数が所定数を超えていないと判定する(ステップST5:No)と、ステップST1に戻る。なお、実施の形態2において、PLC5は、コメントが「未設定」であるコマンド「デバイスD0変更」の数が1又は2であると、所定数を超えていないと判定し(ステップST5:No)、ステップST1に戻る。PLC5は、履歴情報HIに記憶されたコメントが「未設定」であるコマンド「デバイスD0変更」の数が所定数を超えたと判定する(ステップST5:Yes)と、通知部82を用いて、ユーザに所定数を超えたことを通知して(ステップST6)、図18に示すフローチャートを終了する。なお、実施の形態2において、PLC5は、コメントが「未設定」であるコマンド「デバイスD0変更」の数が3であると、所定数を超えたと判定し(ステップST5:Yes)、ユーザに通知して(ステップST6)、図18に示すフローチャートを終了する。 When the history information HI is created, the PLC 5 according to the second embodiment stores the command “change device D0” in the history information HI (step ST4), and then the comment stored in the history information HI is “not set”. It is determined whether or not the number of commands “change device D0” exceeds a predetermined number (step ST5). When the PLC 5 determines that the number of commands “change device D0” whose comment stored in the history information HI is “not set” does not exceed a predetermined number (step ST5: No), the process returns to step ST1. In the second embodiment, the PLC 5 determines that the number of commands “change device D0” whose comment is “unset” is 1 or 2, and does not exceed the predetermined number (step ST5: No). Return to step ST1. When the PLC 5 determines that the number of commands “change device D0” whose comment stored in the history information HI is “not set” has exceeded a predetermined number (step ST5: Yes), the notification unit 82 is used to notify the user. Is notified that the predetermined number has been exceeded (step ST6), and the flowchart shown in FIG. 18 is terminated. In the second embodiment, when the number of commands “change device D0” whose comment is “not set” is 3, the PLC 5 determines that the predetermined number has been exceeded (step ST5: Yes) and notifies the user. Then (step ST6), the flowchart shown in FIG.
 そして、実施の形態2において、通知部82が通知すると、図19に示す履歴情報HI-2に所定数を超えたコマンド「デバイスD0変更」が記憶されている。ユーザは、実施の形態1と同様に、各コマンド「デバイスD0変更」にコメントを入力する。 In the second embodiment, when the notification unit 82 notifies, the history information HI-2 shown in FIG. 19 stores a command “change device D0” exceeding a predetermined number. As in the first embodiment, the user inputs a comment to each command “change device D0”.
 実施の形態2に係るPLC5は、実施の形態1と同様に、制御部59が受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドとコメントを対応付けた履歴情報HIを記憶する履歴記憶部58を備えるので、制御システム1に問題が発生した際の原因の究明を行いやすくすることができ、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができる。 As in the first embodiment, the PLC 5 according to the second embodiment has history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 is stored, the cause when a problem occurs in the control system 1 can be easily determined, and the cause when a problem occurs in equipment in the FA field can be easily determined. be able to.
 また、実施の形態2に係るPLC5は、履歴情報HIに記憶された、コメントが「未設定」のコマンドの数が所定数を超えると、通知部82により通知するので、ユーザがコメントが「未設定」のコマンドにコメントを適宜入力することができる。 In addition, the PLC 5 according to the second embodiment notifies the notification unit 82 when the number of commands stored in the history information HI and whose comment is “unset” exceeds a predetermined number. Comments can be entered as appropriate in the “setting” command.
実施の形態3.
 次に、本発明の実施の形態3に係るPLC5-3を図面に基づいて説明する。図20は、実施の形態3に係るプログラマブルロジックコントローラの機能ブロック図である。図20において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 3 FIG.
Next, PLC 5-3 according to Embodiment 3 of the present invention will be described with reference to the drawings. FIG. 20 is a functional block diagram of the programmable logic controller according to the third embodiment. In FIG. 20, the same parts as those of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
 実施の形態3に係る図20に示すPLC5-3は、制御部59を介すことなくコンピュータ6からコメント要否記憶部57にコメント要否情報AIが直接入力され、制御部59を介すことなくコンピュータ6から履歴記憶部58に記憶された履歴情報HIが直接読み出されること以外、実施の形態1と同じ構成である。実施の形態3に係るPLC5-3は、実施の形態1と同じ動作を実行するが、実施の形態2と同じ動作を実行しても良い。 In the PLC 5-3 shown in FIG. 20 according to the third embodiment, the comment necessity information AI is directly input from the computer 6 to the comment necessity storage unit 57 without going through the control unit 59 and through the control unit 59. The configuration is the same as that of the first embodiment except that the history information HI stored in the history storage unit 58 is directly read from the computer 6. The PLC 5-3 according to the third embodiment executes the same operation as that of the first embodiment, but may execute the same operation as that of the second embodiment.
 実施の形態3に係るPLC5-3は、実施の形態1と同様に、制御部59が受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドとコメントを対応付けた履歴情報HIを記憶する履歴記憶部58を備えるので、制御システム1に問題が発生した際の原因の究明を行いやすくすることができ、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができる。 As in the first embodiment, the PLC 5-3 according to the third embodiment has a history in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 for storing the information HI is provided, it is possible to easily investigate the cause when a problem occurs in the control system 1, and to investigate the cause when a problem occurs in the facility in the FA field. It can be made easier.
実施の形態4.
 次に、本発明の実施の形態4に係るPLC5を図面に基づいて説明する。図21は、実施の形態4に係るプログラマブルロジックコントローラのユーザに通知するコメント設定画面の一例を示す図である。図21において、実施の形態1と同一部分には、同一符号を付して説明を省略する。
Embodiment 4 FIG.
Next, PLC5 which concerns on Embodiment 4 of this invention is demonstrated based on drawing. FIG. 21 is a diagram illustrating an example of a comment setting screen notified to the user of the programmable logic controller according to the fourth embodiment. In FIG. 21, the same parts as those of the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.
 実施の形態4に係るPLC5は、履歴情報HIを確認しユーザに通知する際に、図10のフローチャートのステップST14において、通知部82に通知させる代わりに、図21に示すように、コンピュータ6の表示装置66にコメント設定画面100を表示させること以外、実施の形態1と同じ構成でありかつ実施の形態1と同じ処理を実行する。また、実施の形態4に係るPLC5は、ステップST14において、図21に示すコメント設定画面100を表示装置66に表示するとともに、通知部82に通知させても良い。 When the PLC 5 according to the fourth embodiment confirms the history information HI and notifies the user of the history information HI, instead of notifying the notification unit 82 in step ST14 of the flowchart of FIG. Except for displaying the comment setting screen 100 on the display device 66, the configuration is the same as in the first embodiment and the same processing as in the first embodiment is executed. Furthermore, the PLC 5 according to the fourth embodiment may display the comment setting screen 100 shown in FIG. 21 on the display device 66 and notify the notification unit 82 in step ST14.
 実施の形態4に係るPLC5は、実施の形態1と同様に、制御部59が受け付けたコマンドのうちの制御プログラムCPの変更以外のコマンドの少なくとも一部のコマンドとコメントを対応付けた履歴情報HIを記憶する履歴記憶部58を備えるので、制御システム1に問題が発生した際の原因の究明を行いやすくすることができ、FA分野の設備に問題が発生した際の原因の究明を行いやすくすることができる。 Similar to the first embodiment, the PLC 5 according to the fourth embodiment includes history information HI in which at least a part of commands other than the change of the control program CP among the commands received by the control unit 59 are associated with comments. Since the history storage unit 58 is stored, the cause when a problem occurs in the control system 1 can be easily determined, and the cause when a problem occurs in equipment in the FA field can be easily determined. be able to.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
 5,5-3 PLC(プログラマブルロジックコントローラ)、6 コンピュータ、52 電源スイッチ(スイッチ)、53 リセットスイッチ(スイッチ)、55 イジェクトスイッチ(スイッチ)、56 記憶部、57 コメント要否記憶部、58 履歴記憶部、59 制御部、82 通知部、CP 制御プログラム、HI,HI-1A,HI-1B,HI-2 履歴情報、AI,AI-1,AI-2 コメント要否情報。 5,5-3 PLC (Programmable Logic Controller), 6 Computer, 52 Power Switch (Switch), 53 Reset Switch (Switch), 55 Eject Switch (Switch), 56 Storage Unit, 57 Comment Necessity Storage Unit, 58 History Storage Section, 59 control section, 82 notification section, CP control program, HI, HI-1A, HI-1B, HI-2 history information, AI, AI-1, AI-2 comment necessity information.

Claims (7)

  1.  制御プログラムを記憶する記憶部と、
     コマンドを受け付け、かつ、受け付けた前記コマンドのうちの前記制御プログラムの変更以外のコマンドの少なくとも一部のコマンドに対応付けられたコメントを取得する制御部と、
     前記少なくとも一部のコマンドと前記取得したコメントとを対応付けた履歴情報を記憶する履歴記憶部と、
     を備えることを特徴とするプログラマブルロジックコントローラ。
    A storage unit for storing the control program;
    A control unit that receives a command, and acquires a comment associated with at least a part of commands of the received command other than the change of the control program;
    A history storage unit that stores history information in which the at least some commands are associated with the acquired comments;
    A programmable logic controller comprising:
  2.  前記コメントが対応付けられることが必要なコマンドを予め設定したコメント要否情報を記憶したコメント要否記憶部を更に備え、
     前記制御部は、前記コメント要否情報によりコメントが対応付けられることが必要と設定されたコマンドを受け付けると、前記必要と設定されたコマンドに対応付けられたコメントを取得し、前記必要と設定されたコマンドと前記取得したコメントとを対応付けた履歴情報を前記履歴記憶部に記憶させる
     ことを特徴とする請求項1に記載のプログラマブルロジックコントローラ。
    A comment necessity storage unit that stores comment necessity information in which a command that needs to be associated with the comment is set in advance;
    When the control unit receives a command set to require that a comment is associated with the comment necessity information, the control unit acquires a comment associated with the command set to be necessary, and is set as necessary. The programmable logic controller according to claim 1, wherein history information that associates the acquired command with the acquired comment is stored in the history storage unit.
  3.  前記コメント要否情報は、前記制御部に接続したコンピュータにより設定可能である
     ことを特徴とする請求項2に記載のプログラマブルロジックコントローラ。
    The programmable logic controller according to claim 2, wherein the comment necessity information can be set by a computer connected to the control unit.
  4.  前記コメント要否情報は、前記コマンドと前記コメントとを対応付けている
     ことを特徴とする請求項2又は請求項3に記載のプログラマブルロジックコントローラ。
    The programmable logic controller according to claim 2 or 3, wherein the comment necessity information associates the command with the comment.
  5.  前記履歴記憶部に記憶された前記履歴情報に、前記コメント要否情報により前記コメントが対応付けることが設定されかつ前記コメントが未対応のコマンドが存在することを通知する通知部を更に備える
     ことを特徴とする請求項2から請求項4のうちいずれか一項に記載のプログラマブルロジックコントローラ。
    The history information stored in the history storage unit further includes a notification unit configured to notify that the comment is set to be associated with the comment necessity information and that there is a command that does not support the comment. The programmable logic controller according to any one of claims 2 to 4.
  6.  前記制御プログラムの変更以外のコマンドは、前記プログラマブルロジックコントローラのスイッチに対する操作である
     ことを特徴とする請求項1から請求項5のうちいずれか一項に記載のプログラマブルロジックコントローラ。
    The programmable logic controller according to any one of claims 1 to 5, wherein the command other than the change in the control program is an operation on a switch of the programmable logic controller.
  7.  前記制御部は、前記制御プログラムを変更するための前記コマンドであるプログラム変更コマンドを受け付け、
     前記履歴記憶部は、前記制御部が受け付けた前記プログラム変更コマンドと前記制御部が取得したコメントとを対応付けた履歴情報を記憶する
     ことを特徴とする請求項1から請求項6のうちいずれか一項に記載のプログラマブルロジックコントローラ。
    The control unit receives a program change command that is the command for changing the control program,
    The history storage unit stores history information in which the program change command received by the control unit is associated with a comment acquired by the control unit. The programmable logic controller according to one item.
PCT/JP2016/074711 2016-08-24 2016-08-24 Programmable logic controller WO2018037513A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2016/074711 WO2018037513A1 (en) 2016-08-24 2016-08-24 Programmable logic controller
CN201680088579.9A CN109643091B (en) 2016-08-24 2016-08-24 Programmable logic controller
JP2017512057A JP6207799B1 (en) 2016-08-24 2016-08-24 Programmable logic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/074711 WO2018037513A1 (en) 2016-08-24 2016-08-24 Programmable logic controller

Publications (1)

Publication Number Publication Date
WO2018037513A1 true WO2018037513A1 (en) 2018-03-01

Family

ID=59997680

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/074711 WO2018037513A1 (en) 2016-08-24 2016-08-24 Programmable logic controller

Country Status (3)

Country Link
JP (1) JP6207799B1 (en)
CN (1) CN109643091B (en)
WO (1) WO2018037513A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019125509A (en) * 2018-01-17 2019-07-25 トヨタ自動車株式会社 Redox flow fuel cell

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04105140A (en) * 1990-08-24 1992-04-07 Nec Corp Collection system for switch operation history
JPH0736536A (en) * 1993-07-21 1995-02-07 Mitsubishi Electric Corp Programmable controller

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0962341A (en) * 1995-08-22 1997-03-07 Toshiba Corp Operation device
JPH1021086A (en) * 1996-06-28 1998-01-23 Matsushita Electric Ind Co Ltd Program converting device and debugging device
JP4151402B2 (en) * 2002-12-20 2008-09-17 村田機械株式会社 Numerical controller with parameter rewriting history function
JP2006154994A (en) * 2004-11-26 2006-06-15 Yokogawa Electric Corp Data setting device, and data setting method
JP5583305B2 (en) * 2012-05-08 2014-09-03 三菱電機株式会社 Programmable logic controller, programming tool, and program parameter editing system
JP6299527B2 (en) * 2014-08-29 2018-03-28 ブラザー工業株式会社 Numerical control device and control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04105140A (en) * 1990-08-24 1992-04-07 Nec Corp Collection system for switch operation history
JPH0736536A (en) * 1993-07-21 1995-02-07 Mitsubishi Electric Corp Programmable controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019125509A (en) * 2018-01-17 2019-07-25 トヨタ自動車株式会社 Redox flow fuel cell

Also Published As

Publication number Publication date
CN109643091A (en) 2019-04-16
CN109643091B (en) 2020-07-14
JP6207799B1 (en) 2017-10-04
JPWO2018037513A1 (en) 2018-08-23

Similar Documents

Publication Publication Date Title
JP2007067561A5 (en)
TWI490771B (en) Programmable display unit and screen operating and processing program thereof
JP4554570B2 (en) Programmable display, control program and recording medium recording the same, and control system, client program and recording medium recording the same
US10496062B2 (en) Programmable controller for controlling automatic machines, having CPU to received control with respect to own apparatus, when external storage is authenticated based on authentication information
US11551883B2 (en) System and methods for providing orientation compensation in pointing devices
JP2008107906A (en) Method for invalidating touch operation on touch panel, and touch panel electronic apparatus
JP6207799B1 (en) Programmable logic controller
KR101833281B1 (en) Method and apparatus preventing malfunction of touchpad in electronic device
JP2005108036A (en) Information processing device and touch pad
JP2014085782A (en) Control system and control method
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP5752092B2 (en) Programmable display
JP6253846B1 (en) Programmable display
JP2007093960A (en) Screen creation device, screen creation program, recording medium which records the program, programmable display unit, control program and recording medium which records the program
JP2008033574A (en) Control system, program, recording medium recording the program, programmable display, program, and recording medium recording the program
JP6051545B2 (en) PLC system, status display method, PLC, and programmable display
JP4838758B2 (en) Touch panel remaining operation life prediction method
TW201604767A (en) Window switching method and electronic device implementing the method
CN106469131B (en) Function utilization device
CN104423316A (en) Operation device, control device and equipment using automatic technology
KR102323844B1 (en) Method for Changing of Storage Apparatus in Human Machine Interface System
JP7395416B2 (en) Electronic equipment, window arrangement methods and programs
JP4509991B2 (en) Programmable display, program and recording medium recording the same
JP3729457B2 (en) Alarm history display system
JP2008077147A (en) Display unit for monitor control

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2017512057

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914187

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914187

Country of ref document: EP

Kind code of ref document: A1