Programmable display

The programmable display optimizes communication frequency by grouping devices based on their change frequency, reducing unnecessary data acquisition and processing, thus enhancing efficiency and accuracy in device value display.

JP2024170200APending Publication Date: 2024-12-06SCHNEIDER ELECTRIC JAPAN HLDG LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023087228
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing control systems, such as those described in Patent Document 1, suffer from unnecessary communication load between the HMI and the programmable logic controller due to uniformly acquiring process data at a fixed update cycle, leading to inefficient communication frequency.

Method used

A programmable display that includes a communication unit to manage multiple devices, a display unit to show device status, and a control unit that allocates devices to groups based on the change frequency of device values, adjusting the communication frequency accordingly to optimize data acquisition and display.

Benefits of technology

This approach allows for setting an appropriate communication frequency between the programmable display and the programmable logic controller, reducing unnecessary data acquisition and processing, thereby improving the efficiency and accuracy of device value display while minimizing user setup time and processing load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024170200000001_ABST
    Figure 2024170200000001_ABST
Patent Text Reader

Abstract

To make a communication frequency between a programmable display and a programmable logic controller to an appropriate frequency.SOLUTION: A control unit (15) provided by a programmable display (1) acquires device values indicating states of devices (3) from a PLC (2), assigns the devices (3) to either group among a plurality of groups to which mutually different frequencies are set on the basis of changing frequency with which the device values change, acquires device values indicating the state of the devices (3) contained in the group with a frequency set to the group, and allows the display unit (11) update the screen by using the acquired device value.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a programmable display. [Background technology]

[0002] Patent Document 1 discloses a control system including a controller, an HMI (Human Machine Interface), and a management means. The controller executes a control program for controlling a field device or the like that is the object of control, and manages process data that is referenced or updated in the control program. The process data is periodically updated as the control program is executed.

[0003] The HMI executes an application using values ​​of process data included in the data set transmitted by the controller. The management means determines, in accordance with an application executed by the HMI, a data set to be enabled for transmission from among a plurality of data sets that the controller can transmit. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-149631 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the control system disclosed in Patent Document 1, the HMI acquires the process data values ​​from the controller uniformly according to the update cycle of the process data, which may cause an unnecessary communication load between the HMI and the controller. One aspect of the present invention aims to set the communication frequency between a programmable display device and a programmable logic controller to an appropriate frequency. [Means for solving the problem]

[0006] In order to solve the above problem, a programmable display according to one embodiment of the present invention is a programmable display comprising: a communication unit configured to communicate with a programmable logic controller that manages a plurality of devices; a display unit that displays a screen including a display of the status of at least one of the plurality of devices; and a control unit, wherein the control unit acquires, via the communication unit, a device value indicating the status of each of the plurality of devices from the programmable logic controller at a predetermined cycle for a first predetermined period, and assigns the device to one of a plurality of groups having different cycles set based on a frequency of change of the device value calculated for each of the plurality of devices using the acquired device value, and acquires, via the communication unit, the device value indicating the status of the device included in the group at the cycle set for the group for each of the plurality of groups, and causes the display unit to update the screen using the acquired device value. Effect of the Invention

[0007] According to one aspect of the present invention, the frequency of communication between a programmable display device and a programmable logic controller can be set to an appropriate frequency. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing an example of the configuration of a programmable display device according to a first embodiment of the present invention, a PLC, a device, and a PC. [Diagram 2] 4 is a flowchart showing an example of processing performed by a control unit included in the programmable display device shown in FIG. [Diagram 3] 3 is a diagram for explaining a process in which the control unit acquires a device value in step S2 shown in FIG. 2. FIG. [Figure 4] 3 is a diagram for explaining the process in which the control unit allocates devices to groups in step S6 shown in FIG. 2. FIG. [Diagram 5] 3 is a diagram for explaining the process in which the control unit calculates a rate of change of the device value in step S10 shown in FIG. 2. FIG. [Figure 6] 3 is a flowchart showing a process in which the control unit changes the group to which the device belongs in step S11 shown in FIG. 2. [Figure 7] 7 is a diagram for explaining a process shown in FIG. 6 in which a control unit changes a group to which a device belongs. FIG. [Figure 8] 3 is a flowchart showing a process in which the control unit corrects a reference change rate range that is a reference for changing the group to which a device belongs in step S13 shown in FIG. 2. [Figure 9] 9 is a diagram for explaining the process of the control unit shown in FIG. 8 correcting the reference change rate range that is the reference for changing the group to which the device belongs. FIG. [Figure 10] FIG. 3 is a diagram for explaining the processing of steps S2, and S4 to S6 shown in FIG. 2 in accordance with the second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] [Embodiment 1] Fig. 1 is a block diagram showing an example of the configuration of a programmable display device 1 according to a first embodiment of the present invention, a PLC (programmable logic controller) 2, a device 3, and a PC (personal computer) 4. Although there are a plurality of devices 3 in Fig. 1, for convenience, one device 3 is shown.

[0010] <Programmable display unit 1 configuration> 1, the programmable display device 1 includes a display unit 11, a touch panel 12, a user memory 13, a communication unit 14, and a control unit 15. The programmable display device 1 is a dedicated computer that realizes operation functions and display functions specific to the programmable display device by displaying a screen for operation and display, and is used as an HMI device.

[0011] The display unit 11 displays a screen including the status display of at least one of the plurality of devices 3. The touch panel 12 is configured to receive a touch operation by the user and is provided so as to overlap the display unit 11.

[0012] The user memory 13 stores, in a file format called a project, the screens created by, for example, the PC 4 as a collection of related multiple screens. The screen displayed on the display unit 11 is, for example, a screen created by the PC 4 and is included in the project.

[0013] The communication unit 14 is an interface configured to be communicable with external devices such as the PLC 2 and the PC 4. The communication unit 14 is configured to be capable of a wired connection with the external device. Note that the communication unit 14 may be configured to be capable of a wireless connection with the external device. Also, the programmable display 1 may include a plurality of communication units 14. Among the plurality of communication units 14, one communication unit 14 may be communicatively connected to the PLC 2, and another communication unit 14 different from the communication unit 14 communicatively connected to the PLC 2 may be communicatively connected to the PC 4.

[0014] The control unit 15 controls each unit included in the programmable display 1. The control unit 15 causes the display unit 11 to display the status of the device 3 communicatively connected to the PLC 2. Also, the control unit 15 controls the status of the device 3 via the PLC 2 and the communication unit 14 in response to a touch operation by the user on the touch panel 12. The control unit 15 downloads the project from the PC 4 via the communication unit 14 and stores the project in the user memory 13.

[0015] <Configuration of the PLC 2, the Device 3, and the PC 4> The PLC 2 is a control device that reads the status of the device 3 at a predetermined cycle and gives a control instruction to the device 3 according to a sequence program created by the user. In this way, the PLC 2 manages a plurality of devices 3 and is communicatively connected to the plurality of devices 3.

[0016] The PLC 2 is configured to be able to connect to the multiple devices 3 via a wired connection, but may be configured to be able to connect to the multiple devices 3 wirelessly. The PLC 2 includes a storage unit 21 that stores, for each of the multiple devices 3, a device value indicating the state of the device 3. In other words, the storage unit 21 stores multiple device values. The PC 4 is configured to be able to communicate with the communication unit 14 of the programmable display device 1. The PC 4 is an example of a creation device that creates a project used for displaying the programmable display device 1.

[0017] <Processing of the control unit 15> Fig. 2 is a flowchart showing an example of the process of the control unit 15 included in the programmable display device 1 shown in Fig. 1. As shown in Fig. 2, first consider the case where the programmable display device 1 is started up (S1). In this case, the control unit 15 acquires device values ​​indicating the states of the devices 3 from the PLC 2 at predetermined intervals for a first predetermined period of time through the communication unit 14 (S2). The process of this flowchart ends when the programmable display device 1 is shut down.

[0018] The first predetermined period is, for example, 10 sec. The predetermined cycle is an initial cycle pre-stored in a project stored in user memory 13, and is, for example, 100 msec. Note that control unit 15 may execute the process of step S2 when it receives a command to switch the screen displayed on display unit 11 in response to a touch operation by the user or the like. When it receives a command to switch the screen, control unit 15 switches the first screen displayed on display unit 11 to a second screen different from the first screen, among a plurality of screens included in the project.

[0019] In addition, in consideration of the role of data used for logging, alarm display, and the like (collectively referred to as "predetermined data"), the control unit 15 needs to constantly acquire the data at a fixed interval. Therefore, the control unit 15 excludes the predetermined data from the device values ​​that are the targets of the flowchart shown in FIG. 2. In other words, the control unit 15 excludes the predetermined data from the device values ​​that dynamically change the data acquisition interval. For example, the excluded predetermined data may be set in advance in the project.

[0020] <Get device value> Fig. 3 is a diagram for explaining the process in which the control unit 15 acquires a device value in step S2 shown in Fig. 2. In Fig. 3, devices 31, 32, and 33 are each one of a plurality of devices 3 communicatively connected to the PLC 2. In each table of reference numerals 301 to 303 in Fig. 3, the left column indicates the time [sec] elapsed since the control unit 15 started acquiring the device value. The center column indicates the device value stored in the variable, and the right column indicates the time interval [sec] at which the device value changed. The time interval is the change frequency at which the device value changes.

[0021] The variable Var1 is a variable corresponding to a device value indicating the state of the device 31, and the device value acquired by the control unit 15 from the device address in the storage unit 21 in which the device value indicating the state of the device 31 is stored is stored in the variable Var1. Similarly, the variable Var2 is a variable corresponding to a device value indicating the state of the device 32, and the device value indicating the state of the device 32 is stored in the variable Var2. The variable Var3 is a variable corresponding to a device value indicating the state of the device 33, and the device value indicating the state of the device 33 is stored in the variable Var3.

[0022] 3, the control unit 15 acquires a device value indicating the state of the device 31 for a first predetermined period at the predetermined cycle of, for example, 100 msec, via the communication unit 14. Similarly, as indicated by reference numerals 302 and 303 in FIG. 3, the control unit 15 acquires a device value indicating the state of the device 32 and a device value indicating the state of the device 33.

[0023] <Screen refresh> After acquiring the device value, the control unit 15 uses the acquired device value to cause the display unit 11 to update the screen (S3). Specifically, the control unit 15 uses the device value to cause the display unit 11 to display the first screen after the programmable display device 1 is started up, or the screen after the screen is switched.

[0024] Thereafter, the control unit 15 updates the state of at least one device 3 displayed on the display unit 11 according to the acquired device value. For example, if the device value indicating the state of the device 31 has changed, the control unit 15 changes the state of the device 31 displayed on the display unit 11. On the other hand, if the device value indicating the state of the device 31 has not changed, the control unit 15 does not change the state of the device 31 displayed on the display unit 11.

[0025] <Recording of change history, calculating average value> The control unit 15 causes the display unit 11 to update the screen, and then causes the user memory 13 to store the change history of the device values ​​of all the devices 3 (S4). The change history of the device values ​​is, for example, a table shown by reference numerals 301 to 303 in Fig. 3. After storing the change history of the device values ​​in the user memory 13, the control unit 15 refers to the change history of the device values ​​stored in the user memory 13 and calculates the average value of the time intervals at which the device values ​​of all the devices 3 changed (S5).

[0026] For example, the control unit 15 calculates the average value of the time intervals during which the device value stored in the variable Var1 changed based on the time intervals acquired within the first predetermined period. Similarly, the control unit 15 calculates the average value of the time intervals during which the device value stored in the variable Var2 changed, and the average value of the time intervals during which the device value stored in the variable Var3 changed.

[0027] The control unit 15 may further calculate the standard deviation of the time interval during which the device value stored in the variable Var1 changed, based on the time interval acquired within the first predetermined period and the calculated average value. Similarly, the control unit 15 may further calculate the standard deviation of the time interval during which the device value stored in the variable Var2 changed, and the standard deviation of the time interval during which the device value stored in the variable Var3 changed.

[0028] <Allocating device 3 to a group> After calculating the average value of the time intervals at which the device value changed, the control unit 15 executes the following process. The control unit 15 assigns the devices 3 to one of the multiple groups based on the time intervals at which the device value changes, calculated for each of the multiple devices 3 using the acquired device value (S6). Different periods are set for the multiple groups. The process of step S6 will be described with reference to FIG. 4.

[0029] Fig. 4 is a diagram for explaining the process in which the control unit 15 allocates the devices 3 to groups in step S6 shown in Fig. 2. In Fig. 4, a period of 100 msec is set for group G1, a period of 500 msec is set for group G2, and a period of 1 sec is set for group G3. A period of 5 sec is set for group G4, and a period of 10 sec is set for group G5. Setting information for the multiple groups and the period of each group is stored in advance in a project stored in the user memory 13.

[0030] The control unit 15 assigns each of the multiple devices 3 to a group to which a period closest to the average value of the time interval at which the device value changes is set. For example, as shown by reference numeral 301 in Fig. 3, for device 31, the average value of the time interval at which the device value stored in variable Var1 changes is 0.657 sec. The group to which a period closest to 0.657 sec is set is group G2. Therefore, the control unit 15 assigns device 31 to group G2, that is, assigns variable Var1 corresponding to device 31 to group G2.

[0031] Consider a case where the control unit 15 further calculates the standard deviation of the time interval during which the device value changed. In this case, in step S6, the control unit 15 may allocate the devices 3 to one of the multiple groups based on the value obtained by subtracting the calculated standard deviation from the time interval during which the device value changed. At this time, the period set for the groups G1 to G5 is the value obtained by subtracting the standard deviation from the period previously stored in the project.

[0032] This allows the amount of data processed by the control unit 15 to be appropriate. Also, by using a value obtained by subtracting the standard deviation from the time interval during which the device value changed, the accuracy of the processing in step S6 can be improved. In other words, each of the multiple devices 3 can be assigned to a more appropriate group.

[0033] Furthermore, in step S6, the control unit 15 may allocate the device 3 to one of the multiple groups based on the number of times the device value changes within a first predetermined period, instead of the time interval at which the device value changes. In this case, different numbers of changes are set for the groups G1 to G5 instead of the period, and the control unit 15 allocates the device 3 to the group set with the number of changes closest to the average number of times the device value changes. In addition, in the processes from step S7 onwards, "period" is replaced with "number of times the device value changes".

[0034] <Getting device values ​​at the interval set for the group> After the control unit 15 assigns the device 3 to one of the multiple groups, the control unit 15 acquires, for each of the multiple groups, a device value indicating the status of the device 3 included in that group at a period set for the group via the communication unit 14 (S7).

[0035] For example, the control unit 15 acquires a device value indicating the state of the device 31 at a cycle of 500 msec set for the group G2 and stores the acquired device value in the variable Var1. In other words, the control unit 15 acquires a device value indicating the state of the device 31 included in the group G2 at a cycle of 500 msec.

[0036] Similarly, the control unit 15 acquires device values ​​corresponding to the variables Var2, Var6, and Var7 at a cycle of 500 msec. The control unit 15 also acquires device values ​​indicating the states of the devices 3 included in the other groups G1, G3, G4, and G5 at a cycle set for the groups. In Fig. 4, the variables Var1 to Var10 each store a device value indicating the state of one of the multiple devices 3.

[0037] <Screen update, memory of change history> The control unit 15 acquires the device values ​​for each of the groups at a period set for the group, and then executes the same process as the process in step S3 (S8). The control unit 15 causes the display unit 11 to update the screen, and then executes the same process as the process in step S4 (S9). The control unit 15 stores the history of changes in the device values ​​in the user memory 13, and then calculates the rate of change, which is the rate at which the device value changes in a second predetermined period, for each of the multiple devices 3 (S10). The second predetermined period is, for example, 10 seconds.

[0038] <Calculating the rate of change> Fig. 5 is a diagram for explaining the process in which the control unit 15 calculates the rate of change of the device value in step S10 shown in Fig. 2. In Fig. 5, the device 34 is one of the multiple devices 3 communicatively connected to the PLC 2. In each table in Fig. 5, the left column indicates the elapsed time [sec] from when the control unit 15 started to acquire the device value. The center column indicates the device value stored in the variable, and the right column indicates the time interval [sec] at which the device value changed.

[0039] The variable Var4 is a variable corresponding to a device value indicating the state of the device 34, and stores the device value acquired by the control unit 15 from the device address in the storage unit 21 in which the device value indicating the state of the device 34 is stored. In addition, in Fig. 5, it is assumed that the group G2 includes devices 31 and 32, and the group G3 includes devices 33 and 34.

[0040] The control unit 15 calculates a rate of change, which is a ratio of the number of times the device value has changed to the number of times the device value has been acquired during the second predetermined period. The rate of change is an example of the change frequency at which the device value changes. For example, as shown in Fig. 5, the control unit 15 acquires a device value indicating the state of the device 31 at a period of 500 msec set for the group G2, and stores the device value in the variable Var1.

[0041] During the second predetermined period (10 sec), the number of times the control unit 15 acquires the device value is 10 sec / 500 msec=20 times. Also, as shown in Fig. 5, during the second predetermined period, the number of times the device value stored in the variable Var1 has changed is 17 times. In this case, the control unit 15 calculates the rate of change as (17 / 20) x 100 = 85%. After calculating the rate of change, the control unit 15 changes the group to which each device 3 belongs in accordance with the rate of change of the device value (S11).

[0042] <Change group> Fig. 6 is a flowchart showing the process in which the control unit 15 changes the group to which the device 3 belongs in step S11 shown in Fig. 2. Fig. 7 is a diagram for explaining the process in which the control unit 15 changes the group to which the device 3 belongs, shown in Fig. 6.

[0043] 6, the control unit 15 monitors, for each of a plurality of groups, a rate of change that is a rate at which a device value indicating the state of the devices 3 included in the group changes during a second predetermined period (S21). Next, the control unit 15 determines whether the rate of change in the device value is less than 60% (S22).

[0044] In step S22, 60% is an example of a lower limit value of the reference change rate range. The reference change rate range is a range of change rates within which the group to which the device 3 belongs is not changed, and is, for example, a range of 60% or more and less than 90%. The reference change rate range is stored in advance in a project stored in the user memory 13, but may be set by the user.

[0045] When the control unit 15 determines that the rate of change of the device value is less than 60% (YES in S22), it changes the group to which the device 3 belongs to a group with a longer period (S23). In other words, for a device 3 with a rate of change of less than 60%, the control unit 15 changes the group to which the device 3 belongs from the first group to which the first period is set to the second group to which the second period, which is longer than the first period, is set.

[0046] Moreover, the second group is adjacent to the first group. Adjacent means that the two groups are adjacent to each other when the multiple groups are arranged in order of the shortest or longest set cycles, as shown in Fig. 7. In other words, the second group is adjacent to the first group when the multiple groups are arranged in order of the set cycles.

[0047] In the case where the determination in step S22 is YES, that is, there is no group with a period set longer than the period set in the group to which the device 3 currently belongs, the control unit 15 proceeds to the process of step S28 described later.

[0048] If the rate of change of the device value is less than 60%, the device value rarely changes in the cycle set for the group, and there are 40% or more of the device values ​​that have not changed, so the cycle for acquiring the device value may be made longer. For this reason, it is preferable that the control unit 15 change the group to which the device 3 belongs in step S23 to a group with a longer cycle.

[0049] For example, consider a case where the control unit 15 determines that the rate of change in the device value of the variable Var2 corresponding to the device 32 included in the group G2 shown in Fig. 4 is less than 60%. In this case, as shown in Fig. 7, the control unit 15 changes the group to which the variable Var2 belongs from the group G2, to which a period of 500 msec is set, to the group G3, to which a period of 1 sec, which is longer than the period of 500 msec, is set.

[0050] Then, the control unit 15 judges whether or not the determination as to whether or not to change the group has been completed for all of the devices 3 (S29). When the control unit 15 judges that the determination as to whether or not to change the group has been completed for all of the devices 3 (YES in S29), it ends the process shown in FIG.

[0051] When the control unit 15 determines that the determination of whether or not to change the group has not been completed for all devices 3 (NO in S29), the control unit 15 executes the process from step S21 for devices 3 other than the device 32 whose group has been changed. As shown in Fig. 7, a plurality of groups having different periods set are stored in advance in a project stored in the user memory 13.

[0052] When the control unit 15 determines that the rate of change of the device value is 60% or more (NO in S22), it determines whether the rate of change of the device value is 90% or more and less than 95% (S24). In step S24, 90% is an example of the upper limit of the reference change rate range. However, 90% is not included in the reference change rate range. When the control unit 15 determines that the rate of change of the device value is 90% or more and less than 95% (YES in S24), it changes the group to which the device 3 belongs to a group with a shorter period (S25).

[0053] In other words, for a device 3 with a change rate of 90% or more, the control unit 15 changes the group to which the device 3 belongs from the first group, to which the first period is set, to the third group, to which the third period, which is a period shorter than the first period, is set. Specifically, for a device 3 with a change rate of 90% or more and less than 95%, the control unit 15 changes the group to which the device 3 belongs from the first group to the third group. The third group is a group adjacent to the first group.

[0054] In the case where the determination in step S24 is YES, that is, there is no group for which a cycle shorter than the cycle set for the group to which the device 3 currently belongs is present, the control unit 15 proceeds to the process of step S28.

[0055] When the rate of change of the device value is 90% or more, the device value often changes at a period set for the group, and therefore it is highly likely that the device value changes at a shorter period. For this reason, it is preferable that the control unit 15 change the group to which the device 3 belongs to a group with a shorter period in step S25.

[0056] For example, consider a case where the control unit 15 determines that the rate of change of the device value for the variable Var3 corresponding to the device 33 included in the group G3 shown in Fig. 4 is equal to or greater than 90% and less than 95%. In this case, as shown in Fig. 7, the control unit 15 changes the group to which the variable Var3 belongs from the group G3, which has a period of 1 sec, to the group G2, which has a period of 500 msec, which is shorter than the period of 1 sec. Then, the control unit 15 proceeds to the process of step S29.

[0057] When the control unit 15 determines that the rate of change of the device value is equal to or greater than 60% and less than 90%, or equal to or greater than 95% (NO in S24), it determines whether the rate of change of the device value is equal to or greater than 95% (S26). In step S26, 95% is an example of a predetermined rate of change. When the control unit 15 determines that the rate of change of the device value is equal to or greater than 95% (YES in S26), it proceeds to the process of step S2 shown in FIG. 2.

[0058] If the rate of change of the device value is 95% or more, it means that the device value is frequently changing at the cycle set for the group, so it is preferable to move to the process of step S2 and again determine whether to change the group to which the device 3 belongs. Here, consider the case where the answer is YES in step S26. In this case, the control unit 15 may change the group to which the device 3 belongs from the first group to which the first cycle is set, to the fourth group to which a fourth cycle is set, which is an even shorter cycle than the third cycle set for the third group adjacent to the first group.

[0059] When the control unit 15 determines that the rate of change in the device value is equal to or greater than 60% and less than 90% (NO in S26), the control unit 15 does not change the group to which the device 3 belongs (S28). Then, the control unit 15 proceeds to the process of step S29.

[0060] As described above, in step S23 or S25, the control unit 15 changes the group to which the device 3 belongs for the device 3 whose rate of change in device value is outside the range of 60% or more and less than 90%. This allows the control unit 15 to change the group to which the device 3 belongs for the device 3 whose rate of change in device value has changed significantly to an appropriate group. Therefore, when the rate of change in device value has changed significantly, the frequency of communication between the programmable display unit 1 and the PLC 2 can be made appropriate.

[0061] Conventionally, after installing the programmable display on-site (e.g., a factory, etc.), it was necessary to incorporate the HMI function into the programmable display and set it to adjust the cycle for acquiring device values. Also, the cycle had to be adjusted using the setting screen on the programmable display (HMI). Furthermore, the group range of the device address could not be changed on the setting screen on the HMI. In the programmable display 1, the control unit 15 dynamically changes the group to which the device 3 belongs, so this problem can be solved.

[0062] The frequency with which the device value changes may vary over time. Even in such a case, the control unit 15 changes the group to which the device 3 belongs according to the rate of change of the device value, so that it is possible to reduce unnecessary acquisition of device values ​​and unnecessary processing by the control unit 15. Because unnecessary processing by the control unit 15 can be reduced, the HMI can be operated while shortening the processing time by the control unit 15. The amount of operating time reduced by the reduction in unnecessary processing by the control unit 15 can be allocated to other HMI functions, and the performance of the other HMI functions can be improved.

[0063] Furthermore, in step S23, for devices 3 whose rate of change in device value is less than 60%, the control unit 15 changes the group to which the device 3 belongs to, to the second group, which has a longer period set. This allows the control unit 15 to acquire device values ​​whose rate of change is smaller less frequently, and makes it possible to set the communication frequency between the programmable display device 1 and the PLC 2 to an appropriate frequency.

[0064] Furthermore, in step S25, for devices 3 whose rate of change in device value is 90% or more and less than 95%, the control unit 15 changes the group to which the device 3 belongs to, to a third group to which a shorter period is set. This enables the control unit 15 to frequently acquire device values ​​whose rate of change has increased, and improves the accuracy of the device values ​​displayed on the display unit 11 (the display accuracy of the device values).

[0065] Returning to Fig. 2, after changing the group to which each device 3 belongs, the control unit 15 determines whether or not the elapsed time from the start of allocation to the group is equal to or longer than a predetermined time (S12). The predetermined time is, for example, 10 minutes. The elapsed time also includes the elapsed time from the last time the control unit 15 executed the process of step S13.

[0066] When the control unit 15 determines that the elapsed time from the start of group allocation is equal to or longer than a predetermined time (YES in S12), it corrects the reference change rate range that is the standard for changing the group to which the device 3 belongs (S13). After correcting the reference change rate range, the control unit 15 determines whether or not a change of the screen displayed on the display unit 11 has been accepted (S14).

[0067] If the control unit 15 determines that a screen change has been received (YES in S14), the process proceeds to step S2. If the control unit 15 determines that a screen change has not been received (NO in S14), the process proceeds to step S7. If the control unit 15 determines that the elapsed time from the start of group allocation is less than a predetermined time (NO in S12), the process proceeds to step S14.

[0068] <Adjustment of the standard change rate range> Fig. 8 is a flowchart showing the process in step S13 shown in Fig. 2 in which the control unit 15 corrects the reference change rate range serving as a criterion for changing the group to which the device 3 belongs. Fig. 9 is a diagram for explaining the process in Fig. 8 in which the control unit 15 corrects the reference change rate range serving as a criterion for changing the group to which the device 3 belongs.

[0069] As shown in Fig. 8, the control unit 15 monitors the belonging rate, which is the ratio of the devices 3 that belong to the main group, for each of the multiple devices 3 during a third predetermined period (S41). The third predetermined period is, for example, 10 minutes. The process of step S41 will be specifically described with reference to Fig. 9. In Fig. 9, variables Var1 to Var10 store device values ​​indicating the state of each of the multiple devices 3.

[0070] 9, the control unit 15 acquires the number of times that the variable Var1 belongs to the group for each group during the third predetermined period for each of the variables Var1 to Var10. For example, the control unit 15 acquires information that the number of times that the variable Var1 belongs to the group G2 during the third predetermined period is 58, and acquires information that the number of times that the variable Var1 belongs to the group G3 during the third predetermined period is 2.

[0071] The control unit 15 identifies the group G2 as the main group with the highest number of memberships based on the number of times the variable Var1 belongs to each group. The control unit 15 calculates the membership rate of the identified group G2 as 97%, which is the ratio of the number of times the variable Var1 belongs to the group G2 (58 times) to the total number of times that the variable Var1 belongs to the group G2 (60 times) in the third predetermined period. The control unit 15 monitors the membership rate of the group with the highest membership rate.

[0072] In step S41, when the belonging rate for each group is taken into consideration, since the total number of times of belonging is constant, the control unit 15 monitors the belonging rate for each group by monitoring the number of times of belonging for each group. In other words, the control unit 15 monitors the belonging rate for each group, which is the ratio of devices 3 that belong to the group, for each of the multiple devices 3 during the third predetermined period.

[0073] Next, the control unit 15 judges whether the belonging rate of the main group is equal to or greater than 40% and less than 80% (S42). In step S42, 80% is an example of an upper limit value of the reference belonging rate range. However, 80% is not included in the reference belonging rate range. The reference belonging rate range is a range of belonging rates for correcting the reference change rate range, for example, a range of equal to or greater than 60% and less than 80%. The reference belonging rate range is pre-stored in the project stored in the user memory 13, but may be set by the user.

[0074] If the control unit 15 determines that the main group affiliation rate is less than 40% or is equal to or greater than 80% (NO in S42), the control unit 15 does not correct the reference change rate range (S51). After step S51, the control unit 15 determines whether or not the determination of whether or not to correct the reference change rate range for all devices 3 has been completed (S52).

[0075] 8 when it is determined that the determination as to whether or not to correct the reference change rate range has been completed for all devices 3 (YES in S52). When it is determined that the determination as to whether or not to correct the reference change rate range has not been completed for all devices 3 (NO in S52), the control unit 15 executes the process from step S41 for devices 3 other than the device 3 for which the determination as to the belonging rate to the main group has been performed.

[0076] When the control unit 15 determines that the affiliation rate of the main group is 40% or more and less than 80% (YES in S42), it determines whether or not the group with the second highest affiliation rate is adjacent to the main group (S43). As shown in Fig. 9, for example, the control unit 15 determines that the affiliation rate of group G2, which is the main group, for variable Var2 is 68%, and the affiliation rate of the main group is 40% or more and less than 80%. The control unit 15 identifies group G3 as the group with the second highest affiliation rate for variable Var2, and determines whether or not the identified group G3 is adjacent to group G2, which is the main group.

[0077] When the control unit 15 determines that the group with the second highest belonging rate is not adjacent to the main group (NO in S43), the control unit 15 proceeds to the process of step S51. For example, the control unit 15 determines that the group G2 with the second highest belonging rate for the variable Var9 is not adjacent to the main group G4. In this case, the control unit 15 does not correct the reference change rate range. In this case, since it is unlikely that the variable Var9 has moved unstably between the two groups G2 and G4, it is preferable that the control unit 15 does not correct the reference change rate range.

[0078] When the control unit 15 determines that the group with the second highest belonging rate is adjacent to the main group (YES in S43), it determines whether the belonging rate of the main group is less than 60% (S44). In step S44, 60% is an example of the lower limit of the reference belonging rate range.

[0079] For example, for variable Var7, group G3, which is the group with the second highest belonging rate, is adjacent to group G2, which is the main group, so the control unit 15 determines that the group with the second highest belonging rate is adjacent to the main group. For variable Var7, the control unit 15 determines that the belonging rate of group G2, which is the main group, is less than 60% because the belonging rate of group G2, which is the main group, is 53%.

[0080] When the control unit 15 determines that the affiliation rate of the main group is less than 60% (YES in S44), it determines whether or not a predetermined condition regarding the affiliation rate is satisfied (S45). The predetermined condition is, for example, that the sum of the affiliation rate of the group with the highest affiliation rate and the affiliation rate of the group with the second highest affiliation rate is equal to or greater than a predetermined value. The predetermined value is, for example, 90%.

[0081] When the sum of the membership rate of the group with the highest membership rate and the membership rate of the group with the second highest membership rate is equal to or greater than a predetermined value, the control unit 15 can determine that the membership of devices 3 to groups is approximately evenly distributed between these two groups.

[0082] When the control unit 15 determines that the above-mentioned predetermined condition regarding the affiliation rate is satisfied (YES in S45), it generates an intermediate group (S46). Specifically, the control unit 15 determines that the sum of the affiliation rate of the group with the highest affiliation rate and the affiliation rate of the group with the second highest affiliation rate is 90% or more.

[0083] Furthermore, the control unit 15 generates an intermediate group having a period between the period set for the group with the highest belonging rate and the period set for the group with the second highest belonging rate. For example, for the variable Var7, the sum of the belonging rate of the group G2, which is the main group, and the belonging rate of the group G3, which is the group with the second highest belonging rate, is 100%. Therefore, the control unit 15 determines that the sum of the belonging rate of the group G2 and the belonging rate of the group G3 is 90% or more.

[0084] The control unit 15 generates an intermediate group with a period of 750 msec set between the period of 500 msec set for group G2, the main group, and the period of 1 sec set for group G3, the group with the second highest belonging rate. The period set for the intermediate group is, for example, the average value of the period set for the main group and the period set for the group with the second highest belonging rate.

[0085] Here, the belonging rate of the variable Var7 to the group G2, which is the main group, is 53%, and it is considered that the variable Var7 moves unstably between the groups G2 and G3. Therefore, it is considered that an appropriate period exists between the period set to the group G2 and the period set to the group G3. Therefore, it is preferable that the control unit 15 generates an intermediate group as described above.

[0086] After generating the intermediate group, the control unit 15 changes the group to which the device 3 belongs to the generated intermediate group (S47). Then, the control unit 15 proceeds to the process of step S52.

[0087] When the difference between the affiliation rate of the group with the highest affiliation rate and the affiliation rate of the group with the second highest affiliation rate is small, the affiliation of the device 3 to the groups is distributed approximately evenly between these two groups. Therefore, the control unit 15 generates an intermediate group and changes the group to which the device 3 belongs to the intermediate group, thereby improving the affiliation rate of the group with the highest affiliation rate. This makes it possible to make the communication frequency between the programmable display device 1 and the PLC 2 more appropriate.

[0088] On the other hand, when the control unit 15 determines that the above-mentioned predetermined condition regarding the affiliation rate is not satisfied (NO in S45), the control unit 15 proceeds to the process of step S51. At this time, the control unit 15 determines that, for example, the sum of the affiliation rate of the group with the highest affiliation rate and the affiliation rate of the group with the second highest affiliation rate is less than 90%.

[0089] For example, assume that the number of times variable Var7 belongs to group G1 is 12, the number of times group G2 belongs to group G3 is 32, the number of times group G3 belongs to group G4 is 16, and the number of times group G5 belongs to group G4 is 0. In this case, the belonging rate of group G2, which is the main group, is 53%, and the belonging rate of group G3, which is the group with the second highest belonging rate, is 27%.

[0090] Therefore, since the sum of the membership rate of group G2 and the membership rate of group G3 is 80%, the control unit 15 determines that the sum is less than 90%. At this time, since the membership rate of variable Var7 is dispersed among three or more groups, it is preferable that the control unit 15 does not generate an intermediate group and does not correct the reference change rate range.

[0091] When the control unit 15 determines that the belonging rate of the main group is 60% or more (NO in S44), it determines whether or not the period of the group with the second highest belonging rate is shorter than the period of the main group (S48).When the control unit 15 determines that the period of the group with the second highest belonging rate is shorter than the period of the main group (YES in S48), it increases the upper limit value of the reference change rate range (S49).

[0092] Specifically, for example, the period of group G1, which is the group with the second highest belonging rate, is 100 msec, which is shorter than the period of group G2, which is the main group, which is 500 msec, for variable Var6. Therefore, the control unit 15 determines that the period of the group with the second highest belonging rate is shorter than the period of the main group.

[0093] At this time, the control unit 15 increases the numerical value of 90%, which is the upper limit value of the reference change rate range, to a higher numerical value. For example, the control unit 15 increases the numerical value of 90% by 5%, to 95%. After increasing the upper limit value of the reference change rate range, the control unit 15 proceeds to the process of step S52.

[0094] Here, the variable Var6 belongs to the group G1, which has a shorter period set than the period set for the group G2, 17 times. In other words, the rate of change of the device value stored in the variable Var6 has exceeded 90% 17 times. Therefore, it is preferable to reduce the number of times the variable Var6 belongs to the group G1 by increasing the upper limit of the reference rate of change range to 90%, and stabilize the belonging to the group G2.

[0095] When the control unit 15 determines that the period of the group with the second highest belonging rate is longer than the period of the main group (NO in S48), it lowers the lower limit of the reference change rate range (S50). Specifically, for example, for the variable Var2, the period of group G3 with the second highest belonging rate is 1 sec, which is longer than the period of group G2, which is the main group, 500 msec.

[0096] Therefore, the control unit 15 determines that the period of the group with the second highest affiliation rate is longer than the period of the main group. At this time, the control unit 15 lowers the numerical value of 60%, which is the lower limit value of the reference change rate range, to a lower numerical value. For example, the control unit 15 lowers the numerical value of 60% by 5%, to 55%. After lowering the lower limit value of the reference change rate range, the control unit 15 proceeds to the process of step S52.

[0097] Here, the variable Var2 belongs to group G3, which has a longer period set than the period set for group G2, 15 times. In other words, the rate of change of the device value stored in variable Var2 falls below 60% 15 times. Therefore, it is preferable to reduce the number of times that variable Var2 belongs to group G3 by lowering the lower limit of the reference rate of change range to 60%, thereby stabilizing the belonging to group G2.

[0098] As described above, the control unit 15 allocates the devices 3 to one of the multiple groups having different cycles set based on the frequency of changes in the device values. In addition, the control unit 15 acquires, for each of the multiple groups, the device values ​​indicating the states of the devices 3 included in the group at the cycle set for the group.

[0099] This allows the control unit 15 to efficiently acquire device values ​​close to the timing at which the device values ​​change. Specifically, by appropriately allocating the devices 3 to groups, the control unit 15 can acquire device values ​​that change frequently more frequently and acquire device values ​​that change infrequently less frequently. This allows the frequency of communication between the programmable display device 1 and the PLC 2 to be appropriately set.

[0100] Furthermore, the control unit 15 can reduce the calculation load on the programmable display device 1 and the communication load between the programmable display device 1 and the PLC 2, compared to when the device values ​​are acquired from the PLC 2 at a uniform cycle. Furthermore, since the control unit 15 automatically assigns each device 3 to one of a plurality of groups having different cycles set, the user does not need to manually set the cycle for acquiring the device values. Therefore, the programmable display device 1 can shorten the setup time of the programmable display device 1 before operating the controlled object (for example, the system and equipment (including the device 3) introduced in a factory).

[0101] If the result of step S44 is NO, that is, if the membership rate of the group with the highest membership rate is within the reference membership rate range, the control unit 15 corrects the reference change rate range based on the period set for the group with the second highest membership rate.

[0102] When the affiliation rate of the group with the highest affiliation rate is within the reference affiliation rate range, the affiliation of the device 3 to groups is not biased toward one group, but is distributed among multiple groups. Therefore, the control unit 15 appropriately corrects the reference change rate range based on the cycle set for the group with the second highest affiliation rate, thereby lowering the affiliation rate of the group with the second highest affiliation rate and raising the affiliation rate of the group with the highest affiliation rate. This reduces the number of times the group to which the device 3 belongs is changed, and makes it possible to avoid the execution of temporary unnecessary group change processing. This reduces the processing load on the control unit 15.

[0103] Furthermore, consider the case where the answer is YES in step S48. That is, consider the case where the affiliation rate of the group with the highest affiliation rate is within the reference affiliation rate range, and the period set for the group with the second highest affiliation rate is shorter than the period set for the group with the highest affiliation rate. In this case, control unit 15 increases the upper limit of the reference change rate range in step S49. This makes it possible to lower the affiliation rate of the group with the second highest affiliation rate, for which a shorter period is set, and to increase the affiliation rate of the group with the highest affiliation rate.

[0104] Consider the case where NO is determined in step S48. In other words, consider the case where the affiliation rate of the group with the highest affiliation rate is within the reference affiliation rate range, and the period set for the group with the second highest affiliation rate is longer than the period set for the group with the highest affiliation rate. In this case, control unit 15 lowers the lower limit of the reference change rate range in step S50. This makes it possible to lower the affiliation rate of the group with the second highest affiliation rate, for which a longer period is set, and to raise the affiliation rate of the group with the highest affiliation rate.

[0105] [Embodiment 2] A second embodiment of the present invention will be described below. For ease of explanation, the same reference numerals will be given to members having the same functions as those described in the first embodiment, and the description thereof will not be repeated.

[0106] Fig. 10 is a diagram for explaining the processing of steps S2, S4 to S6 shown in Fig. 2 in the second embodiment of the present invention. In the table indicated by reference numeral 1001 in Fig. 10, the left column indicates the time [sec] elapsed since the control unit 15 started to acquire the device values, and the numerical values ​​at the points where the device values ​​have changed are indicated by enclosing them in a square. In step S2, the control unit 15 may first identify a device address in the storage unit 21 at which the device values ​​indicating the state of the device 3 included in the screen display on the display unit 11 are stored.

[0107] Furthermore, when there are consecutive device addresses in the storage unit 21 among the identified device addresses, the control unit 15 sets the consecutive device addresses as a device address group. The control unit 15 acquires, via the communication unit 14, the device values ​​stored in the device addresses included in the device address group at the predetermined cycle during the first predetermined period.

[0108] For example, in reference numeral 1001 in Fig. 10, the control unit 15 identifies a device address on the storage unit 21 in which a device value indicating the state of the device 31 is stored. The device value stored in the device address included in the device address group is stored in variables Var1[0] to Var1[9]. The control unit 15 acquires the device value stored in the device address included in the device address group at the above-mentioned predetermined period, and stores the acquired device value in each of the variables Var1[0] to Var1[9].

[0109] As described above, the control unit 15 sets consecutive device addresses in the storage unit 21 as a device address group, and acquires the device values ​​stored in the device addresses included in the device address group at the above-mentioned predetermined period. This allows the control unit 15 to acquire multiple device values ​​collectively, thereby reducing the frequency of communication between the programmable display device 1 and the PLC 2.

[0110] After storing the acquired device values ​​in each of the variables Var1[0] to Var1[9], in step S4, the control unit 15 stores the change history of the device values ​​stored in each of the variables Var1[0] to Var1[9] in the user memory 13 as shown by reference numeral 1002 in Fig. 10. After storing the change history of the device values ​​in the user memory 13, in step S5, the control unit 15 calculates the average value of the time intervals [sec] at which the device values ​​changed for each of the variables Var1[0] to Var1[9].

[0111] The control unit 15 calculates the average value of the time intervals during which the device value changed, and then determines that the average value of the time intervals during which the device value changed stored in variable Var1[1] is the smallest of the average values ​​of the time intervals during which the device values ​​changed for variables in which device values ​​stored in device address groups corresponding to other devices 3 are stored.

[0112] The control unit 15 allocates the device 3 to one of the multiple groups based on the average value of the time intervals of the device values ​​identified as the minimum values ​​in step S6. That is, the control unit 15 allocates the variables Var1[0] to Var1[9] to one of the multiple groups. Similarly, the control unit 15 allocates the multiple variables Var2[i] and multiple variables Var3[j] (i and j are integers equal to or greater than 0) corresponding to the other devices 3 to one of the multiple groups. Thereafter, the control unit 15 executes the processes from step S7 onwards in the same manner.

[0113] [Software implementation example] The functions of the programmable display device 1 (hereinafter referred to as the "device") can be realized by a program for causing a computer to function as the device, and a program for causing a computer to function as the control block (control unit 15) of the device.

[0114] In this case, the device includes a computer having at least one control device (e.g., a processor) and at least one storage device (e.g., a memory) as hardware for executing the program. The control device and storage device execute the program to realize each function described in each of the above embodiments.

[0115] The program may be non-transitory and may be recorded in one or more computer-readable recording media. The recording media may or may not be included in the device. In the latter case, the program may be provided to the device via any wired or wireless transmission medium.

[0116] In addition, some or all of the functions of each of the control blocks can be realized by a logic circuit. For example, an integrated circuit in which a logic circuit that functions as each of the control blocks is formed is also included in the scope of the present invention. In addition, the functions of each of the control blocks can be realized by, for example, a quantum computer.

[0117] 〔summary〕 A programmable display according to a first aspect of the present invention is a programmable display comprising: a communication unit configured to communicate with a programmable logic controller that manages a plurality of devices; a display unit that displays a screen including a display of the status of at least one of the plurality of devices; and a control unit, wherein the control unit acquires, via the communication unit, a device value indicating the status of each of the plurality of devices from the programmable logic controller at a predetermined cycle for a first predetermined period, and assigns the device to one of a plurality of groups having different cycles set based on a frequency of change of the device value calculated using the acquired device value for each of the plurality of devices, and acquires, via the communication unit, the device value indicating the status of the device included in the group at the cycle set for the group for each of the plurality of groups, and causes the display unit to update the screen using the acquired device value.

[0118] The control unit allocates the devices to one of a plurality of groups having different cycles set based on the frequency of change of the device values, and acquires, for each of the plurality of groups, a device value indicating the state of the devices included in the group at the cycle set for the group.

[0119] This allows the control unit to efficiently acquire device values ​​close to the timing at which the device values ​​change. Specifically, by appropriately allocating devices to groups, the control unit can acquire device values ​​that change frequently more frequently and acquire device values ​​that change infrequently less frequently. This allows the communication frequency between the programmable display device and the programmable logic controller to be set to an appropriate frequency.

[0120] Furthermore, in the past, it was necessary to set a read cycle of device values ​​for each device (object) for each screen in advance. In the programmable display device according to the first aspect of the present invention, the control unit assigns devices to one of a plurality of groups based on the frequency with which the device values ​​change. This eliminates the need for the user to set a read cycle of device values ​​for each screen. This reduces the amount of work required by the user.

[0121] In a programmable display according to aspect 2 of the present invention, in aspect 1 above, the control unit may monitor, for each of the multiple groups, a change rate, which is the rate at which the device value indicating the state of the device included in the group changes during a second specified period, and for a device whose change rate falls outside a standard change rate range, change the group to which the device belongs.

[0122] The control unit changes the group to which a device belongs when the rate of change of the device value falls outside the reference rate of change range. This allows the control unit to change the group to which a device belongs when the rate of change of the device value has changed significantly to an appropriate group. Therefore, when the rate of change of the device value has changed significantly, the frequency of communication between the programmable display device and the programmable logic controller can be made appropriate.

[0123] Furthermore, since the control unit changes the group to which a device with a change rate outside the reference change rate range belongs, after the programmable display device is installed on-site, the user does not need to adjust the read cycle of the device for each screen, thereby reducing the user's workload.

[0124] In a programmable display according to aspect 3 of the present invention, in aspect 2 above, the control unit may change the group to which a device, for which the rate of change is less than a lower limit of the reference rate of change range, belongs from a first group having a first period set thereto to a second group having a second period set thereto, the second period being longer than the first period.

[0125] The control unit changes the group to which the device belongs for a device whose rate of change is less than the lower limit of the reference rate of change range to a second group to which a longer period is set, thereby enabling the control unit to acquire device values ​​with a smaller rate of change less frequently and to set the communication frequency between the programmable display unit and the programmable logic controller to an appropriate frequency.

[0126] In a programmable display according to aspect 4 of the present invention, in aspect 2 or 3 above, the control unit may change the group to which a device belongs, for which the rate of change is equal to or greater than an upper limit of the reference rate of change range, from a first group having a first period set thereto to a third group having a third period set thereto, the third period being a period shorter than the first period.

[0127] The control unit changes the group to which a device with a rate of change equal to or greater than the upper limit of the reference rate of change range belongs to a third group, which has a shorter period set. This enables the control unit to acquire device values ​​with a large rate of change more frequently, thereby improving the accuracy of displaying the device values.

[0128] In a programmable display according to aspect 5 of the present invention, in any of aspects 2 to 4 above, the control unit may monitor, for each of the plurality of devices, a membership rate, which is the percentage of the devices that belong to the group, for each of the groups during a third specified period, and if the membership rate of the group with the highest membership rate is within a standard membership rate range, correct the standard change rate range based on the period set for the group with the second highest membership rate.

[0129] When the affiliation rate of the group with the highest affiliation rate is within the reference affiliation rate range, the affiliation of devices to groups is not biased toward one group, but is distributed among multiple groups. Therefore, the control unit appropriately corrects the reference change rate range based on the cycle set for the group with the second highest affiliation rate, thereby lowering the affiliation rate of the group with the second highest affiliation rate and raising the affiliation rate of the group with the highest affiliation rate. This reduces the number of times the group to which a device belongs is changed, and reduces the processing burden on the control unit.

[0130] In a programmable display according to aspect 6 of the present invention, in aspect 5 above, the control unit may lower the lower limit of the reference change rate range when the membership rate of the group with the highest membership rate is within the reference membership rate range and the period set for the group with the second highest membership rate is longer than the period set for the group with the highest membership rate.

[0131] When the period set for the group with the second highest membership rate is longer than the period set for the group with the highest membership rate, the control unit lowers the lower limit of the reference change rate range, thereby lowering the membership rate of the group with the second highest membership rate for which a longer period is set, and raising the membership rate of the group with the highest membership rate.

[0132] In a programmable display according to aspect 7 of the present invention, in aspect 5 or 6 above, the control unit may increase the upper limit of the reference change rate range when the membership rate of the group with the highest membership rate is within the reference membership rate range and the period set for the group with the second highest membership rate is shorter than the period set for the group with the highest membership rate.

[0133] When the period set for the group with the second highest membership rate is shorter than the period set for the group with the highest membership rate, the control unit increases the upper limit of the reference change rate range, thereby lowering the membership rate of the group with the second highest membership rate for which a shorter period is set, and raising the membership rate of the group with the highest membership rate.

[0134] In a programmable display according to aspect 8 of the present invention, in any of aspects 2 to 7 above, the control unit may monitor, for each of the plurality of devices, a membership rate, which is the percentage of the device that belongs to the group for each of the groups, during a third specified period, and when a specified condition regarding the membership rate is satisfied, generate an intermediate group having a period between the period set for the group with the highest membership rate and the period set for the group with the second highest membership rate, and change the group to which the device belongs to the generated intermediate group.

[0135] When the difference between the affiliation rate of the group with the highest affiliation rate and the affiliation rate of the group with the second highest affiliation rate is small, the affiliation of the device to the group is distributed approximately evenly between these two groups. Therefore, the control unit creates an intermediate group and changes the group to which the device belongs to the intermediate group, thereby improving the affiliation rate of the group with the highest affiliation rate.

[0136] In a programmable display according to aspect 9 of the present invention, in aspect 8 above, the specified condition may be that the sum of the membership rate of the group with the highest membership rate and the membership rate of the group with the second highest membership rate is greater than or equal to a specified value.

[0137] When the sum of the membership rate of the group with the highest membership rate and the membership rate of the group with the second highest membership rate is equal to or greater than a predetermined value, the control unit can determine that the device's membership in groups is approximately evenly distributed between these two groups.

[0138] In a programmable display according to aspect 10 of the present invention, in any of aspects 1 to 9 above, the programmable logic controller is provided with a memory unit that stores a plurality of the device values, and the control unit identifies a device address on the memory unit in which the device values ​​indicating the state of the device included in the display on the screen are stored, and if there are consecutive device addresses on the memory unit among the identified device addresses, the consecutive device addresses are treated as a device address group, and the communication unit may acquire the device values ​​stored in the device addresses included in the device address group at the predetermined cycle for the first predetermined period.

[0139] The control unit sets consecutive device addresses in the storage unit as a device address group, and acquires the device values ​​stored in the device addresses included in the device address group at a predetermined interval. This allows the control unit to acquire multiple device values ​​collectively, thereby reducing the frequency of communication between the programmable display device and the programmable logic controller.

[0140] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]

[0141] 1 Programmable display 2 PLC 3, 31-34 Devices 11 Display section 14 Communications Department 15 Control section 21 Memory section G1~G5 Group

Claims

1. A communication unit configured to be able to communicate with a programmable logic controller that manages a plurality of devices; a display unit that displays a screen including a display of a status of at least one of the plurality of devices; A programmable display device comprising: The control unit is The communication unit acquires, for each of the plurality of devices, a device value indicating a state of the device from the programmable logic controller at a predetermined cycle during a first predetermined period; allocating each of the plurality of devices to one of a plurality of groups having different periods set based on a change frequency of the device value calculated using the acquired device value; acquiring, for each of the plurality of groups, the device values ​​indicating the states of the devices included in the group at a period set for the group by the communication unit; The programmable display causes the display unit to update the screen using the acquired device value.

2. The control unit is monitoring a rate of change of the device value indicating the state of the device included in each of the plurality of groups during a second predetermined period of time; The programmable display device according to claim 1 , wherein, for the device whose rate of change falls outside a reference rate of change range, the group to which the device belongs is changed.

3. The control unit is 3. The programmable display device of claim 2, wherein for a device whose rate of change is less than a lower limit of the reference rate of change range, the group to which the device belongs is changed from a first group having a first period set thereto to a second group having a second period set thereto that is longer than the first period.

4. The control unit is 3. The programmable display device of claim 2, wherein for a device whose rate of change is equal to or greater than an upper limit of the reference rate of change range, the group to which the device belongs is changed from a first group having a first period set thereto to a third group having a third period set thereto, the third period being shorter than the first period.

5. The control unit is monitoring a belonging rate, which is a ratio of the devices belonging to each group, for each of the plurality of devices during a third predetermined period; A programmable display device as described in any one of claims 2 to 4, wherein when the membership rate of the group with the highest membership rate is within a reference membership rate range, the reference change rate range is corrected based on a period set for the group with the second highest membership rate.

6. The control unit is A programmable display device as described in claim 5, wherein when the membership rate of the group with the highest membership rate is within the reference membership rate range and the period set for the group with the second highest membership rate is longer than the period set for the group with the highest membership rate, the lower limit of the reference change rate range is lowered.

7. The control unit is A programmable display device as described in claim 5, wherein when the membership rate of the group with the highest membership rate is within the reference membership rate range and the period set for the group with the second highest membership rate is shorter than the period set for the group with the highest membership rate, an upper limit value of the reference change rate range is increased.

8. The control unit is monitoring a belonging rate, which is a ratio of the devices belonging to each group, for each of the plurality of devices during a third predetermined period; When a predetermined condition regarding the belonging rate is satisfied, an intermediate group is generated in which a period between a period set for the group having the highest belonging rate and a period set for the group having the second highest belonging rate is set; The programmable display device according to claim 2 , wherein the group to which the device belongs is changed to the generated intermediate group.

9. The programmable display device according to claim 8 , wherein the specified condition is that the sum of the membership rate of the group having the highest membership rate and the membership rate of the group having the second highest membership rate is equal to or greater than a specified value.

10. the programmable logic controller includes a storage unit that stores a plurality of the device values; The control unit is Identifying a device address in the storage unit where the device value indicating the state of the device included in the display on the screen is stored; If there are consecutive device addresses on the storage unit among the identified device addresses, the consecutive device addresses are treated as a device address group; The programmable display device according to claim 1 , wherein the communication unit acquires the device values ​​stored in the device addresses included in the device address group at the predetermined cycle during the first predetermined period.

Citation Information

Patent Citations

  • Control system, relay device, and relay program

    JP2020149631A