Intelligent HMI time synchronization device and method
The intelligent HMI time synchronization device automatically synchronizes HMI and PLC times by reading and setting the current time value from the PLC, addressing the cumbersome manual synchronization process and enhancing efficiency and customer satisfaction.
Patent Information
- Application Number
- PCT/KR2024/000157
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-01-04
- Publication Date
- 2024-10-03
AI Technical Summary
In industrial settings, synchronizing the time of multiple Human Machine Interfaces (HMIs) with a Programmable Logic Control (PLC) is cumbersome due to differences in time information data fields across various PLC companies and products, requiring manual setting and repeated synchronization efforts, which is time-consuming and prone to errors, especially when the HMI power is rebooted.
An intelligent HMI time synchronization device and method that automatically synchronizes HMI and PLC times by reading the current time value from the PLC's datetime address information and setting it on the HMI, using a communication unit connected to the PLC and a control unit that checks for datetime address information and performs synchronization upon connection.
This solution automates time synchronization, reducing manual effort, shortening setup time, enhancing customer satisfaction, and increasing competitiveness by ensuring consistent time settings without user intervention and minimizing errors during reboot cycles.
Smart Images

Figure KR2024000157_03102024_PF_FP_ABST
Abstract
Description
Intelligent HMI time synchronization device and method
[0001] The present disclosure relates to an intelligent HMI time synchronization device and method capable of synchronizing the time of an HMI (Human Machine Interface) and the time of a PLC (Programmable Logic Control).
[0002] Typically, automation equipment in traditional industrial settings consists of mechanical equipment using relays, etc.
[0003] In order to change the function of an automated facility consisting of mechanical equipment, there is the difficulty of having to rewire the internal circuits of the facility one by one. The solution to this difficulty is PLC (Programmable Logic Control).
[0004] PLC is a control device used for automatic control or monitoring of factories. It receives sensor values, performs logical operations according to a preset user program, and controls externally connected devices based on the results.
[0005] PLC is set up and controlled by HMI (Human Machine Interface), so it can be set up appropriately according to the usage environment and perform the functions desired by the user.
[0006] However, when a PLC is connected to multiple HMIs for communication, the user has the difficulty of having to manually set the time for each HMI individually so that the times of all HMIs are the same, as the times of each HMI are different.
[0007] For example, since the PLC time information data field is different for each PLC company and product, users had to find out the time information through the tool or manual and then manually set the time of the HMI, which took a lot of time and effort.
[0008] Additionally, users had the hassle of having to repeat the setup task of synchronizing all HMI times to the PLC time one by one for each N number of HMIs.
[0009] In addition, the user, although setting the time, did not perform additional additional function settings due to lack of understanding of the product, which resulted in the inconvenience of the time being reset when the HMI power was rebooted and returning to the origin state before the time setting.
[0010] Therefore, in the future, it is necessary to develop an intelligent HMI time synchronization device that can automatically synchronize the time of the HMI and the time of the PLC.
[0011] The present disclosure aims to solve the above-mentioned problems and other problems.
[0012] The present disclosure aims to provide an intelligent HMI time synchronization device and method capable of automatically synchronizing the time of a PLC and the time of an HMI by reading the current time value of a PLC based on the date and time address information of the PLC and changing the current time of the HMI to the current time value of the PLC from which the current time was read.
[0013] An HMI time synchronization device according to one embodiment of the present disclosure includes a communication unit that is communicatively connected to at least one PLC (Programmable Logic Control), and a control unit that synchronizes the time of the PLC and the time of an HMI (Human Machine Interface), wherein the control unit, when communicatively connected to the PLC, checks whether datetime address information exists in a database of the PLC, and if the datetime address information exists, reads the current time value of the PLC based on the datetime address information, and sets the read current time value of the PLC to the current time value of the HMI, thereby synchronizing the time of the PLC and the time of the HMI.
[0014] According to another embodiment of the present disclosure, an HMI time synchronization device includes a communication unit that is communicatively connected to at least one PLC (Programmable Logic Control) and at least one HMI (Human Machine Interface), and a control unit that synchronizes the time of the PLC and the time of the HMI (Human Machine Interface), wherein, when a time synchronization request is received from the HMI, the control unit checks whether a communication connection is possible with a PLC corresponding to the HMI, and when the communication connection is made with the PLC, checks whether datetime address information exists in a database of the PLC, and when the datetime address information exists, reads the current time value of the PLC based on the datetime address information, and sets the read current time value of the PLC to the current time value of the HMI, thereby synchronizing the time of the PLC and the time of the HMI.
[0015] A method for synchronizing an HMI time according to one embodiment of the present disclosure is a time synchronization method of an HMI time synchronization device that synchronizes the time of a PLC and the time of an HMI, which may include a step of checking whether communication with the PLC is possible, a step of checking whether datetime address information exists in a database of the PLC if communication with the PLC is possible, a step of reading the current time value of the PLC based on the datetime address information if the datetime address information exists, and a step of setting the read current time value of the PLC to the current time value of the HMI to synchronize the time of the PLC and the time of the HMI.
[0016] According to one embodiment of the present disclosure, the HMI time synchronization device can automatically synchronize the time of the PLC and the time of the HMI by reading the current time value of the PLC based on the date time address information of the PLC and changing the current time of the HMI to the current time value of the PLC from which the current time of the HMI was read.
[0017] That is, the present disclosure is convenient because it automatically unifies the time settings of the HMI without the user having to manually set them.
[0018] Accordingly, the present disclosure can shorten the total operation time in the commissioning stage, is smart because it automatically adjusts to the PLC clock without special settings, increases customer satisfaction, and enhances competitiveness compared to other HMIs of the same class.
[0019] FIG. 1 and FIG. 2 are drawings for explaining an HMI time synchronization device according to one embodiment of the present disclosure.
[0020] Figure 3 is a drawing for explaining a time information table stored in the PLC database of Figure 1.
[0021] FIG. 4 and FIG. 5 are drawings for explaining an HMI time synchronization device according to another embodiment of the present disclosure.
[0022] Fig. 6 is a drawing for explaining a time information table stored in the internal database of the HMI time synchronization device of Fig. 4.
[0023] FIG. 7 is a drawing for explaining an HMI time synchronization method according to one embodiment of the present disclosure.
[0024] FIGS. 8 to 10 are drawings for explaining an HMI time synchronization method according to another embodiment of the present disclosure.
[0025] Hereinafter, embodiments disclosed in this specification will be described in detail with reference to the attached drawings. Regardless of the drawing numbers, identical or similar components will be given the same reference numbers and redundant descriptions thereof will be omitted. The suffixes "module" and "part" used for components in the following description are assigned or used interchangeably only for the convenience of writing the specification, and do not in themselves have distinct meanings or roles. In addition, when describing the embodiments disclosed in this specification, if it is determined that a specific description of a related known technology may obscure the gist of the embodiments disclosed in this specification, a detailed description thereof will be omitted. In addition, the attached drawings are only intended to facilitate easy understanding of the embodiments disclosed in this specification, and the technical ideas disclosed in this specification are not limited by the attached drawings, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and technical scope of the present disclosure.
[0026] Terms that include ordinal numbers, such as first, second, etc., may be used to describe various components, but the components are not limited by these terms. These terms are used solely to distinguish one component from another.
[0027] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.
[0028] FIG. 1 and FIG. 2 are drawings for explaining an HMI time synchronization device according to one embodiment of the present disclosure.
[0029] As illustrated in FIG. 1, a PLC (Programmable Logic Control) (100) can be connected to and communicate with a plurality of HMIs (Human Machine Interfaces) (200).
[0030] Here, the times of multiple HMIs (200) may be different from each other.
[0031] The HMI time synchronization device (300) of the present disclosure can be installed separately for each HMI (200) to synchronize the time of the PLC (100) and the time of the HMI (200).
[0032] For example, a first HMI time synchronization device (310) may be installed in a first HMI (210) and may synchronize the time of the PLC (100) with the time of the first HMI (210), a second HMI time synchronization device (320) may be installed in a second HMI (220) and may synchronize the time of the PLC (100) with the time of the second HMI (220), a third HMI time synchronization device (330) may be installed in a third HMI (230) and may synchronize the time of the PLC (100) with the time of the third HMI (230), and a fourth HMI time synchronization device (340) may be installed in a fourth HMI (240) and may synchronize the time of the PLC (100) with the time of the fourth HMI (240).
[0033] As illustrated in FIG. 2, the HMI time synchronization device (300) of the present disclosure may include a communication unit (310) that is communicatively connected to at least one PLC (100), and a control unit (320) that synchronizes the time of the PLC (100) and the time of the HMI (200).
[0034] Here, the control unit (320), when connected to the PLC (100), checks whether datetime address information exists in the database of the PLC (100), and if datetime address information exists, reads the current time value of the PLC (100) based on the datetime address information, and sets the read current time value of the PLC (100) to the current time value of the HMI (200), thereby synchronizing the time of the PLC (100) and the time of the HMI (200).
[0035] At this time, when checking whether date time address information exists in the database of the PLC (100), the control unit (320) checks whether communication connection with the PLC (100) is possible when the HMI (200) is booted, and if communication connection with the PLC (100) is possible, the control unit checks the pre-stored PLC information, and if the PLC information is confirmed, the control unit (320) can check whether date time address information exists in the database of the PLC (100) based on the PLC information.
[0036] In addition, when checking whether communication connection is possible with the PLC (100), the control unit (320) can check whether time synchronization between the PLC (100) and the HMI (200) is performed once for the first time when the HMI (200) is booted, and if time synchronization is performed once for the first time, can check whether communication connection is possible with the PLC (100).
[0037] Here, the control unit (320) can terminate the time synchronization operation if the time synchronization is not performed once for the first time.
[0038] For example, when checking whether time synchronization is performed for the first time, the control unit (320) can check whether time synchronization is performed for the first time based on history information corresponding to the time synchronization operation.
[0039] In some cases, the control unit (320) may check whether there is a user input requesting time synchronization if the time synchronization is not performed for the first time, and if there is a user input, perform the time synchronization operation, and if there is no user input, terminate the time synchronization operation.
[0040] In addition, when checking whether communication connection with the PLC (100) is possible, the control unit (320) can generate notification information notifying a timeout if the communication connection with the PLC (100) is not connected for a preset period of time and display the information on the display screen.
[0041] Next, when checking the pre-stored PLC information, the control unit (320) checks whether the pre-stored PLC information includes PLC manufacturer information and PLC model information, and if both the PLC manufacturer information and the PLC model information are included, it can check whether date and time address information exists in the database of the PLC (100) based on the PLC information.
[0042] In some cases, the control unit (320) may obtain PLC information from an external server (400) through the communication unit (310) if at least one of PLC manufacturer information and PLC model information is not included in the pre-stored PLC information.
[0043] Next, when the control unit (320) checks whether date-time address information exists in the database of the PLC (100), if the date-time address information does not exist in the database of the PLC (100), it can establish a communication connection to an external server (400) through the communication unit (310) and obtain the date-time address information of the PLC (100) from the external server (400).
[0044] Here, when obtaining the date-time address information of the PLC (100), the control unit (320) checks whether the date-time address information of the PLC (100) exists in the database of the external server (400), and if the date-time address information of the PLC (100) exists, the control unit (320) can obtain the date-time address information of the PLC (100) from the external server (400).
[0045] At this time, the control unit (320) can terminate the time synchronization operation if the date / time address information of the PLC (100) does not exist.
[0046] In addition, when checking whether the date-time address information of the PLC (100) exists in the external server (400), the control unit (320) provides the PLC information together with a date-time address information request to the external server (400), and can check whether the date-time address information exists in the database of the external server (400) based on the PLC information.
[0047] Here, when providing PLC information, the control unit (320) can transmit PLC information including PLC manufacturer information and PLC model information for which date / time address information is to be obtained to an external server (400).
[0048] In addition, when the control unit (320) obtains the date-time address information of the PLC (100), if there are multiple pieces of date-time address information of the PLC stored in the database of the external server (400), the control unit (320) can obtain the date-time address information of the PLC (100) corresponding to the most recently updated model among the multiple pieces of date-time address information.
[0049] Here, the control unit (320) can check whether the date and time address information of the PLC (100) corresponding to the most recently updated model exists in the database of the external server (400) based on the PLC update information of the external server (400).
[0050] In some cases, the control unit (320) can obtain the date-time address information of one PLC (100) if there is only one date-time address information of the PLC (100) stored in the database of the external server (400).
[0051] For example, when obtaining the date-time address information of one PLC, the control unit (320) can check the update date or creation date corresponding to the date-time address information of one PLC, and if the update date or creation date is included within a preset period, the date-time address information of one PLC can be obtained.
[0052] Here, when checking the update date or creation date, the control unit (320) can refuse to acquire the date / time address information of the PLC (100) if the update date or creation date is older than a preset period, and can acquire the date / time address information of the PLC (100) from another external server (400).
[0053] Next, when reading the current time value of the PLC (100), the control unit (320) can read the current time value of the PLC (100) corresponding to the date time address information from the time information table stored in the database of the PLC (100).
[0054] For example, a time information table stored in a database of a PLC (100) may include manufacturer information of the PLC (100) and at least one subgroup that groups date / time address information by PLC model.
[0055] Here, each subgroup may include first datetime address information corresponding to the year among time information, second datetime address information corresponding to the month among time information, third datetime address information corresponding to the day among time information, fourth datetime address information corresponding to the hour among time information, fifth datetime address information corresponding to the minute among time information, and sixth datetime address information corresponding to the second among time information, and the first to sixth datetime address information may be different from each other.
[0056] In this way, the HMI time synchronization device of the present disclosure can automatically synchronize the time of the PLC and the time of the HMI by reading the current time value of the PLC based on the date time address information of the PLC and changing the current time of the HMI to the current time value of the PLC from which the current time of the HMI was read.
[0057] That is, the present disclosure is convenient because it automatically unifies the time settings of the HMI without the user having to manually set them.
[0058] Accordingly, the present disclosure can shorten the total operation time in the commissioning stage, is smart because it automatically adjusts to the PLC clock without special settings, increases customer satisfaction, and enhances competitiveness compared to other HMIs of the same class.
[0059] Figure 3 is a drawing for explaining a time information table stored in the PLC database of Figure 1.
[0060] As shown in Fig. 3, a time information table (500) containing datetime address information can be stored in the PLC's database.
[0061] For example, in the database of the first PLC whose manufacturer is LS, a first time information table may be stored, and the first time information table may include first PLC manufacturer information and date / time address information divided by PLC model of the first PLC manufacturer.
[0062] And, in the database of the second PLC whose manufacturer is MITSUBISHI, a second time information table can be stored, and the second time information table can include second PLC manufacturer information and date / time address information divided by PLC model of the second PLC manufacturer.
[0063] Next, in the database of the third PLC whose manufacturer is 0MRON, a third time information table may be stored, and the third time information table may include third PLC manufacturer information and date / time address information divided by PLC model of the third PLC manufacturer.
[0064] In this way, the present disclosure can check whether datetime address information exists in the PLC's database based on PLC manufacturer information and PLC model information for which datetime address information is to be obtained, and if the datetime address information exists, the current time value of the PLC can be read based on the datetime address information.
[0065] Here, the present disclosure can read the current time value of the PLC corresponding to the date time address information from the time information table (500) stored in the database of the PLC.
[0066] For example, as shown in FIG. 3, a time information table (500) stored in a PLC database may include manufacturer information of the PLC and at least one subgroup (510) that groups date / time address information by PLC model.
[0067] Here, each subgroup (510) may include first date-time address information (511) corresponding to the year among time information, second date-time address information (512) corresponding to the month among time information, third date-time address information (513) corresponding to the day among time information, fourth date-time address information (514) corresponding to the hour among time information, fifth date-time address information (515) corresponding to the minute among time information, and sixth date-time address information (516) corresponding to the second among time information, and the first to sixth date-time address information (511 to 516) may be different from each other.
[0068] FIG. 4 and FIG. 5 are drawings for explaining an HMI time synchronization device according to another embodiment of the present disclosure.
[0069] As shown in FIG. 4, a PLC (Programmable Logic Control) (100) can be connected to and communicate with a plurality of HMIs (Human Machine Interfaces) (200).
[0070] Here, the times of multiple HMIs (200) may be different from each other.
[0071] The HMI time synchronization device (300) of the present disclosure is connected to at least one PLC (100) and at least one HMI (200), and when a time synchronization request is received from the HMI (200), the device reads the current time value of the PLC (100) based on the date / time address information of the corresponding PLC (100), thereby synchronizing the time of the PLC (100) with the time of the HMI (200).
[0072] For example, the HMI time synchronization device (300) can synchronize the time of the PLC (100) and the time of the first HMI (210) when a time synchronization request is received from the first HMI (210), can synchronize the time of the PLC (100) and the time of the second HMI (220) when a time synchronization request is received from the second HMI (220), can synchronize the time of the PLC (100) and the time of the third HMI (230) when a time synchronization request is received from the third HMI (230), and can synchronize the time of the PLC (100) and the time of the fourth HMI (240) when a time synchronization request is received from the fourth HMI (240).
[0073] As illustrated in FIG. 5, the HMI time synchronization device (300) of the present disclosure may include a communication unit (310) that is communicatively connected to at least one PLC (100) and at least one HMI (200), and a control unit (320) that synchronizes the time of the PLC (100) and the time of the HMI (200).
[0074] Here, when a time synchronization request is received from the HMI (200), the control unit (320) checks whether communication connection is possible with the PLC (100) corresponding to the HMI (200), and when communication connection with the PLC (100) is established, checks whether datetime address information exists in the database of the PLC (100), and if datetime address information exists, reads the current time value of the PLC (100) based on the datetime address information, and sets the read current time value of the PLC (100) to the current time value of the HMI (200), thereby synchronizing the time of the PLC (100) and the time of the HMI (200).
[0075] And, when a time synchronization request is received from the HMI (200), the control unit (320) can receive PLC information to be time-synchronized from the HMI (200) and check whether date-time address information exists in the PLC's database based on the PLC information.
[0076] Here, when receiving PLC information, the control unit (320) can check whether the PLC information includes PLC manufacturer information and PLC model information for which date / time address information is to be obtained.
[0077] Next, when reading the current time value of the PLC, the control unit (320) can read the current time value of the PLC (100) corresponding to the date time address information from the time information table stored in the database of the PLC (100).
[0078] For example, a time information table stored in a database of a PLC (100) may include manufacturer information of the PLC (100) and at least one subgroup that groups date / time address information by PLC model.
[0079] Here, each subgroup may include first datetime address information corresponding to the year among time information, second datetime address information corresponding to the month among time information, third datetime address information corresponding to the day among time information, fourth datetime address information corresponding to the hour among time information, fifth datetime address information corresponding to the minute among time information, and sixth datetime address information corresponding to the second among time information, and the first to sixth datetime address information may be different from each other.
[0080] And, when the control unit (320) checks whether date-time address information exists in the database of the PLC (100), if the date-time address information exists, it can obtain a time information table including the date-time address information and store it in the internal database.
[0081] Next, when reading the current time value of the PLC, the control unit (320) can read the current time value of the PLC corresponding to the date time address information from the time information table stored in the internal database.
[0082] For example, a time information table stored in an internal database may include at least one main group that groups date-time address information by PLC manufacturer, and each main group may include at least one subgroup that groups date-time address information by PLC model.
[0083] Here, each subgroup may include first datetime address information corresponding to the year among time information, second datetime address information corresponding to the month among time information, third datetime address information corresponding to the day among time information, fourth datetime address information corresponding to the hour among time information, fifth datetime address information corresponding to the minute among time information, and sixth datetime address information corresponding to the second among time information, and the first to sixth datetime address information may be different from each other.
[0084] In addition, when a time synchronization request is received from the HMI (200), the control unit (320) checks whether the time synchronization between the PLC (100) and the HMI (200) is performed for the first time, and if the time synchronization is performed for the first time, the control unit (320) can perform a time synchronization operation with the PLC (100).
[0085] Here, the control unit (320) can terminate the time synchronization operation if the time synchronization is not performed once for the first time.
[0086] For example, when checking whether time synchronization is performed for the first time, the control unit (320) can check whether time synchronization is performed for the first time based on the history information of the HMI (200) requesting time synchronization.
[0087] In some cases, the control unit (320) may check whether there is a user input requesting time synchronization if the time synchronization is not performed for the first time, and if there is a user input, perform the time synchronization operation, and if there is no user input, terminate the time synchronization operation.
[0088] Next, when checking the pre-stored PLC information, the control unit (320) checks whether the pre-stored PLC information in the HMI (200) requesting time synchronization includes PLC manufacturer information and PLC model information, and if both the PLC manufacturer information and the PLC model information are included, it can check whether date and time address information exists in the database of the PLC (100) based on the PLC information.
[0089] In some cases, the control unit (320) may obtain PLC information from an external server (400) through the communication unit (310) if at least one of PLC manufacturer information and PLC model information is not included in the PLC information stored in the HMI (200) requesting time synchronization.
[0090] Next, when the control unit (320) checks whether date-time address information exists in the database of the PLC (100), if the date-time address information does not exist in the database of the PLC (100), it can establish a communication connection to an external server (400) through the communication unit (310) and obtain the date-time address information of the PLC (100) from the external server (400).
[0091] Here, when obtaining the date-time address information of the PLC (100), the control unit (320) checks whether the date-time address information of the PLC (100) exists in the database of the external server (400), and if the date-time address information of the PLC (100) exists, the control unit (320) can obtain the date-time address information of the PLC (100) from the external server (400).
[0092] At this time, the control unit (320) can terminate the time synchronization operation if the date / time address information of the PLC (100) does not exist.
[0093] In addition, when checking whether the date-time address information of the PLC (100) exists in the external server (400), the control unit (320) provides PLC information of the HMI (200) requesting time synchronization together with a date-time address information request to the external server (400), and can check whether the date-time address information exists in the database of the PLC (100) based on the PLC information.
[0094] Here, when providing PLC information, the control unit (320) can transmit PLC information including PLC manufacturer information and PLC model information for which date / time address information is to be obtained to an external server (400).
[0095] In addition, when the control unit (320) obtains the date-time address information of the PLC (100), if there are multiple pieces of date-time address information of the PLC stored in the database of the external server (400), the control unit (320) can obtain the date-time address information of the PLC (100) corresponding to the most recently updated model among the multiple pieces of date-time address information.
[0096] Here, the control unit (320) can check whether the date and time address information of the PLC (100) corresponding to the most recently updated model exists in the database of the external server (400) based on the PLC update information of the external server (400).
[0097] In some cases, the control unit (320) can obtain the date-time address information of one PLC (100) if there is only one date-time address information of the PLC (100) stored in the database of the external server (400).
[0098] For example, when obtaining the date-time address information of one PLC, the control unit (320) can check the update date or creation date corresponding to the date-time address information of one PLC, and if the update date or creation date is included within a preset period, the date-time address information of one PLC can be obtained.
[0099] Here, when checking the update date or creation date, the control unit (320) can refuse to acquire the date / time address information of the PLC (100) if the update date or creation date is older than a preset period, and can acquire the date / time address information of the PLC (100) from another external server (400).
[0100] Fig. 6 is a drawing for explaining a time information table stored in the internal database of the HMI time synchronization device of Fig. 4.
[0101] As illustrated in FIG. 6, the present disclosure can obtain a time information table (600) including date / time address information from the database of the PLC (100) and store it in an internal database.
[0102] And, the present disclosure can read the current time value of the PLC corresponding to the date time address information from the time information table (600) stored in the internal database.
[0103] In the internal database of the HMI time synchronization device, a time information table (600) containing datetime address information can be stored.
[0104] For example, in the internal database of the HMI time synchronization device, a first time information table whose manufacturer is LS may be stored, and the first time information table may include first PLC manufacturer information and date / time address information divided by PLC model of the first PLC manufacturer.
[0105] Additionally, the internal database of the HMI time synchronization device may store a second time information table whose manufacturer is MITSUBISHI, and the second time information table may include second PLC manufacturer information and date / time address information divided by PLC model of the second PLC manufacturer.
[0106] Additionally, the internal database of the HMI time synchronization device may store a third time information table whose manufacturer is 0MRON, and the third time information table may include third PLC manufacturer information and date / time address information divided by PLC model of the third PLC manufacturer.
[0107] In this way, the present disclosure can check whether datetime address information exists in the PLC's database based on PLC manufacturer information and PLC model information for which datetime address information is to be obtained, and if the datetime address information exists, the current time value of the PLC can be read based on the datetime address information.
[0108] Here, the present disclosure can read the current time value of the PLC corresponding to the date time address information from the time information table (600) stored in the internal database of the HMI time synchronization device.
[0109] For example, a time information table (600) stored in an internal database may include at least one main group (610) that groups date-time address information by PLC manufacturer, and each main group (610) may include at least one sub-group (620) that groups date-time address information by PLC model.
[0110] Here, each subgroup (620) may include first date-time address information (621) corresponding to the year among time information, second date-time address information (622) corresponding to the month among time information, third date-time address information (623) corresponding to the day among time information, fourth date-time address information (624) corresponding to the hour among time information, fifth date-time address information (625) corresponding to the minute among time information, and sixth date-time address information (626) corresponding to the second among time information, and the first to sixth date-time address information (621 to 626) may be different from each other.
[0111] FIG. 7 is a drawing for explaining an HMI time synchronization method according to one embodiment of the present disclosure.
[0112] As illustrated in Fig. 7, the present disclosure can first confirm whether communication with a PLC is possible (S110).
[0113] Here, the present disclosure can generate notification information notifying a timeout if a communication connection with a PLC is not connected for a preset period of time and display the information on the display screen (S160).
[0114] Next, the present disclosure can check whether the pre-stored PLC information includes PLC manufacturer information and PLC model information if a communication connection with the PLC is possible (S120).
[0115] Here, the present disclosure may obtain PLC information from an external server (400) if at least one of PLC manufacturer information and PLC model information is not included in the pre-stored PLC information.
[0116] Next, the present disclosure can check whether date and time address information exists in the PLC database based on the PLC information when both PLC manufacturer information and PLC model information are included (S130).
[0117] And, in the present disclosure, if date time address information exists, the current time value of the PLC can be read based on the date time address information (S140).
[0118] Next, the present disclosure can synchronize the time of the PLC and the time of the HMI by setting the current time value of the read PLC to the current time value of the HMI (S150).
[0119] In addition, when checking whether date-time address information exists in the database of the PLC (S130), if the date-time address information does not exist in the database of the PLC, a communication connection is made to an external server (400), and the date-time address information of the PLC (100) can be obtained from the external server (400) (S170).
[0120] Here, the present disclosure can check whether the date-time address information of the PLC exists in the database (410) of the external server (400), and if the date-time address information of the PLC exists, the date-time address information of the PLC can be obtained from the external server (400).
[0121] At this time, the present disclosure can terminate the time synchronization operation if the date / time address information of the PLC does not exist.
[0122] Next, the present disclosure can check whether the date and time address information of the PLC corresponding to the most recently updated model exists in the database (410) of the external server (400) based on the PLC update information of the external server (400) (S180).
[0123] For example, the present disclosure can check the update date or creation date corresponding to the date-time address information of the PLC, and obtain the date-time address information of the PLC if the update date or creation date falls within a preset period.
[0124] Here, the present disclosure may refuse to acquire the PLC's date / time address information if the update date or creation date is older than a preset period, and may acquire the PLC's date / time address information from another external server.
[0125] FIGS. 8 to 10 are drawings for explaining an HMI time synchronization method according to another embodiment of the present disclosure.
[0126] As illustrated in FIG. 8, the present disclosure first confirms whether the HMI is booted, and when the HMI is booted, it can confirm whether the time synchronization between the PLC and the HMI is performed for the first time (S210).
[0127] Next, the present disclosure can perform a synchronization process to synchronize the time of the PLC and the time of the HMI through a communication connection with the PLC if the time synchronization is performed for the first time (S220).
[0128] Here, the present disclosure can terminate the time synchronization operation if the time synchronization of the PLC and the HMI is not performed once for the first time.
[0129] In addition, the present disclosure can synchronize the time of the PLC and the time of the HMI by reading the current time value of the PLC based on the date time address information of the PLC and setting the read current time value of the PLC to the current time value of the HMI.
[0130] As another embodiment, as illustrated in FIG. 9, the present disclosure can first confirm whether the HMI is booted, and if the HMI is booted, confirm whether the time synchronization between the PLC and the HMI is performed for the first time (S260).
[0131] Here, the present disclosure can verify whether time synchronization is performed for the first time based on history information corresponding to the time synchronization operation.
[0132] Next, the present disclosure can perform a synchronization process to synchronize the time of the PLC and the time of the HMI through a communication connection with the PLC if the time synchronization is performed once for the first time (S280).
[0133] And, the present disclosure can check whether there is a user input requesting time synchronization if the time synchronization of the PLC and HMI is not performed once for the first time (S270).
[0134] Here, the present disclosure can perform a time synchronization operation when there is a user input (S280), and can end the time synchronization operation when there is no user input.
[0135] In this way, the HMI time synchronization method for performing time synchronization between PLC and HMI only once is as follows.
[0136] As illustrated in FIG. 10, the present disclosure can check whether the HMI is booted, and if the HMI is booted, check whether the time synchronization between the PLC and the HMI is performed for the first time (S310).
[0137] Here, the present disclosure can determine whether time synchronization is performed for the first time based on history information about time synchronization operations stored in a storage unit.
[0138] Next, the present disclosure can check whether communication with the PLC is possible if time synchronization between the PLC and HMI is performed for the first time (S320).
[0139] Here, the present disclosure can generate notification information notifying a timeout if a communication connection with a PLC is not connected for a preset period of time and display the information on the display screen (S370).
[0140] Next, the present disclosure can check whether the pre-stored PLC information includes PLC manufacturer information and PLC model information if a communication connection with the PLC is possible (S330).
[0141] Here, the present disclosure may obtain PLC information from an external server (400) if at least one of PLC manufacturer information and PLC model information is not included in the pre-stored PLC information.
[0142] Next, the present disclosure can check whether date and time address information exists in the PLC database based on the PLC information when both PLC manufacturer information and PLC model information are included (S340).
[0143] And, in the present disclosure, if date time address information exists, the current time value of the PLC can be read based on the date time address information (S350).
[0144] Next, the present disclosure can synchronize the time of the PLC and the time of the HMI by setting the current time value of the read PLC to the current time value of the HMI (S360).
[0145] In addition, when checking whether date-time address information exists in the database of the PLC (S340), if the date-time address information does not exist in the database of the PLC, a communication connection is made to an external server (400), and the date-time address information of the PLC (100) can be obtained from the external server (400) (S380).
[0146] Here, the present disclosure can check whether the date-time address information of the PLC exists in the database (410) of the external server (400), and if the date-time address information of the PLC exists, the date-time address information of the PLC can be obtained from the external server (400).
[0147] At this time, the present disclosure can terminate the time synchronization operation if the date / time address information of the PLC does not exist.
[0148] Next, the present disclosure can check whether the date and time address information of the PLC corresponding to the most recently updated model exists in the database (410) of the external server (400) based on the PLC update information of the external server (400) (S390).
[0149] For example, the present disclosure can check the update date or creation date corresponding to the date-time address information of the PLC, and obtain the date-time address information of the PLC if the update date or creation date falls within a preset period.
[0150] Here, the present disclosure may refuse to acquire the PLC's date / time address information if the update date or creation date is older than a preset period, and may acquire the PLC's date / time address information from another external server.
[0151] In this way, the HMI time synchronization device of the present disclosure can automatically synchronize the time of the PLC and the time of the HMI by reading the current time value of the PLC based on the date time address information of the PLC and changing the current time of the HMI to the current time value of the PLC from which the current time of the HMI was read.
[0152] That is, the present disclosure is convenient because it automatically unifies the time settings of the HMI without the user having to manually set them.
[0153] Accordingly, the present disclosure can shorten the total operation time in the commissioning stage, is smart because it automatically adjusts to the PLC clock without special settings, increases customer satisfaction, and enhances competitiveness compared to other HMIs of the same class.
[0154] In this way, the present disclosure can eliminate inconveniences in the user's HMI time setting work since the HMI time is automatically adjusted to the PLC time.
[0155] In addition, the present disclosure eliminates the need for users to search for address information for time fields by PLC company by converting PLC time information into a database (DB).
[0156] In addition, the present disclosure can reduce time error by performing time synchronization at various intervals by periodically synchronizing the HMI clock with the PLC time.
[0157] Additionally, the present disclosure synchronizes the HMI clock to the PLC time only once at boot time, eliminating the need for additional time synchronization operations when the HMI reboots.
[0158] The above-described present disclosure can be implemented as computer-readable code on a program-recorded medium. The computer-readable medium includes all types of recording devices that store data that can be read by a computer system. Examples of computer-readable media include hard disk drives (HDDs), solid-state disk drives (SSDs), silicon disk drives (SDDs), read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, and optical data storage devices. Furthermore, the computer may include a processor of an artificial intelligence device.
Claims
1. A communication unit that is connected to at least one PLC (Programmable Logic Control); and It includes a control unit that synchronizes the time of the PLC and the time of the HMI (Human Machine Interface), The singe control unit is, An intelligent HMI time synchronization device characterized in that, when a communication connection is made with the PLC, it checks whether datetime address information exists in the database of the PLC, and if the datetime address information exists, it reads the current time value of the PLC based on the datetime address information, and sets the read current time value of the PLC to the current time value of the HMI, thereby synchronizing the time of the PLC and the time of the HMI.
2. In paragraph 1, The above control unit, An intelligent HMI time synchronization device characterized in that when checking whether date-time address information exists in the database of the PLC, when the HMI boots up, it checks whether communication connection with the PLC is possible, and if communication connection with the PLC is possible, it checks pre-stored PLC information, and when the PLC information is confirmed, it checks whether date-time address information exists in the database of the PLC based on the PLC information.
3. In paragraph 2, The above control unit, An intelligent HMI time synchronization device characterized in that when checking whether communication connection is possible with the PLC, when the HMI is booted, it is checked whether time synchronization between the PLC and the HMI is performed once for the first time, and if the time synchronization is performed once for the first time, it is checked whether communication connection is possible with the PLC.
4. In paragraph 2, The above control unit, An intelligent HMI time synchronization device characterized in that when checking whether communication with the PLC is possible, if the communication with the PLC is not connected for a preset time, notification information for notifying a timeout is generated and displayed on the display screen.
5. In paragraph 2, The above control unit, An intelligent HMI time synchronization device characterized in that when checking the above-mentioned pre-stored PLC information, it is checked whether the above-mentioned pre-stored PLC information includes PLC manufacturer information and PLC model information, and if both the PLC manufacturer information and the PLC model information are included, it is checked whether date and time address information exists in the database of the PLC based on the PLC information.
6. In paragraph 1, The above control unit, An intelligent HMI time synchronization device characterized in that when checking whether date-time address information exists in the database of the PLC, if the date-time address information does not exist in the database of the PLC, a communication connection is made to an external server through the communication unit, and the date-time address information of the PLC is obtained from the external server.
7. In paragraph 6, The above control unit, An intelligent HMI time synchronization device characterized in that when acquiring the date-time address information of the PLC, it is checked whether the date-time address information of the PLC exists in the database of the external server, and if the date-time address information of the PLC exists, the date-time address information of the PLC is acquired from the external server.
8. In paragraph 7, The above control unit, An intelligent HMI time synchronization device characterized in that, when checking whether the date-time address information of the PLC exists in the external server, the PLC information is provided together with a date-time address information request to the external server, and based on the PLC information, the device checks whether the date-time address information exists in the database of the external server.
9. In paragraph 1, The above control unit, An intelligent HMI time synchronization device characterized in that when reading the current time value of the PLC, the current time value of the PLC corresponding to the date time address information is read from the time information table stored in the database of the PLC.
10. In paragraph 9, The time information table stored in the database of the above PLC is: Contains the manufacturer information of the above PLC, An intelligent HMI time synchronization device characterized in that it includes at least one subgroup that groups the above date time address information by PLC model.
11. In paragraph 1, The above control unit, An intelligent HMI time synchronization device characterized in that, when a time synchronization request is received from the HMI, before checking whether datetime address information exists in the database of the PLC when communicating with the PLC, it is checked whether communication with the PLC corresponding to the HMI is possible.
12. In the time synchronization method of the HMI time synchronization device that synchronizes the time of the PLC and the time of the HMI, A step of checking whether communication with the above PLC is possible; A step of checking whether datetime address information exists in the database of the PLC if communication with the PLC is possible; If the above date time address information exists, a step of reading the current time value of the PLC based on the above date time address information; and An HMI time synchronization method characterized by including a step of synchronizing the time of the PLC and the time of the HMI by setting the current time value of the PLC read to the current time value of the HMI.
13. In paragraph 12, The step of checking whether communication with the above PLC is possible is: Step of checking whether the above HMI is booting; A step of checking whether the time synchronization between the PLC and the HMI is performed for the first time when the HMI is booted; and An HMI time synchronization method characterized in that it includes a step of checking whether communication connection with the PLC is possible if the time synchronization is performed for the first time.
14. In paragraph 13, The step of checking whether the time synchronization of the above PLC and the above HMI is performed for the first time is as follows: An HMI time synchronization method characterized in that the time synchronization operation is terminated if the time synchronization of the PLC and the HMI is not performed once for the first time.
15. In paragraph 12, The step of checking whether date and time address information exists in the database of the above PLC is: A step of connecting to an external server if date / time address information does not exist in the database of the PLC; A step of checking whether the date and time address information of the PLC exists in the database of the external server; and An HMI time synchronization method characterized by including a step of obtaining the date and time address information of the PLC from the database of the external server if the date and time address information of the PLC exists.
Citation Information
Patent Citations
Redundant time synchronization system for hydroelectric PLC
CN217279355U
Programmable controller enabling inter-option module synchronization
JP2004086431A
Time synchronizing device using the modbus gateway
KR101640142B1
Programmable Logic Controller System
KR101870492B1
Method for time synchronization of programmable logic controller system using mobile device with built-in GPS functionality
KR1020130116392A
