WO2017168587A1 - Programmable logic controller - Google Patents

Programmable logic controller Download PDF

Info

Publication number
WO2017168587A1
WO2017168587A1 PCT/JP2016/060232 JP2016060232W WO2017168587A1 WO 2017168587 A1 WO2017168587 A1 WO 2017168587A1 JP 2016060232 W JP2016060232 W JP 2016060232W WO 2017168587 A1 WO2017168587 A1 WO 2017168587A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
information
control unit
unit
led
Prior art date
Application number
PCT/JP2016/060232
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 JP2018507899A priority Critical patent/JPWO2017168587A1/en
Priority to PCT/JP2016/060232 priority patent/WO2017168587A1/en
Priority to CN201680071787.8A priority patent/CN108885437A/en
Publication of WO2017168587A1 publication Critical patent/WO2017168587A1/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 displays a display target designated by an operation on a display unit.
  • PLC Programmable Logic Controller: Programmable Logic Controller
  • LEDs Light Emitting Diode
  • the display apparatus switches the display object allocated to LED using a changeover switch, and, thereby, displays many information with limited LED.
  • the LED display control circuit receives an on / off state of a contact signal sent from a signal input / output unit. Then, the LED display control circuit switches contacts assigned to the LEDs by a changeover switch. Thereby, the LED display control circuit displays the on / off state of the contact signal on the LED.
  • Patent Document 1 which is the above-described conventional technology, the relay contact information is directly connected to the LED, so that a lot of information cannot be displayed on the LED with a simple configuration.
  • the present invention has been made in view of the above, and an object thereof is to obtain a programmable logic controller capable of displaying a large amount of information on a display unit with a simple configuration.
  • the present invention provides a display unit that displays a display target, a switching operation unit that receives a switching instruction from a user by a switching operation by the user, and switching A display target storage unit that stores target identification information for identifying a display target corresponding to the instruction in association with the switching instruction; Moreover, in the programmable logic controller of the present invention, the display for reading the target identification information corresponding to the switching instruction received by the switching operation unit from the display target storage unit and displaying the display target corresponding to the read target identification information on the display unit A control unit is provided.
  • the programmable logic controller according to the present invention has an effect that a large amount of information can be displayed on the display unit with a simple configuration.
  • FIG. 1 is a block diagram showing a configuration of a programmable logic controller according to a first embodiment.
  • the flowchart which shows the operation processing procedure of the programmable logic controller concerning Embodiment 1.
  • FIG. The figure for demonstrating the correspondence of operation information and object identification information concerning Embodiment 1.
  • FIG. The figure which shows that the component with which PLC of Embodiment 1 is provided is a processing circuit
  • FIG. 3 is a block diagram showing a configuration of a programmable logic controller according to the second embodiment.
  • FIG. 4 is a block diagram showing a configuration of a programmable logic controller according to the third embodiment. Block diagram showing a configuration of a programmable logic controller according to a fourth embodiment.
  • FIG. 1 is a block diagram of the configuration of the programmable logic controller according to the first embodiment.
  • the control system 100A includes a machine 20 that is a controlled device, a PLC (Programmable Logic Controller) 10A that controls the machine 20, and a network NT connected to the PLC 10A.
  • the PLC 10A is a programmable controller defined by JIS (Japanese Industrial Standards) B 3502: 2011.
  • the PLC 10A is connected to the machine 20.
  • the PLC 10A is connected to an external device (not shown) via the network NT.
  • the PLC 10 ⁇ / b> A controls the machine 20 and holds information indicating the state of the control system 100 ⁇ / b> A that changes according to the operation state of the machine 20.
  • PLC10A which is a control apparatus is provided with LED (Light Emitting Diode) 2 which displays the display object 5, and LED control part 6A which is a controller which controls LED2. Moreover, PLC10A is provided with the switching operation part 3 which receives the switching instruction
  • the PLC 10A includes a display target storage unit 8 that stores target identification information for identifying the display target 5 and a switching operation that is a switching instruction in association with each other.
  • the PLC 10A of the first embodiment displays the display object 5 uniquely determined by the switching operation from the user using the LED 2.
  • the PLC 10A includes a CPU (Central Processing Unit) unit (not shown).
  • the display target 5 is information indicating the state of the control system 100A. Specifically, the display target 5 is information indicating a function state of the control system 100A or an operation state of the control system 100A. There are a plurality of types of display objects 5, and the display object 5 to be displayed is selected by the user. In other words, the display target 5 is a candidate to be displayed on the LED 2, and the display target 5 to be displayed is selected by the user from the candidates.
  • the state of the function that the control system 100A has includes the state of the function that the PLC 10A has, or the state that the machine 20 has.
  • the function which PLC10A has is a network function, a positioning control function, a motion control function, or a communication function with an external recording medium.
  • the network function is a function for performing data communication with an external device via the network NT.
  • the positioning control function is a function for controlling the positioning of the components included in the machine 20.
  • the motion control function is a function for controlling the operation of the constituent elements of the machine 20.
  • the communication function with the external recording medium is a function for performing data communication with the external recording medium.
  • the operation state of the control system 100A is the operation state of the PLC 10A, the operation state of the machine 20, the communication state performed between the PLC 10A and the machine 20, or the communication performed between the PLC 10A and an external device.
  • the state of is included.
  • the display target 5 may be stored in any area in the control system 100A.
  • the LED 2 that is a display unit is also called a light emitting diode, and displays the display target 5 by turning on, blinking, or turning off.
  • the LED 2 is turned on, blinked, or turned off according to an instruction from the LED control unit 6A.
  • One to a plurality of LEDs 2 are arranged in the PLC 10A.
  • the switching operation unit 3 includes an operated mechanism (not shown). The user who is the operation subject performs a switching operation on the operated mechanism of the switching operation unit 3.
  • the switching operation unit 3 receives a switching instruction that is a switching operation to the operated mechanism. In this way, the switching operation that is a switching instruction of the display target 5 to be displayed is performed on the switching operation unit 3.
  • the user performs a switching operation on the switching operation unit 3 when switching the display target 5.
  • the content of the switching operation to the switching operation unit 3 is determined by the operation result, the operation time, or the number of operations when the switching operation unit 3 is operated.
  • the switching operation unit 3 sends operation information corresponding to the switching operation by the user to the LED control unit 6A. Specifically, the switching operation unit 3 sends operation information indicating an operation result, an operation time, or the number of operations to the LED control unit 6A.
  • the operation information is information for identifying a switching operation for designating the display target 5.
  • the operation information is uniquely determined by a switching operation that is an operation method by the user.
  • the operation result to the switching operation unit 3 corresponds to the state of the operated mechanism being set to one of a plurality of states.
  • the operated mechanism is a button or a switch
  • the button or switch is set to one of a plurality of states.
  • any setting instruction is input to the operation panel.
  • the operation result is a state setting or instruction input that is an operation unit accepted by the switching operation unit 3.
  • An operation unit for the switching operation unit 3 is one state setting or one pressing operation.
  • the operation result includes information on the type of operation unit and the state after the operation.
  • the operation information indicating the operation time is information indicating how long the operation has been performed on the operated mechanism.
  • the operation information indicating the operation time includes information indicating whether or not the operation mechanism has been operated for a time longer than the reference time. Specifically, the operation information indicating the operation time includes information on whether or not the operated mechanism has been pressed for a long time.
  • the operation information indicating the number of operations is information indicating how many operations have been performed on the operated mechanism during one operation process.
  • the operation information indicating the number of operations is information indicating how many times the button or the operation panel is pressed continuously.
  • the operated mechanism may be any mechanism as long as it can be operated repeatedly by the user.
  • the display target storage unit 8 has a display target register 7 for storing information.
  • the display target register 7 is a register that stores target identification information for identifying the display target 5.
  • the object identification information is a numerical value that identifies the display object 5. In this way, the display target 5 is associated with the target identification information that is a unique value. Therefore, the display target 5 is uniquely determined when the target identification information is determined.
  • the display target storage unit 8 stores correspondence information in which operation information is associated with a storage position of the target identification information in the display target register 7. Therefore, the target identification information is information that is uniquely determined when the operation information is determined. Thus, since the display target storage unit 8 stores the correspondence information and the target identification information, the operation information and the target identification information are associated with each other in the display target storage unit 8 by the correspondence information.
  • the operation information includes an operation result, an operation time, or the number of operations.
  • the operation information and the target identification information are associated with each other. Therefore, in the display target storage unit 8, the operation result, the operation time, or the number of operations is associated with the target identification information.
  • the display target register 7 stores correspondence information for each LED 2.
  • correspondence information of one LED 2 is stored in one register.
  • the LED control unit 6A that is a display control unit performs display control on the LED 2 that is a display unit.
  • the LED control unit 6 ⁇ / b> A includes an operation register 4 that stores operation information from the switching operation unit 3.
  • the operation register 4 stores a numerical value indicating operation information.
  • the LED control unit 6 ⁇ / b> A controls the LED 2 based on the operation information stored in the operation register 4.
  • the LED control unit 6A reads operation information from the operation register 4 when controlling the LED 2.
  • the LED control unit 6 ⁇ / b> A reads the correspondence information with reference to the display target storage unit 8. Further, the LED control unit 6A reads the storage position of the target identification information corresponding to the operation information based on the correspondence information.
  • the storage position read by the LED control unit 6 ⁇ / b> A is a position where the target identification information is stored in the display target register 7.
  • the LED control unit 6A reads the target identification information of the read storage position from the display target register 7.
  • the LED control unit 6A causes the LED 2 to display the current state of the display target 5 corresponding to the acquired target identification information.
  • the current state of the display target 5 displayed on the LED 2 by the LED control unit 6A is the current state of the function of the control system 100A or the current operation state of the control system 100A.
  • the current state of the display target 5 is the latest information that the LED control unit 6A acquires at the present time. For this reason, the current state of the display target 5 may be information generated before the timing when the switching operation unit 3 is operated by the user.
  • Embodiment 1 demonstrates the case where the display object memory
  • FIG. 2 is a flowchart of an operation processing procedure of the programmable logic controller according to the first embodiment.
  • step S1 the control system 100A is activated during LED display control. Thereby, PLC10A starts.
  • the switching operation unit 3 When the switching operation unit 3 is switched by the user, the switching operation unit 3 sends operation information corresponding to the switching operation from the user to the LED control unit 6A.
  • the switching operation performed by the user is an operation for switching the display target 5.
  • the user performs a switching operation for displaying the desired display target 5 on the switching operation unit 3.
  • the operation information sent from the switching operation unit 3 to the LED control unit 6A is uniquely determined by the operation result, operation time, or number of operations by the user.
  • the operation information sent to the LED control unit 6A is stored in the operation register 4.
  • step S2 the LED control unit 6A reads the operation information from the operation register 4.
  • step S ⁇ b> 3 the LED control unit 6 ⁇ / b> A refers to the display target storage unit 8.
  • step S4 the LED control unit 6A reads the correspondence information in the display target storage unit 8. Further, the LED control unit 6A reads the storage position of the target identification information corresponding to the operation information based on the correspondence information. Then, the LED control unit 6A reads target identification information from the display target register 7 based on the read storage position. Thus, in step S4, the LED control unit 6A reads the target identification information corresponding to the read value of the operation register 4 from the display target register 7.
  • FIG. 3 is a diagram for explaining a correspondence relationship between operation information and target identification information according to the embodiment.
  • the operation information is information stored in the operation register 4.
  • “00d”, “01d”, “02d”, and “03d”, which are operation information, are shown.
  • the target identification information is information stored in the display target register 7.
  • n is a natural number
  • the display target register 7 has n + 1 registers.
  • the n + 1 registers included in the display target register 7 correspond to LED_A0 to LED_An.
  • the target identification information corresponding to the operation information “00d” includes “target 0-0” of LED_A0, “target 1-0” of LED_A1, and “target 2-0” of LED_A2. Further, the target identification information corresponding to the operation information “01d” includes “target 0-1” of LED_A0, “target 1-1” of LED_A1, and “target 2-1” of LED_A2. Further, the target identification information corresponding to the operation information “02d” includes “target 0-2” of LED_A0, “target 1-2” of LED_A1, and “target 2-2” of LED_A2. Further, the target identification information corresponding to the operation information “03d” includes “target 0-3” of LED_A0, “target 1-3” of LED_A1, and “target 2-3” of LED_A2.
  • Target 0-0 is stored in the first position
  • target 0-1 is stored in the second position
  • target 0 is stored in the third position
  • -2 is stored
  • Target 0-3 is stored at the fourth position.
  • target 1-0 is stored at the first position
  • target 1-1 is stored at the second position
  • target 1-2 is stored at the third position
  • target 1-3 is stored in the fourth position.
  • target 2-0 is stored at the first position
  • target 2-1 is stored at the second position
  • target 2-2 is stored at the third position.
  • the “target 2-3” is stored in the fourth position.
  • the storage position corresponding to “00d” of the operation information is a position where the target identification information corresponding to “00d” is stored.
  • the first position in the display target register 7 is set as the storage position corresponding to “00d” of the operation information.
  • the second position in the display target register 7 is set at the storage position corresponding to “01d” of the operation information.
  • a third position in the display target register 7 is set as the storage position corresponding to “02d” of the operation information.
  • a fourth position in the display target register 7 is set as the storage position corresponding to “03d” of the operation information.
  • the LED control unit 6A When the operation information is “00d”, the LED control unit 6A reads the first position that is the storage position corresponding to “00d” of the operation information from the correspondence information. Therefore, the LED control unit 6A reads “target 0-0” that is target identification information of LED_A0 from the first position of the register corresponding to LED_A0. In addition, the LED control unit 6A reads “target 1-0” that is target identification information of the LED_A1 from the first position corresponding to the LED_A1. Further, the LED control unit 6A reads “target 2-0” that is target identification information of the LED_A2 from the first position of the register corresponding to the LED_A2. As described above, the LED control unit 6A reads the target identification information corresponding to the operation information using the display target register 7 and the response information.
  • the object identification information is stored in advance in the display object register 7 according to user settings. Therefore, the value indicated by the target identification information is a user set value.
  • the user sets which display object 5 is assigned to each LED 2 using the display object register 7 when the control system 100A is constructed. If the display target 5 can be uniquely determined by the value of the display target register 7, the user may set the allocation of the display target 5 by any method.
  • Correspondence information is stored in advance in a memory or the like in the LED control unit 6A according to user settings. The user sets correspondence information at the time of system construction.
  • the LED control unit 6A reads the target identification information from the display target register 7, the LED control unit 6A reads the display target 5 based on the target identification information that is a read value. Specifically, in step S ⁇ b> 5, the LED control unit 6 ⁇ / b> A reads the current state of the display target 5 corresponding to the read value of the display target register 7.
  • the LED control unit 6A displays the read current state of the display target 5 on the LED 2. Specifically, in step S6, the LED control unit 6A outputs the read value of the current state of each display target 5 to the LED 2. Thereby, LED2 displays the read value of each display object 5 in the current state.
  • the PLC 10A repeats the processing from step S2 to S6 by the LED control unit 6A while the control system 100A is operating.
  • FIG. 4 is a diagram illustrating that the constituent element included in the PLC according to the first embodiment is a processing circuit.
  • the processing circuit 50 is dedicated hardware.
  • the processing circuit 50 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof. .
  • Some of the constituent elements constituting the PLC 10A may be dedicated hardware separate from the remaining part.
  • Some or all of the constituent elements included in the PLC 10A may be realized by a processor 52 described later that executes a program. In this case, functions of some or all of the constituent elements included in the PLC 10A are realized by the processor 52 using the memory as the main memory.
  • FIG. 5 is a diagram illustrating a configuration example of a control circuit included in the PLC according to the first embodiment.
  • FIG. 5 shows a control circuit 55 that is a part or all of the components included in the PLC 10A.
  • the processor 52 is a CPU, a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor).
  • the processor 52 executes a program stored in the memory 51.
  • the function of the PLC 10A is realized by the control circuit 55. That is, the functions of at least some of the constituent elements that make up the PLC 10A are realized by the processor 52 and the program.
  • the program is either software, firmware, or a combination of software and firmware. Software or firmware is described in a program and stored in the memory 51.
  • the processor 52 reads out and executes the program stored in the memory 51, thereby realizing the functions of the components constituting the PLC 10A.
  • the program executed by the processor 52 is a computer program product having a computer-readable non-transitory recording medium including a plurality of instructions for controlling the LED 2 that can be executed by a computer.
  • the program executed by the processor 52 causes the computer to execute that the plurality of instructions control the LED 2.
  • the program executed by the processor 52 is stored in the memory 51. It can be said that the program stored in the memory 51 causes the computer to execute the procedure or method of the components constituting the PLC 10A.
  • the memory 51 may be a nonvolatile semiconductor memory or a volatile semiconductor memory.
  • the memory 51 may be a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), or an EEPROM (Electrically Erasable Programmable Memory).
  • the memory 51 may be a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD.
  • the functions of a plurality of constituent elements constituting the PLC 10A may be partially realized by dedicated hardware and the remaining part may be realized by software or firmware. As described above, the functions of a plurality of components constituting the PLC 10A can be realized by hardware, software, firmware, or a combination thereof.
  • the user may input parameters that are operation information to the switching operation unit 3.
  • the switching operation unit 3 may accept input of parameters.
  • the parameter input to the switching operation unit 3 indicates operation information to be stored in the operation register 4.
  • the switching operation unit 3 sends parameters from the user to the LED control unit 6A.
  • the LED control unit 6A stores operation information, which is a parameter from the user, in the operation register 4.
  • the LED control unit 6A reads target identification information from the display target storage unit 8 based on the operation information.
  • the PLC 10A displays the display object 5 corresponding to the operation information on the LED 2.
  • PLC10A becomes possible to display many types of display objects 5 on LED2 with a limited area.
  • the PLC 10A can display various types of display objects 5 without installing a display monitor in the control system 100A.
  • the PLC 10A can display various types of display objects 5 without connecting the PLC 10A to the PC.
  • the PLC 10A since the number of display objects 5 that can be confirmed at the site where the PLC 10A is installed increases, the user can reduce the installation cost or labor of the control system 100A. Therefore, the PLC 10A can improve the maintainability of the control system 100A.
  • the LED control unit 6A reads the target identification information for identifying the display target 5 based on the operation information designated by the user. Then, the LED control unit 6A causes the LED 2 to display the display target 5 corresponding to the target identification information. Thereby, PLC10A can display on LED2 the display target 5 corresponding to operation information from the various display targets 5. FIG. Accordingly, the PLC 10A can display a large amount of information on the LED 2 with a simple configuration.
  • Embodiment 2 a second embodiment of the present invention will be described with reference to FIG.
  • the display object 5 is acquired by the circuit, and the acquired display object 5 is read from the circuit and displayed on the LED 2.
  • information acquired by the circuit is the display target 5.
  • FIG. 6 is a block diagram of the configuration of the programmable logic controller according to the second embodiment.
  • the constituent elements of the PLC 10B shown in FIG. 6 the constituent elements that achieve the same functions as those of the PLC 10A of the first embodiment shown in FIG.
  • the control system 100B is a system having the same function as the control system 100A, and includes a machine 20, a PLC 10B, and a network NT connected to the PLC 10B.
  • the PLC 10B has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as the PLC 10A.
  • the PLC 10B includes an LED 2, an LED control unit 6B, and a switching operation unit 3.
  • the PLC 10B according to the second embodiment includes a battery 11 that can supply electric energy and a remaining amount monitoring circuit 12 that monitors the remaining energy of the battery 11.
  • the PLC 10 ⁇ / b> B includes a component 13 whose life is monitored and a life monitoring circuit 14 that monitors the life of the component 13.
  • the LED control unit 6B includes a display target storage unit 8 and an operation register 4. As described above, in the second embodiment, the display target storage unit 8 is arranged in the LED control unit 6B.
  • the display object storage unit 8 and the LED control unit 6B may have different configurations.
  • the battery 11 supplies electric energy to the components in the PLC 10B as necessary.
  • the remaining amount monitoring circuit 12 is connected to the LED control unit 6 ⁇ / b> B and the battery 11.
  • the remaining amount monitoring circuit 12 is a circuit that monitors the remaining energy of the battery 11.
  • the remaining amount monitoring circuit 12 generates remaining amount information indicating the remaining amount of energy of the battery 11.
  • the remaining amount information generated by the remaining amount monitoring circuit 12 is read by the LED control unit 6B. Note that when the LED control unit 6B requests the remaining amount monitoring circuit 12 to acquire remaining amount information, the remaining amount monitoring circuit 12 may send the remaining amount information to the LED control unit 6B. As described above, the LED control unit 6B may acquire the remaining amount information from the remaining amount monitoring circuit 12 by any method.
  • the part 13 is a part with a limited life and is a part to be monitored for life.
  • the component 13 may be any component in the PLC 10B.
  • the life monitoring circuit 14 is connected to the LED control unit 6 ⁇ / b> B and the component 13.
  • the life monitoring circuit 14 is a circuit that monitors the component 13 and calculates the lifetime of the component 13.
  • the life monitoring circuit 14 generates life information indicating the life of the component 13.
  • the life information generated by the life monitoring circuit 14 is read by the LED control unit 6B. Note that when the LED monitoring unit 6B requests the lifetime monitoring circuit 14 to acquire lifetime information, the lifetime monitoring circuit 14 may send the lifetime information to the LED control unit 6B.
  • the LED control unit 6B may acquire the life information from the life monitoring circuit 14 by any method.
  • the remaining amount information or the life information is the display target 5.
  • the user when the user wants to display the remaining amount information, the user performs a switching operation for designating the remaining amount information on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated residual amount information.
  • the switching operation unit 3 sends operation information corresponding to the designation of the remaining amount information to the LED control unit 6B.
  • the switching operation part 3 receives the switching operation which designated lifetime information.
  • the switching operation unit 3 sends operation information corresponding to the designation of the life information to the LED control unit 6B.
  • the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the remaining amount information or the life information corresponding to the target identification information.
  • the LED control unit 6B reads the remaining amount information from the remaining amount monitoring circuit 12 when the display target 5 corresponding to the target identification information is the remaining amount information. Further, the LED control unit 6B reads the life information from the remaining amount monitoring circuit 12 when the display target 5 corresponding to the target identification information is the life information.
  • the LED control unit 6B displays the remaining amount information on the LED 2 when the remaining amount information is read. Moreover, the LED control part 6B displays life information on LED2 when reading life information. The LED 2 displays remaining amount information or life information by turning on, blinking, or turning off.
  • the LED control unit 6B causes the LED 2 to display the remaining amount information. Further, when the switching operation unit 3 receives a switching operation for designating the life information, the LED control unit 6B causes the LED 2 to display the life information.
  • the PLC 10B may not include the remaining amount monitoring circuit 12.
  • the life information is the display object 5.
  • the PLC 10B does not include the remaining amount monitoring circuit 12
  • the PLC 10B does not need to include the battery 11. Further, the PLC 10B may not include the life monitoring circuit 14.
  • the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the remaining amount information or the life information corresponding to the target identification information. Therefore, the PLC 10B can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
  • Embodiment 3 FIG. Next, Embodiment 3 of the present invention will be described with reference to FIG.
  • the display object 5 is stored in a register in the arithmetic circuit, and the stored display object 5 is read from the register and displayed on the LED 2.
  • the information stored in the register in the arithmetic circuit is the display object 5 in the third embodiment.
  • FIG. 7 is a block diagram of the configuration of the programmable logic controller according to the third embodiment.
  • constituent elements of the PLC 10C shown in FIG. 7 constituent elements that achieve the same functions as those of the PLCs 10A and 10B are denoted by the same reference numerals, and redundant description is omitted.
  • the control system 100C is a system having the same function as the control systems 100A and 100B, and includes the machine 20, the PLC 10C, and the network NT connected to the PLC 10C.
  • the PLC 10C has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as that of the PLC 10A.
  • the PLC 10C includes an LED 2, an LED control unit 6B, and a switching operation unit 3. Further, the PLC 10C of the third embodiment includes an arithmetic circuit 21 that calculates operation information used for the operation of the PLC 10C.
  • the arithmetic circuit 21 is a circuit that calculates the operation information of the PLC 10C using a program.
  • An example of the arithmetic circuit 21 is a control unit that controls the machine 20 that is a controlled device.
  • the arithmetic circuit 21 includes a calculation result storage register 22 for storing a calculation result, and a program processing time storage register 23 for storing a processing time of a program used when calculating operation information.
  • the operation result storage register 22 and the program processing time storage register 23 are connected to the LED control unit 6B.
  • the calculation result stored in the calculation result storage register 22 is read by the LED control unit 6B. Note that when the calculation circuit 21 receives a calculation result acquisition request from the LED control unit 6B, the calculation circuit 21 may send the calculation result to the LED control unit 6B. As described above, the LED control unit 6B may acquire the calculation result from the calculation result storage register 22 by any method.
  • the processing time stored in the program processing time storage register 23 is read by the LED control unit 6B. Note that when the processing time is requested from the LED control unit 6B to the arithmetic circuit 21, the arithmetic circuit 21 may send the processing time to the LED control unit 6B. Thus, the LED control unit 6B may acquire the processing time from the program processing time storage register 23 by any method.
  • the calculation result stored in the calculation result storage register 22 or the processing time stored in the program processing time storage register 23 is the display target 5.
  • the switching operation part 3 receives the switching operation which designated the calculation result.
  • the switching operation unit 3 sends operation information corresponding to the designation of the calculation result to the LED control unit 6B.
  • the switching operation part 3 receives the switching operation which designated the processing time.
  • the switching operation unit 3 sends operation information corresponding to the designation of the processing time to the LED control unit 6B.
  • the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the calculation result or the processing time corresponding to the target identification information.
  • the LED control unit 6B reads the calculation result from the calculation result storage register 22 when the display target 5 corresponding to the target identification information is the calculation result.
  • the LED control unit 6B reads the processing time from the program processing time storage register 23 when the display target 5 corresponding to the target identification information is the processing time.
  • the LED control unit 6B When the LED control unit 6B reads out the calculation result, the LED control unit 6B displays the calculation result on the LED 2. Further, when the processing time is read, the LED control unit 6B causes the LED 2 to display the processing time. LED2 displays a calculation result or processing time by lighting, blinking, or extinguishing.
  • the LED control unit 6B displays the calculation result on the LED 2.
  • the LED control unit 6B causes the LED 2 to display the processing time.
  • the PLC 10C may not include the calculation result storage register 22. In this case, the processing time is the display target 5. Further, the PLC 10C may not include the program processing time storage register 23. In this case, the calculation result is the display object 5.
  • the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the calculation result or the processing time corresponding to the target identification information. Therefore, the PLC 10C can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
  • Embodiment 4 FIG. Next, a fourth embodiment of the present invention will be described with reference to FIG.
  • the display object 5 is stored in a register in the communication circuit, and the stored display object 5 is read from the register and displayed on the LED 2.
  • the information stored in the register in the communication circuit is the display object 5.
  • FIG. 8 is a block diagram of the configuration of the programmable logic controller according to the fourth embodiment.
  • the constituent elements of the PLC 10D shown in FIG. 8 the constituent elements that achieve the same functions as those of the PLC 10A to the PLC 10C are denoted by the same reference numerals, and redundant description is omitted.
  • the control system 100D is a system having functions similar to those of the control system 100A to the control system 100C, and includes the machine 20, the PLC 10D, and the network NT connected to the PLC 10D.
  • the PLC 10D has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as the PLC 10D.
  • the PLC 10D includes an LED 2, an LED control unit 6B, and a switching operation unit 3.
  • the PLC 10D of the fourth embodiment includes a communication circuit 31 that performs communication with an external device via the network NT.
  • the communication circuit 31 is a circuit that performs communication processing with an external device while managing a communication state with the external device.
  • the communication circuit 31 includes a state storage register 32 that stores a communication state that is a state of communication processing with an external device.
  • the communication state stored in the state storage register 32 is read out by the LED control unit 6B. Note that when the communication state is requested from the LED control unit 6B to the communication circuit 31, the communication circuit 31 may send the communication state to the LED control unit 6B. As described above, the LED control unit 6B may acquire the communication state from the state storage register 32 by any method.
  • the communication state stored in the state storage register 32 is the display target 5.
  • the PLC 10 ⁇ / b> D when the user wants to display the communication state, the user performs a switching operation for designating the communication state on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated the communication state.
  • the switching operation unit 3 sends operation information corresponding to the designation of the communication state to the LED control unit 6B.
  • the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the communication state corresponding to the target identification information from the state storage register 32.
  • the LED control unit 6B displays the communication state on the LED 2.
  • LED2 displays a communication state by lighting, blinking, or extinguishing.
  • the switching operation unit 3 receives a switching operation for designating the communication state
  • the LED control unit 6B displays the communication state on the LED 2.
  • the communication circuit 31 may be a circuit that performs communication without going through the network NT.
  • the communication circuit 31 may be a circuit that performs communication with an external device directly connected to the PLC 10D.
  • the communication circuit 31 may be a circuit that performs communication with the machine 20.
  • the communication circuit 31 may be a circuit that performs communication within the PLC 10D.
  • the LED control unit 6B reads the target identification information corresponding to the operation information and displays the communication state corresponding to the target identification information on the LED2. Therefore, the PLC 10D can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
  • Embodiments 1 to 4 may be combined.
  • the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the remaining amount information, the life information, the calculation result, the processing time, or the communication state corresponding to the target identification information.
  • 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

The purpose of the present invention is to obtain a programmable logic controller which is capable of causing a display unit to display much information with a simple configuration. Provided is a programmable logic controller (10A), comprising: an LED (2) which displays a display subject (5); a switch operation unit (3) which accepts a switch instruction from a user by a switch operation which is performed by the user; a display subject storage unit (8) which stores, in association with the switch instruction, subject identification information for identifying the display subject (5) which corresponds to the switch instruction; and an LED control unit (6A) which reads out from the display subject storage unit (8) the subject identification information which corresponds to the switch instruction which the switch operation unit (3) has accepted, and causes the LED (2) to display the display subject (5) which corresponds to the subject identification information which has been read out.

Description

プログラマブルロジックコントローラProgrammable logic controller
 本発明は、操作で指定された表示対象を表示部に表示させるプログラマブルロジックコントローラに関する。 The present invention relates to a programmable logic controller that displays a display target designated by an operation on a display unit.
 PLC(Programmable Logic Controller:プログラマブルロジックコントローラ)は、近年の小型化に伴い、PLC上に実装されるLED(Light Emitting Diode)の個数を減らすことが求められている。一方で、PLCに搭載される機能は、年々増加しており、PLCの機能を実現するユニット上でLEDを用いて表示させたい項目も増大している。 PLC (Programmable Logic Controller: Programmable Logic Controller) is required to reduce the number of LEDs (Light Emitting Diode) mounted on the PLC with the recent miniaturization. On the other hand, the functions installed in the PLC are increasing year by year, and the items that are desired to be displayed using LEDs on the units that realize the functions of the PLC are also increasing.
 しかしながら、ユーザは、LEDに割り当てられていない、機能の状態または動作の状態を確認したい場合がある。このような場合、システム上にモニタを設置して確認するか、またはPLCをPC(Personal Computer)と接続しエンジニアリングツールを介して確認する必要がある。 However, there are cases where the user wants to check a function state or an operation state that is not assigned to the LED. In such a case, it is necessary to check by installing a monitor on the system or by connecting a PLC to a PC (Personal Computer) and checking via an engineering tool.
 このため、システムの保守には、システムが設置された現場で確認可能なLEDによって、機能の状態または動作の状態を多く表示することが望まれる。これに対し、特許文献1では、表示装置が、切替えスイッチを用いてLEDに割り当てる表示対象を切替えており、これにより、限られたLEDで多くの情報を表示させている。 For this reason, for system maintenance, it is desirable to display a large number of function states or operation states by LEDs that can be confirmed at the site where the system is installed. On the other hand, in patent document 1, the display apparatus switches the display object allocated to LED using a changeover switch, and, thereby, displays many information with limited LED.
実開平6-11003号公報Japanese Utility Model Publication No. 6-11003
 上記従来の技術である特許文献1では、LED表示制御回路が、信号入出力部から送られてくる接点信号のオンオフ状態を受ける。そして、LED表示制御回路が、切替えスイッチによってLEDに割り当てる接点を切替えている。これにより、LED表示制御回路が、接点信号のオンオフ状態をLEDに表示させている。 In Patent Document 1, which is the above-described conventional technique, the LED display control circuit receives an on / off state of a contact signal sent from a signal input / output unit. Then, the LED display control circuit switches contacts assigned to the LEDs by a changeover switch. Thereby, the LED display control circuit displays the on / off state of the contact signal on the LED.
 しかしながら、上記従来の技術である特許文献1では、リレーの接点情報がLEDに直結される構成となっているので、簡易な構成で多くの情報をLEDで表示させることができない。 However, in Patent Document 1, which is the above-described conventional technology, the relay contact information is directly connected to the LED, so that a lot of information cannot be displayed on the LED with a simple configuration.
 本発明は、上記に鑑みてなされたものであって、簡易な構成で多くの情報を表示部に表示させることができるプログラマブルロジックコントローラを得ることを目的とする。 The present invention has been made in view of the above, and an object thereof is to obtain a programmable logic controller capable of displaying a large amount of information on a display unit with a simple configuration.
 上述した課題を解決し、目的を達成するために、本発明は、プログラマブルロジックコントローラにおいて、表示対象を表示する表示部と、ユーザによる切替操作によってユーザからの切替指示を受付ける切替操作部と、切替指示に対応する表示対象を識別する対象識別情報を、切替指示に対応づけて記憶する表示対象記憶部とを備える。また、本発明のプログラマブルロジックコントローラにおいて、切替操作部が受付けた切替指示に対応する対象識別情報を表示対象記憶部から読み出して、読み出した対象識別情報に対応する表示対象を表示部に表示させる表示制御部を備える。 In order to solve the above-described problems and achieve the object, the present invention provides a display unit that displays a display target, a switching operation unit that receives a switching instruction from a user by a switching operation by the user, and switching A display target storage unit that stores target identification information for identifying a display target corresponding to the instruction in association with the switching instruction; Moreover, in the programmable logic controller of the present invention, the display for reading the target identification information corresponding to the switching instruction received by the switching operation unit from the display target storage unit and displaying the display target corresponding to the read target identification information on the display unit A control unit is provided.
 本発明にかかるプログラマブルロジックコントローラは、簡易な構成で多くの情報を表示部に表示させることが可能になる、という効果を奏する。 The programmable logic controller according to the present invention has an effect that a large amount of information can be displayed on the display unit with a simple configuration.
実施の形態1にかかるプログラマブルロジックコントローラの構成を示すブロック図1 is a block diagram showing a configuration of a programmable logic controller according to a first embodiment. 実施の形態1にかかるプログラマブルロジックコントローラの動作処理手順を示すフローチャートThe flowchart which shows the operation processing procedure of the programmable logic controller concerning Embodiment 1. FIG. 実施の形態1にかかる、操作情報と対象識別情報との対応関係を説明するための図The figure for demonstrating the correspondence of operation information and object identification information concerning Embodiment 1. FIG. 実施の形態1のPLCが備える構成要素が処理回路であることを示す図The figure which shows that the component with which PLC of Embodiment 1 is provided is a processing circuit 実施の形態1のPLCが備える制御回路の構成例を示す図The figure which shows the structural example of the control circuit with which PLC of Embodiment 1 is provided. 実施の形態2にかかるプログラマブルロジックコントローラの構成を示すブロック図FIG. 3 is a block diagram showing a configuration of a programmable logic controller according to the second embodiment. 実施の形態3にかかるプログラマブルロジックコントローラの構成を示すブロック図FIG. 4 is a block diagram showing a configuration of a programmable logic controller according to the third embodiment. 実施の形態4にかかるプログラマブルロジックコントローラの構成を示すブロック図Block diagram showing a configuration of a programmable logic controller according to a fourth embodiment.
 以下に、本発明の実施の形態にかかるプログラマブルロジックコントローラを図面に基づいて詳細に説明する。なお、これらの実施の形態により本発明が限定されるものではない。 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 these embodiments.
実施の形態1.
 図1は、実施の形態1にかかるプログラマブルロジックコントローラの構成を示すブロック図である。制御システム100Aは、被制御機器である機械20と、機械20を制御するPLC(Programmable Logic Controller:プログラマブルロジックコントローラ)10Aと、PLC10Aに接続されたネットワークNTとを備える。PLC10Aは、JIS(日本工業規格) B 3502:2011により規定されたプログラマブルコントローラである。
Embodiment 1 FIG.
FIG. 1 is a block diagram of the configuration of the programmable logic controller according to the first embodiment. The control system 100A includes a machine 20 that is a controlled device, a PLC (Programmable Logic Controller) 10A that controls the machine 20, and a network NT connected to the PLC 10A. The PLC 10A is a programmable controller defined by JIS (Japanese Industrial Standards) B 3502: 2011.
 制御システム100Aでは、PLC10Aが機械20に接続されている。また、制御システム100Aでは、PLC10AがネットワークNTを介して、図示しない外部装置に接続されている。PLC10Aは、機械20を制御するとともに、機械20の動作状態に従って変化する制御システム100Aの状態を示す情報を保持する。 In the control system 100A, the PLC 10A is connected to the machine 20. In the control system 100A, the PLC 10A is connected to an external device (not shown) via the network NT. The PLC 10 </ b> A controls the machine 20 and holds information indicating the state of the control system 100 </ b> A that changes according to the operation state of the machine 20.
 制御装置であるPLC10Aは、表示対象5を表示するLED(Light Emitting Diode)2と、LED2を制御するコントローラであるLED制御部6Aとを備える。また、PLC10Aは、ユーザからの表示対象5の切替指示を受付ける切替操作部3を備える。また、PLC10Aは、表示対象5を識別する対象識別情報と、切替指示である切替操作とを対応付けて記憶する表示対象記憶部8とを備える。実施の形態1のPLC10Aは、ユーザからの切替操作によって一意に決まる表示対象5を、LED2を用いて表示させる。PLC10Aは、図示しないCPU(Central Processing Unit)ユニットを含んで構成されている。 PLC10A which is a control apparatus is provided with LED (Light Emitting Diode) 2 which displays the display object 5, and LED control part 6A which is a controller which controls LED2. Moreover, PLC10A is provided with the switching operation part 3 which receives the switching instruction | indication of the display target 5 from a user. In addition, the PLC 10A includes a display target storage unit 8 that stores target identification information for identifying the display target 5 and a switching operation that is a switching instruction in association with each other. The PLC 10A of the first embodiment displays the display object 5 uniquely determined by the switching operation from the user using the LED 2. The PLC 10A includes a CPU (Central Processing Unit) unit (not shown).
 表示対象5は、制御システム100Aの状態を示す情報である。具体的には、表示対象5は、制御システム100Aが有する機能の状態または制御システム100Aの動作の状態を示す情報である。表示対象5は、複数種類あり、表示させる表示対象5は、ユーザによって選択される。換言すると、表示対象5は、LED2に表示させる候補であり、表示させる表示対象5は、候補の中からユーザによって選択される。 The display target 5 is information indicating the state of the control system 100A. Specifically, the display target 5 is information indicating a function state of the control system 100A or an operation state of the control system 100A. There are a plurality of types of display objects 5, and the display object 5 to be displayed is selected by the user. In other words, the display target 5 is a candidate to be displayed on the LED 2, and the display target 5 to be displayed is selected by the user from the candidates.
 制御システム100Aが有する機能の状態は、PLC10Aが有する機能の状態、または機械20が有する機能の状態を含んでいる。PLC10Aが有する機能は、ネットワーク機能、位置決め制御機能、モーション制御機能、または外部記録媒体との通信機能である。 The state of the function that the control system 100A has includes the state of the function that the PLC 10A has, or the state that the machine 20 has. The function which PLC10A has is a network function, a positioning control function, a motion control function, or a communication function with an external recording medium.
 ネットワーク機能は、外部装置との間でネットワークNTを介してデータ通信を行なう機能である。位置決め制御機能は、機械20の有する構成要素の位置決めを制御する機能である。モーション制御機能は、機械20の有する構成要素の動作を制御する機能である。外部記録媒体との通信機能は、外部記録媒体との間でデータ通信を行なう機能である。 The network function is a function for performing data communication with an external device via the network NT. The positioning control function is a function for controlling the positioning of the components included in the machine 20. The motion control function is a function for controlling the operation of the constituent elements of the machine 20. The communication function with the external recording medium is a function for performing data communication with the external recording medium.
 また、制御システム100Aの動作の状態は、PLC10Aの動作の状態、機械20の動作の状態、PLC10Aと機械20との間で行われる通信の状態、またはPLC10Aと外部装置との間で行われる通信の状態を含んでいる。表示対象5は、制御システム100A内の何れの領域に格納されていてもよい。 In addition, the operation state of the control system 100A is the operation state of the PLC 10A, the operation state of the machine 20, the communication state performed between the PLC 10A and the machine 20, or the communication performed between the PLC 10A and an external device. The state of is included. The display target 5 may be stored in any area in the control system 100A.
 表示部であるLED2は、発光ダイオードとも呼ばれ、点灯、点滅または消灯させることによって表示対象5を表示する。LED2は、LED制御部6Aからの指示に従って点灯、点滅または消灯の何れかの状態となる。PLC10Aには、1から複数のLED2が配置されている。 The LED 2 that is a display unit is also called a light emitting diode, and displays the display target 5 by turning on, blinking, or turning off. The LED 2 is turned on, blinked, or turned off according to an instruction from the LED control unit 6A. One to a plurality of LEDs 2 are arranged in the PLC 10A.
 切替操作部3は、図示しない被操作機構を備えている。操作主体であるユーザは、切替操作部3の被操作機構に切替操作を行う。切替操作部3は、被操作機構への切替操作である切替指示を受付ける。このように、切替操作部3へは、表示させる表示対象5の切替え指示である切替操作が行われる。 The switching operation unit 3 includes an operated mechanism (not shown). The user who is the operation subject performs a switching operation on the operated mechanism of the switching operation unit 3. The switching operation unit 3 receives a switching instruction that is a switching operation to the operated mechanism. In this way, the switching operation that is a switching instruction of the display target 5 to be displayed is performed on the switching operation unit 3.
 ユーザは、表示対象5を切替える場合には、切替操作部3に対して切替操作を行う。切替操作部3への切替操作の内容は、切替操作部3が操作された場合の、操作結果、操作時間または操作回数によって決まるものである。切替操作部3は、ユーザによる切替操作に対応する操作情報を、LED制御部6Aに送る。具体的には、切替操作部3は、操作結果、操作時間または操作回数を示す操作情報をLED制御部6Aに送る。操作情報は、表示対象5を指定するための切替操作を識別する情報である。操作情報は、ユーザによる操作方法である切替操作によって一意に決まる。 The user performs a switching operation on the switching operation unit 3 when switching the display target 5. The content of the switching operation to the switching operation unit 3 is determined by the operation result, the operation time, or the number of operations when the switching operation unit 3 is operated. The switching operation unit 3 sends operation information corresponding to the switching operation by the user to the LED control unit 6A. Specifically, the switching operation unit 3 sends operation information indicating an operation result, an operation time, or the number of operations to the LED control unit 6A. The operation information is information for identifying a switching operation for designating the display target 5. The operation information is uniquely determined by a switching operation that is an operation method by the user.
 切替操作部3への操作結果は、被操作機構の状態が複数の状態のうちの1つに設定されることに対応している。被操作機構が、ボタンまたはスイッチである場合、ボタンまたはスイッチが、複数の状態のうちの何れかの状態に設定される。また、被操作機構が、操作パネルである場合、操作パネルに何れかの設定指示が入力される。換言すると、操作結果は、切替操作部3が受付ける操作単位である、状態設定または指示入力である。切替操作部3への操作単位は、1回の状態設定または1回の押下操作である。このように、操作結果は、操作単位の種類と、操作後の状態との情報を含んでいる。 The operation result to the switching operation unit 3 corresponds to the state of the operated mechanism being set to one of a plurality of states. When the operated mechanism is a button or a switch, the button or switch is set to one of a plurality of states. When the operated mechanism is an operation panel, any setting instruction is input to the operation panel. In other words, the operation result is a state setting or instruction input that is an operation unit accepted by the switching operation unit 3. An operation unit for the switching operation unit 3 is one state setting or one pressing operation. Thus, the operation result includes information on the type of operation unit and the state after the operation.
 操作時間を示す操作情報は、被操作機構に対してどれくらいの間、操作が行われたかを示す情報である。操作時間を示す操作情報は、被操作機構に対して基準の時間よりも長い時間操作が行われたか否かの情報を含んでいる。具体的には、操作時間を示す操作情報は、被操作機構が長押しされたか否かの情報を含んでいる。 The operation information indicating the operation time is information indicating how long the operation has been performed on the operated mechanism. The operation information indicating the operation time includes information indicating whether or not the operation mechanism has been operated for a time longer than the reference time. Specifically, the operation information indicating the operation time includes information on whether or not the operated mechanism has been pressed for a long time.
 操作回数を示す操作情報は、1回の操作処理の際に、被操作機構に対して何回の操作が行われたかを示す情報である。被操作機構がボタンまたは操作パネルである場合、操作回数を示す操作情報は、ボタンまたは操作パネルが何回連続して押下されたかを示す情報である。被操作機構は、ユーザが繰り返し操作できる機構であればどのような機構でも構わない。 The operation information indicating the number of operations is information indicating how many operations have been performed on the operated mechanism during one operation process. When the operated mechanism is a button or an operation panel, the operation information indicating the number of operations is information indicating how many times the button or the operation panel is pressed continuously. The operated mechanism may be any mechanism as long as it can be operated repeatedly by the user.
 表示対象記憶部8は、情報を格納する表示対象レジスタ7を有している。表示対象レジスタ7は、表示対象5を識別する対象識別情報を格納するレジスタである。対象識別情報は、表示対象5を識別する数値である。このように、表示対象5は、一意な値である対象識別情報に対応付けされている。したがって、表示対象5は、対象識別情報が決まると、一意に決まる。 The display target storage unit 8 has a display target register 7 for storing information. The display target register 7 is a register that stores target identification information for identifying the display target 5. The object identification information is a numerical value that identifies the display object 5. In this way, the display target 5 is associated with the target identification information that is a unique value. Therefore, the display target 5 is uniquely determined when the target identification information is determined.
 また、表示対象記憶部8は、操作情報と、対象識別情報の表示対象レジスタ7内での格納位置と、が対応付けされた対応情報を記憶する。したがって、対象識別情報は、操作情報が決まると一意に決まる情報である。このように、表示対象記憶部8は、対応情報と対象識別情報とを記憶しているので、表示対象記憶部8内において、操作情報と対象識別情報とが対応情報によって対応付けされている。 Further, the display target storage unit 8 stores correspondence information in which operation information is associated with a storage position of the target identification information in the display target register 7. Therefore, the target identification information is information that is uniquely determined when the operation information is determined. Thus, since the display target storage unit 8 stores the correspondence information and the target identification information, the operation information and the target identification information are associated with each other in the display target storage unit 8 by the correspondence information.
 また、操作情報には、操作結果、操作時間または操作回数が含まれている。そして、上述したように操作情報と対象識別情報とが対応付けされている。したがって、表示対象記憶部8内において、操作結果、操作時間または操作回数と、対象識別情報とが対応付けされている。 Also, the operation information includes an operation result, an operation time, or the number of operations. As described above, the operation information and the target identification information are associated with each other. Therefore, in the display target storage unit 8, the operation result, the operation time, or the number of operations is associated with the target identification information.
 表示対象レジスタ7は、LED2毎に対応情報を格納する。表示対象レジスタ7が複数のレジスタで構成される場合、1つのレジスタに、1つのLED2の対応情報が格納される。 The display target register 7 stores correspondence information for each LED 2. When the display target register 7 is composed of a plurality of registers, correspondence information of one LED 2 is stored in one register.
 表示制御部であるLED制御部6Aは、表示部であるLED2への表示制御を行う。また、LED制御部6Aは、切替操作部3からの操作情報を格納する操作レジスタ4を有している。操作レジスタ4は、操作情報を示す数値を格納する。LED制御部6Aは、操作レジスタ4に格納されている操作情報に基づいて、LED2を制御する。 The LED control unit 6A that is a display control unit performs display control on the LED 2 that is a display unit. The LED control unit 6 </ b> A includes an operation register 4 that stores operation information from the switching operation unit 3. The operation register 4 stores a numerical value indicating operation information. The LED control unit 6 </ b> A controls the LED 2 based on the operation information stored in the operation register 4.
 LED制御部6Aは、LED2を制御する際に、操作レジスタ4から操作情報を読み出す。また、LED制御部6Aは、表示対象記憶部8を参照して対応情報を読み出す。さらに、LED制御部6Aは、対応情報に基づいて、操作情報に対応する対象識別情報の格納位置を読み出す。LED制御部6Aが読み出す格納位置は、対象識別情報が表示対象レジスタ7内で格納されている位置である。 The LED control unit 6A reads operation information from the operation register 4 when controlling the LED 2. The LED control unit 6 </ b> A reads the correspondence information with reference to the display target storage unit 8. Further, the LED control unit 6A reads the storage position of the target identification information corresponding to the operation information based on the correspondence information. The storage position read by the LED control unit 6 </ b> A is a position where the target identification information is stored in the display target register 7.
 LED制御部6Aは、読み出した格納位置の対象識別情報を表示対象レジスタ7から読み出す。LED制御部6Aは、取得した対象識別情報に対応する表示対象5の現在状態をLED2に表示させる。 The LED control unit 6A reads the target identification information of the read storage position from the display target register 7. The LED control unit 6A causes the LED 2 to display the current state of the display target 5 corresponding to the acquired target identification information.
 LED制御部6AがLED2に表示させる表示対象5の現在状態は、制御システム100Aが有する機能の現在の状態または制御システム100Aの現在の動作の状態である。表示対象5の現在状態は、LED制御部6Aが現時点で取得する最新の情報である。このため、表示対象5の現在状態は、切替操作部3がユーザによって操作されるタイミングよりも前に生成された情報であってもよい。 The current state of the display target 5 displayed on the LED 2 by the LED control unit 6A is the current state of the function of the control system 100A or the current operation state of the control system 100A. The current state of the display target 5 is the latest information that the LED control unit 6A acquires at the present time. For this reason, the current state of the display target 5 may be information generated before the timing when the switching operation unit 3 is operated by the user.
 なお、実施の形態1では、表示対象記憶部8とLED制御部6Aとが別々の構成である場合について説明するが、表示対象記憶部8は、LED制御部6A内に配置されていてもよい。また、PLC10Aが備える表示部は、LED2以外の装置であってもよい。 In addition, although Embodiment 1 demonstrates the case where the display object memory | storage part 8 and LED control part 6A are separate structures, the display object memory | storage part 8 may be arrange | positioned in LED control part 6A. . Further, the display unit included in the PLC 10A may be a device other than the LED 2.
 図2は、実施の形態1にかかるプログラマブルロジックコントローラの動作処理手順を示すフローチャートである。ステップS1において、LED表示制御の際には、制御システム100Aが起動される。これにより、PLC10Aが起動する。 FIG. 2 is a flowchart of an operation processing procedure of the programmable logic controller according to the first embodiment. In step S1, the control system 100A is activated during LED display control. Thereby, PLC10A starts.
 そして、切替操作部3がユーザによって切替操作されると、切替操作部3は、ユーザからの切替操作に対応する操作情報をLED制御部6Aに送る。ユーザが行う切替操作は、表示対象5を切替える操作である。ユーザは、所望の表示対象5を表示させるための切替操作を切替操作部3に行う。 When the switching operation unit 3 is switched by the user, the switching operation unit 3 sends operation information corresponding to the switching operation from the user to the LED control unit 6A. The switching operation performed by the user is an operation for switching the display target 5. The user performs a switching operation for displaying the desired display target 5 on the switching operation unit 3.
 切替操作部3がLED制御部6Aに送る操作情報は、ユーザによる切替操作部3への操作結果、操作時間または操作回数によって一意に決まる。LED制御部6Aに送られた操作情報は、操作レジスタ4に格納される。 The operation information sent from the switching operation unit 3 to the LED control unit 6A is uniquely determined by the operation result, operation time, or number of operations by the user. The operation information sent to the LED control unit 6A is stored in the operation register 4.
 ステップS2において、LED制御部6Aは、操作レジスタ4から操作情報を読み出す。また、ステップS3において、LED制御部6Aは、表示対象記憶部8を参照する。そして、ステップS4において、LED制御部6Aは、表示対象記憶部8内の対応情報を読み出す。さらに、LED制御部6Aは、対応情報に基づいて、操作情報に対応する対象識別情報の格納位置を読み出す。そして、LED制御部6Aは、読み出した格納位置に基づいて、表示対象レジスタ7から対象識別情報を読み出す。このように、ステップS4において、LED制御部6Aは、操作レジスタ4のリード値に対応する対象識別情報を表示対象レジスタ7から読み出す。 In step S2, the LED control unit 6A reads the operation information from the operation register 4. In step S <b> 3, the LED control unit 6 </ b> A refers to the display target storage unit 8. In step S4, the LED control unit 6A reads the correspondence information in the display target storage unit 8. Further, the LED control unit 6A reads the storage position of the target identification information corresponding to the operation information based on the correspondence information. Then, the LED control unit 6A reads target identification information from the display target register 7 based on the read storage position. Thus, in step S4, the LED control unit 6A reads the target identification information corresponding to the read value of the operation register 4 from the display target register 7.
 ここで、操作情報と対象識別情報との対応関係について説明する。図3は、実施の形態に係る操作情報と対象識別情報との対応関係を説明するための図である。操作情報は、操作レジスタ4に格納されている情報である。図3では、操作情報である「00d」、「01d」、「02d」および「03d」を示している。 Here, the correspondence between operation information and target identification information will be described. FIG. 3 is a diagram for explaining a correspondence relationship between operation information and target identification information according to the embodiment. The operation information is information stored in the operation register 4. In FIG. 3, “00d”, “01d”, “02d”, and “03d”, which are operation information, are shown.
 対象識別情報は、表示対象レジスタ7に格納されている情報である。nを自然数とすると、PLC10Aに配置されるLED2が、複数からなるLED_A0からLED_Anである場合、表示対象レジスタ7は、n+1個のレジスタを有している。そして、表示対象レジスタ7が有するn+1個のレジスタは、LED_A0からLED_Anに対応している。 The target identification information is information stored in the display target register 7. When n is a natural number, when the LEDs 2 arranged in the PLC 10A are a plurality of LEDs_A0 to LED_An, the display target register 7 has n + 1 registers. The n + 1 registers included in the display target register 7 correspond to LED_A0 to LED_An.
 操作情報の「00d」に対応する対象識別情報は、LED_A0の「対象0-0」、LED_A1の「対象1-0」およびLED_A2の「対象2-0」を含んでいる。また、操作情報の「01d」に対応する対象識別情報は、LED_A0の「対象0-1」、LED_A1の「対象1-1」およびLED_A2の「対象2-1」を含んでいる。また、操作情報の「02d」に対応する対象識別情報は、LED_A0の「対象0-2」、LED_A1の「対象1-2」およびLED_A2の「対象2-2」を含んでいる。また、操作情報の「03d」に対応する対象識別情報は、LED_A0の「対象0-3」、LED_A1の「対象1-3」およびLED_A2の「対象2-3」を含んでいる。 The target identification information corresponding to the operation information “00d” includes “target 0-0” of LED_A0, “target 1-0” of LED_A1, and “target 2-0” of LED_A2. Further, the target identification information corresponding to the operation information “01d” includes “target 0-1” of LED_A0, “target 1-1” of LED_A1, and “target 2-1” of LED_A2. Further, the target identification information corresponding to the operation information “02d” includes “target 0-2” of LED_A0, “target 1-2” of LED_A1, and “target 2-2” of LED_A2. Further, the target identification information corresponding to the operation information “03d” includes “target 0-3” of LED_A0, “target 1-3” of LED_A1, and “target 2-3” of LED_A2.
 表示対象レジスタ7において、LED_A0のレジスタには、第1の位置に「対象0-0」が格納され、第2の位置に「対象0-1」が格納され、第3の位置に「対象0-2」が格納され、第4の位置に「対象0-3」が格納されている。また、LED_A1のレジスタには、第1の位置に「対象1-0」が格納され、第2の位置に「対象1-1」が格納され、第3の位置に「対象1-2」が格納され、第4の位置に「対象1-3」が格納されている。また、LED_A2のレジスタには、第1の位置に「対象2-0」が格納され、第2の位置に「対象2-1」が格納され、第3の位置に「対象2-2」が格納され、第4の位置に「対象2-3」が格納されている。 In the display target register 7, “target 0-0” is stored in the first position, “target 0-1” is stored in the second position, and “target 0” is stored in the third position. -2 "is stored, and" Target 0-3 "is stored at the fourth position. In the LED_A1 register, “target 1-0” is stored at the first position, “target 1-1” is stored at the second position, and “target 1-2” is stored at the third position. The “target 1-3” is stored in the fourth position. In the register of LED_A2, “target 2-0” is stored at the first position, “target 2-1” is stored at the second position, and “target 2-2” is stored at the third position. The “target 2-3” is stored in the fourth position.
 また、対応情報では、操作情報の「00d」から「03d」に対応する格納位置が設定されている。例えば、操作情報の「00d」に対応する格納位置は、「00d」に対応する対象識別情報が格納されている位置である。具体的には、操作情報の「00d」に対応する格納位置には、表示対象レジスタ7内の第1の位置が設定されている。同様に、操作情報の「01d」に対応する格納位置には、表示対象レジスタ7内の第2の位置が設定されている。操作情報の「02d」に対応する格納位置には、表示対象レジスタ7内の第3の位置が設定されている。操作情報の「03d」に対応する格納位置には、表示対象レジスタ7内の第4の位置が設定されている。 Also, in the correspondence information, storage positions corresponding to “00d” to “03d” of the operation information are set. For example, the storage position corresponding to “00d” of the operation information is a position where the target identification information corresponding to “00d” is stored. Specifically, the first position in the display target register 7 is set as the storage position corresponding to “00d” of the operation information. Similarly, the second position in the display target register 7 is set at the storage position corresponding to “01d” of the operation information. A third position in the display target register 7 is set as the storage position corresponding to “02d” of the operation information. A fourth position in the display target register 7 is set as the storage position corresponding to “03d” of the operation information.
 操作情報が「00d」である場合、LED制御部6Aは、対応情報から操作情報の「00d」に対応する格納位置である第1の位置を読み出す。したがって、LED制御部6Aは、LED_A0に対応するレジスタの第1の位置から、LED_A0の対象識別情報である「対象0-0」を読み出す。また、LED制御部6Aは、LED_A1に対応する第1の位置から、LED_A1の対象識別情報である「対象1-0」を読み出す。また、LED制御部6Aは、LED_A2に対応するレジスタの第1の位置から、LED_A2の対象識別情報である「対象2-0」を読み出す。このように、LED制御部6Aは、表示対象レジスタ7および応答情報を用いて、操作情報に対応する対象識別情報を読み出す。 When the operation information is “00d”, the LED control unit 6A reads the first position that is the storage position corresponding to “00d” of the operation information from the correspondence information. Therefore, the LED control unit 6A reads “target 0-0” that is target identification information of LED_A0 from the first position of the register corresponding to LED_A0. In addition, the LED control unit 6A reads “target 1-0” that is target identification information of the LED_A1 from the first position corresponding to the LED_A1. Further, the LED control unit 6A reads “target 2-0” that is target identification information of the LED_A2 from the first position of the register corresponding to the LED_A2. As described above, the LED control unit 6A reads the target identification information corresponding to the operation information using the display target register 7 and the response information.
 対象識別情報は、予めユーザの設定によって表示対象レジスタ7内に格納される。したがって、対象識別情報が示す値は、ユーザ設定値である。ユーザは、制御システム100Aの構築時に、表示対象レジスタ7を用いて各LED2に何れの表示対象5を割り当てるかを設定する。なお、表示対象レジスタ7の値によって一意に表示対象5を決めることができるのであれば、ユーザは、何れの方法によって表示対象5の割り当てを設定してもよい。また、対応情報は、予めユーザの設定によってLED制御部6A内のメモリなどに格納される。ユーザは、システム構築時に対応情報を設定する。 The object identification information is stored in advance in the display object register 7 according to user settings. Therefore, the value indicated by the target identification information is a user set value. The user sets which display object 5 is assigned to each LED 2 using the display object register 7 when the control system 100A is constructed. If the display target 5 can be uniquely determined by the value of the display target register 7, the user may set the allocation of the display target 5 by any method. Correspondence information is stored in advance in a memory or the like in the LED control unit 6A according to user settings. The user sets correspondence information at the time of system construction.
 図2の説明に戻る。LED制御部6Aが表示対象レジスタ7から対象識別情報を読み出すと、LED制御部6Aは、リード値である対象識別情報に基づいて、表示対象5を読み出す。具体的には、ステップS5において、LED制御部6Aが、表示対象レジスタ7のリード値に対応する表示対象5の現在状態を読み出す。 Returning to the explanation of FIG. When the LED control unit 6A reads the target identification information from the display target register 7, the LED control unit 6A reads the display target 5 based on the target identification information that is a read value. Specifically, in step S <b> 5, the LED control unit 6 </ b> A reads the current state of the display target 5 corresponding to the read value of the display target register 7.
 そして、LED制御部6Aは、読み出した表示対象5の現在状態をLED2に表示させる。具体的には、ステップS6において、LED制御部6Aは、各表示対象5の現在状態のリード値をLED2へ出力する。これにより、LED2は、各表示対象5の現在状態のリード値を表示する。PLC10Aは、制御システム100Aが稼働している間、LED制御部6Aによって、ステップS2からS6の処理を繰り返す。 Then, the LED control unit 6A displays the read current state of the display target 5 on the LED 2. Specifically, in step S6, the LED control unit 6A outputs the read value of the current state of each display target 5 to the LED 2. Thereby, LED2 displays the read value of each display object 5 in the current state. The PLC 10A repeats the processing from step S2 to S6 by the LED control unit 6A while the control system 100A is operating.
 なお、実施の形態1のPLC10Aが備える構成要素の機能の一部又は全部は、後述する処理回路50によって実現されてもよい。図4は、実施の形態1のPLCが備える構成要素が処理回路であることを示す図である。処理回路50は、専用のハードウェアである。処理回路50は、単一回路、複合回路、プログラム化されたプロセッサ、並列プログラム化されたプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、又はこれらを組み合わせたものである。PLC10Aを構成する構成要素の一部は、残部とは別個の専用のハードウェアであってもよい。 Note that some or all of the functions of the constituent elements included in the PLC 10A of the first embodiment may be realized by the processing circuit 50 described later. FIG. 4 is a diagram illustrating that the constituent element included in the PLC according to the first embodiment is a processing circuit. The processing circuit 50 is dedicated hardware. The processing circuit 50 is a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof. . Some of the constituent elements constituting the PLC 10A may be dedicated hardware separate from the remaining part.
 PLC10Aが備える構成要素の一部又は全部は、プログラムを実行する後述のプロセッサ52によって実現されてもよい。この場合、PLC10Aが備える構成要素の一部又は全部は、プロセッサ52が、メインメモリとしてメモリを用いることによって、機能が実現される。 Some or all of the constituent elements included in the PLC 10A may be realized by a processor 52 described later that executes a program. In this case, functions of some or all of the constituent elements included in the PLC 10A are realized by the processor 52 using the memory as the main memory.
 図5は、実施の形態1のPLCが備える制御回路の構成例を示す図である。図5では、PLC10Aが備える構成要素の一部又は全部である制御回路55を示している。プロセッサ52は、CPU、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、又はDSP(Digital Signal Processor)である。プロセッサ52は、メモリ51に格納されているプログラムを実行する。 FIG. 5 is a diagram illustrating a configuration example of a control circuit included in the PLC according to the first embodiment. FIG. 5 shows a control circuit 55 that is a part or all of the components included in the PLC 10A. The processor 52 is a CPU, a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor). The processor 52 executes a program stored in the memory 51.
 PLC10Aが備える構成要素の一部又は全部がプロセッサ52である場合、制御回路55によってPLC10Aの機能が実現される。すなわち、PLC10Aを構成する少なくとも一部の構成要素の機能は、プロセッサ52と、プログラムとによって実現される。プログラムは、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせの何れかである。ソフトウェア又はファームウェアは、プログラムで記述され、メモリ51に格納される。プロセッサ52は、メモリ51に記憶されたプログラムを読み出して実行することによって、PLC10Aを構成する構成要素の機能を実現する。 When some or all of the components included in the PLC 10A are the processor 52, the function of the PLC 10A is realized by the control circuit 55. That is, the functions of at least some of the constituent elements that make up the PLC 10A are realized by the processor 52 and the program. The program is either software, firmware, or a combination of software and firmware. Software or firmware is described in a program and stored in the memory 51. The processor 52 reads out and executes the program stored in the memory 51, thereby realizing the functions of the components constituting the PLC 10A.
 プロセッサ52が実行するプログラムは、コンピュータで実行可能な、LED2を制御するための複数の命令を含むコンピュータ読取り可能かつ非遷移的な(non-transitory)記録媒体を有するコンピュータプログラムプロダクトである。プロセッサ52が実行するプログラムは、複数の命令がLED2を制御することをコンピュータに実行させる。 The program executed by the processor 52 is a computer program product having a computer-readable non-transitory recording medium including a plurality of instructions for controlling the LED 2 that can be executed by a computer. The program executed by the processor 52 causes the computer to execute that the plurality of instructions control the LED 2.
 プロセッサ52が実行するプログラムは、メモリ51に格納しておく。メモリ51に格納されるプログラムは、PLC10Aを構成する構成要素の手順又は方法をコンピュータに実行させるものであるともいえる。メモリ51は、不揮発性半導体メモリであってもよいし、揮発性の半導体メモリであってもよい。メモリ51は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)であってもよい。なお、メモリ51は、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク又はDVDであってもよい。 The program executed by the processor 52 is stored in the memory 51. It can be said that the program stored in the memory 51 causes the computer to execute the procedure or method of the components constituting the PLC 10A. The memory 51 may be a nonvolatile semiconductor memory or a volatile semiconductor memory. The memory 51 may be a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), or an EEPROM (Electrically Erasable Programmable Memory). The memory 51 may be a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD.
 PLC10Aを構成する複数の構成要素の機能について、一部を専用のハードウェアで実現し、残部をソフトウェア又はファームウェアで実現してもよい。このように、PLC10Aを構成する複数の構成要素の機能は、ハードウェア、ソフトウェア、ファームウェア、又はこれらの組み合わせによって実現することができる。 The functions of a plurality of constituent elements constituting the PLC 10A may be partially realized by dedicated hardware and the remaining part may be realized by software or firmware. As described above, the functions of a plurality of components constituting the PLC 10A can be realized by hardware, software, firmware, or a combination thereof.
 なお、ユーザは、切替操作部3に、操作情報であるパラメータを入力してもよい。換言すると、切替操作部3は、パラメータの入力を受付けてもよい。切替操作部3に入力されるパラメータは、操作レジスタ4に格納させる操作情報を示すものである。切替操作部3は、ユーザからのパラメータをLED制御部6Aに送る。これにより、LED制御部6Aは、ユーザからのパラメータである操作情報を操作レジスタ4に格納する。そして、LED制御部6Aは、操作情報に基づいて、表示対象記憶部8から対象識別情報を読み出す。 Note that the user may input parameters that are operation information to the switching operation unit 3. In other words, the switching operation unit 3 may accept input of parameters. The parameter input to the switching operation unit 3 indicates operation information to be stored in the operation register 4. The switching operation unit 3 sends parameters from the user to the LED control unit 6A. Thus, the LED control unit 6A stores operation information, which is a parameter from the user, in the operation register 4. Then, the LED control unit 6A reads target identification information from the display target storage unit 8 based on the operation information.
 上述したように、PLC10Aは、操作情報に対応する表示対象5をLED2に表示させている。これにより、PLC10Aは、限られた面積で、LED2に多種類の表示対象5を表示させることが可能となる。また、PLC10Aは、制御システム100Aに表示用モニタを設置することなく、多種類の表示対象5を表示させることが可能となる。また、PLC10Aは、PLC10AをPCに接続することなく、多種類の表示対象5を表示させることが可能となる。また、PLC10Aが設置された現場で確認できる表示対象5が増えるので、ユーザは、制御システム100Aの設置費用または手間を削減することができる。したがって、PLC10Aは、制御システム100Aの保守性を向上させることが可能となる。 As described above, the PLC 10A displays the display object 5 corresponding to the operation information on the LED 2. Thereby, PLC10A becomes possible to display many types of display objects 5 on LED2 with a limited area. Further, the PLC 10A can display various types of display objects 5 without installing a display monitor in the control system 100A. Further, the PLC 10A can display various types of display objects 5 without connecting the PLC 10A to the PC. In addition, since the number of display objects 5 that can be confirmed at the site where the PLC 10A is installed increases, the user can reduce the installation cost or labor of the control system 100A. Therefore, the PLC 10A can improve the maintainability of the control system 100A.
 このように、実施の形態1では、LED制御部6Aが、ユーザによって指定された操作情報に基づいて、表示対象5を識別する対象識別情報を読み出している。そして、LED制御部6Aが、対象識別情報に対応する表示対象5をLED2に表示させている。これにより、PLC10Aは、種々の表示対象5の中から操作情報に対応する表示対象5をLED2に表示させることができる。したがって、PLC10Aは、簡易な構成で多くの情報をLED2に表示させることが可能となる。 As described above, in the first embodiment, the LED control unit 6A reads the target identification information for identifying the display target 5 based on the operation information designated by the user. Then, the LED control unit 6A causes the LED 2 to display the display target 5 corresponding to the target identification information. Thereby, PLC10A can display on LED2 the display target 5 corresponding to operation information from the various display targets 5. FIG. Accordingly, the PLC 10A can display a large amount of information on the LED 2 with a simple configuration.
実施の形態2.
 つぎに、図6を用いてこの発明の実施の形態2について説明する。実施の形態2では、表示対象5が回路によって取得され、取得された表示対象5が回路から読み出されてLED2に表示される。換言すると、実施の形態2では、回路によって取得される情報が表示対象5である。
Embodiment 2. FIG.
Next, a second embodiment of the present invention will be described with reference to FIG. In the second embodiment, the display object 5 is acquired by the circuit, and the acquired display object 5 is read from the circuit and displayed on the LED 2. In other words, in the second embodiment, information acquired by the circuit is the display target 5.
 図6は、実施の形態2にかかるプログラマブルロジックコントローラの構成を示すブロック図である。図6に示すPLC10Bの各構成要素のうち図1に示す実施の形態1のPLC10Aと同一機能を達成する構成要素については同一符号を付しており、重複する説明は省略する。 FIG. 6 is a block diagram of the configuration of the programmable logic controller according to the second embodiment. Among the constituent elements of the PLC 10B shown in FIG. 6, the constituent elements that achieve the same functions as those of the PLC 10A of the first embodiment shown in FIG.
 制御システム100Bは、制御システム100Aと同様の機能を有したシステムであり、機械20と、PLC10Bと、PLC10Bに接続されたネットワークNTとを備える。PLC10Bは、PLC10Aと同様のLED表示制御機能を有しており、PLC10Aと同様の処理手順によって表示対象5の表示を行う。 The control system 100B is a system having the same function as the control system 100A, and includes a machine 20, a PLC 10B, and a network NT connected to the PLC 10B. The PLC 10B has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as the PLC 10A.
 PLC10Bは、LED2と、LED制御部6Bと、切替操作部3とを備える。また、実施の形態2のPLC10Bは、電気エネルギーを供給可能なバッテリ11と、バッテリ11のエネルギー残量を監視する残量監視回路12とを備える。また、PLC10Bは、寿命が監視される部品13と、部品13の寿命を監視する寿命監視回路14とを備える。 The PLC 10B includes an LED 2, an LED control unit 6B, and a switching operation unit 3. The PLC 10B according to the second embodiment includes a battery 11 that can supply electric energy and a remaining amount monitoring circuit 12 that monitors the remaining energy of the battery 11. The PLC 10 </ b> B includes a component 13 whose life is monitored and a life monitoring circuit 14 that monitors the life of the component 13.
 LED制御部6Bは、表示対象記憶部8と、操作レジスタ4とを備えている。このように、実施の形態2では、表示対象記憶部8がLED制御部6B内に配置されている。なお、表示対象記憶部8とLED制御部6Bとは、別々の構成であってもよい。 The LED control unit 6B includes a display target storage unit 8 and an operation register 4. As described above, in the second embodiment, the display target storage unit 8 is arranged in the LED control unit 6B. The display object storage unit 8 and the LED control unit 6B may have different configurations.
 バッテリ11は、必要に応じてPLC10B内の構成要素に電気エネルギーを供給する。残量監視回路12は、LED制御部6Bおよびバッテリ11に接続されている。残量監視回路12は、バッテリ11のエネルギー残量を監視する回路である。残量監視回路12は、バッテリ11のエネルギー残量を示す残量情報を生成する。残量監視回路12が生成した残量情報は、LED制御部6Bによって読み出される。なお、LED制御部6Bから残量監視回路12に残量情報の取得要求があった際に、残量監視回路12が残量情報をLED制御部6Bに送ってもよい。このように、LED制御部6Bは、何れの方法によって残量監視回路12から残量情報を取得してもよい。 The battery 11 supplies electric energy to the components in the PLC 10B as necessary. The remaining amount monitoring circuit 12 is connected to the LED control unit 6 </ b> B and the battery 11. The remaining amount monitoring circuit 12 is a circuit that monitors the remaining energy of the battery 11. The remaining amount monitoring circuit 12 generates remaining amount information indicating the remaining amount of energy of the battery 11. The remaining amount information generated by the remaining amount monitoring circuit 12 is read by the LED control unit 6B. Note that when the LED control unit 6B requests the remaining amount monitoring circuit 12 to acquire remaining amount information, the remaining amount monitoring circuit 12 may send the remaining amount information to the LED control unit 6B. As described above, the LED control unit 6B may acquire the remaining amount information from the remaining amount monitoring circuit 12 by any method.
 部品13は、有寿命部品であり、寿命監視の対象となる部品である。部品13は、PLC10B内の何れの部品であってもよい。寿命監視回路14は、LED制御部6Bおよび部品13に接続されている。寿命監視回路14は、部品13を監視し、部品13の寿命を算出する回路である。寿命監視回路14は、部品13の寿命を示す寿命情報を生成する。寿命監視回路14が生成した寿命情報は、LED制御部6Bによって読み出される。なお、LED制御部6Bから寿命監視回路14に寿命情報の取得要求があった際に、寿命監視回路14が寿命情報をLED制御部6Bに送ってもよい。このように、LED制御部6Bは、何れの方法によって寿命監視回路14から寿命情報を取得してもよい。 The part 13 is a part with a limited life and is a part to be monitored for life. The component 13 may be any component in the PLC 10B. The life monitoring circuit 14 is connected to the LED control unit 6 </ b> B and the component 13. The life monitoring circuit 14 is a circuit that monitors the component 13 and calculates the lifetime of the component 13. The life monitoring circuit 14 generates life information indicating the life of the component 13. The life information generated by the life monitoring circuit 14 is read by the LED control unit 6B. Note that when the LED monitoring unit 6B requests the lifetime monitoring circuit 14 to acquire lifetime information, the lifetime monitoring circuit 14 may send the lifetime information to the LED control unit 6B. Thus, the LED control unit 6B may acquire the life information from the life monitoring circuit 14 by any method.
 実施の形態2では、残量情報または寿命情報が表示対象5である。PLC10Bでは、ユーザが残量情報を表示させたい場合、ユーザは切替操作部3に対して残量情報を指定する切替操作を行う。これにより、切替操作部3が、残量情報を指定した切替操作を受付ける。切替操作部3は、残量情報の指定に対応する操作情報をLED制御部6Bに送る。 In the second embodiment, the remaining amount information or the life information is the display target 5. In the PLC 10 </ b> B, when the user wants to display the remaining amount information, the user performs a switching operation for designating the remaining amount information on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated residual amount information. The switching operation unit 3 sends operation information corresponding to the designation of the remaining amount information to the LED control unit 6B.
 また、PLC10Bでは、ユーザが寿命情報を表示させたい場合、ユーザは切替操作部3に対して寿命情報を指定する切替操作を行う。これにより、切替操作部3が、寿命情報を指定した切替操作を受付ける。切替操作部3は、寿命情報の指定に対応する操作情報をLED制御部6Bに送る。 Further, in the PLC 10B, when the user wants to display the life information, the user performs a switching operation for designating the life information on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated lifetime information. The switching operation unit 3 sends operation information corresponding to the designation of the life information to the LED control unit 6B.
 そして、PLC10Bでは、LED制御部6Bが、操作レジスタ4内の操作情報に対応する対象識別情報を表示対象レジスタ7から読み出し、対象識別情報に対応する残量情報または寿命情報を読み出す。LED制御部6Bは、対象識別情報に対応する表示対象5が残量情報である場合、残量監視回路12から残量情報を読み出す。また、LED制御部6Bは、対象識別情報に対応する表示対象5が寿命情報である場合、残量監視回路12から寿命情報を読み出す。 In the PLC 10B, the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the remaining amount information or the life information corresponding to the target identification information. The LED control unit 6B reads the remaining amount information from the remaining amount monitoring circuit 12 when the display target 5 corresponding to the target identification information is the remaining amount information. Further, the LED control unit 6B reads the life information from the remaining amount monitoring circuit 12 when the display target 5 corresponding to the target identification information is the life information.
 LED制御部6Bは、残量情報を読み出した場合、残量情報をLED2に表示させる。また、LED制御部6Bは、寿命情報を読み出した場合、寿命情報をLED2に表示させる。LED2は、点灯、点滅または消灯によって、残量情報または寿命情報を表示する。 The LED control unit 6B displays the remaining amount information on the LED 2 when the remaining amount information is read. Moreover, the LED control part 6B displays life information on LED2 when reading life information. The LED 2 displays remaining amount information or life information by turning on, blinking, or turning off.
 このように、切替操作部3が、残量情報を指定する切替操作を受付けると、LED制御部6Bは、残量情報をLED2に表示させる。また、切替操作部3が、寿命情報を指定する切替操作を受付けると、LED制御部6Bは、寿命情報をLED2に表示させる。 Thus, when the switching operation unit 3 receives a switching operation for designating the remaining amount information, the LED control unit 6B causes the LED 2 to display the remaining amount information. Further, when the switching operation unit 3 receives a switching operation for designating the life information, the LED control unit 6B causes the LED 2 to display the life information.
 なお、PLC10Bは、残量監視回路12を備えなくてもよい。この場合、寿命情報が、表示対象5となる。PLC10Bが残量監視回路12を備えない場合、PLC10Bは、バッテリ11を備えなくてもよい。また、PLC10Bは、寿命監視回路14を備えなくてもよい。 The PLC 10B may not include the remaining amount monitoring circuit 12. In this case, the life information is the display object 5. When the PLC 10B does not include the remaining amount monitoring circuit 12, the PLC 10B does not need to include the battery 11. Further, the PLC 10B may not include the life monitoring circuit 14.
 このように、実施の形態2では、LED制御部6Bが、操作情報に対応する対象識別情報を読み出し、対象識別情報に対応する残量情報または寿命情報をLED2に表示させている。したがって、PLC10Bは、PLC10Aと同様に、簡易な構成で多くの情報をLED2に表示させることが可能となる。 As described above, in the second embodiment, the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the remaining amount information or the life information corresponding to the target identification information. Therefore, the PLC 10B can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
実施の形態3.
 つぎに、図7を用いてこの発明の実施の形態3について説明する。実施の形態3では、表示対象5が演算回路内のレジスタに格納され、格納された表示対象5がレジスタから読み出されてLED2に表示される。換言すると、実施の形態3では、演算回路内のレジスタに格納されている情報が表示対象5である。
Embodiment 3 FIG.
Next, Embodiment 3 of the present invention will be described with reference to FIG. In the third embodiment, the display object 5 is stored in a register in the arithmetic circuit, and the stored display object 5 is read from the register and displayed on the LED 2. In other words, the information stored in the register in the arithmetic circuit is the display object 5 in the third embodiment.
 図7は、実施の形態3にかかるプログラマブルロジックコントローラの構成を示すブロック図である。図7に示すPLC10Cの各構成要素のうちPLC10A,10Bと同一機能を達成する構成要素については同一符号を付しており、重複する説明は省略する。 FIG. 7 is a block diagram of the configuration of the programmable logic controller according to the third embodiment. Of the constituent elements of the PLC 10C shown in FIG. 7, constituent elements that achieve the same functions as those of the PLCs 10A and 10B are denoted by the same reference numerals, and redundant description is omitted.
 制御システム100Cは、制御システム100A,100Bと同様の機能を有したシステムであり、機械20と、PLC10Cと、PLC10Cに接続されたネットワークNTとを備える。PLC10Cは、PLC10Aと同様のLED表示制御機能を有しており、PLC10Aと同様の処理手順によって表示対象5の表示を行う。 The control system 100C is a system having the same function as the control systems 100A and 100B, and includes the machine 20, the PLC 10C, and the network NT connected to the PLC 10C. The PLC 10C has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as that of the PLC 10A.
 PLC10Cは、LED2と、LED制御部6Bと、切替操作部3とを備える。また、実施の形態3のPLC10Cは、PLC10Cの動作に用いられる動作情報を演算する演算回路21を備える。 The PLC 10C includes an LED 2, an LED control unit 6B, and a switching operation unit 3. Further, the PLC 10C of the third embodiment includes an arithmetic circuit 21 that calculates operation information used for the operation of the PLC 10C.
 演算回路21は、プログラムを用いてPLC10Cの動作情報を演算する回路である。演算回路21の一例は、被制御機器である機械20を制御する制御部である。演算回路21は、演算結果を格納する演算結果格納レジスタ22と、動作情報の演算を行う際に用いたプログラムの処理時間を格納するプログラム処理時間格納レジスタ23とを備える。そして、演算結果格納レジスタ22およびプログラム処理時間格納レジスタ23が、LED制御部6Bに接続されている。 The arithmetic circuit 21 is a circuit that calculates the operation information of the PLC 10C using a program. An example of the arithmetic circuit 21 is a control unit that controls the machine 20 that is a controlled device. The arithmetic circuit 21 includes a calculation result storage register 22 for storing a calculation result, and a program processing time storage register 23 for storing a processing time of a program used when calculating operation information. The operation result storage register 22 and the program processing time storage register 23 are connected to the LED control unit 6B.
 演算結果格納レジスタ22に格納されている演算結果は、LED制御部6Bによって読み出される。なお、LED制御部6Bから演算回路21に演算結果の取得要求があった際に、演算回路21が演算結果をLED制御部6Bに送ってもよい。このように、LED制御部6Bは、何れの方法によって演算結果格納レジスタ22から演算結果を取得してもよい。 The calculation result stored in the calculation result storage register 22 is read by the LED control unit 6B. Note that when the calculation circuit 21 receives a calculation result acquisition request from the LED control unit 6B, the calculation circuit 21 may send the calculation result to the LED control unit 6B. As described above, the LED control unit 6B may acquire the calculation result from the calculation result storage register 22 by any method.
 プログラム処理時間格納レジスタ23に格納されている処理時間は、LED制御部6Bによって読み出される。なお、LED制御部6Bから演算回路21に処理時間の取得要求があった際に、演算回路21が処理時間をLED制御部6Bに送ってもよい。このように、LED制御部6Bは、何れの方法によってプログラム処理時間格納レジスタ23から処理時間を取得してもよい。 The processing time stored in the program processing time storage register 23 is read by the LED control unit 6B. Note that when the processing time is requested from the LED control unit 6B to the arithmetic circuit 21, the arithmetic circuit 21 may send the processing time to the LED control unit 6B. Thus, the LED control unit 6B may acquire the processing time from the program processing time storage register 23 by any method.
 実施の形態3では、演算結果格納レジスタ22に格納されている演算結果またはプログラム処理時間格納レジスタ23に格納されている処理時間が表示対象5である。PLC10Cでは、ユーザが演算結果を表示させたい場合、ユーザは切替操作部3に対して演算結果を指定する切替操作を行う。これにより、切替操作部3が、演算結果を指定した切替操作を受付ける。切替操作部3は、演算結果の指定に対応する操作情報をLED制御部6Bに送る。 In the third embodiment, the calculation result stored in the calculation result storage register 22 or the processing time stored in the program processing time storage register 23 is the display target 5. In the PLC 10 </ b> C, when the user wants to display the calculation result, the user performs a switching operation for designating the calculation result on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated the calculation result. The switching operation unit 3 sends operation information corresponding to the designation of the calculation result to the LED control unit 6B.
 また、PLC10Cでは、ユーザが処理時間を表示させたい場合、ユーザは切替操作部3に対して処理時間を指定する切替操作を行う。これにより、切替操作部3が、処理時間を指定した切替操作を受付ける。切替操作部3は、処理時間の指定に対応する操作情報をLED制御部6Bに送る。 In the PLC 10C, when the user wants to display the processing time, the user performs a switching operation for designating the processing time on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated the processing time. The switching operation unit 3 sends operation information corresponding to the designation of the processing time to the LED control unit 6B.
 そして、PLC10Cでは、LED制御部6Bが、操作レジスタ4内の操作情報に対応する対象識別情報を表示対象レジスタ7から読み出し、対象識別情報に対応する演算結果または処理時間を読み出す。LED制御部6Bは、対象識別情報に対応する表示対象5が演算結果である場合、演算結果格納レジスタ22から演算結果を読み出す。また、LED制御部6Bは、対象識別情報に対応する表示対象5が処理時間である場合、プログラム処理時間格納レジスタ23から処理時間を読み出す。 In the PLC 10C, the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the calculation result or the processing time corresponding to the target identification information. The LED control unit 6B reads the calculation result from the calculation result storage register 22 when the display target 5 corresponding to the target identification information is the calculation result. The LED control unit 6B reads the processing time from the program processing time storage register 23 when the display target 5 corresponding to the target identification information is the processing time.
 LED制御部6Bは、演算結果を読み出した場合、演算結果をLED2に表示させる。また、LED制御部6Bは、処理時間を読み出した場合、処理時間をLED2に表示させる。LED2は、点灯、点滅または消灯によって、演算結果または処理時間を表示する。 When the LED control unit 6B reads out the calculation result, the LED control unit 6B displays the calculation result on the LED 2. Further, when the processing time is read, the LED control unit 6B causes the LED 2 to display the processing time. LED2 displays a calculation result or processing time by lighting, blinking, or extinguishing.
 このように、切替操作部3が、演算結果を指定する切替操作を受付けると、LED制御部6Bは、演算結果をLED2に表示させる。また、切替操作部3が、処理時間を指定する切替操作を受付けると、LED制御部6Bは、処理時間をLED2に表示させる。 Thus, when the switching operation unit 3 receives a switching operation for designating a calculation result, the LED control unit 6B displays the calculation result on the LED 2. When the switching operation unit 3 receives a switching operation for designating the processing time, the LED control unit 6B causes the LED 2 to display the processing time.
 なお、PLC10Cは、演算結果格納レジスタ22を備えなくてもよい。この場合、処理時間が、表示対象5となる。また、PLC10Cは、プログラム処理時間格納レジスタ23を備えなくてもよい。この場合、演算結果が、表示対象5となる。 Note that the PLC 10C may not include the calculation result storage register 22. In this case, the processing time is the display target 5. Further, the PLC 10C may not include the program processing time storage register 23. In this case, the calculation result is the display object 5.
 このように、実施の形態3では、LED制御部6Bが、操作情報に対応する対象識別情報を読み出し、対象識別情報に対応する演算結果または処理時間をLED2に表示させている。したがって、PLC10Cは、PLC10Aと同様に、簡易な構成で多くの情報をLED2に表示させることが可能となる。 As described above, in the third embodiment, the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the calculation result or the processing time corresponding to the target identification information. Therefore, the PLC 10C can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
実施の形態4.
 つぎに、図8を用いてこの発明の実施の形態4について説明する。実施の形態4では、表示対象5が通信用回路内のレジスタに格納され、格納された表示対象5がレジスタから読み出されてLED2に表示される。換言すると、実施の形態4では、通信用回路内のレジスタに格納されている情報が表示対象5である。
Embodiment 4 FIG.
Next, a fourth embodiment of the present invention will be described with reference to FIG. In the fourth embodiment, the display object 5 is stored in a register in the communication circuit, and the stored display object 5 is read from the register and displayed on the LED 2. In other words, in the fourth embodiment, the information stored in the register in the communication circuit is the display object 5.
 図8は、実施の形態4にかかるプログラマブルロジックコントローラの構成を示すブロック図である。図8に示すPLC10Dの各構成要素のうちPLC10AからPLC10Cと同一機能を達成する構成要素については同一符号を付しており、重複する説明は省略する。 FIG. 8 is a block diagram of the configuration of the programmable logic controller according to the fourth embodiment. Of the constituent elements of the PLC 10D shown in FIG. 8, the constituent elements that achieve the same functions as those of the PLC 10A to the PLC 10C are denoted by the same reference numerals, and redundant description is omitted.
 制御システム100Dは、制御システム100Aから制御システム100Cと同様の機能を有したシステムであり、機械20と、PLC10Dと、PLC10Dに接続されたネットワークNTとを備える。PLC10Dは、PLC10Aと同様のLED表示制御機能を有しており、PLC10Dと同様の処理手順によって表示対象5の表示を行う。 The control system 100D is a system having functions similar to those of the control system 100A to the control system 100C, and includes the machine 20, the PLC 10D, and the network NT connected to the PLC 10D. The PLC 10D has the same LED display control function as that of the PLC 10A, and displays the display target 5 by the same processing procedure as the PLC 10D.
 PLC10Dは、LED2と、LED制御部6Bと、切替操作部3とを備える。また、実施の形態4のPLC10Dは、ネットワークNTを介して外部装置との間の通信を行なう通信回路31を備える。 The PLC 10D includes an LED 2, an LED control unit 6B, and a switching operation unit 3. The PLC 10D of the fourth embodiment includes a communication circuit 31 that performs communication with an external device via the network NT.
 通信回路31は、外部装置との間の通信状態を管理しながら外部装置との間の通信処理を行なう回路である。通信回路31は、外部装置との間の通信処理の状態である通信状態を格納する状態格納レジスタ32を備える。状態格納レジスタ32に格納されている通信状態は、LED制御部6Bによって読み出される。なお、LED制御部6Bから通信回路31に通信状態の取得要求があった際に、通信回路31が通信状態をLED制御部6Bに送ってもよい。このように、LED制御部6Bは、何れの方法によって状態格納レジスタ32から通信状態を取得してもよい。 The communication circuit 31 is a circuit that performs communication processing with an external device while managing a communication state with the external device. The communication circuit 31 includes a state storage register 32 that stores a communication state that is a state of communication processing with an external device. The communication state stored in the state storage register 32 is read out by the LED control unit 6B. Note that when the communication state is requested from the LED control unit 6B to the communication circuit 31, the communication circuit 31 may send the communication state to the LED control unit 6B. As described above, the LED control unit 6B may acquire the communication state from the state storage register 32 by any method.
 実施の形態4では、状態格納レジスタ32に格納されている通信状態が表示対象5である。PLC10Dでは、ユーザが通信状態を表示させたい場合、ユーザは切替操作部3に対して通信状態を指定する切替操作を行う。これにより、切替操作部3が、通信状態を指定した切替操作を受付ける。切替操作部3は、通信状態の指定に対応する操作情報をLED制御部6Bに送る。 In the fourth embodiment, the communication state stored in the state storage register 32 is the display target 5. In the PLC 10 </ b> D, when the user wants to display the communication state, the user performs a switching operation for designating the communication state on the switching operation unit 3. Thereby, the switching operation part 3 receives the switching operation which designated the communication state. The switching operation unit 3 sends operation information corresponding to the designation of the communication state to the LED control unit 6B.
 そして、PLC10Dでは、LED制御部6Bが、操作レジスタ4内の操作情報に対応する対象識別情報を表示対象レジスタ7から読み出し、対象識別情報に対応する通信状態を状態格納レジスタ32から読み出す。LED制御部6Bは、通信状態を読み出した場合、通信状態をLED2に表示させる。LED2は、点灯、点滅または消灯によって、通信状態を表示する。このように、切替操作部3が、通信状態を指定する切替操作を受付けると、LED制御部6Bは、通信状態をLED2に表示させる。 In the PLC 10D, the LED control unit 6B reads the target identification information corresponding to the operation information in the operation register 4 from the display target register 7, and reads the communication state corresponding to the target identification information from the state storage register 32. When reading the communication state, the LED control unit 6B displays the communication state on the LED 2. LED2 displays a communication state by lighting, blinking, or extinguishing. As described above, when the switching operation unit 3 receives a switching operation for designating the communication state, the LED control unit 6B displays the communication state on the LED 2.
 なお、通信回路31は、ネットワークNTを介さないで通信を行なう回路であってもよい。通信回路31は、PLC10Dと直接接続された外部装置との間で通信を行なう回路であってもよい。また、通信回路31は、機械20との間で通信を行なう回路であってもよい。また、通信回路31は、PLC10D内での通信を行なう回路であってもよい。 The communication circuit 31 may be a circuit that performs communication without going through the network NT. The communication circuit 31 may be a circuit that performs communication with an external device directly connected to the PLC 10D. The communication circuit 31 may be a circuit that performs communication with the machine 20. The communication circuit 31 may be a circuit that performs communication within the PLC 10D.
 このように、実施の形態4では、LED制御部6Bが、操作情報に対応する対象識別情報を読み出し、対象識別情報に対応する通信状態をLED2に表示させている。したがって、PLC10Dは、PLC10Aと同様に、簡易な構成で多くの情報をLED2に表示させることが可能となる。 As described above, in the fourth embodiment, the LED control unit 6B reads the target identification information corresponding to the operation information and displays the communication state corresponding to the target identification information on the LED2. Therefore, the PLC 10D can display a large amount of information on the LED 2 with a simple configuration, like the PLC 10A.
 なお、実施の形態1から4を組み合せてもよい。この場合、LED制御部6Bは、操作情報に対応する対象識別情報を読み出し、対象識別情報に対応する、残量情報、寿命情報、演算結果、処理時間または通信状態をLED2に表示させる。 Note that Embodiments 1 to 4 may be combined. In this case, the LED control unit 6B reads the target identification information corresponding to the operation information, and causes the LED 2 to display the remaining amount information, the life information, the calculation result, the processing time, or the communication state corresponding to the target identification information.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 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.
 2 LED、3 切替操作部、4 操作レジスタ、5 表示対象、6A,6B LED制御部、7 表示対象レジスタ、8 表示対象記憶部、10A,10B,10C,10D PLC、11 バッテリ、12 残量監視回路、13 部品、14 寿命監視回路、20 機械、21 演算回路、22 演算結果格納レジスタ、23 プログラム処理時間格納レジスタ、31 通信回路、32 状態格納レジスタ、100A,100B,100C,100D 制御システム、NT ネットワーク。 2 LED, 3 switching operation unit, 4 operation register, 5 display target, 6A, 6B LED control unit, 7 display target register, 8 display target storage unit, 10A, 10B, 10C, 10D PLC, 11 battery, 12 remaining amount monitoring Circuit, 13 parts, 14 life monitoring circuit, 20 machine, 21 arithmetic circuit, 22 arithmetic result storage register, 23 program processing time storage register, 31 communication circuit, 32 status storage register, 100A, 100B, 100C, 100D control system, NT network.

Claims (9)

  1.  プログラマブルロジックコントローラにおいて、
     表示対象を表示する表示部と、
     ユーザによる切替操作によってユーザからの切替指示を受付ける切替操作部と、
     前記切替指示に対応する表示対象を識別する対象識別情報を、前記切替指示に対応づけて記憶する表示対象記憶部と、
     前記切替操作部が受付けた前記切替指示に対応する対象識別情報を前記表示対象記憶部から読み出して、読み出した前記対象識別情報に対応する表示対象を前記表示部に表示させる表示制御部と、
     を備えることを特徴とするプログラマブルロジックコントローラ。
    In the programmable logic controller,
    A display unit for displaying a display target;
    A switching operation unit that receives a switching instruction from the user by a switching operation by the user;
    A display target storage unit that stores target identification information for identifying a display target corresponding to the switching instruction, in association with the switching instruction;
    A display control unit that reads target identification information corresponding to the switching instruction received by the switching operation unit from the display target storage unit, and causes the display unit to display a display target corresponding to the read target identification information;
    A programmable logic controller comprising:
  2.  前記切替指示は、切替操作部が操作された場合の、操作結果、操作時間または操作回数によって決まるものである、
     ことを特徴とする請求項1に記載のプログラマブルロジックコントローラ。
    The switching instruction is determined by an operation result, an operation time, or an operation count when the switching operation unit is operated.
    The programmable logic controller according to claim 1.
  3.  前記切替操作部は、前記操作結果、前記操作時間または前記操作回数に対応する操作情報を、前記表示制御部に送り、
     前記表示制御部は、前記操作情報に対応する対象識別情報を、前記表示対象記憶部から読み出す、
     ことを特徴とする請求項2に記載のプログラマブルロジックコントローラ。
    The switching operation unit sends operation information corresponding to the operation result, the operation time, or the number of operations to the display control unit,
    The display control unit reads target identification information corresponding to the operation information from the display target storage unit.
    The programmable logic controller according to claim 2.
  4.  前記切替操作部は、前記切替指示を示すパラメータを受付けて、前記パラメータを前記表示制御部に送り、
     前記表示制御部は、前記パラメータに対応する対象識別情報を前記表示対象記憶部から読み出す、
     ことを特徴とする請求項1に記載のプログラマブルロジックコントローラ。
    The switching operation unit receives a parameter indicating the switching instruction, and sends the parameter to the display control unit,
    The display control unit reads target identification information corresponding to the parameter from the display target storage unit.
    The programmable logic controller according to claim 1.
  5.  バッテリのエネルギー残量を監視し、前記エネルギー残量を示す残量情報を生成する残量監視回路をさらに備え、
     前記表示対象は、前記残量情報を含み、
     前記切替操作部が前記残量情報を指定する切替指示を受付けると、前記表示制御部は、前記残量情報を前記残量監視回路から取得して前記表示部に表示させる、
     ことを特徴とする請求項1から4のいずれか1つに記載のプログラマブルロジックコントローラ。
    Further comprising a remaining amount monitoring circuit for monitoring a remaining amount of energy of the battery and generating remaining amount information indicating the remaining amount of energy
    The display object includes the remaining amount information,
    When the switching operation unit receives a switching instruction that specifies the remaining amount information, the display control unit acquires the remaining amount information from the remaining amount monitoring circuit and causes the display unit to display the acquired remaining amount information.
    The programmable logic controller according to any one of claims 1 to 4, wherein:
  6.  監視対象となる部品の寿命を監視して前記部品の寿命を算出し、前記部品の寿命を示す寿命情報を生成する寿命監視回路をさらに備え、
     前記表示対象は、前記寿命情報を含み、
     前記切替操作部が前記寿命情報を指定する切替指示を受付けると、前記表示制御部は、前記寿命情報を前記寿命監視回路から取得して前記表示部に表示させる、
     ことを特徴とする請求項1から4のいずれか1つに記載のプログラマブルロジックコントローラ。
    A life monitoring circuit that calculates the life of the component by monitoring the life of the component to be monitored and generates life information indicating the life of the component;
    The display object includes the life information,
    When the switching operation unit receives a switching instruction that specifies the life information, the display control unit acquires the life information from the life monitoring circuit and causes the display unit to display the life information.
    The programmable logic controller according to any one of claims 1 to 4, wherein:
  7.  前記プログラマブルロジックコントローラの動作に用いられる動作情報をプログラムを用いて演算する演算回路をさらに備え、
     前記演算回路は、前記演算の演算結果を格納する演算結果格納レジスタを有し、
     前記表示対象は、前記演算結果を含み、
     前記切替操作部が前記演算結果を指定する切替指示を受付けると、前記表示制御部は、前記演算結果を前記演算結果格納レジスタから取得して前記表示部に表示させる、
     ことを特徴とする請求項1から4のいずれか1つに記載のプログラマブルロジックコントローラ。
    An arithmetic circuit for calculating operation information used for the operation of the programmable logic controller using a program;
    The arithmetic circuit has an operation result storage register for storing an operation result of the operation,
    The display object includes the calculation result,
    When the switching operation unit receives a switching instruction for designating the calculation result, the display control unit acquires the calculation result from the calculation result storage register and causes the display unit to display the calculation result.
    The programmable logic controller according to any one of claims 1 to 4, wherein:
  8.  前記プログラマブルロジックコントローラの動作に用いられる動作情報をプログラムを用いて演算する演算回路をさらに備え、
     前記演算回路は、前記動作情報の演算を行う際に用いた前記プログラムの処理時間を格納するプログラム処理時間格納レジスタを有し、
     前記表示対象は、前記処理時間を含み、
     前記切替操作部が前記処理時間を指定する切替指示を受付けると、前記表示制御部は、前記処理時間を前記演算結果格納レジスタから取得して前記表示部に表示させる、
     ことを特徴とする請求項1から4のいずれか1つに記載のプログラマブルロジックコントローラ。
    An arithmetic circuit for calculating operation information used for the operation of the programmable logic controller using a program;
    The arithmetic circuit has a program processing time storage register for storing a processing time of the program used when the operation information is calculated.
    The display object includes the processing time,
    When the switching operation unit receives a switching instruction that specifies the processing time, the display control unit acquires the processing time from the calculation result storage register and causes the display unit to display the processing time.
    The programmable logic controller according to any one of claims 1 to 4, wherein:
  9.  通信処理を行なう通信回路をさらに備え、
     前記通信回路は、前記通信処理の状態である通信状態を格納する状態格納レジスタを有し、
     前記表示対象は、前記通信状態を含み、
     前記切替操作部が前記通信状態を指定する切替指示を受付けると、前記表示制御部は、前記通信状態を前記状態格納レジスタから取得して前記表示部に表示させる、
     ことを特徴とする請求項1から4のいずれか1つに記載のプログラマブルロジックコントローラ。
    A communication circuit for performing communication processing;
    The communication circuit has a state storage register that stores a communication state that is a state of the communication processing,
    The display object includes the communication state,
    When the switching operation unit receives a switching instruction for designating the communication state, the display control unit acquires the communication state from the state storage register and causes the display unit to display the communication state.
    The programmable logic controller according to any one of claims 1 to 4, wherein:
PCT/JP2016/060232 2016-03-29 2016-03-29 Programmable logic controller WO2017168587A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018507899A JPWO2017168587A1 (en) 2016-03-29 2016-03-29 Programmable logic controller
PCT/JP2016/060232 WO2017168587A1 (en) 2016-03-29 2016-03-29 Programmable logic controller
CN201680071787.8A CN108885437A (en) 2016-03-29 2016-03-29 Programmable logic controller (PLC)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/060232 WO2017168587A1 (en) 2016-03-29 2016-03-29 Programmable logic controller

Publications (1)

Publication Number Publication Date
WO2017168587A1 true WO2017168587A1 (en) 2017-10-05

Family

ID=59962775

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/060232 WO2017168587A1 (en) 2016-03-29 2016-03-29 Programmable logic controller

Country Status (3)

Country Link
JP (1) JPWO2017168587A1 (en)
CN (1) CN108885437A (en)
WO (1) WO2017168587A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2017168587A1 (en) * 2016-03-29 2018-06-07 三菱電機株式会社 Programmable logic controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173083U (en) * 1984-04-25 1985-11-16 松下電工株式会社 Sequence controller battery level display device
JPS6184712A (en) * 1984-10-03 1986-04-30 Hitachi Ltd Programmable controller
JPH05266290A (en) * 1992-03-19 1993-10-15 Hitachi Ltd Programmable controller
JPH064803U (en) * 1992-06-22 1994-01-21 光洋電子工業株式会社 Programmable controller
JPH0916220A (en) * 1995-06-28 1997-01-17 Fuji Electric Co Ltd Input and output display device
JP2002108422A (en) * 2000-10-02 2002-04-10 Keyence Corp Programmable controller system
JP2009080740A (en) * 2007-09-27 2009-04-16 Koyo Electronics Ind Co Ltd Programmable controller with radio function and programmable controller system
JP2014048809A (en) * 2012-08-30 2014-03-17 Mitsubishi Electric Corp Plc unit and plc system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150139A (en) * 2001-11-09 2003-05-23 Yamaha Corp Display screen switching device
JP2007322215A (en) * 2006-05-31 2007-12-13 Nippon Seiki Co Ltd Display for car
JP4612647B2 (en) * 2007-03-06 2011-01-12 Necカシオモバイルコミュニケーションズ株式会社 Electronic device and electronic device processing program
CN102819231B (en) * 2007-05-31 2015-03-18 三菱电机株式会社 Control system design device
CN101452745B (en) * 2007-11-30 2011-08-31 无锡华润矽科微电子有限公司 Programmer and programming method thereof
JP5532264B2 (en) * 2011-11-30 2014-06-25 株式会社デンソー Vehicle display device
CN204595579U (en) * 2015-04-03 2015-08-26 襄阳安迈电气有限公司 The aobvious device of a kind of smart fields behaviour
CN108885437A (en) * 2016-03-29 2018-11-23 三菱电机株式会社 Programmable logic controller (PLC)

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173083U (en) * 1984-04-25 1985-11-16 松下電工株式会社 Sequence controller battery level display device
JPS6184712A (en) * 1984-10-03 1986-04-30 Hitachi Ltd Programmable controller
JPH05266290A (en) * 1992-03-19 1993-10-15 Hitachi Ltd Programmable controller
JPH064803U (en) * 1992-06-22 1994-01-21 光洋電子工業株式会社 Programmable controller
JPH0916220A (en) * 1995-06-28 1997-01-17 Fuji Electric Co Ltd Input and output display device
JP2002108422A (en) * 2000-10-02 2002-04-10 Keyence Corp Programmable controller system
JP2009080740A (en) * 2007-09-27 2009-04-16 Koyo Electronics Ind Co Ltd Programmable controller with radio function and programmable controller system
JP2014048809A (en) * 2012-08-30 2014-03-17 Mitsubishi Electric Corp Plc unit and plc system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2017168587A1 (en) * 2016-03-29 2018-06-07 三菱電機株式会社 Programmable logic controller

Also Published As

Publication number Publication date
CN108885437A (en) 2018-11-23
JPWO2017168587A1 (en) 2018-06-07

Similar Documents

Publication Publication Date Title
JP4507125B2 (en) Programmable controller
US9936565B2 (en) System for integrated lighting control, configuration, and metric tracking from multiple locations
US10025287B2 (en) Method for assignment of verification numbers
US11064594B2 (en) Pairing method and pairing device
US9734676B2 (en) Visual indication of data center conditions
US9909776B2 (en) Air conditioner
TW200825911A (en) Plc
WO2017168587A1 (en) Programmable logic controller
JP4996318B2 (en) Switch device
US10162320B2 (en) Central control apparatus and central control sysytem and display method of central control apparatus
JP6005322B1 (en) Programmable logic controller system and arithmetic unit
JP2009043569A (en) Illumination control system
US20070018795A1 (en) Method and system of controlling lighting fixture
JP6630065B2 (en) Schedule management system and schedule management method
JP6644209B1 (en) Control device
JP6631906B2 (en) Management device and management system
US20210356929A1 (en) Distributed control system
JP2018057086A (en) Distribution board
US11904418B2 (en) Method and apparatus for quick selection of custom parameters and factory reset parameters
JP2017068896A (en) Dimming system
JP7066081B1 (en) How to operate the power supply of the controller unit and general-purpose operating system
JP6677399B1 (en) Operating device, operating method, and program
JP2012208932A (en) Plc system, state display method, plc, and programmable display
JP7224261B2 (en) Plant monitoring control system
JP2008166151A (en) Lighting control system

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018507899

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896807

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896807

Country of ref document: EP

Kind code of ref document: A1