PLC display device, PLC programming device, and PLC system

The PLC system addresses the challenge of representing PLC signal and variable values by converting them into graphical formats within the PLC system, enhancing user understanding and reducing design burdens.

WO2024189916A1PCT designated stage expired Publication Date: 2024-09-19FANUC LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/010407
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Machine users find it difficult to understand the meaning of signal states and variable values in PLC devices, as existing technologies rely on character strings and color changes, which are not sufficient for clear representation, especially for bit and numerical information.

Method used

A PLC system comprising a display device that acquires and converts display attribute information into display data, and a programming device that assigns and outputs display formats to the PLC program, enabling the conversion and display of signal and variable values in an easily recognizable format, such as graphical representations, rather than character strings.

Benefits of technology

Facilitates easier understanding of PLC device status by converting values into graphical formats, reducing the burden on machine designers and improving user comprehension without requiring extensive screen design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023010407_19092024_PF_FP_ABST
    Figure JP2023010407_19092024_PF_FP_ABST
Patent Text Reader

Abstract

According to the present invention, the values of signals and variables are displayed by converting to an easily recognizable format rather than character strings, thus making it possible for machine users to easily determine the status of a PLC device. A PLC display device comprises: an acquisition unit that acquires display attribute information related to the display of signals and / or variables in a PLC device; a display attribute conversion unit that converts signal and variable information related to the signals and / or variables in the PLC device into display data on the basis of the display attribute information and outputs the display data as a display screen; and a display unit that displays the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

PLC display device, PLC programming device, and PLC system

[0001] The present disclosure relates to a PLC display device, a PLC programming device, and a PLC system that display the values ​​of signals and variables of a PLC device based on comments or pragma descriptions of variables embedded in a PLC program.

[0002] PLC devices can monitor signals and variables to check the device status. However, it can be difficult for machine users to understand the meaning of the signal status and variable values ​​of a PLC device. Therefore, character strings of comments entered as explanations of the signal status and variable values ​​are sometimes displayed side by side, or displayed instead of the values. It is also possible to design a screen on a PLC programming device to make values ​​easier to understand using graphics, etc. A known method for making things easier to understand without designing a screen is to change the displayed characters and colors according to the character strings embedded in the comments. See, for example, Patent Document 1.

[0003] Japanese Patent Application Laid-Open No. 2000-242315

[0004] FIG. 7 is a diagram illustrating an example of the display of character strings embedded in comments of a PLC program. As shown in FIG. 7, when the character strings embedded in the comments of each variable in the PLC program are as shown in the upper row of FIG. 7, the displayed screen will be as shown in the lower row of FIG. 7. In the case of FIG. 7, the screen includes, for example, the name of each variable, the current value in the PLC device, and a comment. However, with the technology described in Patent Document 1, it may be difficult to understand the meaning of bit information or numerical information for signals or variables just by describing characters such as comments. For example, with the technology described in Patent Document 1, even if improvements such as changing the character color (including the background color) or font are made, the effect is limited. To make the display screen easier for machine users to understand, it is necessary to develop a display screen, which places a burden on machine designers.

[0005] Therefore, it is desirable to convert the values ​​of signals and variables into an easily identifiable format and display them instead of using character strings, thereby enabling machine users to easily determine the status of the PLC device.

[0006] (1) One aspect of the PLC display device of the present disclosure includes an acquisition unit that acquires display attribute information related to the display of signals and / or variables in the PLC device, a display attribute conversion unit that converts signal / variable information related to the signals and / or variables in the PLC device into display data based on the display attribute information and outputs the display data as a display screen, and a display unit that displays the display screen.

[0007] (2) One aspect of the PLC programming device disclosed herein includes a format acquisition unit that acquires a display format for displaying signals and / or variables in the PLC device, a display attribute output unit that assigns the display format to a PLC program as display attribute information and outputs the PLC program, and an output unit that outputs the PLC program.

[0008] (3) One aspect of the PLC system of the present disclosure includes the PLC display device of (1) and the PLC programming device of (2).

[0009] FIG. 1 is a diagram showing an example of a functional block configuration of a PLC system according to an embodiment; FIG. 2 is a diagram showing an example of a programming screen for a PLC program; FIG. 3 is a diagram showing an example of a user interface; FIG. 4 is a diagram showing an example of a PLC program in which a display format is embedded as display attribute information; FIG. 5 is a diagram showing an example of a display screen for each variable; FIG. 6 is a flowchart illustrating display processing of a PLC system; and FIG. 7 is a diagram showing an example of display of a character string embedded in a comment of a PLC program.

[0010] A PLC system according to an embodiment will be described in detail below with reference to the drawings. <Embodiment> FIG. 1 is a diagram illustrating an example of a functional block configuration of a PLC system according to an embodiment. As illustrated in FIG. 1, the PLC system 1 includes a PLC programming device 10 and a PLC display device 20. The PLC programming device 10 and the PLC display device 20 are interconnected and communicate with each other via a network (not shown), such as a local area network (LAN) or the Internet. In this case, the PLC programming device 10 and the PLC display device 20 each include a communication unit (not shown) for communicating with each other via such a network. The PLC programming device 10 and the PLC display device 20 may also be directly connected to each other via a connection interface (not shown). Although the PLC programming device 10 and the PLC display device 20 are illustrated as separate devices, as described below, the PLC programming device 10 and the PLC display device 20 may be configured as a single device.

[0011] <PLC programming device 10> The PLC programming device 10 is a computer, tablet terminal, or the like that is well known to those skilled in the art, and includes a control unit 11, a display unit 12, and an input unit 13. The control unit 11 also includes a format acquisition unit 110, a display attribute output unit 111, and an output unit 112.

[0012] The display unit 12 is, for example, a liquid crystal display. As will be described later, the display unit 12 displays a PLC programming screen for performing PLC programming, etc. Fig. 2 is a diagram showing an example of a programming screen for a PLC program. Fig. 2 illustrates an example of a programming screen for declaring variables for a PLC program.

[0013] The input unit 13 is, for example, a keyboard or a touch panel disposed on the display unit 12, and receives input from a user. For example, the input unit 13 receives input of the data range, name, address assignment, initialization, and comments of each variable, as well as display attributes that indicate how the values ​​of signals and variables are to be displayed, based on input operations by the user on the programming screen shown in Fig. 2, for example.

[0014] <Control Unit 11> The control unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a CMOS (Complementary Metal-Oxide-Semiconductor) memory, and other components that are configured to communicate with each other via a bus and are well known to those skilled in the art. The CPU is a processor that controls the PLC programming device 10 as a whole. The CPU reads system programs and application programs stored in the ROM via the bus and controls the entire PLC programming device 10 in accordance with the system programs and application programs. As a result, as shown in FIG. 1 , the control unit 11 is configured to implement the functions of a format acquisition unit 110, a display attribute output unit 111, and an output unit 112. Various data, such as temporary calculation data and display data, is stored in the RAM. The CMOS memory is backed up by a battery (not shown) and is configured as a non-volatile memory that retains its stored state even when the power to the PLC programming device 10 is turned off.

[0015] The format acquisition unit 110 acquires, for example, a display format for displaying signals and / or variables in a PLC device (not shown) from a user via the input unit 13. Specifically, for example, when a user selects the display attribute "data bar" of the variable "levelTank1" on the programming screen of FIG. 2 via the input unit 13, the format acquisition unit 110 displays a user interface, which is a setting screen for displaying the "data bar" of the variable "levelTank1," on the display unit 12. FIG. 3 is a diagram illustrating an example of the user interface. As shown in FIG. 3, the user interface for the "data bar" of the variable "levelTank1" allows the user to set the "format," the "minimum value" and "maximum value" to be displayed, the "unit," and the "conditional format." When the user presses the "format" button on the user interface, the format acquisition unit 110 acquires the setting data set in the user interface as the display format (display attribute) of the "data bar" of the variable "levelTank1." The display format (display attribute) is information that specifies the display method for a variable, and includes at least one of the control type, data range information, color information according to the data value, character string information, etc. The control type is, for example, a type of graphic format such as a push button, slide switch, data bar, or slide bar.

[0016] The format acquisition unit 110 acquires the display format (display attribute) of the variables of the PLC program and outputs the acquired display format (display attribute) to the display attribute output unit 111. Note that although the format acquisition unit 110 acquires the display format (display attribute) of each variable via a user interface, the display format (display attribute) of each variable may be acquired by direct input by the user using text.

[0017] The display attribute output unit 111 assigns the display format acquired by the format acquisition unit 110 to the PLC program as display attribute information and outputs the display format. Specifically, the display attribute output unit 111 assigns the acquired display format (display attribute) to each variable in the PLC program and embeds it as display attribute information. FIG. 4 is a diagram illustrating an example of a PLC program in which the display format is embedded as display attribute information. FIG. 4 illustrates a PLC program in which the display attribute is embedded in a pragma. By doing so, a compiler (not shown) can compile the PLC program and output the described display attribute information as display meta information. Note that, as shown in FIG. 4, the display attribute output unit 111 embeds the display format (display attribute) in the PLC program using a pragma. However, it may also be embedded using a comment. Alternatively, the display attribute output unit 111 may embed the display format (display attribute) in the compiled binary of the PLC program as display attribute information. The display attribute output unit 111 may also output the display format (display attributes) as display attribute information in a separate file such as a CSS (Cascading Style Sheets) definition file or a json (Java Script Object Notification) file.

[0018] The output unit 112 outputs, for example, a PLC program compiled by a compiler (not shown) and display attribute information to the PLC display device 20 .

[0019] <PLC Display Device 20> The PLC display device 20 is a computer, a tablet terminal, or the like that is well known to those skilled in the art, and includes a control unit 21, a display unit 22, and a storage unit 23. The control unit 21 also includes an acquisition unit 210 and a display attribute conversion unit 211.

[0020] The display unit 22 is, for example, a liquid crystal display. As will be described later, the display unit 22 displays a display screen for each variable in the PLC program. Fig. 5 is a diagram showing an example of a display screen for each variable. In Fig. 5, variables for which no display attribute has been set, such as the variables "weekdayReboot" and "valHex," have a default display format.

[0021] The storage unit 23 is a solid state drive (SSD) or a hard disk drive (HDD), etc. The storage unit 23 may store a display program that converts signal and variable information acquired from a PLC device (not shown) into display data and displays the data, along with the PLC program and display attribute information acquired from the PLC programming device 10. The storage unit 23 also has signal and variable information 231. The signal and variable information 231 stores values ​​of signals and / or variables acquired from a PLC device (not shown).

[0022] <Control Unit 21> The control unit 21 includes a CPU, ROM, RAM, CMOS memory, etc., which are configured to be able to communicate with each other via a bus and are well known to those skilled in the art. The CPU is a processor that controls the entire PLC display device 20. The CPU reads system programs and application programs stored in the ROM via the bus and controls the entire PLC display device 20 in accordance with the system programs and application programs. As a result, as shown in FIG. 1 , the control unit 21 is configured to realize the functions of an acquisition unit 210 and a display attribute conversion unit 211. The RAM stores various data such as temporary calculation data and display data. In addition, the CMOS memory is backed up by a battery (not shown) and is configured as a non-volatile memory that retains its stored state even when the PLC display device 20 is powered off.

[0023] The acquiring unit 210 acquires, for example, display attribute information related to the display of signals and / or variables in a PLC device (not shown) from the PLC programming device 10. Specifically, the acquiring unit 210 acquires, for example, the display attribute information from the PLC programming device 10 together with the PLC program.

[0024] The display attribute conversion unit 211 converts, for example, signal / variable information 231 related to signals and / or variables in a PLC device (not shown) into display data based on the acquired display attribute information and outputs the display data as a display screen. Specifically, the display attribute conversion unit 211 analyzes, for example, the acquired display attribute information and acquires corresponding signal and variable values ​​from the signal / variable information 231 as display data. The display attribute conversion unit 211 converts (processes) the acquired display data in accordance with the display attribute information to generate the display screen of FIG. 5. The display attribute conversion unit 211 displays the generated display screen on the display unit 22.

[0025] <Display Processing of PLC System 1> Next, the flow of the display processing of the PLC system 1 will be described with reference to Fig. 6. Fig. 6 is a flowchart illustrating the display processing of the PLC system 1. The flow shown here is executed each time a PLC program is created. Note that, although the following describes an example in which a PLC program is compiled and a display format is assigned to the compiled PLC program as display attribute information, it is also possible to assign a display format to the PLC program as display attribute information before compiling, and then compile the PLC program.

[0026] In step S11, the PLC programming device 10 (format acquisition unit 110) acquires the display format (display attribute) of a variable in a PLC program.

[0027] In step S12, the PLC programming device 10 (control unit 11) compiles the PLC program.

[0028] In step S13, the PLC programming device 10 (display attribute output unit 111) assigns the display format acquired in step S11 to the binary PLC program as display attribute information and outputs it.

[0029] In step S14, the PLC programming device (output unit 112) outputs the PLC program and the display attribute information to the PLC display device 20.

[0030] In step S15, the PLC display device 20 (acquisition unit 210) acquires the PLC program and display attribute information output from the PLC programming device 10 in step S14.

[0031] In step S16 , the PLC display device 20 (display attribute conversion unit 211 ) analyzes the display attribute information acquired in step S15 , and acquires the values ​​of the corresponding signals and variables from the signal and variable information 231 .

[0032] In step S17, the PLC display device 20 (display attribute conversion unit 211) converts the signal and variable values ​​acquired in step S16 into display data based on the display attribute information, and generates a display screen.

[0033] In step S18, the PLC display device 20 (controller 21) displays the display screen generated in step S17 on the display unit 22.

[0034] As described above, the PLC system 1 according to one embodiment converts and displays signal and variable values ​​in an easily identifiable format rather than in text, making it easier for machine users to determine the status of the PLC device. Furthermore, machine designers can convert the display format to a graphical format other than text without having to design and develop screens, thereby reducing the burden of machine design.

[0035] As described above in one embodiment, the PLC programming device 10 and the PLC display device 20 convert and display the values ​​of signals and variables in an easily identifiable format rather than as character strings, thereby making it easier for machine users to determine the status of the PLC device.

[0036] <Modification 1> In the embodiment, the PLC programming device 10 and the PLC display device 20 are separate devices, but this is not limiting. For example, the PLC programming device 10 and the PLC display device 20 may be configured as a single device. In this case, the output unit 112 of the PLC programming device 10 and the acquisition unit 210 of the PLC display device 20 may function as input / output units to a single storage unit 23 such as an SSD or HDD.

[0037] <Modification 2> In the above embodiment, the PLC display device 20 stores the signal / variable information 231 of a PLC device (not shown) in the storage unit 23, but this is not limiting. For example, the PLC display device 20 may have a network receiving unit (not shown) and acquire signal / variable information from the PLC device (not shown) via the network receiving unit.

[0038] In one embodiment, the functions included in the PLC programming device 10 and the PLC display device 20 can be realized by hardware, software, or a combination of these. Here, "realized by software" means that the functions are realized by a computer reading and executing a program.

[0039] The program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may be provided to the computer by various types of transient computer-readable media. Examples of transient computer-readable media include electrical signals, optical signals, and electromagnetic waves. The transient computer-readable media can provide the program to the computer via a wired communication path such as an electrical wire or optical fiber, or via a wireless communication path.

[0040] The step of writing a program to be recorded on a recording medium includes not only processes that are performed in chronological order, but also processes that are not necessarily performed in chronological order but are executed in parallel or individually. The step of writing the program may also be performed by cloud computing.

[0041] Although the present disclosure has been described in detail, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values ​​or mathematical expressions are used to describe the above-described embodiments.

[0042] The following supplementary notes are further disclosed regarding the above-described embodiments and modifications. (Supplementary Note 1) A PLC display device (20) includes an acquisition unit (210) that acquires display attribute information related to the display of signals and / or variables in the PLC device, a display attribute conversion unit (211) that converts signal / variable information related to the signals and / or variables in the PLC device into display data based on the display attribute information and outputs the data as a display screen, and a display unit (22) that displays the display screen. (Supplementary Note 2) The PLC display device (20) of Supplementary Note 1 includes a network receiving unit that receives signal / variable information from the PLC device. (Supplementary Note 3) A PLC programming device (10) includes a format acquisition unit (110) that acquires a display format related to the display of signals and / or variables in the PLC device, a display attribute output unit (111) that assigns the display format to a PLC program as display attribute information and outputs the PLC program, and an output unit (112) that outputs the PLC program. (Supplementary Note 4) The PLC programming device (10) of Supplementary Note 3 is provided with the PLC display device (20) of Supplementary Note 1 or Supplementary Note 2. (Supplementary Note 5) The PLC system (1) is provided with the PLC display device (20) of Supplementary Note 1 or Supplementary Note 2 and the PLC programming device (10) of Supplementary Note 3.

[0043] REFERENCE SIGNS LIST 1 PLC system 10 PLC programming device 11 control unit 110 format acquisition unit 111 display attribute output unit 112 output unit 12 display unit 13 input unit 20 PLC display device 21 control unit 210 acquisition unit 211 display attribute conversion unit 22 display unit 23 storage unit 231 signal / variable information

Claims

1. A PLC display device comprising: an acquisition unit that acquires display attribute information regarding the display of signals and / or variables in a PLC device; a display attribute conversion unit that converts signal / variable information regarding the signals and / or variables in the PLC device into display data based on the display attribute information and outputs the display data as a display screen; and a display unit that displays the display screen.

2. The PLC display device according to claim 1, further comprising a network receiving unit for receiving the signal / variable information from the PLC device.

3. A PLC programming device comprising: a format acquisition unit that acquires a display format for displaying signals and / or variables in a PLC device; a display attribute output unit that assigns the display format to a PLC program as display attribute information and outputs the PLC program; and an output unit that outputs the PLC program.

4. A PLC programming device according to claim 3, comprising the PLC display device according to claim 1 or 2.

5. A PLC system comprising: a PLC display device according to claim 1 or 2; and a PLC programming device according to claim 3.

Citation Information

Patent Citations

  • Monitor tool for integrating programmable controller system

    JP1997212213A

  • Setting display unit, programmable controller, programmable controller system and device with display part

    JP2000242315A

  • Facility monitor and display processing system

    JP2000339022A

  • Monitor

    JP2005018119A

  • Programmable display, communication terminal, communication terminal control program, and image creation system

    JP2017054379A